Skip to content

Fix duplicate operationId #10

@Dreamsorcerer

Description

@Dreamsorcerer

Currently, operationId is set from the name that is decorated. This means that web.View methods all receive the same ID. This results in every endpoint in that class opening/closing in the swagger UI when any one is clicked, due to them all having the same id attribute.

The same issue could happen if a user utilises the same handler function for multiple paths in the router.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions