
About OpenAPI Generator
OpenAPI Generator is an open source command-line tool that builds code and documentation from an OpenAPI description. It supports OpenAPI 2.0 and 3.x documents.
What it does
Give it an OpenAPI file and it produces client libraries that call the API, server stubs that implement it, or static API documentation. Users can choose from many generators and customize the templates with Mustache. It can be installed through Homebrew, Docker or npm, and it has plugins for build tools such as Maven and Gradle.
Key features
- More than 50 client generators
- Server stub generators for many frameworks
- Static documentation output
- Customizable Mustache templates
Who it's for
- Teams that publish an API and want official client libraries
- Backend developers starting a service from an existing spec
Pricing and good to know
The project is open source under the Apache-2.0 license and is free to use. It runs locally through a CLI, Docker, npm or a build plugin. Generated code usually needs review, and the project lists sponsors for people who want to support its development.
Highlights
- More than 50 client generators
- Server stub generators for many frameworks
- Static documentation output
- Customizable Mustache templates












