Skip to content

Commit

Permalink
fix: Move API document files from openapi/v3 to openapi
Browse files Browse the repository at this point in the history
Signed-off-by: Cherry Wang <cherry@iotechsys.com>
  • Loading branch information
cherrycl committed Oct 22, 2024
1 parent 791e380 commit 8f827bd
Show file tree
Hide file tree
Showing 3 changed files with 4 additions and 4 deletions.
2 changes: 1 addition & 1 deletion Jenkinsfile
Original file line number Diff line number Diff line change
Expand Up @@ -21,5 +21,5 @@ edgeXBuildGoApp (
dockerFilePath: 'example/cmd/device-simple/Dockerfile',
pushImage: false,
publishSwaggerDocs: true,
swaggerApiFolders: ['openapi/v3']
swaggerApiFolders: ['openapi']
)
File renamed without changes.
6 changes: 3 additions & 3 deletions openapi/v3/device-sdk.yaml → openapi/device-sdk.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 8f827bd

Please sign in to comment.