opensearch-api-specification
opensearch-api-specification copied to clipboard
[FEATURE] Check order of methods in spec
Is your feature request related to a problem?
Coming from https://github.com/opensearch-project/opensearch-api-specification/pull/271 where we reordered a DELETE method.
What solution would you like?
A linter that orders methods (probably GET, POST, PUT, PATCH, DELETE).
What alternatives have you considered?
Alphabetical order.