Skip to content

PathMustBeUnique doesn't consider the HTTP Method #1449

@j2ghz

Description

@j2ghz

Describe the bug
#474 introduced a PathMustBeUnique validator, but it only check that a path is unique.

To Reproduce
Steps to reproduce the current behavior:
Have 2 endpoints with the same path but different method, e.g. GET /user and DELETE /user

Expected behavior
It should check that a combination of HTTP method and path is unique.

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