swagger-ui icon indicating copy to clipboard operation
swagger-ui copied to clipboard

Can we have same API in different collections?

Open ankitjangir01 opened this issue 1 year ago • 0 comments

Can we have same API in different collections?

I have a requirement to document an API in multiple collection. For example I have an API with endpoint /createResource. Now I want to document it collections "create resource in model type A", then same API in "create resource in model type B" with different body. I tried it but swagger renders only one of them.

Is it not possible to do what I'm trying to or am I missing something? Your assistance would be appreciated!

ankitjangir01 avatar Jan 16 '24 13:01 ankitjangir01