Closed sarthakgupta072 closed 3 years ago
Only allow data that conforms with the schema.
By default additionalProperties is set to true in OpenAPI. This also allows additional properties which are not specified in the schema.
additionalProperties
true
The fix for this would be set that property to false in the POST/PUT schema
false
POST/PUT
Only allow data that conforms with the schema.
By default
additionalProperties
is set totrue
in OpenAPI. This also allows additional properties which are not specified in the schema.The fix for this would be set that property to
false
in thePOST/PUT
schema