swagger-routes
swagger-routes copied to clipboard
Unexpected fields validation
Currently swagger-routes silently accepts unsupported fields. It would be useful to be able to enable enforcement of only defined fields to be present.
Actually, it is already supported by using JSON schema property "additionalProperties": false
Not sure if it would be worth to mention that fact in swagger-route documentation, given that it is standard, but non-obvious JSON schema feature.