feat: add OpenAPI tags

This commit is contained in:
2025-03-21 15:06:44 +01:00
parent d9ad903798
commit ab3ed9b497
3 changed files with 11 additions and 8 deletions

View File

@@ -17,7 +17,7 @@ matplotlib.use("agg")
import matplotlib.pyplot as plt
analysis_router = APIRouter(prefix="/analysis")
analysis_router = APIRouter(prefix="/analysis", tags=["analysis"])
C = Chemistry
@@ -264,7 +264,7 @@ def mvp(
analysis_router.add_api_route(
"/graph_json/{team_id}", endpoint=graph_json, methods=["GET"]
)
analysis_router.add_api_route("/image", endpoint=render_sociogram, methods=["POST"])
# analysis_router.add_api_route("/image", endpoint=render_sociogram, methods=["POST"])
analysis_router.add_api_route("/mvp/{team_id}", endpoint=mvp, methods=["GET"])
if __name__ == "__main__":