Azure / azure-openapi-validator

Azure Open API Validator
MIT License
44 stars 43 forks source link

Fix false alarm for EvenSegmentedPathForPutOperation rule #694

Closed AkhilaIlla closed 1 month ago

AkhilaIlla commented 1 month ago

The rule checks for even segments in the path and in addition checks if the path ends with {} & flagged paths like "/providers/Microsoft.PortalServices/copilotSettings/default" which is still valid.

This PR addresses such issues by considering default in addition to the fields ending with {}