Operations are the core functionality of any API and their correct documentation is critical to empowering API users. This set of rules completes the functionality for verification of the operation object in the linter.
Conditions of acceptance
- Validate that the operation has a description (severity: error) - example
- Validate that the operation has an operationId (severity: error) - example
- Validate that the value in the operationId field is unique among all operationId fields present in the description (severity: error)
- Validate that if the OAD has a top-level tags object, the operation has a tags field (severity: warn) - example #1, example #2
- Validate that the operation has an externalDocs field (severity: hint) - example
- Validate that the path has a summary (severity: hint) - example
- Validate that the path has a description (severity: hint)