Expand description
OpenAPI spec generation and Swagger UI endpoint.
Serves the OpenAPI JSON spec at /openapi.json and provides a redirect
to an external Swagger UI viewer at /docs.
Functions§
- get_
docs_ redirect - Handler: GET /docs — redirect to Swagger UI with the spec URL.
- get_
openapi_ spec - Handler: GET /openapi.json
- openapi_
spec - Minimal OpenAPI 3.1 spec describing the Roboticus API.