softprops / openapi

openapi schema serialization for rust
MIT License
128 stars 61 forks source link

Add schema validation fields #50

Closed pluehne closed 3 years ago

pluehne commented 3 years ago

Some schema validation fields are missing or not implemented according to the JSON schema validation specification (which is used in several parts of the OpenAPI 3.0 specification). This adds the missing fields and fixes the type of minimum, which may only take integers and not arbitrary schemas.


Notes