-
Notifications
You must be signed in to change notification settings - Fork 9.2k
Closed
Description
Hi,
I recently ran into the following issue: I have two different types of URIs which support different requests (verbs) and return different values. I tried to write them down as:
paths:
/{CollectionURI}:
get:
summary: List Collection Members
...
post:
summary: Create a Resource
...
parameters:
- $ref: "#/parameters/CollectionURI"
/{MemberURI}:
get:
summary: Retrieve a Resource
...
parameters:
- $ref: "#/parameters/MemberURI"
...which does show up fine in Swagger-UI but is not officially supported. Swagger-Editor doesn't like it and shows an error.
I asked that question on SO: https://stackoverflow.com/questions/35478531/swagger-equivalent-path-already-exists-despite-different-parameters
Please add support for this kind of path templating in the next version.
Thanks!
Metadata
Metadata
Assignees
Labels
No labels