diff --git a/CI/lastRelease.py b/CI/lastRelease.py
index 9a7a6e31..04782cca 100755
--- a/CI/lastRelease.py
+++ b/CI/lastRelease.py
@@ -9,8 +9,8 @@ def getLastReleaseTag():
tag = l["tag_name"]
if str(draft) != 'True' and tag.startswith("swagger-petstore-v31-"):
return tag
- print ("NO RELEASE TAG FOUND, using default swagger-petstore-v31-1.0.2")
- return "swagger-petstore-v31-1.0.2"
+ print ("NO RELEASE TAG FOUND, using default swagger-petstore-v31-1.0.3")
+ return "swagger-petstore-v31-1.0.3"
# main
def main():
result = getLastReleaseTag()
diff --git a/CI/post-release.sh b/CI/post-release.sh
index 8713450e..ea734254 100755
--- a/CI/post-release.sh
+++ b/CI/post-release.sh
@@ -31,7 +31,7 @@ sed -i -e "s/$sc_find/$sc_replace/g" $CUR/src/main/webapp/code-first/openapi.yam
sc_find="\"version\" \: \"$SC_VERSION\""
-sc_replace="\"version \: \"$SC_NEXT_VERSION\-SNAPSHOT\""
+sc_replace="\"version\" \: \"$SC_NEXT_VERSION\-SNAPSHOT\""
sed -i -e "s/$sc_find/$sc_replace/g" $CUR/src/main/webapp/code-first/openapi.json
sc_find="version \= \"$SC_VERSION\""
diff --git a/CI/prepare-release.sh b/CI/prepare-release.sh
index 324ba959..2541a829 100755
--- a/CI/prepare-release.sh
+++ b/CI/prepare-release.sh
@@ -31,7 +31,7 @@ mvn versions:set -DnewVersion=$SC_VERSION
mvn versions:commit
#####################
-### update version in openapi.yaml file ###
+### update versions in files around ###
#####################
sc_find="version\: $SC_VERSION\-SNAPSHOT"
sc_replace="version: $SC_VERSION"
diff --git a/pom.xml b/pom.xml
index 940f57ca..9378a77b 100644
--- a/pom.xml
+++ b/pom.xml
@@ -4,7 +4,7 @@
swagger-petstore-v31
war
Swagger Petstore V3.1
- 1.0.3-SNAPSHOT
+ 1.0.4-SNAPSHOT
https://github.com/swagger-api/swagger-petstore
scm:git:git@github.com:swagger-api/swagger-petstore.git
diff --git a/src/main/java/io/swagger/petstore/resource/DefinitionResource.java b/src/main/java/io/swagger/petstore/resource/DefinitionResource.java
index 2a38b34e..319600a1 100644
--- a/src/main/java/io/swagger/petstore/resource/DefinitionResource.java
+++ b/src/main/java/io/swagger/petstore/resource/DefinitionResource.java
@@ -22,7 +22,7 @@
info = @Info(
title = "Swagger Petstore - OpenAPI 3.1",
summary = "Pet Store 3.1",
- version = "1.0.3-SNAPSHOT",
+ version = "1.0.4-SNAPSHOT",
description = "This is a sample Pet Store Server based on the OpenAPI 3.1 specification.\nYou can find out more about\nSwagger at [http://swagger.io](http://swagger.io).",
termsOfService = "http://swagger.io/terms/",
contact = @Contact (
diff --git a/src/main/webapp/code-first/openapi.json b/src/main/webapp/code-first/openapi.json
index 0430fba1..a9d5c21d 100644
--- a/src/main/webapp/code-first/openapi.json
+++ b/src/main/webapp/code-first/openapi.json
@@ -11,7 +11,7 @@
"name" : "Apache 2.0 AND (MIT OR GPL-2.0-only)",
"identifier" : "Apache-2.0 AND (MIT OR GPL-2.0-only)"
},
- "version" : "1.0.3-SNAPSHOT",
+ "version" : "1.0.4-SNAPSHOT",
"summary" : "Pet Store 3.1",
"x-namespace" : "swagger"
},
diff --git a/src/main/webapp/code-first/openapi.yaml b/src/main/webapp/code-first/openapi.yaml
index 941920b6..b93fc84f 100644
--- a/src/main/webapp/code-first/openapi.yaml
+++ b/src/main/webapp/code-first/openapi.yaml
@@ -11,7 +11,7 @@ info:
license:
name: Apache 2.0 AND (MIT OR GPL-2.0-only)
identifier: Apache-2.0 AND (MIT OR GPL-2.0-only)
- version: 1.0.3-SNAPSHOT
+ version: 1.0.4-SNAPSHOT
summary: Pet Store 3.1
x-namespace: swagger
externalDocs:
diff --git a/src/main/webapp/design-first/petstore.yaml b/src/main/webapp/design-first/petstore.yaml
index 9bff3378..f4e4b94a 100644
--- a/src/main/webapp/design-first/petstore.yaml
+++ b/src/main/webapp/design-first/petstore.yaml
@@ -10,7 +10,7 @@ info:
license:
name: Apache 2.0 AND (MIT OR GPL-2.0-only)
identifier: Apache-2.0 AND (MIT OR GPL-2.0-only)
- version: 1.0.3-SNAPSHOT
+ version: 1.0.4-SNAPSHOT
x-namespace: Swagger
externalDocs:
description: Find out more about Swagger