Validate OpenAPI 3.0 Specification
Problem
While starting development on #590894 (closed), it was identified that our OpenAPI 3.0 specification is not valid.
Steps to Reproduce
- Install any OpenAPI 3.0 validator (e.g. Scalar CLI, Swagger Editor)
- Validate the YAML specification
- Validate the converted JSON specification
- Confirm both specifications are invalid
Solution
Implement OpenAPI 3.0 specification validation in CI/CD.
Acceptance Criteria
- Choose tooling for OpenAPI specification validation
- Resolve all validation errors
-
Add validation in(Won't be done: !225252 (comment 3125408195))gitlab-org/gitlabforopenapi_v3.yaml -
Add validation in
gl-infra/api-docsforpublic/openapi_v3.json
Edited by Alberto Bignotti