Skip to content

Conversation

@alexcheng1982
Copy link

Due to Spring Boot's limitations on JSP files, swagger-ui may not load
correctly when using in Spring Boot. I had issues like JSP files rendered as plain text or JSP expression not evaluated.

In sdoc.jsp we only use JSP to get the context path, which can also be retrieved using JavaScript. Using HTML file is a more compatible approach for different frameworks. After this change, user can access sdoc.html for the Swagger UI.

Due to Spring Boot's limitations on JSP files, swagger-ui may not load
correctly when using in Spring Boot. Using HTML file is a more
compatible approach for different frameworks.
@pravsingh
Copy link

any update on this?

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.

3 participants