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

Fix swaggerui path by redirecting to swagger-ui #11

Merged
merged 1 commit into from
Sep 20, 2023

Conversation

fabiante
Copy link
Member

Closing #10

This is the simplest fix for the linked bug. SwaggerUI is not intended to be run on paths other that swagger-ui at least not without modifying dist/swagger-initializer.js.

I think it is a wise choice not to modify that file as that keeps maintenance low. If we changed that we would have to apply those changes every time we update swaggerUI. That is of course possible and would be simpler when using git patch files but in this PR I'd like to go the simple route.

@fabiante fabiante requested a review from Mirco91 September 20, 2023 08:28
@Mirco91 Mirco91 merged commit 9d88d62 into main Sep 20, 2023
@Mirco91 Mirco91 deleted the fix/openapi-on-swaggerui-path branch September 20, 2023 15:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants