I have always been a great fan of the 'Contract-First' API design paradigm. The Swagger (OpenAPI) toolset makes it very simple to design new API contracts and object schemas.
There is a Swagger Pet Store demo available here, wherein we can design API contracts using a simple YAML file: https://editor.swagger.io/
After the API contract has been designed and reviewed, we can quickly generate stubs and client code in 20 languages using Swagger Codegen.
No comments:
Post a Comment