diff --git a/.github/dependabot.yml b/.github/dependabot.yml
new file mode 100644
index 00000000000..8c2e2b81968
--- /dev/null
+++ b/.github/dependabot.yml
@@ -0,0 +1,9 @@
+version: 2
+updates:
+ - package-ecosystem: "maven"
+ directory: "/"
+ schedule:
+ interval: "daily"
+ ignore:
+ - dependency-name: "*"
+ update-types: ["version-update:semver-major"]
diff --git a/.github/workflows/dependency-review.yml b/.github/workflows/dependency-review.yml
new file mode 100644
index 00000000000..f67f5a42c2e
--- /dev/null
+++ b/.github/workflows/dependency-review.yml
@@ -0,0 +1,16 @@
+name: 'Dependency Review'
+on: [pull_request]
+
+permissions:
+ contents: read
+
+jobs:
+ dependency-review:
+ runs-on: ubuntu-latest
+ steps:
+ - name: 'Checkout Repository'
+ uses: actions/checkout@v4
+ - name: Dependency Review
+ uses: actions/dependency-review-action@v3
+ with:
+ fail-on-severity: high
diff --git a/README.md b/README.md
index 4d0bfcd9854..2bd8b35afed 100644
--- a/README.md
+++ b/README.md
@@ -2,9 +2,9 @@
[![Build Status](https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swagger-codegen-3)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-3)
-- 3.0.51-SNAPSHOT: [![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen/3.0.0.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
+- 3.0.52-SNAPSHOT: [![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen/3.0.0.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
[![Java Test](https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swagger-codegen-3)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-3)
-- Master (2.4.36-SNAPSHOT): [![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen/master.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
+- Master (2.4.38-SNAPSHOT): [![Build Status](https://img.shields.io/travis/swagger-api/swagger-codegen/master.svg?label=Petstore%20Integration%20Test)](https://travis-ci.org/swagger-api/swagger-codegen)
[![Java Test](https://img.shields.io/jenkins/build.svg?jobUrl=https://jenkins.swagger.io/job/oss-swagger-codegen-master)](https://jenkins.swagger.io/view/OSS%20-%20Java/job/oss-swagger-codegen-master)
[![Windows Test](https://ci.appveyor.com/api/projects/status/github/swagger-api/swagger-codegen?branch=master&svg=true&passingText=Windows%20Test%20-%20OK&failingText=Windows%20Test%20-%20Fails)](https://ci.appveyor.com/project/swaggerhub-bot/swagger-codegen)
@@ -37,7 +37,7 @@ dependency example:
io.swagger.codegen.v3
swagger-codegen-maven-plugin
- 3.0.50
+ 3.0.51
```
@@ -54,7 +54,7 @@ dependency example:
io.swagger
swagger-codegen-maven-plugin
- 2.4.36
+ 2.4.37
```
@@ -112,8 +112,9 @@ The OpenAPI Specification has undergone 3 revisions since initial creation in 20
Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
-------------------------- |--------------| -------------------------- | -----
-3.0.51-SNAPSHOT (current 3.0.0, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/codegen/v3/swagger-codegen-cli/3.0.51-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
-[3.0.50](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.50) (**current stable**) | 2023-10-26 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.50](https://github.com/swagger-api/swagger-codegen/tree/v3.0.50)
+3.0.52-SNAPSHOT (current 3.0.0, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/codegen/v3/swagger-codegen-cli/3.0.52-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
+[3.0.51](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.51) (**current stable**) | 2023-11-21 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.51](https://github.com/swagger-api/swagger-codegen/tree/v3.0.51)
+[3.0.50](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.50) | 2023-10-26 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.50](https://github.com/swagger-api/swagger-codegen/tree/v3.0.50)
[3.0.49](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.49) | 2023-10-23 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.49](https://github.com/swagger-api/swagger-codegen/tree/v3.0.49)
[3.0.48](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.48) | 2023-10-19 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.48](https://github.com/swagger-api/swagger-codegen/tree/v3.0.48)
[3.0.47](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.47) | 2023-10-02 | 1.0, 1.1, 1.2, 2.0, 3.0 | [tag v3.0.47](https://github.com/swagger-api/swagger-codegen/tree/v3.0.47)
@@ -163,8 +164,9 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
[3.0.2](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.2)| 2018-10-19 | 1.0, 1.1, 1.2, 2.0, 3.0 | Minor release
[3.0.1](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.1)| 2018-10-05 | 1.0, 1.1, 1.2, 2.0, 3.0 | Major release with breaking changes
[3.0.0](https://github.com/swagger-api/swagger-codegen/releases/tag/v3.0.0)| 2018-09-06 | 1.0, 1.1, 1.2, 2.0, 3.0 | Major release with breaking changes
-2.4.37-SNAPSHOT (current master, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.36-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0 | Minor release
-[2.4.36](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.36) (**current stable**) | 2023-10-26 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.36](https://github.com/swagger-api/swagger-codegen/tree/v2.4.36)
+2.4.38-SNAPSHOT (current master, upcoming minor release) [SNAPSHOT](https://oss.sonatype.org/content/repositories/snapshots/io/swagger/swagger-codegen-cli/2.4.38-SNAPSHOT/)| TBD | 1.0, 1.1, 1.2, 2.0 | Minor release
+[2.4.37](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.37) (**current stable**) | 2023-11-21 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.37](https://github.com/swagger-api/swagger-codegen/tree/v2.4.37)
+[2.4.36](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.36) | 2023-10-26 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.36](https://github.com/swagger-api/swagger-codegen/tree/v2.4.36)
[2.4.35](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.35) | 2023-10-26 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.35](https://github.com/swagger-api/swagger-codegen/tree/v2.4.35)
[2.4.34](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.34) | 2023-10-19 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.34](https://github.com/swagger-api/swagger-codegen/tree/v2.4.34)
[2.4.33](https://github.com/swagger-api/swagger-codegen/releases/tag/v2.4.33) | 2023-10-02 | 1.0, 1.1, 1.2, 2.0 | [tag v2.4.33](https://github.com/swagger-api/swagger-codegen/tree/v2.4.33)
@@ -215,12 +217,12 @@ Swagger Codegen Version | Release Date | OpenAPI Spec compatibility | Notes
If you're looking for the latest stable version, you can grab it directly from Maven.org (Java 8 runtime at a minimum):
```sh
-wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.50/swagger-codegen-cli-3.0.50.jar -O swagger-codegen-cli.jar
+wget https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.51/swagger-codegen-cli-3.0.51.jar -O swagger-codegen-cli.jar
java -jar swagger-codegen-cli.jar --help
```
-For Windows users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g. `Invoke-WebRequest -OutFile swagger-codegen-cli.jar https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.50/swagger-codegen-cli-3.0.50.jar`
+For Windows users, you will need to install [wget](http://gnuwin32.sourceforge.net/packages/wget.htm) or you can use Invoke-WebRequest in PowerShell (3.0+), e.g. `Invoke-WebRequest -OutFile swagger-codegen-cli.jar https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.51/swagger-codegen-cli-3.0.51.jar`
On a mac, it's even easier with `brew`:
```sh
@@ -405,7 +407,7 @@ java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate \
```
(if you're on Windows, replace the last command with `java -jar modules\swagger-codegen-cli\target\swagger-codegen-cli.jar generate -i http://petstore.swagger.io/v2/swagger.json -l php -o c:\temp\php_api_client`)
-You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.50/swagger-codegen-cli-3.0.50.jar)
+You can also download the JAR (latest release) directly from [maven.org](https://repo1.maven.org/maven2/io/swagger/codegen/v3/swagger-codegen-cli/3.0.51/swagger-codegen-cli-3.0.51.jar)
To get a list of **general** options available, please run `java -jar modules/swagger-codegen-cli/target/swagger-codegen-cli.jar generate --help`
diff --git a/modules/swagger-codegen-cli/pom.xml b/modules/swagger-codegen-cli/pom.xml
index 0aac24e035c..3112d4f5931 100644
--- a/modules/swagger-codegen-cli/pom.xml
+++ b/modules/swagger-codegen-cli/pom.xml
@@ -3,7 +3,7 @@
io.swagger.codegen.v3
swagger-codegen-project
- 3.0.51-SNAPSHOT
+ 3.0.51
../..
4.0.0
diff --git a/modules/swagger-codegen-maven-plugin/pom.xml b/modules/swagger-codegen-maven-plugin/pom.xml
index 07bc59848c4..05eb6c6d921 100644
--- a/modules/swagger-codegen-maven-plugin/pom.xml
+++ b/modules/swagger-codegen-maven-plugin/pom.xml
@@ -6,7 +6,7 @@
io.swagger.codegen.v3
swagger-codegen-project
- 3.0.51-SNAPSHOT
+ 3.0.51
../..
swagger-codegen-maven-plugin
diff --git a/modules/swagger-codegen/pom.xml b/modules/swagger-codegen/pom.xml
index 39fd5d94042..cb1dee8c375 100644
--- a/modules/swagger-codegen/pom.xml
+++ b/modules/swagger-codegen/pom.xml
@@ -3,7 +3,7 @@
io.swagger.codegen.v3
swagger-codegen-project
- 3.0.51-SNAPSHOT
+ 3.0.51
../..
4.0.0
@@ -193,7 +193,7 @@
1.3.0
- 2.4.36
+ 2.4.37
diff --git a/modules/swagger-generator/pom.xml b/modules/swagger-generator/pom.xml
index 48696333c1f..95ef056da6d 100644
--- a/modules/swagger-generator/pom.xml
+++ b/modules/swagger-generator/pom.xml
@@ -4,7 +4,7 @@
io.swagger.codegen.v3
swagger-codegen-project
- 3.0.51-SNAPSHOT
+ 3.0.51
../..
swagger-generator
diff --git a/modules/swagger-generator/src/main/resources/openapi.yaml b/modules/swagger-generator/src/main/resources/openapi.yaml
index 932e3cc992d..30fa45319cf 100644
--- a/modules/swagger-generator/src/main/resources/openapi.yaml
+++ b/modules/swagger-generator/src/main/resources/openapi.yaml
@@ -4,7 +4,7 @@ servers:
info:
description: 'This is an online swagger codegen server. You can find out more at
https://github.com/swagger-api/swagger-codegen or on [irc.freenode.net, #swagger](http://swagger.io/irc/).'
- version: 3.0.50
+ version: 3.0.51
title: Swagger Generator
license:
name: Apache 2.0
diff --git a/pom.docker.xml b/pom.docker.xml
index 0798af6ec2f..3f3a094c8c8 100644
--- a/pom.docker.xml
+++ b/pom.docker.xml
@@ -9,7 +9,7 @@
swagger-codegen-project
pom
swagger-codegen-project
- 3.0.51-SNAPSHOT
+ 3.0.51
https://github.com/swagger-api/swagger-codegen
scm:git:git@github.com:swagger-api/swagger-codegen.git
@@ -1118,20 +1118,20 @@
8
- 1.0.45-SNAPSHOT
- 2.2.17
+ 1.0.45
+ 2.2.19
1.6.12
- 2.1.18
+ 2.1.19
1.0.68
2.15.3
2.15.3
2.11.1
3.3.0
- 2.14.0
- 1.5.0
+ 2.15.0
+ 1.6.0
4.13.2
1.0.0
- 3.13.0
+ 3.14.0
2.0.9
1.4.11
3.2.1
@@ -1144,7 +1144,7 @@
2.2
4.3.1
4.5.14
- 2.40
+ 2.41
20231013
diff --git a/pom.java11.xml b/pom.java11.xml
index 8adc1fcebda..12a302c9335 100644
--- a/pom.java11.xml
+++ b/pom.java11.xml
@@ -9,7 +9,7 @@
swagger-codegen-project
pom
swagger-codegen-project
- 3.0.51-SNAPSHOT
+ 3.0.51
https://github.com/swagger-api/swagger-codegen
scm:git:git@github.com:swagger-api/swagger-codegen.git
@@ -1219,20 +1219,20 @@
8
- 1.0.45-SNAPSHOT
- 2.2.17
+ 1.0.45
+ 2.2.19
1.6.12
- 2.1.18
+ 2.1.19
1.0.68
2.15.3
2.15.3
2.11.1
3.3.0
- 2.14.0
- 1.5.0
+ 2.15.0
+ 1.6.0
4.13.2
1.0.0
- 3.13.0
+ 3.14.0
2.0.9
1.4.11
3.2.1
@@ -1245,7 +1245,7 @@
2.2
4.3.1
4.5.14
- 2.40
+ 2.41
20231013
diff --git a/pom.java8.xml b/pom.java8.xml
index a9b12e2cc04..fe6b82ab9a0 100644
--- a/pom.java8.xml
+++ b/pom.java8.xml
@@ -9,7 +9,7 @@
swagger-codegen-project
pom
swagger-codegen-project
- 3.0.51-SNAPSHOT
+ 3.0.51
https://github.com/swagger-api/swagger-codegen
scm:git:git@github.com:swagger-api/swagger-codegen.git
@@ -1222,20 +1222,20 @@
- 1.0.45-SNAPSHOT
- 2.2.17
+ 1.0.45
+ 2.2.19
1.6.12
- 2.1.18
+ 2.1.19
1.0.68
2.15.3
2.15.3
2.11.1
3.3.0
- 2.14.0
- 1.5.0
+ 2.15.0
+ 1.6.0
4.13.2
1.0.0
- 3.13.0
+ 3.14.0
2.0.9
1.4.11
3.2.1
@@ -1248,7 +1248,7 @@
2.2
4.3.1
4.5.14
- 2.40
+ 2.41
20231013
diff --git a/pom.xml b/pom.xml
index 8adc1fcebda..12a302c9335 100644
--- a/pom.xml
+++ b/pom.xml
@@ -9,7 +9,7 @@
swagger-codegen-project
pom
swagger-codegen-project
- 3.0.51-SNAPSHOT
+ 3.0.51
https://github.com/swagger-api/swagger-codegen
scm:git:git@github.com:swagger-api/swagger-codegen.git
@@ -1219,20 +1219,20 @@
8
- 1.0.45-SNAPSHOT
- 2.2.17
+ 1.0.45
+ 2.2.19
1.6.12
- 2.1.18
+ 2.1.19
1.0.68
2.15.3
2.15.3
2.11.1
3.3.0
- 2.14.0
- 1.5.0
+ 2.15.0
+ 1.6.0
4.13.2
1.0.0
- 3.13.0
+ 3.14.0
2.0.9
1.4.11
3.2.1
@@ -1245,7 +1245,7 @@
2.2
4.3.1
4.5.14
- 2.40
+ 2.41
20231013
diff --git a/samples/meta-codegen/pom.xml b/samples/meta-codegen/pom.xml
index 0c528a25e27..01948f94d41 100644
--- a/samples/meta-codegen/pom.xml
+++ b/samples/meta-codegen/pom.xml
@@ -120,8 +120,8 @@
UTF-8
- 3.0.50
- 1.0.45-SNAPSHOT
+ 3.0.51
+ 1.0.45
1.0.0
4.13.2
3.0.0