diff --git a/Jenkinsfile b/Jenkinsfile index ae14c418..1bb1ba48 100644 --- a/Jenkinsfile +++ b/Jenkinsfile @@ -21,5 +21,5 @@ edgeXBuildGoApp ( dockerFilePath: 'example/cmd/device-simple/Dockerfile', pushImage: false, publishSwaggerDocs: true, - swaggerApiFolders: ['openapi/v3'] + swaggerApiFolders: ['openapi'] ) \ No newline at end of file diff --git a/openapi/v3/changes.txt b/openapi/changes.txt similarity index 100% rename from openapi/v3/changes.txt rename to openapi/changes.txt diff --git a/openapi/v3/device-sdk.yaml b/openapi/device-sdk.yaml similarity index 99% rename from openapi/v3/device-sdk.yaml rename to openapi/device-sdk.yaml index 7ae13ec1..c57fd5b5 100644 --- a/openapi/v3/device-sdk.yaml +++ b/openapi/device-sdk.yaml @@ -2,7 +2,7 @@ openapi: 3.0.0 info: title: EdgeX Foundry - Device Service API description: This is the definition of the API for Device services in the EdgeX Foundry IOT microservice platform. Device Services are responsible for obtaining Readings from target devices, and for writing values (settings) to them. - version: 3.0.0 + version: 4.0.0 servers: - url: http://0:49999/api/v3 @@ -1023,8 +1023,8 @@ paths: $ref: '#/components/schemas/VersionResponse' example: apiVersion: "v3" - version: "3.1.0" - "sdk_version": "3.1.0" + version: "4.0.0" + "sdk_version": "4.0.0" serviceName: "device-simple" '500': description: Interval Server Error