Skip to content

Commit

Permalink
refactor: move description into the endpoint
Browse files Browse the repository at this point in the history
  • Loading branch information
mehmetcanay committed May 3, 2024
1 parent a7eda4a commit b75a39b
Showing 1 changed file with 1 addition and 4 deletions.
5 changes: 1 addition & 4 deletions backend/api/routes.py
Original file line number Diff line number Diff line change
Expand Up @@ -65,11 +65,8 @@ def get_current_version():
return app.version


@app.get("/cdm", tags=["info"])
@app.get("/cdm", tags=["info"], description="Gets PASSIONATE CDM")
def get_cdm():
"""
Get PASSIONATE CDM.
"""
cdm = merge_modalities()
return cdm.to_dict()

Expand Down

0 comments on commit b75a39b

Please sign in to comment.