Built something? We create video reels & spotlights for GitHub projects.Promote your project →
OpenAPITools
Home / Java / openapi-generator

OpenAPITools/openapi-generator

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

Java ◇ api Apache-2.0
★26.8KSTARS
⑂7.7KFORKS
!5,744ISSUES
🏆#352GLOBAL RANK
🔥2DAYS TRENDING
🚀
Maintainer Growth Kit for openapi-generator

Claim this project, add your verified backlink badge to your README, and download milestone cards.

Claim Repo

Star History

Continuous Observations
Interactive star growth chart for OpenAPITools/openapi-generator
CSV

Momentum

+669

STARS · LAST 30 DAYS

22

PER DAY

#14

MOST-STARRED Java

Window7 days30 days90 days
Stars gained+154+669+2K
Per day222222
Forks gained+38+154+384

openapi-generator gained 669 stars in the last 30 days, about 22 a day, and now has 26.8K. It is about 8 years old and has averaged roughly 3.3K stars a year. It ranks #14 among Java repositories and #352 across all languages on GitHubRepo.

Trending Record

openapi-generator has maintained a continuous presence across global trending indexes, peaking at #1177. Below is the 30-day activity profile:

💡 Overview

openapi-generator is an open-source project written in Java: OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (v2, v3).

Engineered for speed, consistency, and developer ease, it solves common hurdles in api, api-client, api-server. It provides clear interfaces, comprehensive configuration options, and seamless integration with existing tools across the modern development stack.

⚡ Key Features

1

Optimized execution pipeline written in Java for predictable speed.

2

Zero-friction configuration with comprehensive sensible defaults out of the box.

3

Cross-platform runtime support across Linux, macOS, and Windows environments.

4

Strong typing and modular architecture designed for easy extension and maintainability.

5

Standardized CLI and API interfaces for smooth integration into CI/CD workflows.

6

Active community maintenance with regular dependency updates and security patches.

📥 Installation

terminal
$ git clone https://github.com/OpenAPITools/openapi-generator.git
cd openapi-generator

⚙ System Requirements

Platforms

  • • macOS
  • • Linux
  • • Windows

Runtime & Dependencies

JDK 17 or higher (OpenJDK / GraalVM)

Architecture

x86_64, ARM64 (Apple Silicon & Graviton)

🧠 How It Works

openapi-generator coordinates its core functionality through a modular Java pipeline. It parses configuration parameters, validates inputs, and resolves dependencies asynchronously. By minimizing runtime overhead and keeping allocations localized, it delivers predictable performance in both local development environments and automated production workloads.

🎯 Production Use Cases

Command-Line Automation

Execute automated build, deployment, and maintenance tasks directly from the terminal.

CI/CD Workflow Integration

Run non-interactive validation checks in GitHub Actions, GitLab CI, or local pre-commit hooks.

Developer Environment Setup

Standardize local engineering workstations with single-binary utility commands.

Scripting & Pipeline Orchestration

Chain complex multi-stage scripts with reliable error reporting and exits.

🚀 Getting Started

1

Install openapi-generator using your package manager: `git clone https://github.com/OpenAPITools/openapi-generator.git`

2

Initialize your project workspace or configuration file for openapi-generator.

3

Import openapi-generator into your codebase or invoke it directly from your terminal.

4

Execute your test suite or run `openapi-generator --help` to verify successful setup.

👍 Strengths

Active community backing with 26,766 GitHub stars and verified adoption.
Permissive open-source distribution under the Apache-2.0 license.
Built in Java for high execution speed and developer familiarity.
Cross-platform compatibility across modern Linux, macOS, and Windows environments.
Clean modular design allowing flexible configuration and pipeline integration.

⚠️ Considerations

Requires familiarity with Java and modern CLI workflows.
Ecosystem extensions may require manual configuration depending on environment constraints.
Active development roadmap means breaking API changes may occur across major versions.

⇄ Alternatives & Direct Competitors

S

Spring Boot helps you to create Spring-powered, production-grade applications and services with absolute minimum fuss.

Compare ↗
G
google/guava ★ 51.9K Java

Google core libraries for Java

Compare ↗
D
apache/dubbo ★ 41.6K Java

The java implementation of Apache Dubbo. An RPC and microservice framework.

Compare ↗
T
eugenp/tutorials ★ 37.3K Java

Getting Started with Spring Boot 3:

Compare ↗

👥 Who Should Use This

Developers and engineering teams building with Java, seeking reliable, tested, and actively maintained tooling for production workloads.

🏆 Nearby in the Rankings

OpenAPITools/openapi-generator is currently ranked #352 by stars across every repository tracked on GitHubRepo. These are adjacent projects:

RankRepositoryLanguageStarsAction
#347 charmbracelet/glow Go ★ 27.5K Compare ↗
#348 Wox-launcher/Wox Go ★ 27.5K Compare ↗
#349 GraphiteEditor/Graphite Rust ★ 27.4K Compare ↗
#350 badges/shields JavaScript ★ 27.2K Compare ↗
#351 tree-sitter/tree-sitter Rust ★ 27.1K Compare ↗
#352 OpenAPITools/openapi-generator This Project Java ★ 26.8K
#353 jenkinsci/jenkins Java ★ 26.6K Compare ↗
#354 NandhaKishorM/laya Python ★ 26.4K Compare ↗
#355 apache/flink Java ★ 26.4K Compare ↗
#356 NixOS/nixpkgs Nix ★ 26.3K Compare ↗
#357 vapor/vapor Swift ★ 26.2K Compare ↗

Frequently Asked Questions

What does openapi-generator do? +

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

What language is openapi-generator written in? +

The primary language is Java. Topics include: api, api-client, api-server, generator, hacktoberfest.

Is openapi-generator actively maintained? +

Yes, the last recorded push was on Sep 25, 2026 with 5,744 open issues being tracked.

How many stars does openapi-generator have? +

openapi-generator has 26,766 stars and 7,685 forks on GitHub.

How does openapi-generator rank among GitHub repositories? +

With 26,766 stars, OpenAPITools/openapi-generator is ranked #352 globally across all repositories tracked on GitHubRepo and #14 among Java projects.

What license is openapi-generator distributed under? +

The repository reports a Apache-2.0 license. Always verify the repository LICENSE file for legal terms.

From our network
FOR MAINTAINERS

Built something? Put it in front of millions of developers.

We make a short reel about your project and post it across YouTube, Instagram, Threads, and X. Send a link, we do the rest.