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

Changing the server.servlet.context-path property breaks the Swagger and Graphiql UIs #52

Open
lewimuchiri opened this issue Feb 24, 2023 · 1 comment · May be fixed by #72
Open

Changing the server.servlet.context-path property breaks the Swagger and Graphiql UIs #52

lewimuchiri opened this issue Feb 24, 2023 · 1 comment · May be fixed by #72

Comments

@lewimuchiri
Copy link

The Swagger and Graphiql UIs work well when the server.servlet.context-path is not set. But when that property is set, such that the context path becomes anything other than '/', all of a sudden the Swagger and Graphiql UIs start breaking

image

@lewimuchiri
Copy link
Author

Temporary workaround for this is to manually change the urls in index.html files under "META-INF/resources", "META-INF/resources/graphiql" and "META-INF/resources/swagger" to prefix them with the context path

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 a pull request may close this issue.

1 participant