You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
PathMustBeUnique doesn't consider the HTTP Method #1449
Are you creating the GET and DELETE operations under two different path items? If you create both GET and DELETE under the same path Item there should not be any error. Can you show an example of an OpenAPI description that gives you an error.
Activity
darrelmiller commentedon Nov 28, 2023
Are you creating the GET and DELETE operations under two different path items? If you create both GET and DELETE under the same path Item there should not be any error. Can you show an example of an OpenAPI description that gives you an error.
marcusber commentedon Nov 29, 2023
Darrel (@darrelmiller) :
Created a small test to illustrate the problem.
The controller looked like this:
baywet commentedon Feb 27, 2025
Thank you for the additional information.
This is actually exactly prevented by the specification because it leads to ambiguous resolution.
This would need to be addressed at the specification level where the path parameters should be disambiguated considering the type as well.
Closing as until the specification changes, there nothing that can be done here.