-
Notifications
You must be signed in to change notification settings - Fork 9k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
'duplicated mapping key' error occurred, if set same paths with different method (OAS3) #5984
Comments
This is not a valid API definition. Each path must be listed only once, and all HTTP methods applicable to that path must be listed under that path, as follows: paths:
/user:
post:
...
delete:
... |
Thanks a lot |
@gi-hu-se You can't have two Here's a related feature request in the OpenAPI Specification repository: |
Thanks for this |
'duplicated mapping key' error occurred, if set same paths with different method (OAS3)
Steps to reproduce the behavior:
Q&A
Example Swagger/OpenAPI definition:
The text was updated successfully, but these errors were encountered: