Warm tip: This article is reproduced from serverfault.com, please click

openapi tools generator vs swagger codegen

发布于 2019-10-21 08:51:52

I am lost in dependencies and tools: I previously use the following tool to generate code for my swagger webservices.

swagger-codegen-cli

Then I noticed the following tool, and thought this was a successor:

openapi tools generator

But the code that is generated uses different annotations and seems older.

Could somebody tell me, are these 2 tools related to eachother and which one is the more recent version?

Questioner
bvdb
Viewed
0
user210757 2019-10-29 06:26:33

From the OpenAPI Generator FAQs

What is the difference between Swagger Codegen and OpenAPI Generator?

Swagger Codegen is driven by SmartBear while OpenAPI Generator is driven by the community. More than 40 top contributors and template creators of Swagger Codegen have joined OpenAPI Generator as the founding team members. For more details, see the Fork Q&A.

Swagger is a trademark owned by SmartBear and the use of the term "Swagger" in this project is for demo (reference) purposes only.