I'm using swagger YAML for documenting few APIs. The APIs that I have are as follows:
- POST: /customers/id
- GET: /customers/id
- PUT: /customers/id
- DELETE: /customers/id
I'm using the same name for the APIs but I'm differentiating it based on the type of http call as per the REST URI naming convention. But when documenting this using swagger, I'm getting "Map keys must be unique" error.
How can I overcome this error?