-
Notifications
You must be signed in to change notification settings - Fork 80
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
Showing
4 changed files
with
86 additions
and
30 deletions.
There are no files selected for viewing
2 changes: 1 addition & 1 deletion
2
.../datasets/CreateDatasetResponseError.yaml → ...chemas/datasets/PutItemResponseError.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 |
---|---|---|
@@ -1,4 +1,4 @@ | ||
title: Createdatasetresponseerror | ||
title: PutItemResponseError | ||
required: | ||
- error | ||
type: object | ||
|
61 changes: 51 additions & 10 deletions
61
apify-api/openapi/components/schemas/datasets/errorDataset.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 |
---|---|---|
@@ -1,12 +1,53 @@ | ||
title: error | ||
required: | ||
- type | ||
- message | ||
type: object | ||
properties: | ||
type: | ||
type: string | ||
example: schema-validation-error | ||
message: | ||
type: string | ||
example: 'Schema validation failed' | ||
error: | ||
type: object | ||
properties: | ||
type: | ||
type: string | ||
description: The type of the error. | ||
example: "schema-validation-error" | ||
message: | ||
type: string | ||
description: A human-readable message describing the error. | ||
example: "Schema validation failed" | ||
data: | ||
type: object | ||
properties: | ||
invalidItems: | ||
type: array | ||
description: A list of invalid items in the received array of items. | ||
items: | ||
type: object | ||
properties: | ||
itemPosition: | ||
type: number | ||
description: The position of the invalid item in the array. | ||
example: 2 | ||
validationErrors: | ||
type: array | ||
description: A complete list of AJV validation error objects for the invalid item. | ||
items: | ||
type: object | ||
properties: | ||
instancePath: | ||
type: string | ||
description: The path to the instance being validated. | ||
schemaPath: | ||
type: string | ||
description: The path to the schema that failed the validation. | ||
keyword: | ||
type: string | ||
description: The validation keyword that caused the error. | ||
message: | ||
type: string | ||
description: A message describing the validation error. | ||
params: | ||
type: object | ||
description: Additional parameters specific to the validation error. | ||
required: | ||
- invalidItems | ||
required: | ||
- type | ||
- message | ||
- data |
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