openapi-generator VS oapi-codegen

Compare openapi-generator vs oapi-codegen and see what are their differences.

openapi-generator

OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3) (by OpenAPITools)

oapi-codegen

Generate Go client and server boilerplate from OpenAPI 3 specifications (by oapi-codegen)
CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured
openapi-generator oapi-codegen
251 72
23,505 6,983
2.7% 3.6%
9.9 8.6
1 day ago 8 days ago
Java Go
Apache License 2.0 Apache License 2.0
The number of mentions indicates the total number of mentions that we've tracked plus the number of user suggested alternatives.
Stars - the number of stars that a project has on GitHub. Growth - month over month growth in stars.
Activity is a relative number indicating how actively a project is being developed. Recent commits have higher weight than older ones.
For example, an activity of 9.0 indicates that a project is amongst the top 10% of the most actively developed projects that we are tracking.

openapi-generator

Posts with mentions or reviews of openapi-generator. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-04-22.

oapi-codegen

Posts with mentions or reviews of oapi-codegen. We have used some of these posts to build our list of alternatives and similar projects. The last one was on 2025-03-09.

What are some alternatives?

When comparing openapi-generator and oapi-codegen you can also consider the following projects:

NSwag - The Swagger/OpenAPI toolchain for .NET, ASP.NET Core and TypeScript.

ogen - OpenAPI v3 code generator for go

kiota - OpenAPI based HTTP Client code generator

CORS - Go net/http configurable handler to handle CORS requests

Feign - Feign makes writing java http clients easier

goa - Design-first Go framework that generates API code, documentation, and clients. Define once in an elegant DSL, deploy as HTTP and gRPC services with zero drift between code and docs.

CodeRabbit: AI Code Reviews for Developers
Revolutionize your code reviews with AI. CodeRabbit offers PR summaries, code walkthroughs, 1-click suggestions, and AST-based analysis. Boost productivity and code quality across all major languages with each PR.
coderabbit.ai
featured
InfluxDB high-performance time series database
Collect, organize, and act on massive volumes of high-resolution data to power real-time intelligent systems.
influxdata.com
featured

Did you know that Java is
the 8th most popular programming language
based on number of references?