Possible to have multiple swagger definitions #182
Unanswered
StickNitro
asked this question in
Q&A
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
I am looking into creating a REST API with golang and have a requirement to provide a different set of endpoints for customers vs operations, i.e.
So I am trying to see if I can replicate the behavior I see in an ASP.NET WebApi project using swagger that supports the ability to select a definition which would then display the swagger for either
/apior/opsWhat I am looking for is that the
/api/v1/todosroutes are in 1 definition and the/ops/v1/todosare in another definition such that when you navigate to the/swaggerroute you would see these definitions listed in the Select a definition dropdown, it currently just listsdoc.jsonanddoc.yamlIs this possible?
All reactions