Skip to content

OpenAPI spec not validated against actual route implementations in CI #717

@Haroldwonder

Description

@Haroldwonder

The api/src/openapi-generator.ts generates an OpenAPI spec but there is no CI step that validates the generated spec against the actual route implementations. Routes can drift from the spec without detection.

File: api/src/openapi-generator.ts, CI workflow

Fix: Add a CI step that generates the OpenAPI spec and compares it against the committed spec file, failing if there are differences.

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions