Skip to content

Commit

Permalink
Modified file names and changed enable route codes
Browse files Browse the repository at this point in the history
  • Loading branch information
gabrielcastrosilva committed Apr 26, 2022
1 parent 6158eb4 commit b3db145
Show file tree
Hide file tree
Showing 6 changed files 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 @@ -23,38 +23,38 @@ get:
content:
application/xml:
examples:
$ref: '../components/examples/enableHook/enableHook-hookNotFoundError.yaml'
$ref: '../components/examples/enableHook/hookNotFoundError.yaml'
schema:
$ref: '../components/schemas/responses/enableHookError.yaml'
'400':
description: Invalid Hook ID
description: Missing Hook ID
content:
application/xml:
examples:
$ref: '../components/examples/enableHook/enableHook-invalidHookIDError.yaml'
$ref: '../components/examples/enableHook/missingParamError.yaml'
schema:
$ref: '../components/schemas/responses/enableHookError.yaml'
'401':
description: Checksum test failed
description: Checksum check failed
content:
application/xml:
examples:
$ref: '../components/examples/enableHook/enableHook-fail.yaml'
$ref: '../components/examples/enableHook/checksumError.yaml'
schema:
$ref: '../components/schemas/responses/enableHookError.yaml'
'422':
description: Missing Hook ID
description: Invalid Hook ID
content:
application/xml:
examples:
$ref: '../components/examples/enableHook/enableHook-missingParamError.yaml'
$ref: '../components/examples/enableHook/invalidHookIDError.yaml'
schema:
$ref: '../components/schemas/responses/enableHookError.yaml'
'500':
description: Couldn't enable hook
content:
application/xml:
examples:
$ref: '../components/examples/enableHook/enableHook-enableError.yaml'
$ref: '../components/examples/enableHook/enableError.yaml'
schema:
$ref: '../components/schemas/responses/enableHookError.yaml'

0 comments on commit b3db145

Please sign in to comment.