Azure / azure-openapi-validator

Azure Open API Validator
MIT License
47 stars 46 forks source link

Fix BodyTopLevelPropertiesOnly to support get-only APIs #709

Closed bdefoy closed 3 months ago

bdefoy commented 3 months ago

BodyTopLevelProperties currently does not catch invalid top-level properties for get only APIs. This PR adds behavior to the rule to examine get operations in addition to the put and patch operations that it already examined.

konrad-jamrozik commented 3 months ago

@bdefoy note the current deployment process is here: