getsling / flask-swagger

A swagger 2.0 spec extractor for flask
MIT License
457 stars 91 forks source link

Swagger UI v3 #42

Open hunt3ri opened 7 years ago

hunt3ri commented 7 years ago

Hi

I tried out flask-swagger with Swagger UI v3, it looks like there's some minor incompatibility issues. Are there any plans to support v3, on a new fork. I'd be happy to help.

The biggest issue appears to be the addition of the requestBody section in place of the in: body section. Looking at the spec, I think after a cursory look everything else should be mostly compatible. famous last words :)

Thanks Iain

jxltom commented 6 years ago

The OpenAPI version moves to 3.0 for UI v3. There are some big changes between OpenAPI2.0 and 3.0. It is better to add an option in Flask-Swagger to let users to choose which version to use.

rwscarb commented 4 years ago

I made some small changes in my fork for Open API 3