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

Upgrade SwaggerUI version to support examples #77

Closed
iustitia opened this issue May 25, 2020 · 2 comments
Closed

Upgrade SwaggerUI version to support examples #77

iustitia opened this issue May 25, 2020 · 2 comments

Comments

@iustitia
Copy link

It looks like showing examples in responses and body is not supported currently. It was introduced in SwaggerUI in version 3.23.0, but pyramid_openapi3 supports only version 3.17.1.

Here is issue from SwaggerUI repo: swagger-api/swagger-ui#2651

Any plans to upgrade to latest version of SwaggerUI?

@zupo
Copy link
Collaborator

zupo commented May 25, 2020

The add_explorer_view allows you to pass ui_version to get an arbitrary version of Swagger UI. Have you tried this yet?

Additionally, I am not aware of any blockers that would prevent us from upgrading. Could you submit a PR that bumps the default ui_version to a more recent one?

@iustitia
Copy link
Author

Oh, I haven't noticed that, awesome :)
Maybe that could be mentioned on the Readme? I can do pull request for both.

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

No branches or pull requests

2 participants