docs: fixture improvements + small fixes (#204)
* fix: deref arrays * docs: clean up * fix: update license
This commit is contained in:
@@ -53,7 +53,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
customer:
|
||||
user:
|
||||
$ref: '#/components/schemas/user'
|
||||
requestBody:
|
||||
content:
|
||||
@@ -83,7 +83,7 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
customer:
|
||||
user:
|
||||
$ref: '#/components/schemas/user'
|
||||
/collections:
|
||||
post:
|
||||
@@ -695,6 +695,49 @@ paths:
|
||||
properties:
|
||||
discount:
|
||||
$ref: '#/components/schemas/discount'
|
||||
/notifications:
|
||||
get:
|
||||
operationId: GetNotifications
|
||||
summary: List Notifications
|
||||
description: Retrieves a list of Notifications.
|
||||
tags:
|
||||
- Notification
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
notifications:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/notification'
|
||||
'/notifications/{id}/resend':
|
||||
post:
|
||||
operationId: PostNotificationsNotificationResend
|
||||
summary: Resend Notification
|
||||
description: >-
|
||||
Resends a previously sent notifications, with the same data but
|
||||
optionally to a different address
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
required: true
|
||||
description: The id of the Notification
|
||||
schema:
|
||||
type: string
|
||||
tags:
|
||||
- Notification
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
notification:
|
||||
$ref: '#/components/schemas/notification'
|
||||
/gift-cards:
|
||||
post:
|
||||
operationId: PostGiftCards
|
||||
@@ -867,49 +910,6 @@ paths:
|
||||
properties:
|
||||
gift_card:
|
||||
$ref: '#/components/schemas/gift_card'
|
||||
/notifications:
|
||||
get:
|
||||
operationId: GetNotifications
|
||||
summary: List Notifications
|
||||
description: Retrieves a list of Notifications.
|
||||
tags:
|
||||
- Notification
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
notifications:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/notification'
|
||||
'/notifications/{id}/resend':
|
||||
post:
|
||||
operationId: PostNotificationsNotificationResend
|
||||
summary: Resend Notification
|
||||
description: >-
|
||||
Resends a previously sent notifications, with the same data but
|
||||
optionally to a different address
|
||||
parameters:
|
||||
- in: path
|
||||
name: id
|
||||
required: true
|
||||
description: The id of the Notification
|
||||
schema:
|
||||
type: string
|
||||
tags:
|
||||
- Notification
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
notification:
|
||||
$ref: '#/components/schemas/notification'
|
||||
'/orders/{id}/shipping-methods':
|
||||
post:
|
||||
operationId: PostOrdersOrderShippingMethods
|
||||
@@ -1511,8 +1511,10 @@ paths:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
order:
|
||||
$ref: '#/components/schemas/order'
|
||||
orders:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/order'
|
||||
'/orders/{id}/swaps/{swap_id}/process-payment':
|
||||
post:
|
||||
operationId: PostOrdersOrderSwapsSwapProcessPayment
|
||||
@@ -3480,6 +3482,24 @@ paths:
|
||||
properties:
|
||||
shipping_profiles:
|
||||
$ref: '#/components/schemas/shipping_profile'
|
||||
/swaps:
|
||||
get:
|
||||
operationId: GetSwaps
|
||||
summary: List Swaps
|
||||
description: Retrieves a list of Swaps.
|
||||
tags:
|
||||
- Swap
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
swaps:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/swap'
|
||||
'/store/currencies/{code}':
|
||||
post:
|
||||
operationId: PostStoreCurrenciesCode
|
||||
@@ -3590,24 +3610,6 @@ paths:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/store'
|
||||
/swaps:
|
||||
get:
|
||||
operationId: GetSwaps
|
||||
summary: List Swaps
|
||||
description: Retrieves a list of Swaps.
|
||||
tags:
|
||||
- Swap
|
||||
responses:
|
||||
'200':
|
||||
description: OK
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
properties:
|
||||
swaps:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/swap'
|
||||
/variants:
|
||||
get:
|
||||
operationId: GetVariants
|
||||
|
||||
Reference in New Issue
Block a user