Skip to content

Swagger Codegen 3.0.0 has been released!

Compare
Choose a tag to compare
@HugoMario HugoMario released this 06 Sep 15:44
· 991 commits to 3.0.0 since this release
713d528

First official 3.0.0 release of swagger-codegen with OpenAPI 3 support.

NOTE: artifact groupId and root package of modules have been updated since 3.0.0-RC1 (#8431); the new groupId is io.swagger.codegen.v3 and the new root package is io.swagger.codegen.v3

Supported V3 generators

  • dynamic-html
  • html
  • html2
  • java
  • jaxrs-cxf-client
  • jaxrs-cxf
  • inflector
  • jaxrs-cxf-cdi
  • jaxrs-spec
  • jaxrs-jersey
  • jaxrs-di
  • jaxrs-resteasy-eap
  • jaxrs-resteasy
  • spring
  • openapi
  • openapi-yaml
  • kotlin-client
  • kotlin-server
  • php
  • swift3
  • swift4
  • typescript-angular

Notable features

  • groupId and package renaming #8431
  • allow capability to generate templates with mustache engine #8618
  • refactored online generator (swagger-generator) supporting V3 generators for V3 and V2 converted specs, and V2 generators for V2 specs (#8524). Provides also web UI and advanced docker image (swaggerapi/swagger-generator-v3). See also readme
  • [JAVA] OAS 3.0 - Support both OAS 3.0 and Swagger 1.5.x / OAS 2.x annotations in affected java generators swagger-codegen-generators issue #90
  • Supports jdk 9+ build
  • Ability to specify output json/yaml filename #8480

Notable bug fixes: