Conversation
Optionally derive JSON schema information with the `schemars` library
|
Thank you for making this PR! I honestly haven't worked with JSON schemas in Rust. And I don't know what the established conventions are, so it's hard to tell if |
|
It doesn't seem like either of the libraries mentioned have dealt with schema generation yet, at least not that I was able to find. My use case is that I'm serializing structs that have |
|
What are the stability guarantees for |
|
I'm actually not entirely sure, the documentation says this:
|
Allow users to optionally derive JSON schemas using structs from this crate if they include
schemars. This will allow consumers of this library to generate JSON schemas from structs that include structs created in this crate.