Skip to content

Commit

Permalink
api docs part final
Browse files Browse the repository at this point in the history
  • Loading branch information
katacek committed Dec 5, 2024
1 parent 4fb5eaf commit 9c6c99c
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 16 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -5,5 +5,5 @@ type: object
properties:
error:
allOf:
- $ref: ./errorDataset.yaml
- $ref: ./DatasetSchemaValidationError.yaml
- {}
28 changes: 13 additions & 15 deletions apify-api/openapi/paths/datasets/datasets@{datasetId}@items.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -539,23 +539,21 @@ post:
- example:
error:
type: schema-validation-error
message: >-
Schema validation failed
message: Schema validation failed
example:
error:
type: schema-validation-error
message: >-
Schema validation failed
data:
invalidItems:
- itemPosition: 2
- validationErrors:
instancePath: /1/stringField
schemaPath: /items/properties/stringField/type
keyword: type
params:
type: string
message: 'must be string'
type: schema-validation-error
message: Schema validation failed
data:
invalidItems:
- itemPosition: 2
validationErrors:
- instancePath: /1/stringField
schemaPath: /items/properties/stringField/type
keyword: type
params:
type: string
message: 'must be string'
deprecated: false
x-legacy-doc-urls:
- https://docs.apify.com/api/v2#/reference/datasets/item-collection/put-items
Expand Down

0 comments on commit 9c6c99c

Please sign in to comment.