Skip to content

Commit

Permalink
Bundle openapi.yml and commit updated code
Browse files Browse the repository at this point in the history
  • Loading branch information
actions-user committed Dec 14, 2023
1 parent 02a6e03 commit 7bf5fc1
Show file tree
Hide file tree
Showing 2 changed files with 28 additions and 20 deletions.
8 changes: 4 additions & 4 deletions docs/index.html

Large diffs are not rendered by default.

40 changes: 24 additions & 16 deletions docs/openapi.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -608,16 +608,7 @@ components:
required:
- success
- payload
CustomerOrderWithLineItems:
allOf:
- $ref: '#/components/schemas/CustomerOrderWithLineItem'
- type: object
properties:
line_items:
type: array
items:
$ref: '#/components/schemas/CustomerOrderLineItem'
CustomerOrderWithLineItem:
CustomerOrder:
type: object
properties:
id:
Expand Down Expand Up @@ -675,8 +666,6 @@ components:
type: array
items:
$ref: '#/components/schemas/CustomerOrderFulfillment'
line_items:
$ref: '#/components/schemas/CustomerOrderLineItem'
refunds:
type: array
items:
Expand Down Expand Up @@ -711,13 +700,32 @@ components:
- current_total_tax
- current_total_tax_set
- fulfillments
- line_items
- refunds
- shipping_lines
- start
- end
- title
- order_number
CustomerOrdeArrayLineItems:
allOf:
- $ref: '#/components/schemas/CustomerOrder'
- type: object
properties:
line_items:
type: array
items:
$ref: '#/components/schemas/CustomerOrderLineItem'
required:
- line_items
CustomerOrderSingleLineItem:
allOf:
- $ref: '#/components/schemas/CustomerOrder'
- type: object
properties:
line_items:
$ref: '#/components/schemas/CustomerOrderLineItem'
required:
- line_items
CustomerOrderMoney:
type: object
properties:
Expand Down Expand Up @@ -1179,7 +1187,7 @@ components:
type: boolean
example: true
payload:
$ref: '#/components/schemas/CustomerOrderWithLineItem'
$ref: '#/components/schemas/CustomerOrderSingleLineItem'
required:
- success
- payload
Expand All @@ -1190,7 +1198,7 @@ components:
type: boolean
example: true
payload:
$ref: '#/components/schemas/CustomerOrderWithLineItems'
$ref: '#/components/schemas/CustomerOrdeArrayLineItems'
required:
- success
- payload
Expand All @@ -1203,7 +1211,7 @@ components:
payload:
type: array
items:
$ref: '#/components/schemas/CustomerOrderWithLineItem'
$ref: '#/components/schemas/CustomerOrderSingleLineItem'
required:
- success
- payload
Expand Down

0 comments on commit 7bf5fc1

Please sign in to comment.