swagger-cli icon indicating copy to clipboard operation
swagger-cli copied to clipboard

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

Open martywins opened this issue 7 years ago • 0 comments

Example myObject: type: object additionalProperties: false required: - a - b properties: c: type: number

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

martywins avatar Sep 18 '19 01:09 martywins