+0
Daily
299
stars
439
forks
17
watchers
1,032
prs
404
issues
65
releases
README
Overview Swagger Codegen Generators project is a set of classes and templates (Handlebars) used by Swagger Codegen 3.0.0 project in its code generation process for a specific language or language framework. The main differents with Swagger Codegen 2.x.x are: - Handlebars as template engine: with Handlebars feature is possible to create more logic-less templates. - OAS 3 support: generator classes work with OpenAPI Specification V3. More details about these and more differences are referenced at https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.0 Prerequisites You need the following installed and available in your $PATH: Java 11+ (http://java.oracle.com) Apache maven 3.0.4 or greater (http://maven.apache.org/) How to Contribute. Right now the templates and generators classes are migrated from Swagger Codegen 3.0.0 branch. If you want to migrate an existing language/framework, you can follow this guide). Also you need to keep in mind that Handlebars is used as the template engine. It's pretty similar to Mustache, but there are differences that can not be ignored. So you can follow this guide which explains steps to migrate templates from Mustaches to Handlebars. Security Contact Please disclose any security-related issues or vulnerabilities by emailing [email protected], instead of using the public issue tracker. License Information on Generated Code The Swagger Codegen project is intended as a benefit for users of the Swagger / Open API Specification. The project itself has the License as specified. In addition, please understand the following points: The templates included with this project are subject to the License. Generated code is intentionally _not_ subject to the parent project license When code is generated from this project, it shall be considered AS IS and owned by the user of the software. There are no warranties--expressed or implied--for generated code. You can do what you wish with it, and once generated, the code is your responsibility and subject to the licensing terms that you deem appropriate.
Top issues
#34Can we have a discussion about the Go code generator?40 comments · 2018-03-08#45Add Scala support with akka-http server and client24 comments · 2018-03-22#183[Spring] Support MultiPartFile for file uploads17 comments · 2018-09-25#437[BUG][ALL] Crash on recursive structures because of example generations8 comments · 2019-07-31#166[java jaxrs-jersey] default values are never generated in annotations6 comments · 2018-09-06#1206Problems that occur when using --library okhttp4-gson configuration,version:3.0.505 comments · 2023-11-06#1163[typescript-axios] incorrect imports in graph-like structures5 comments · 2023-06-02#1295`@NotNull` is added by default for fields that are not required 4 comments · 2024-05-31
Latest release
Swagger Codegen Generators v1.0.63 v1.0.63 2026-11-24What's Changed chore: bump snapshot to 1.0.63-SNAPSHOT by @github-actions[bot] in https://github.com/swagger-api/swagger-codegen-generators/pull/1424 chore: Bump org.apache.maven.plugins:maven-gpg-plugin from 3.2.7 to 3.2.8 by @dependabot[bot] in https://github.com/swagger-api/swagger-codegen-generators/pull/1417 bump dependencies and Maven plugins by @djankows in https://github.com/swagger-api/swagger-codegen-generators/pull/1435 Full Changelog: https://github.com/swagger-api/swagger-codegen-generators/compare/v1.0.62...v1.0.63