Skip to content

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

@AndreasMietk

Description

@AndreasMietk

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions