-
Notifications
You must be signed in to change notification settings - Fork 9.1k
Open
Labels
clarificationrequests to clarify, but not change, part of the specrequests to clarify, but not change, part of the specexamplesrequests for more or better examples in the specificationrequests for more or better examples in the specificationrequest matchingMatching requests to URL templates, media types, etc.Matching requests to URL templates, media types, etc.
Description
We can't describe different templated name with same hierarchy.
Templated paths with the same hierarchy but different templated names MUST NOT exist as they are identical.
But I can't understand what the same hierarchy
means.
We can't describe these path templates
/pets/{petId}
/pets/{name}
But we can describe these?
/pets/{petId}
/pets/{name}/hello
These depth of the hierarchy is different but these is different templated name in same depth of hierarchy.
When we get /pets/1/hello
we can match bottom paths and name=1.
These is partially the same, but the whole is different.
So I want to add more example to this section.
Metadata
Metadata
Assignees
Labels
clarificationrequests to clarify, but not change, part of the specrequests to clarify, but not change, part of the specexamplesrequests for more or better examples in the specificationrequests for more or better examples in the specificationrequest matchingMatching requests to URL templates, media types, etc.Matching requests to URL templates, media types, etc.