Praful Bagai
Praful Bagai

Reputation: 17372

Flask - APIs made via Flask-restful vs Class Based Views APIs

From the past 1 year or so, I was building APIs using Flask Class Based views. While documenting my APIs using Swagger (earlier used along with Django), I got to know about Flask-Restful. I went through its documentation, I found out it does the same thing which I was doing from past 1 year or so. Is there anything special that I'm missing about Flask-Restful or is it just the same?

Also, how can I document Class-based views using Swagger?

Upvotes: 3

Views: 1476

Answers (1)

fehguy
fehguy

Reputation: 6824

Take a look at https://github.com/zalando/connexion. This gives a swagger-first way to build out your app. Similar to swagger-node and swagger-inflector in the https://github.com/swagger-api repository

Upvotes: 4

Related Questions