Open Kousik1612 opened 1 month ago
There should not be any error reported as both these API(s) is intended to perform different behaviour as one is POST and other one is GET.
Are you trying to run the lint
command?
As the linter tells, both paths are the same, so their operations should be grouped under one of them (and the second should be removed).
If you still want your description to remain the same, you can turn off the no-ambiguous-paths
rule in the Redocly config file.
Describe the bug A clear and concise description of what the bug is. I have defined two paths which gets differed by HTTP Method and path parameter.
/xyz/{id}/features
- POST and/xyz/{id_or_wildcard}/features
- GETExpected behavior A clear and concise description of what you expected to happen. There should not be any error reported as both these API(s) is intended to perform different behaviour as one is POST and other one is GET.
Minimal reproducible OpenAPI snippet(if possible)
Screenshots If applicable, add screenshots to help explain your problem.
Additional context Add any other context about the problem here.