Skip to content

Swagger Codegen Versioning

Both 2.X and 3.X version lines of Swagger Codegen are available and are independently maintained.

NOTE: version 2.X (io.swagger) and 3.X (io.swagger.codegen.v3) have different group ids.

Swagger Codegen 2.X

Version:2.X
Repository branch:master
groupId:io.swagger
Swagger/OpenAPI support:2.0
maven central (maven plugin):swagger-codegen-maven-plugin

dependency example:

1
<dependency>
2
<groupId>io.swagger</groupId>
3
<artifactId>swagger-codegen-maven-plugin</artifactId>
4
<version>2.4.43</version>
5
</dependency>

Swagger Codegen 3.X

Version:3.X
Repository branch:3.0.0
groupId:io.swagger.codegen.v3
Swagger/OpenAPI support:2.0 (by using engine + generators of 2.X), 3.0.X
maven central:io.swagger.codegen.v3

dependency example:

1
<dependency>
2
<groupId>io.swagger.codegen.v3</groupId>
3
<artifactId>swagger-codegen-maven-plugin</artifactId>
4
<version>3.0.61</version>
5
</dependency>