-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
b3db18b
commit 6158eb4
Showing
8 changed files
with
91 additions
and
38 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
7 changes: 7 additions & 0 deletions
7
openapi/components/examples/enableHook/enableHook-enableError.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fail: | ||
value: |- | ||
<response> | ||
<returncode>FAILED</returncode> | ||
<messageKey>enableHookError</messageKey> | ||
<message>An error happened while enabling your hook. Please contact the system's administrators.</message> | ||
</response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fail: | ||
value: |- | ||
<response> | ||
<returncode>FAILED</returncode> | ||
<messageKey>checksumError</messageKey> | ||
<message>You did not pass the checksum security check</message> | ||
</response> |
7 changes: 7 additions & 0 deletions
7
openapi/components/examples/enableHook/enableHook-hookNotFoundError.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fail: | ||
value: |- | ||
<response> | ||
<returncode>FAILED</returncode> | ||
<messageKey>enableMissingHook</messageKey> | ||
<message>The hook informed was not found or the shared secret didn't match the hook's.</message> | ||
</response> |
7 changes: 7 additions & 0 deletions
7
openapi/components/examples/enableHook/enableHook-invalidHookIDError.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fail: | ||
value: |- | ||
<response> | ||
<returncode>FAILED</returncode> | ||
<messageKey>invalidParamHookID</messageKey> | ||
<message>You must specify a valid hookID in the parameters.</message> | ||
</response> |
7 changes: 7 additions & 0 deletions
7
openapi/components/examples/enableHook/enableHook-missingParamError.yaml
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
fail: | ||
value: |- | ||
<response> | ||
<returncode>FAILED</returncode> | ||
<messageKey>missingParamHookID</messageKey> | ||
<message>You must specify a hookID in the parameters.</message> | ||
</response> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,15 @@ | ||
type: object | ||
required: | ||
- response | ||
- messageKey | ||
- message | ||
properties: | ||
response: | ||
type: object | ||
properties: | ||
returncode: | ||
type: string | ||
messageKey: | ||
type: string | ||
message: | ||
type: string |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters