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

Feature/multiple swagger uis #162

Closed
wants to merge 5 commits into from

Conversation

sauterl
Copy link
Contributor

@sauterl sauterl commented Feb 20, 2023

Resolves #161

Adds a catch to the plugin instance creation that checks if a GET handler for the swaggerWebJarPath is already present. If the registering of the webjar handler fails for that particular reason, the exception is ignored and otherwise it's rethrown.

Adds appropriate unit test.

@dzikoysk
Copy link
Member

You can check if given route is registered through javain.javalinServlet().matcher :) You should probably also rebase your branch, because there's quite a lot of noise from older PRs + there's even one old change with AUTO_STRING

@sauterl
Copy link
Contributor Author

sauterl commented Feb 22, 2023

Due to polluted git history, I moved the feature-set of this PR to #166

@sauterl sauterl closed this Feb 22, 2023
@sauterl sauterl deleted the feature/multiple-swagger-uis branch February 22, 2023 07:44
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.

Multiple Swagger UI's cannot co-exist
2 participants