diff --git a/VERSION b/VERSION index afaf360d..6eaf8943 100644 --- a/VERSION +++ b/VERSION @@ -1 +1 @@ -1.0.0 \ No newline at end of file +v2.0.0 \ No newline at end of file diff --git a/docs/docs.go b/docs/docs.go index 17edf2f9..c180142a 100644 --- a/docs/docs.go +++ b/docs/docs.go @@ -2573,7 +2573,7 @@ const docTemplate = `{ // SwaggerInfo holds exported Swagger Info so clients can modify it var SwaggerInfo = &swag.Spec{ - Version: "1.0.0", + Version: "v2.0.0", Host: "localhost:8080", BasePath: "", Schemes: []string{}, diff --git a/docs/openapi.json b/docs/openapi.json index 5cba57e2..e61f5ad1 100644 --- a/docs/openapi.json +++ b/docs/openapi.json @@ -8,7 +8,7 @@ "url" : "http://www.apache.org/licenses/LICENSE-2.0.html" }, "title" : "Backup Service REST API Specification", - "version" : "1.0.0" + "version" : "v2.0.0" }, "externalDocs" : { "description" : "OpenAPI", diff --git a/docs/openapi.yaml b/docs/openapi.yaml index c5ea6722..c14b3c00 100644 --- a/docs/openapi.yaml +++ b/docs/openapi.yaml @@ -6,7 +6,7 @@ info: name: Apache 2.0 url: http://www.apache.org/licenses/LICENSE-2.0.html title: Backup Service REST API Specification - version: 1.0.0 + version: v2.0.0 externalDocs: description: OpenAPI url: https://swagger.io/resources/open-api/ diff --git a/internal/server/handlers/info.go b/internal/server/handlers/info.go index 7922b9df..f1ec65de 100644 --- a/internal/server/handlers/info.go +++ b/internal/server/handlers/info.go @@ -2,7 +2,7 @@ package handlers // Annotations to generate OpenAPI description (https://github.com/swaggo/swag) // @title Backup Service REST API Specification -// @version 1.0.0 +// @version v2.0.0 // @description Aerospike Backup Service // @license.name Apache 2.0 // @license.url http://www.apache.org/licenses/LICENSE-2.0.html