sanic-org / sanic-openapi

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

[Bug] #221

Closed eblaudez closed 3 years ago

eblaudez commented 3 years ago

Describe the bug With sanic 21.3.2 the service (app.run) does not start due to an Attribute Error. Please notice that will work with previous versions of sanic and sanic-openapi (all will be broken after an upgrade of the packages)

Screenshots No screen shot : service does not start

To Reproduce

Expected behavior Service should run (-;

Environment (please complete the following information):

Additional context

artcg commented 3 years ago

Thanks for the report! This bug has been fixed, just waiting on a release, but you can use the code from the bugfix branch

pip install git+https://github.com/artcg/sanic-openapi.git@s21

Or downgrade to sanic 20.12 while you wait