Creating HTTP clients is one of the most repetitive tasks companies are facing when developing microservices. One of the more problematic issues is that every app could have a different library stack (different libraries versions, different JSON libraries, ...).
We think it'd be ideal to have a way of auto-derive clients from OpenAPI definitions with Bow compatibility.
How was it developed?
It is a command-line with a dependency to swagger-codegen -- it helps us in the generation to the API client using a template-driven engine (we have defined out templates in /Templates). It has been developed following a functional-programming paradigm and taking advantage of the monad comprehension launched in Bow 0.6.
It is the project structure:
UI you will find everything related to the command-line.
Generator is the logic to generate the API client compatible with Bow Effects.
Description
Creating HTTP clients is one of the most repetitive tasks companies are facing when developing microservices. One of the more problematic issues is that every app could have a different library stack (different libraries versions, different JSON libraries, ...).
We think it'd be ideal to have a way of auto-derive clients from OpenAPI definitions with
Bow
compatibility.How was it developed?
It is a command-line with a dependency to swagger-codegen -- it helps us in the generation to the API client using a template-driven engine (we have defined out templates in
/Templates
). It has been developed following a functional-programming paradigm and taking advantage of the monad comprehension launched in Bow 0.6.It is the project structure:
Bow Effects
.