openapi
openapi copied to clipboard
openapi schema serialization for rust
This isn't an issue per se, but I thought I'd share some mild progress on getting Swagger/OpenAPI output from Rocket: https://users.rust-lang.org/t/anyone-working-on-swagger-openapi-support-in-rocket/11231 This is just an initial POC, but I'm thinking...
Support keys in the format `x-vendorextension`. I believe these can be written at any level so maybe is a challenge to do with Serde
Currently there is support for OpenAPI 2.0. I think OpenAPI < 2.0 and > 2.0 are not compatible with 2.0 so probably the deserialization should check the version and fail...
This PR add `deprecated` field (which presents in [specification](https://swagger.io/specification/#schema-object)) to `Schema` object.
- Removed deprecated failure dependency (unused) - Updated semver 0.11 → 1.0 (fixed breaking API change) - Updated serde_yaml 0.8 → 0.9 - Updated pretty_assertions 0.6 → 1.0 - Updated...