openapiv3
openapiv3 copied to clipboard
Rust Open API v3 Structs and Enums for easy deserialization with serde
OpenAPI v3.1.x has some features that would be desirable for us. So it would be neat if this crate could parse OpenAPI v3.1.x documents. I'm not sure what the best...
This continues the work from https://github.com/glademiller/openapiv3/pull/55 There are some additional changes: * Adds conversion for all types using `From for v3_1` * Restores the default as version 3.0 - so...
Resolves #50 . I'm leaving this as a draft for now so people can take a look at the approach and ideally try using this branch to see if it...
I recently would have found this useful when dealing with these types so thought others might as well. Reviews welcome.
Would be very handy to allow for them to be stored as keys in `Hash{Map,Set}`s.
Hi. I like your crate. Could you provide more code examples, please? For example, how to print all paths and methods (GET, POST ...) extracted from JSON file, please?
Previously they were part of enum, now they have to be marked explicitly as pub.