From 0f93857b92b7d5220e013a7377dc8730595001eb Mon Sep 17 00:00:00 2001 From: Lenny Goodell Date: Mon, 8 Jan 2024 15:33:31 -0700 Subject: [PATCH] docs: Update version in swagger docs (#1535) Signed-off-by: Leonard Goodell --- .gitignore | 1 + VERSION | 1 - openapi/v3/app-functions-sdk.yaml | 8 ++++---- 3 files changed, 5 insertions(+), 5 deletions(-) delete mode 100644 VERSION diff --git a/.gitignore b/.gitignore index 76767a4be..8c0a83e4f 100644 --- a/.gitignore +++ b/.gitignore @@ -8,3 +8,4 @@ *.dll *.exe go.mod.bk +VERSION diff --git a/VERSION b/VERSION deleted file mode 100644 index cc6612c36..000000000 --- a/VERSION +++ /dev/null @@ -1 +0,0 @@ -2.3.0 \ No newline at end of file diff --git a/openapi/v3/app-functions-sdk.yaml b/openapi/v3/app-functions-sdk.yaml index 6a9aa9400..4e115dccd 100644 --- a/openapi/v3/app-functions-sdk.yaml +++ b/openapi/v3/app-functions-sdk.yaml @@ -2,10 +2,10 @@ openapi: 3.0.0 info: title: EdgeX Foundry - Application Services API description: This is the definition of the API for Application Functions services in the EdgeX Foundry IOT microservice platform. Application Services provides the means for processing/transforming/exporting data out of EdgeX. - version: 3.0.0 + version: 3.2.0 servers: - - url: http://localhost:/api/v2 + - url: http://localhost:/api/v3 description: URL for local development and testing components: @@ -22,7 +22,7 @@ components: apiVersion: description: "A version number shows the API version in DTOs." type: string - example: "v2" + example: "v3" BaseResponse: description: "Defines basic properties which all use-case specific response DTO instances should support" type: object @@ -245,7 +245,7 @@ paths: application/json: schema: type: object - description: Object type must match the Application Service's Target Type. Currently Target Type defaults to EdgeX model.Events from go-mod-core-contracts. This will change to default to a V2 dtos.Event in the future. + description: Object type must match the Application Service's Target Type. Currently Target Type defaults to EdgeX model.Events from go-mod-core-contracts. This will change to default to a v3 dtos.Event in the future. required: true responses: '200':