feat: OpenAPI 3.0 spec with Swagger UI

- GET /openapi.yaml: raw OpenAPI spec
- GET /openapi.json: JSON-formatted spec
- GET /docs: Swagger UI for interactive API docs
- 19 endpoints documented with schemas
- Added pyyaml dependency
This commit is contained in:
user
2026-02-05 21:30:09 +01:00
parent b36b1579c7
commit 5672c0c22e
4 changed files with 878 additions and 2 deletions

View File

@@ -10,6 +10,7 @@ dependencies = [
"flask-cors>=4.0",
"gunicorn>=21.0",
"python-dotenv>=1.0",
"pyyaml>=6.0",
]
[project.optional-dependencies]