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)
Star History
Momentum
+669
STARS · LAST 30 DAYS
22
PER DAY
#14
MOST-STARRED Java
| Window | 7 days | 30 days | 90 days |
|---|---|---|---|
| Stars gained | +154 | +669 | +2K |
| Per day | 22 | 22 | 22 |
| 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
2
DAYS ON TRENDING
#1177
BEST RANK
Sep 27, 2026
FIRST APPEARANCE
Active
STATUS TODAY
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
Optimized execution pipeline written in Java for predictable speed.
Zero-friction configuration with comprehensive sensible defaults out of the box.
Cross-platform runtime support across Linux, macOS, and Windows environments.
Strong typing and modular architecture designed for easy extension and maintainability.
Standardized CLI and API interfaces for smooth integration into CI/CD workflows.
Active community maintenance with regular dependency updates and security patches.
📥 Installation
$ 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
Install openapi-generator using your package manager: `git clone https://github.com/OpenAPITools/openapi-generator.git`
Initialize your project workspace or configuration file for openapi-generator.
Import openapi-generator into your codebase or invoke it directly from your terminal.
Execute your test suite or run `openapi-generator --help` to verify successful setup.
👍 Strengths
⚠️ Considerations
⇄ Alternatives & Direct Competitors
👥 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:
| Rank | Repository | Language | Stars | Action |
|---|---|---|---|---|
| #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.