Skip to content

Commit

Permalink
PSE-909: [update] Mult-Status schema for product-variants
Browse files Browse the repository at this point in the history
  • Loading branch information
huntario committed Feb 5, 2024
1 parent d1c6a40 commit c610d98
Showing 1 changed file with 11 additions and 16 deletions.
27 changes: 11 additions & 16 deletions reference/catalog/product-variants_catalog.v3.yml
Original file line number Diff line number Diff line change
Expand Up @@ -338,14 +338,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/productVariant_Full'
errors:
$ref: '#/components/schemas/errorMultiStatus'
meta:
$ref: '#/components/schemas/metaCollection_Full'
$ref: '#/components/schemas/MultiStatus'
'404':
description: |
The resource was not found.
Expand Down Expand Up @@ -521,14 +514,7 @@ paths:
content:
application/json:
schema:
type: object
properties:
data:
$ref: '#/components/schemas/productVariant_Full'
errors:
$ref: '#/components/schemas/errorMultiStatus'
meta:
$ref: '#/components/schemas/metaCollection_Full'
$ref: '#/components/schemas/MultiStatus'
'404':
description: |
The resource was not found.
Expand Down Expand Up @@ -2214,6 +2200,15 @@ components:
$ref: '#/components/schemas/pagination_Full'
description: 'Data about the response, including pagination and collection totals.'
x-internal: false
MultiStatus:
type: object
properties:
data:
$ref: '#/components/schemas/productVariant_Full'
errors:
$ref: '#/components/schemas/errorMultiStatus'
meta:
$ref: '#/components/schemas/metaCollection_Full'
pagination_Full:
title: pagination_Full
type: object
Expand Down

0 comments on commit c610d98

Please sign in to comment.