Tuesday 14 November 2017

Swagger nirvana

The road to smooth swagger integration in a typical dev flow seems long: (a) there are tools that will convert swagger spec into API - I want to write my own API for fine grain control (b) other tools demands routes annotations to generate swagger - forces me to define all my models twice (50 lines of code above each route)Looking for a tool/technique that will (a) generate the swagger based on my models (defined in JSON schema or JOI) OR (b) generate API based on a swagger file but let me override the code generation or provide some runtime hook so my code takes the lead once the endpoint is invokedTalk to me u community of smart people

Submitted November 14, 2017 at 10:30AM by yonatannn

No comments:

Post a Comment