Re:Ask HN: Is anyone using REST API code generator in produc...
by bbdouglas on Tuesday May 21, 2019 @12:53PM
(#19971945)
Yelp uses openapi-generator to create REST clients for the Java services within our microservice architecture. Defining the API's in Swagger and auto-generating the client code is a big improvement in understandability and maintainability over what we used to do, which was to write bespoke clients for each microservice.
Openapi-generator is opinionated when it comes to how the data model classes are defined, and the feature set depends on which underlying HTTP library you choose (Jersey, Feign, Retrofit, OkHttp, etc), so we needed to invest some time when getting started to make necessary adjustments. But overall it has proven to be robust and meet our needs.
Re:Ask HN: Is anyone using REST API code generator in produc...
by craig_murray on Wednesday May 22, 2019 @04:15AM
(#19979028)
Right, we arrive at a similar conclusion. We will need to tweak the templates a little bit to meet our needs.
Re:Ask HN: Is anyone using REST API code generator in produc...
by craig_murray on Saturday May 18, 2019 @12:36PM
(#19948311)
Thanks "wing328hk". I'm aware of the fork and the 4.0.0 release.
The list looks impressive and I look forward to more users sharing their real life experience adopting these code generators.
Kudos to your work on open-source projects.
OpenAPI Generator is a fork of Swagger Codegen. The fork took place in May 2018 - a year ago. For the reasons behind the fork, please refer to the Q&A (https://github.com/OpenAPITools/openapi-generator/blob/maste...).
Fast forward to today, we just released OpenAPI Generator v4.0.0 - the 20th release since the fork, thanks to the awesome contributions from the vibrant developer community. Please refer to the release note (https://github.com/OpenAPITools/openapi-generator/releases/t...) for more information about the release.
For a list of companies and open-source projects using OpenAPI Generator in production, please refer to the project's README (https://github.com/OpenAPITools/openapi-generator/#4---compa...).
I hope you will find OpenAPI Generator useful in your work and personal projects.