Overview
Add a Swagger/OpenAPI UI endpoint that serves the existing docs/openapi.yaml as an interactive API explorer.
Motivation
The README has a full API reference and docs/openapi.yaml exists, but there is no way for developers to interactively explore and test the API from a browser. Serving the OpenAPI spec via Swagger UI dramatically improves the developer experience.
Proposed Design
- Add GET /docs endpoint serving Swagger UI
- Swagger UI loads the OpenAPI spec from GET /docs/openapi.yaml
- Serve the spec file from the docs/ directory
- Swagger UI is available in all environments (not just development)
- Add a link to the docs endpoint in the API root response
Acceptance Criteria
Overview
Add a Swagger/OpenAPI UI endpoint that serves the existing docs/openapi.yaml as an interactive API explorer.
Motivation
The README has a full API reference and docs/openapi.yaml exists, but there is no way for developers to interactively explore and test the API from a browser. Serving the OpenAPI spec via Swagger UI dramatically improves the developer experience.
Proposed Design
Acceptance Criteria