Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

UI document drop-down for multiple swagger documents with swaggerUi3? #1326

Closed
greenmooseSE opened this issue May 16, 2018 · 5 comments
Closed

Comments

@greenmooseSE
Copy link

Hi,

I have multiple version documents (.../v1/swagger.json, .../v2/swagger.json) and want these to be disoverable via a dropdown in UI.

I noticed there should be a way in swagger-ui3 to specify multiple urls (introduced via swagger-api/swagger-ui#3261). Is this possible to use with the NSwag swagger generator for aspNetCore somehow, or is there an alternative approach?

Thanks.

@RicoSuter RicoSuter added this to the vNext milestone May 16, 2018
@RicoSuter
Copy link
Owner

Related: #1304

@RicoSuter
Copy link
Owner

Implemented in 8d3a0f1

@RicoSuter
Copy link
Owner

v11.17.7

@BobbyVanKenobi
Copy link

BobbyVanKenobi commented Aug 3, 2020

i tried it but i only get this
image

i used the UseSwaggerUI3 extention two times in my code. This is my way to use v1,v2,v3... but i need them all in one dropbox. and i dont understand, how to do it. can u help me @RicoSuter ?
first time i tried it with swaggerroutes, but when i do that, i get this error in the firs pic!
image

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

3 participants