Skip to content

Tags on api_controller decorator not effecting the automated Swaggeer docs #358

@Foxeye73

Description

@Foxeye73

adding tags to the api_controller decorator used to add the controller to that tag on the swagger document. This seems to have broken since 0.31.

@api_controller('/client', tags=['/client'])
class ClientController(ModelControllerBase):
    model_config = client_model_config
    serializer_class = ClientModelService
Image

To force the API onto a tag I need to add ModelConfig : create_route_info={"tags": ["client"], },

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