(no title)
tankerdude | 7 years ago
Uses Swagger/OpenAPI that then uses convention (or fully defined) packages, and methods for REST. Runs on top of Flask, and does a lot of all of the validation all from the yaml file. Plumbing taken care for you, etc. so you can focus on business logic?
Bogdanp|7 years ago
tankerdude|7 years ago
So it becomes a choice. A decision of writing mostly OpenAPI, or writing Python via an API that is defined by someone (or a small set of people).
I'd personally rather learn OpenAPI specs as you're going to live in that world anyways, as it gives you so much tooling.
It's not hard, and you could take that yaml file and generate code for other languages in case Python's performance specifically for that API (especially it if is a microservice), runs too slowly in the real world and need a faster runtime, etc.
unknown|7 years ago
[deleted]