Update Swagger UI to 5.21.0 (latest)#2252
Conversation
|
Thanks for your pull request! It looks like this may be your first contribution to a Google open source project. Before we can look at your pull request, you'll need to sign a Contributor License Agreement (CLA). View this failed invocation of the CLA check for more information. For the most up to date status, view the checks section at the bottom of the pull request. |
I've found that the examples don't work with the current version included.
|
@theletterf - WDYT? |
|
@Gr3q Thanks! An update was due anyway, though I'd like to see what OAS snippet wasn't rendering properly. Could you share the OAS and show a screenshot of the issue? |
chalin
left a comment
There was a problem hiding this comment.
@Gr3q - thanks for the PR. Please provide the screenshot @theletterf requested as soon as you can. I'll go ahead and merge now.
|
I checked again, we were using docsy 0.5.1, changing to unpkg in 0.7.2 fixed this issue already. This is how the examples looked before. This is the OAS file: https://opensubsonic.netlify.app/docs/openapi/openapi.json |


I've found that the examples don't work with the current version included in some cases, see opensubsonic/open-subsonic-api#137. In that case updating to the latest swagger version seems to solve the problem.