APIDevTools / swagger-cli

Swagger 2.0 and OpenAPI 3.0 command-line tool
https://apitools.dev/swagger-cli
MIT License
515 stars 69 forks source link

Should error when Oobject property listed as required, but does not exist on object. #34

Open martywins opened 5 years ago

martywins commented 5 years ago

Example myObject: type: object additionalProperties: false required:

This should error on validation. You could argue that it should also show an error or warning if the additionalProperties: false is not included