Skip to content

Commit

Permalink
fix(openapi): added new DevicePackages schemas to root openapi.yaml
Browse files Browse the repository at this point in the history
Signed-off-by: Alberto Codutti <alberto.codutti@eurotech.com>
  • Loading branch information
Coduz committed Dec 22, 2023
1 parent 898356a commit c44cc7a
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -71,7 +71,7 @@ components:
version: 1.0.300
devicePackageDownloadRequestFileType:
type: string
description: The type of the URI resoruce content
description: The type of the URI resource content
enum:
- DEPLOYMENT_PACKAGE
- EXECUTABLE_SCRIPT
Expand Down
4 changes: 4 additions & 0 deletions rest-api/resources/src/main/resources/openapi/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -813,8 +813,12 @@ components:
$ref: './devicePackage/devicePackage.yaml#/components/schemas/devicePackage'
devicePackages:
$ref: './devicePackage/devicePackage.yaml#/components/schemas/devicePackages'
devicePackageDownloadRequestFileType:
$ref: './devicePackage/devicePackage.yaml#/components/schemas/devicePackageDownloadRequestFileType'
devicePackageDownloadRequest:
$ref: './devicePackage/devicePackage.yaml#/components/schemas/devicePackageDownloadRequest'
devicePackageUninstallRequest:
$ref: './devicePackage/devicePackage.yaml#/components/schemas/devicePackageUninstallRequest'
### Device Request Entities ###
requestInput:
$ref: './deviceRequest/deviceRequest.yaml#/components/schemas/requestInput'
Expand Down

0 comments on commit c44cc7a

Please sign in to comment.