zymlabs / nswag-fluentvalidation

Use FluentValidation rules instead of ComponentModel attributes to define swagger schema.
MIT License
60 stars 13 forks source link

Fix Attribute exclusiveMinimum / exclusiveMaximun #3

Closed felpasl closed 4 years ago

felpasl commented 4 years ago

fix attributes for GreaterThan and LessThan

https://swagger.io/docs/specification/data-models/data-types/#range

geoffreytran commented 4 years ago

Nice catch! Didn't know it wasn't supported in OpenAPI, but supported in JSONSchema. Should be available on nuget as v0.2.0