Skip to content

Commit

Permalink
Delete legacy code
Browse files Browse the repository at this point in the history
  • Loading branch information
bkis committed Aug 21, 2023
1 parent 8185f38 commit 613f4af
Showing 1 changed file with 0 additions and 8 deletions.
8 changes: 0 additions & 8 deletions Tekst-API/tekst/routers/__init__.py
Original file line number Diff line number Diff line change
Expand Up @@ -42,11 +42,3 @@ def setup_routes(app: FastAPI) -> None:
route.operation_id = humps.camelize(route.name)
route_name = getattr(route.endpoint, "__name__", route.name)
route.summary = route_name.replace("_", " ").capitalize()
# # add camel-cased aliases to route params
# # (THIS DOESN'T SEEM TO WORK ANYMORE)
# for param in route.dependant.query_params:
# if not param.field_info.alias:
# param.alias = humps.camelize(param.name)
# for param in route.dependant.path_params:
# if not param.field_info.alias:
# param.alias = humps.camelize(param.name)

0 comments on commit 613f4af

Please sign in to comment.