karec/cookiecutter-flask-restful

Flask 2.0 just came out and broke all :(

jayrod opened this issue · 3 comments

I had to downgrade to Flask 1.1.2 and all seems good with the world again. Perhaps a change to the requirements.txt until a fix can be made?

karec commented

Hello @jayrod, thanks for reporting the issue and sorry that I have took so much time to answer. I'll dive into the issue, if fixing everything for flask 2.0 take too much time I will indeed fix the requirements.txt until I can work on a proper PR

Hey @jayrod and @karec I've opened a PR that addresses the CLI issue for Flask 2.0. It also updates Swagger UI and added an alternative UI (ReDoc) that works alongside Swagger UI (for a professional, read-only API overview). Thanks to APISpec, all that needed to be done was add an extra route that returned the YAML version of the spec.

karec commented

Hi @caffeinatedMike and thank you a lot for this PR, I've merged it.