-
Notifications
You must be signed in to change notification settings - Fork 131
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
Swagger-ui compatibility #457
Comments
@jessebutterfield Do you know of any other countermeasures? |
I tried a couple of different things but I didn't come up with anything I liked better than that, so I also just ended up copying and editing swagger-ui/index.html. |
@jessebutterfield |
Hi there. I'm not sure I understand what you guys mean by "I copied index.html and swagger-initializer.js locally"... If so, I also have to copy over the I must be misunderstanding the solution since this seems a little over the top. Also, if I may, can you please review the More specifically: "...modify the js files as follows to create Swagger-UI can be used easily." For more information: my project is a REST api with no views and it's running on Scala version 2.13.10, Play version 2.8.19 and sbt-play-swagger version 1.0.0 |
Swagger UI has by default turned off controlling the default url with query parameters (see GHSA-qrmm-w75w-3wpx). So any version of swagger-ui > 4.1.2 using the setup in 3b will default to showing swagger's example pet store instead of your local swagger definitions.
The text was updated successfully, but these errors were encountered: