-
Notifications
You must be signed in to change notification settings - Fork 17
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
8e10eeb
commit 6144c4a
Showing
13 changed files
with
83 additions
and
27 deletions.
There are no files selected for viewing
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
14 changes: 14 additions & 0 deletions
14
specs/advanced-personalization/common/responses/BadUserID.yml
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,14 @@ | ||
description: Invalid user ID format. | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
status: | ||
type: integer | ||
description: HTTP status code. | ||
enum: [400] | ||
message: | ||
type: string | ||
description: Details about the response, such as error messages. | ||
enum: ["Invalid userID format"] |
8 changes: 0 additions & 8 deletions
8
specs/advanced-personalization/common/responses/BaseResponse.yml
This file was deleted.
Oops, something went wrong.
5 changes: 0 additions & 5 deletions
5
specs/advanced-personalization/common/responses/ConfigurationNotFound.yml
This file was deleted.
Oops, something went wrong.
14 changes: 14 additions & 0 deletions
14
specs/advanced-personalization/common/responses/GenericUnprocessableEntity.yml
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,14 @@ | ||
description: Unprocessable entity. | ||
content: | ||
application/json: | ||
schema: | ||
type: object | ||
properties: | ||
status: | ||
type: integer | ||
description: HTTP status code. | ||
enum: [422] | ||
message: | ||
type: string | ||
description: Details about the response, such as error messages. | ||
enum: ["Unprocessable Entity"] |
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
13 changes: 11 additions & 2 deletions
13
specs/advanced-personalization/common/responses/InvalidUserID.yml
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 |
---|---|---|
@@ -1,5 +1,14 @@ | ||
description: Invalid user ID format. | ||
description: Invalid user token. | ||
content: | ||
application/json: | ||
schema: | ||
$ref: './BaseResponse.yml' | ||
type: object | ||
properties: | ||
status: | ||
type: integer | ||
description: HTTP status code. | ||
enum: [422] | ||
message: | ||
type: string | ||
description: Details about the response, such as error messages. | ||
enum: ["UserID must contain only alphanumeric, equal, plus, slash, hyphen, or underscore characters, and be between 1 and 129 characters long"] |
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
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
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 |
---|---|---|
|
@@ -72,3 +72,5 @@ status: | |
type: array | ||
items: | ||
$ref: '../enums.yml#/errorCodes' | ||
lastUpdatedAt: | ||
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
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
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