Skip to content
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
51 changes: 14 additions & 37 deletions reference/catalog/category-trees_catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -191,21 +191,13 @@ paths:
schema:
$ref: '#/components/schemas/PartialSuccessResponse'
'400':
description: Bad Request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorRequest'
$ref: '#/components/responses/BadRequestError'
'401':
$ref: '#/components/responses/UnauthorizedError'
'403':
$ref: '#/components/responses/GeneralError'
'422':
description: 'The Category was not valid. This is the result of missing required fields, or of invalid data. See the response for more details.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
$ref: '#/components/responses/GeneralErrorWithErrors'
operationId: createCategories
put:
summary: Update Categories
Expand Down Expand Up @@ -237,21 +229,13 @@ paths:
schema:
$ref: '#/components/schemas/PartialSuccessNoContentResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorRequest'
$ref: '#/components/responses/BadRequestError'
'401':
$ref: '#/components/responses/UnauthorizedError'
'403':
$ref: '#/components/responses/GeneralError'
'422':
description: 'The Category was not valid. This is the result of missing required fields, or of invalid data. See the response for more details.'
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorResponse'
$ref: '#/components/responses/GeneralErrorWithErrors'
operationId: updateCategories
delete:
summary: Delete categories
Expand All @@ -274,11 +258,7 @@ paths:
schema:
$ref: '#/components/schemas/SuccessNoContentResponse'
'400':
description: Bad request
content:
application/json:
schema:
$ref: '#/components/schemas/ErrorRequest'
$ref: '#/components/responses/BadRequestError'
'401':
$ref: '#/components/responses/UnauthorizedError'
'403':
Expand Down Expand Up @@ -324,7 +304,7 @@ paths:
'403':
$ref: '#/components/responses/GeneralError'
'422':
$ref: '#/components/responses/GeneralErrorWithErrors'
$ref: '#/components/responses/GeneralErrorWithErrorsAndMeta'
tags:
- Category trees
put:
Expand Down Expand Up @@ -395,7 +375,7 @@ paths:
'403':
$ref: '#/components/responses/GeneralError'
'422':
$ref: '#/components/responses/GeneralErrorWithErrors'
$ref: '#/components/responses/GeneralErrorWithErrorsAndMeta'
tags:
- Category trees
parameters:
Expand Down Expand Up @@ -782,15 +762,6 @@ components:
$ref: '#/components/schemas/MetaData'
x-tags:
- Models
ErrorResponse:
type: object
properties:
errors:
$ref: '#/components/schemas/MetaError'
meta:
$ref: '#/components/schemas/MetaData'
x-tags:
- Models
Tree:
type: object
properties:
Expand Down Expand Up @@ -1037,7 +1008,13 @@ components:
schema:
$ref: '#/components/schemas/GeneralError'
GeneralErrorWithErrors:
description: ''
description: 'The request was not valid. This is the result of missing required fields, or of invalid data. See the response for more details.'
content:
application/json:
schema:
$ref: '#/components/schemas/GeneralErrorWithErrors'
GeneralErrorWithErrorsAndMeta:
description: 'The request was not valid. This is the result of missing required fields, or of invalid data. See the response for more details.'
content:
application/json:
schema:
Expand Down