HackerReposA FIELD GUIDE TO OPEN SOURCE
ProSponsor the shelf♧ 0
← Back to top all-time
OpenAPITools
openapi-generator
Java2018–2025
OpenAPITools / openapi-generator

openapi-generator

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

43Distinct people
101Mentions
0Explicit recommenders
26.9KGitHub stars
REPOSITORY AT A GLANCE

What to know before exploring

What it is

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

GitHub

Where it is used

No documented product use was verified in the last source check.

What people are saying

No recommendation phrase was found in the indexed comments.

No classified warning is attached to this page. Read the discussions before treating silence as approval.

Also in these discussions

Mentioned in the same Hacker News threads. That is not proof they are substitutes.

This week on Hacker News

Nov 7–Nov 14 UTC · Direct repository links and separately labeled related project stories. Indexed through 11/14/2026, 6:01:08 PM UTC.

No direct repository links were found in the indexed HN discussions over the past seven days. Older discussions are available below.

Mentions over time

HN mentions by year101 dated mentions

Observed mentions: 2018-06-02 02:49:00 UTC to 2025-11-24 00:55:21 UTC.

01020302018-01-01 00:00:00 UTC to 2019-01-01 00:00:00 UTC (exclusive): 10 mentions; 5 submissions, 5 comments20182019-01-01 00:00:00 UTC to 2020-01-01 00:00:00 UTC (exclusive): 35 mentions; 25 submissions, 10 comments2020-01-01 00:00:00 UTC to 2021-01-01 00:00:00 UTC (exclusive): 15 mentions; 6 submissions, 9 comments2021-01-01 00:00:00 UTC to 2022-01-01 00:00:00 UTC (exclusive): 10 mentions; 2 submissions, 8 comments20212022-01-01 00:00:00 UTC to 2023-01-01 00:00:00 UTC (exclusive): 12 mentions; 4 submissions, 8 comments2023-01-01 00:00:00 UTC to 2024-01-01 00:00:00 UTC (exclusive): 5 mentions; 1 submissions, 4 comments2024-01-01 00:00:00 UTC to 2025-01-01 00:00:00 UTC (exclusive): 10 mentions; 2 submissions, 8 comments2025-01-01 00:00:00 UTC to 2026-01-01 00:00:00 UTC (exclusive): 4 mentions; 0 submissions, 4 comments2025

Counts come from the repository’s dated source evidence. Index cutoff: 2026-11-02 08:16:59 UTC.

View mention counts and date ranges
UTC ranges include their start and exclude their end. Select a period to filter the source evidence.
PeriodStart (UTC)End (exclusive, UTC)MentionsSubmissionsComments
20182018-01-01 00:00:00 UTC2019-01-01 00:00:00 UTC1055
20192019-01-01 00:00:00 UTC2020-01-01 00:00:00 UTC352510
20202020-01-01 00:00:00 UTC2021-01-01 00:00:00 UTC1569
20212021-01-01 00:00:00 UTC2022-01-01 00:00:00 UTC1028
20222022-01-01 00:00:00 UTC2023-01-01 00:00:00 UTC1248
20232023-01-01 00:00:00 UTC2024-01-01 00:00:00 UTC514
20242024-01-01 00:00:00 UTC2025-01-01 00:00:00 UTC1028
20252025-01-01 00:00:00 UTC2026-01-01 00:00:00 UTC404

From the project README

An excerpt from the repository, fetched Nov 13, 2026.

Read the project’s introduction
OpenAPI Generator Master (7.28.0): ⭐⭐⭐ If you would like to contribute, please refer to guidelines and a list of open tasks. ⭐⭐⭐ ‼️ To migrate from Swagger Codegen to OpenAPI Generator, please refer to the migration guide ‼️ 📔 For more information, please refer to the Wiki page and FAQ 📔 📔 The eBook A Beginner's Guide to Code Generation for REST APIs is a good starting point for beginners 📔 ⚠️ If the OpenAPI spec, templates or any input (e.g. options, environment variables) is obtained from an untrusted source or environment, please make sure you've reviewed these inputs before using OpenAPI Generator to generate the API client, server stub or documentation to avoid potential security issues (e.g. code injection). For security vulnerabilities, please contact team@openapitools.org. ⚠️ ‼️ Both "OpenAPI Tools" (https://OpenAPITools.org - the parent organization of OpenAPI Generator) and "OpenAPI Generator" are not affiliated with OpenAPI Initiative (OAI) ‼️ Sponsors If you find OpenAPI Generator useful for work, please consider asking your company to support this Open Source project by becoming a sponsor. You can also individually sponsor the project by becoming a backer. Thank you to our bronze sponsors! Thank you GoDaddy for sponsoring the domain names, Linode for sponsoring the VPS, Checkly for sponsoring the API monitoring and Gradle for sponsoring Develocity Overview OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec (both 2.0 and 3.0 are supported). Currently, the following languages/frameworks are supported: Languages/Frameworks API clients ActionScript, Ada, Apex, Bash, C, C# (.net 2.0, 3.5 or later, .NET Standard 1.3 - 2.1, .NET Core 3.1, .NET 5.0. Libraries: RestSharp, GenericHost, HttpClient), C++ (Arduino, cpp-restsdk, Qt5, Tizen, Unreal Engine 4), Clojure, Crystal, Dart, Elixir, Elm, Eiffel, Erlang, Go, Groovy, Haskell (http-client, Servant), Java (Apache HttpClient 4.x, Apache HttpClient 5.x, Jersey2.x, OkHttp, Retrofit1.x, Retrofit2.x, Feign, RestTemplate, RESTEasy, Vertx, Google API Client Library for Java, Rest-assured, Spring 5 Web Client, Spring 6 RestClient, MicroProfile Rest Client, Helidon), Jetbrains HTTP Client, Julia, k6, Kotlin, Lua, N4JS, Nim, Node.js/JavaScript (ES5, ES6, AngularJS with Google Closure Compiler annotations, Flow types, Apollo GraphQL DataStore), Objective-C, OCaml, Perl, PHP, PowerShell, Python, R, Ruby, Rust (hyper, reqwest, rust-server), Scala (akka, http4s, scalaz, sttp, swagger-async-httpclient, pekko), Swift (2.x, 3.x, 4.x, 5.x, 6.x), Typescript (AngularJS, Angular (9.x - 19.x), Aurelia, Axios, Fetch, Inversify, jQuery, Nestjs, Node, redux-query, Rxjs), XoJo, Zapier Server stubs Ada, C# (ASP.NET Core, Azure Functions), C++ (Httplib, Oat++, Pistache, Restbed, Qt5 QHTTPEngine), Erlang, F# (Giraffe), Go (net/http, Gin, Echo), Haskell (Servant, Yesod), Java (MSF4J, Spring, Undertow, JAX-RS: CDI, CXF, Inflector, Jersey, RestEasy, Play Framework, PKMST, Vert.x, Apache Camel, Helidon), Julia, Kotlin (Spring Boot, Ktor, Vert.x), PHP (Flight, Laravel, Lumen, Mezzio (fka Zend Expressive), Slim, Silex, Symfony), Python (FastAPI, Flask), NodeJS, Ruby (Sinatra, Rails5), Rust (rust-server), Scala (Akka, Finch, Lagom, Play, Cask, Scalatra) API documentation generators HTML, Confluence Wiki, Asciidoc, Markdown, PlantUML Configuration files Apache2 Others GraphQL, JMeter, Ktorm, MySQL Schema, Postman Collection, Protocol Buffer, WSDL Table of contents Sponsors Thank you to our bronze sponsors! Thank you GoDaddy for sponsoring the domain names, Linode for sponsoring the VPS, Checkly for sponsoring the API monitoring and Gradle for sponsoring Develocity Overview Table of contents 1 - Installation 1.1 - Compatibility 1.2 - Artifacts on Maven Central 1.3 - Download JAR Launcher Script 1.4 - Build Projects Nix users 1.5 - Homebrew 1.6 - Docker Public Pre-built Docker images OpenAPI Generator CLI Docker Image OpenAPI Generator Online Docker Image Development in docker Troubleshooting Run Docker in Vagrant 1.7 - NPM 1.8 - pip 2 - Getting Started 3 - Usage To generate a sample client library 3.1 - Customization 3.2 - Workflow Integration (Maven, Gradle, Github, CI/CD) 3.3 - Online OpenAPI generator 3.4 - License information on Generated Code 3.5 - IDE Integration 4 - Companies/Projects using OpenAPI Generator 5 - Presentations/Videos/Tutorials/Books 6 - About Us 6.1 - OpenAPI Generator Core Team Core Team Members Template Creator How to join the core team 6.2 - OpenAPI Generator Technical Committee Members of Technical Committee 6.3 - History of OpenAPI Generator Founding Members (alphabetical order): 7 - License 1 - Installation 1.1 - Compatibility The OpenAPI Specification has undergone 3 revisions since initial creation in 2010. The openapi-generator project has the following compatibilities with the OpenAPI Specification: OpenAPI Generator Version Release Date Notes 7.28.0 (upcoming minor release) SNAPSHOT 20.11.2026 Minor release with breaking changes (with fallback) 7.27.0 (latest stable release) 02.11.2026 Minor release with breaking changes (with fallback) 6.6.0 11.05.2023 Minor release with breaking changes (with fallback) 5.4.0 31.01.2022 Minor release with breaking changes (with fallback) 4.3.1 06.05.2020 Patch release (enhancements, bug fixes, etc) OpenAPI Spec compatibility: 1.0, 1.1, 1.2, 2.0, 3.0, 3.1 (beta support) (We do not publish daily/nightly build. Please use SNAPSHOT instead) For old releases, please refer to the Release page. For decommissioned generators/libraries/frameworks, please refer to the "Decommission" label in the pull request page. 1.2 - Artifacts on Maven Central You can find our released artifacts on maven central: Core: <dependency> <groupId>org.openapitools</groupId> <artifactId>o
Read the full README on GitHub

What Hacker News says

35 sources
For C++, I don't think anyone has contributed the OAUTH2 enhancement to the C++ client generator (cpp-qt5, cpp-restsdk) yet. We definitely welcome the contributions. For Java, I agree there are rooms for improvements as we cover so many different libraries (jersey2, retrofit2, openfeign, resttemplate, etc) and a good starting point is https://github.com/OpenAPITools/openapi-generator/tree/maste... and we can plot the OAuth-related enhancements back to the template more easily.
In OpenAPI Generator 4.2.2 (2019 last release): new TS redux-query generator
I remember there were discussions about adding typing to the Python client before but I don't think anyone has time to implement it yet. If you've time to make the contribution, please let me know by opening an issue/ticket: https://github.com/OpenAPITools/openapi-generator/issues/new We've also added a protobuf schema generator (`protobuf-schema`) to convert OpenAPI spec v2,v3 to protocol buffer schemas. Please give it a try to see if it helps in your use cases.
In OpenAPI Generator 4.2.2 (2019 last release): new TS redux-query generator
wing328hk·Nov 1, 2019Submission

Show HN: Auto-Generate Java Vert.x Web Server Stub Using OpenAPI Generator

We've added a new Java Vert.x Web server generator to OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator). To generate server stubs for Java Vert.x-Web given an OpenAPI/Swagger specification file, please follow 3 simple steps below: 1. Download the Java JAR (http://central.maven.org/maven2/org/openapitools/openapi-generator-cli/4.2.0/opena…) 2. Rename the JAR as "openapi-generator-cli.jar" 3. Run the following command to generate a Java Vert.x Web server stub for the Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op…): Mac/Linux: $ java -jar openapi-generator-cli.jar generate -g java-vertx-web -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op…
Read the rest
t/resources/2_0/petstore.yaml -o /var/tmp/java-vertx/ Windows: $ java -jar openapi-generator-cli.jar generate -g java-vertx-web -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op… -o C:\tmp\java-vertx If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new
3 points · Open discussion
wing328hk·Sep 27, 2019Submission

OpenAPI Generator's Kotlin client generator now supports multiplatform

We've added multiplatform (https://kotlinlang.org/docs/reference/multiplatform.html) support to the Kotlin client generator in the OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator) project. To generate a Kotlin API client with multiplatform support given an OpenAPI/Swagger specification file (https://github.com/OAI/OpenAPI-Specification), please follow 3 simple steps below: 1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-g…) 2. Rename the JAR as "openapi-generator-cli.jar" 3. Run the following command to generate a Nim API client for the Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op…):
Read the rest
Mac/Linux: $ java -jar openapi-generator-cli.jar generate -g kotlin -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op… --library multiplatform -o /var/tmp/kotlin/ Windows: $ java -jar openapi-generator-cli.jar generate -g kotlin -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op… --library multiplatform -o C:\tmp\kotlin If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new Thanks for the enhancement by Andrew Emery (https://github.com/andrewemery) Ref: https://github.com/OpenAPITools/openapi-generator/pull/3900
1 points · Open discussion
wing328hk·Sep 24, 2019Submission

Show HN: F# Server stub generator for Azure functions

4 months after we added the F# Giraffe server stub generator to OpenAPI Generator (https://twitter.com/oas_generator/status/1125309026558926848), we're glad to see another F# server stub generator for Azure Functions by the same author: Nick Fisher (https://twitter.com/NickFisherAU) To generate the F# server stub for Azure Functions given an OpenAPI/Swagger specification file, please follow 3 simple steps below: 1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-g…) 2. Rename the JAR as "openapi-generator-cli.jar" 3. Run the following command to generate server stub for F#/Azure functions for the Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op…
Read the rest
rc/test/resources/2_0/petstore.yaml): Mac/Linux: $ java -jar openapi-generator-cli.jar generate -g fsharp-functions -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op… -o /var/tmp/fsharp-functions/ Windows: $ java -jar openapi-generator-cli.jar generate -g fsharp-functions -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op… -o C:\tmp\fsharp-functions If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new Thanks again for the new generator by Nick Fisher (https://twitter.com/NickFisherAU) Ref: https://github.com/OpenAPITools/openapi-generator/pull/3933
2 points · Open discussion
wing328hk·Sep 20, 2019Submission

Generate API Documentation in AsciiDoc Format Using OpenAPI Generator

Thanks "man-at-home" (https://github.com/man-at-home) for contributing an AsciiDoc documentation generator to [OpenAPI Generator](https://github.com/OpenAPITools/openapi-generator). To generate API documentation in AsciiDoc format, please follow 3 simple steps below: 1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-g…) 2. Rename the JAR as "openapi-generator-cli.jar" 3. Run the following command to generate API documentation in AsciiDoc format for the Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op…): Mac/Linux: - java -jar openapi-generator-cli.jar generate -g asciidoc -i https://raw.githubusercontent.com/O
Read the rest
penAPITools/openapi-generator/master/modules/openapi-generator/src/test/resources/2_0/petstore.yaml -o /var/tmp/asciidoc/ Windows: - java -jar openapi-generator-cli.jar generate -g asciidoc -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op… -o C:\tmp\asciidoc If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new
2 points · Open discussion
wing328hk·Sep 13, 2019Submission

Show HN: Auto-Generate Nim API Client for REST APIs

We've added a new generator to OpenAPI Generator (https://github.com/OpenAPITools/openapi-generator) to generate Nim API clients. To generate the client given an OpenAPI/Swagger specification file, please follow 3 simple steps below: 1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-g…) 2. Rename the JAR as "openapi-generator-cli.jar" 3. Run the following command to generate a Ruby API client for the Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op…): Mac/Linux: $ java -jar openapi-generator-cli.jar generate -g nim -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op…
Read the rest
tor/src/test/resources/2_0/petstore.yaml -o /var/tmp/nim/ Windows: $ java -jar openapi-generator-cli.jar generate -g nim -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op… -o C:\tmp\nim If you've any feedback or question, please let us know via https://github.com/OpenAPITools/openapi-generator/issues/new Thanks for the new generator by Hideki Okamoto (https://github.com/hokamoto) Ref: https://github.com/OpenAPITools/openapi-generator/pull/3879
3 points · Open discussion
wing328hk·Sep 5, 2019Submission

Show HN: Convert OpenAPI spec to gRPC, Protobuf definitions in 3 steps

To convert OpenAPI spec (v2, v3) to gRPC, Protobuf definitions, please follow 3 simple steps below: 1. Download the Java JAR (https://oss.sonatype.org/content/repositories/snapshots/org/openapitools/openapi-g…) 2. Rename the JAR as "openapi-generator-cli.jar" 3. Run the following command to generate an gRPC, Protobuf definitions for the Petstore API (https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op…): Mac/Linux: java -jar openapi-generator-cli.jar generate -g grpc-schema -i https://raw.githubusercontent.com/OpenAPITools/openapi-generator/master/modules/op… -o /var/tmp/grpc-schema/ Windows: java -jar openapi-generator-cli.jar gene
Read the rest
2 points · Open discussion

Showing the 15 most recent of 35 sources. Enable JavaScript to search and browse every indexed mention.

MAKE YOURSELF AT HOME

A few shortcuts

/
Search the collection
?
Open this guide
Esc
Close dialogs and navigation

Your saved repositories and interests stay in this browser.