Skip to content

Commit

Permalink
Changed error code to 404
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcastrosilva committed Apr 26, 2022
1 parent b3db145 commit bffa7fb
Showing 1 changed file with 8 additions and 8 deletions.
16 changes: 8 additions & 8 deletions openapi/paths/enable.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -18,14 +18,6 @@ get:
$ref: '../components/examples/enableHook/success.yaml'
schema:
$ref: '../components/schemas/responses/enableHook.yaml'
'204':
description: Hook Not Found
content:
application/xml:
examples:
$ref: '../components/examples/enableHook/hookNotFoundError.yaml'
schema:
$ref: '../components/schemas/responses/enableHookError.yaml'
'400':
description: Missing Hook ID
content:
Expand All @@ -42,6 +34,14 @@ get:
$ref: '../components/examples/enableHook/checksumError.yaml'
schema:
$ref: '../components/schemas/responses/enableHookError.yaml'
'404':
description: Hook Not Found
content:
application/xml:
examples:
$ref: '../components/examples/enableHook/hookNotFoundError.yaml'
schema:
$ref: '../components/schemas/responses/enableHookError.yaml'
'422':
description: Invalid Hook ID
content:
Expand Down

0 comments on commit bffa7fb

Please sign in to comment.