Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Allow providing additional parameters to FastAPIs add_api_route() function #188

Open
AndreasMietk opened this issue Jul 28, 2023 · 0 comments

Comments

@AndreasMietk
Copy link

Currently the internal _add_api_route() function is implemented with **kwargs which is passed to FastAPIs add_api_route()

Unfortunately its not possible to add any **kwargs, because all the CRUD functions aren't utilising it.

I came to this issue because i use the OpenAPIGenerator which translates the opertaion_id argument as the function being called.

If it is not provided, the generated function name is very ugly such as routeActivitiesItemIdPut for and update function.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant