feat: add OpenAPI tags
This commit is contained in:
@@ -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__":
|
||||
|
||||
Reference in New Issue
Block a user