Skip to content

Commit 7e03b1f

Browse files
pvallonespanglerco
authored andcommitted
Fix alarm 401s to no longer nest the response ref under a schema
1 parent 3cb908c commit 7e03b1f

File tree

1 file changed

+2
-6
lines changed

1 file changed

+2
-6
lines changed

alarm/nialarm.yml

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -574,9 +574,7 @@ paths:
574574
type: string
575575
example: [5c40ec55e0d6441168b4c549]
576576
401:
577-
description: Unauthorized
578-
schema:
579-
$ref: '#/definitions/Error'
577+
$ref: '#/responses/Unauthorized'
580578
default:
581579
$ref: '#/responses/Error'
582580
/v1/instances:
@@ -662,9 +660,7 @@ paths:
662660
type: string
663661
example: 5c40ec55e0d6441168b4c543
664662
401:
665-
description: Unauthorized
666-
schema:
667-
$ref: '#/definitions/Error'
663+
$ref: '#/responses/Unauthorized'
668664
409:
669665
description: For requests which would result in an update to an existing alarm instance, this is
670666
returned when the request does not represent a valid transition for the existing alarm instance.

0 commit comments

Comments
 (0)