Skip to content

Commit

Permalink
change to openApi doc to insert xml type on device configuration endp…
Browse files Browse the repository at this point in the history
…oint
  • Loading branch information
angelo.andreussi authored and Coduz committed Jan 17, 2024
1 parent fc677de commit d2f4a3d
Show file tree
Hide file tree
Showing 2 changed files with 12 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -30,6 +30,9 @@ paths:
application/json:
schema:
$ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurations'
application/xml:
schema:
$ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurations'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -53,6 +56,9 @@ paths:
application/json:
schema:
$ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurationInput'
application/xml:
schema:
$ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurationInput'
required: true
responses:
204:
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,9 @@ paths:
application/json:
schema:
$ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurations'
application/xml:
schema:
$ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurations'
401:
$ref: '../openapi.yaml#/components/responses/unauthenticated'
403:
Expand All @@ -51,6 +54,9 @@ paths:
application/json:
schema:
$ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurationsInput'
application/xml:
schema:
$ref: './deviceConfiguration.yaml#/components/schemas/componentConfigurationsInput'
required: true
responses:
204:
Expand Down

0 comments on commit d2f4a3d

Please sign in to comment.