Skip to content

Commit

Permalink
Update quality-on-demand.yaml
Browse files Browse the repository at this point in the history
Added error schema "GenericDevice404" as discussed in #326 (comment)
  • Loading branch information
hdamker committed Aug 5, 2024
1 parent eb013bd commit 55c609a
Showing 1 changed file with 18 additions and 1 deletion.
19 changes: 18 additions & 1 deletion code/API_definitions/quality-on-demand.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@ paths:
"403":
$ref: "#/components/responses/Generic403"
"404":
$ref: "#/components/responses/Generic404"
$ref: "#/components/responses/GenericDevice404"
"409":
$ref: "#/components/responses/SessionInConflict409"
"422":
Expand Down Expand Up @@ -901,6 +901,23 @@ components:
message: "{{field}} is not consistent with access token."

Generic404:
description: Not found
headers:
x-correlator:
$ref: "#/components/headers/x-correlator"
content:
application/json:
schema:
$ref: "#/components/schemas/ErrorInfo"
examples:
GENERIC_404_NOT_FOUND:
description: Resource is not found
value:
status: 404
code: NOT_FOUND
message: The specified resource is not found.

GenericDevice404:
description: Not found
headers:
x-correlator:
Expand Down

0 comments on commit 55c609a

Please sign in to comment.