OpenAPITools

openapi-generator

A powerful code generation tool that automatically produces API clients, server stubs, documentation, and configuration from an OpenAPI Specification (v2, v3).

v7.27.0
Published at
11d ago
26,846
Stars
21,555
Download
Synced at
10d ago

Latest release

v7.27.0Nov 2, 2026, 05:17 AM
Downloads slow? Switch the source anytime above

README

Project Overview

OpenAPI Generator is an open-source project that automatically generates API client libraries (SDK generation), server stubs, documentation, and configuration given an OpenAPI Spec (v2.0 and v3.0). It supports dozens of languages and frameworks.

Key Features

  • Generates API client libraries (SDKs)
  • Generates server stubs
  • Automatically produces API documentation and configuration
  • Supports OpenAPI 2.0 and 3.0 specifications
  • Supports a wide range of languages including ActionScript, Ada, C, C++, C#, Dart, Go, Java, Python, Ruby, Rust, and more

Target Audience

  • Developers seeking to automate the generation of API clients and server code
  • Teams using OpenAPI Specifications for API design

Quick Start

OpenAPI Generator can be used in multiple ways:

  • Via CLI: openapi-generator-cli generate -i petstore.yaml -g java -o /tmp/client
  • Via npm: npm install @openapitools/openapi-generator-cli -g
  • As a Maven or Gradle plugin integrated into your build

Core Advantages

  • Extensive support for programming languages and frameworks
  • Highly customizable code generation templates
  • Active community and continuous development support

Release history

Sort