sanic-org / sanic-openapi

Easily document your Sanic API with a UI
https://sanic-openapi.readthedocs.io/
MIT License
505 stars 107 forks source link

Swagger ui options doesn't have any effect #119

Closed canberkkoc closed 5 years ago

canberkkoc commented 5 years ago

Describe the bug SWAGGER_UI_CONFIGURATION = { 'validatorUrl': None, 'displayRequestDuration': True } doesn't have any effect on swagger ui.

Screenshots s1 s2 s3 To Reproduce I use it as described on Readme file.

Expected behavior I expected validation will turn off and see see display duration.

Environment (please complete the following information):

chenjr0719 commented 5 years ago

Hi @canberkkoc

We haven't released the new version with Swagger-UI configuration feature on PyPI. If you want to use this feature, please use the master branch.

To install sanic-openapi with master branch, you can use this command:

$ pip install git+https://github.com/huge-success/sanic-openapi.git

I'm going to close this issue, feel free to add more feedback or reopen if you want.