Skip to content

Commit

Permalink
Added document object
Browse files Browse the repository at this point in the history
- New document object to represent documents as links
- New property documents in order object which is an array of above object
  • Loading branch information
techframewirk committed Dec 22, 2021
1 parent 74f76ff commit 00ad624
Showing 1 changed file with 15 additions and 0 deletions.
15 changes: 15 additions & 0 deletions core/v0/api/core.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -1692,6 +1692,17 @@ components:
$ref: '#/components/schemas/Scalar'
height:
$ref: '#/components/schemas/Scalar'

Document:
description: Describes a document which can be sent as a url
type: object
properties:
url:
type: string
format: uri
label:
type: string

Domain:
description: Describes the domain of an object
type: string
Expand Down Expand Up @@ -2102,6 +2113,10 @@ components:
$ref: '#/components/schemas/Offer/properties/id'
required:
- id
documents:
type: array
items:
$ref: '#/components/schemas/Document'
billing:
$ref: '#/components/schemas/Billing'
fulfillment:
Expand Down

0 comments on commit 00ad624

Please sign in to comment.