diff --git a/CI/post-release.sh b/CI/post-release.sh index 0cc0fc6..ee73424 100755 --- a/CI/post-release.sh +++ b/CI/post-release.sh @@ -23,3 +23,7 @@ mvn versions:commit sc_find="version\: $SC_VERSION" sc_replace="version: $SC_NEXT_VERSION-SNAPSHOT" sed -i -e "s/$sc_find/$sc_replace/g" $CUR/src/main/swagger/swagger.yaml + +sc_find="swagger\-converter\:v$SC_VERSION" +sc_replace="swagger-converter:v$SC_NEXT_VERSION-SNAPSHOT" +sed -i -e "s/$sc_find/$sc_replace/g" $CUR/README.md diff --git a/README.md b/README.md index 38216be..334bccf 100644 --- a/README.md +++ b/README.md @@ -3,8 +3,8 @@ Provides a converter between OpenAPI 2.0 and 3.0 specifications accessible via A It is available online at https://converter.swagger.io/ and as a [docker image](https://hub.docker.com/r/swaggerapi/swagger-converter) e.g.: ``` -docker pull swaggerapi/swagger-converter:v1.0.4 -docker run -it -p 8080:8080 --name swagger-converter swaggerapi/swagger-converter:v1.0.4 +docker pull swaggerapi/swagger-converter:v1.0.5-SNAPSHOT +docker run -it -p 8080:8080 --name swagger-converter swaggerapi/swagger-converter:v1.0.5-SNAPSHOT ``` Web UI is reachable at http://localhost:8080/index.html and OpenAPI spec at http://localhost:8080/api/openapi.json diff --git a/pom.xml b/pom.xml index acdba61..3ad1d4b 100644 --- a/pom.xml +++ b/pom.xml @@ -9,7 +9,7 @@ swagger-converter war swagger-converter - 1.0.4 + 1.0.5-SNAPSHOT 2.2.0 @@ -327,10 +327,10 @@ 8 1.0.0 - 2.1.18 - 2.0.10 + 2.1.22 + 2.0.12 9.4.53.v20231009 - 1.0.1 + 1.5.3 4.13.2 2.0.9 UTF-8 diff --git a/src/main/swagger/swagger.yaml b/src/main/swagger/swagger.yaml index 5f6f8d3..6d03d24 100644 --- a/src/main/swagger/swagger.yaml +++ b/src/main/swagger/swagger.yaml @@ -3,7 +3,7 @@ openapi: 3.0.0 info: title: Swagger Converter description: Converts a 1.x or 2.x Swagger definition to the OpenAPI 3.0.1 format - version: 1.0.4 + version: 1.0.5-SNAPSHOT servers: - url: "/" paths: