https://github.com/CrowdHailer/oas_generator
Generate API clients from Open API (Swagger) Specs.
I have used this for several clients. I recently shared the github one.
I'm pretty happy with the API's that are generated. When the API is defined with basic features then it's mostly what I would write by hand.
It also allows me to discover the API from within my editor. The language server will autocomplete on all the fields that exist in a returned entity.
The generated code makes public a <operation>_request function to build requests and a <operation>_response function so that you can use it with any API client. This is most relevant for the separation between front and back end where API clients have different signatures.
I'm keen for people to try it out and here opinions on if the generated code is "good enough".
Try both generation and try any clients that were generated.
@split perch this was the code you were looking for.
Generate HTTP clients from Open API specs. Contribute to CrowdHailer/oas_generator development by creating an account on GitHub.
I have one problem though and that is that the call to
.