Skip to content

Feature/forward query params when redirecting to swagger UI #1012

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

Merged
merged 2 commits into from
Jan 17, 2021
Merged

Feature/forward query params when redirecting to swagger UI #1012

merged 2 commits into from
Jan 17, 2021

Conversation

kaibra
Copy link
Contributor

@kaibra kaibra commented Jan 13, 2021

This would allow to link to one of multiple api-groups in the swagger-ui using the redirect in SwaggerWelcome:

https://localhost:8443/swagger-ui.html?urls.primaryName=my-group-2

which would now redirect to

https://localhost:8443/swagger-ui/index.html?configUrl=/v3/api-docs/swagger-config&urls.primaryName=my-group-2

fixes #1013

@bnasslahsen
Copy link
Collaborator

@kaibra,

Thank you for your contribution.

@bnasslahsen bnasslahsen merged commit e51e3a9 into springdoc:master Jan 17, 2021
This was referenced Mar 16, 2021
@bnasslahsen bnasslahsen added the enhancement New feature or request label Jan 10, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Forward queryParams when redirecting to swagger-ui (SwaggerWelcome)
2 participants