OpenAPI Generator
openapi-generator.tech
- Free plan
- Windows
- macOS
- Linux
- Web
- Self-hosted
What OpenAPI Generator is
OpenAPI Generator creates API clients, server stubs, and documentation from OpenAPI 2.0 and 3.x documents. It offers 50+ client generators and server stub generation for 40+ languages and technologies, including Java, Kotlin, Go, and PHP. Other outputs include Apache2 configuration, MySQL, GraphQL schemas, and documentation formats such as HTML and Cwiki. It can turn OpenAPI 2.0 documents into OpenAPI 3.x JSON or YAML. To adapt generated output, users can replace templates with Mustache templates, add files or extensions through configuration, or build custom generators. The CLI is available through npm, Homebrew, Scoop, PyPI, Docker, JAR, JBang, or a Bash launcher. The project documents Linux, macOS, and Windows support across several installation routes; Homebrew is listed for macOS, while Scoop is listed for Windows. The JAR option requires Java 11 or later. Integrations include Gradle, Maven, sbt, Bazel, GitHub, and CI/CD. The project is free, and describes a Slack community for questions and guidance.
Who it suits
It suits developers and teams who need to generate API clients, server stubs, or documentation from OpenAPI documents. Custom templates, configuration options, and multiple CLI installation routes may also suit projects with specific output or workflow needs.
Good to know, and what to watch
- Generates clients from OpenAPI 2.0 and 3.x documents.
- Offers 50+ client generators.
- Supports custom templates and generators.
- CLI has multiple installation options.
- Documents Gradle, Maven, GitHub, and CI/CD integrations.
- JAR installation requires Java 11 or later.
- Homebrew is listed for macOS only.
- Scoop is listed for Windows only.
Plans
Every plan and priceOpenAPI Generator
Free plan
The verdict
OpenAPI Generator covers a broad range of client and server outputs, with options for adapting generated files. Check the available generators and installation route against your project's requirements.
What the maker publishes
- Client generators
- The homepage states it has 50+ client generators. source
- Community support
- The project describes an active Slack community of users, contributors, and core team members for guidance and questions. source
- Customization
- Users can replace templates with Mustache templates, provide additional files and extensions through configuration, or create custom generators. source
- Installation
- The CLI can be installed through npm, Homebrew, Scoop, PyPI, Docker, JAR, JBang, or a Bash launcher script. source
- Integrations
- The project documents Gradle, Maven, sbt, Bazel, GitHub, and CI/CD integrations; Cake is a third-party add-in. source
- OpenAPI conversion
- It supports generating newer JSON or YAML OpenAPI 3.x documents from OpenAPI 2.0. source
- Other outputs
- It includes generators for Apache2 configuration, MySQL, GraphQL schemas, and documentation formats such as HTML and Cwiki. source
- Purpose
- Generates clients, servers, and documentation from OpenAPI 2.0 and 3.x documents. source
- Runtime requirement
- The JAR installation requires at least Java 11. source
- Server generators
- It can generate server stubs for 40+ languages and technologies, including Java, Kotlin, Go, and PHP. source
- Sponsorship
- The project invites individual and company sponsorship through Open Collective. source
- Supported operating systems
- The installation page lists Linux, macOS, and Windows support for npm, PyPI, Docker, JAR, and JBang; Homebrew is listed for macOS and Scoop for Windows. source
Checked against the maker's pages on 29 Sept 2026.