docs: generate OAS for 2.11.2 (#13925)
This commit is contained in:
@@ -8,115 +8,9 @@ properties:
|
||||
description: The customer email associated with the draft order.
|
||||
format: email
|
||||
shipping_address:
|
||||
type: object
|
||||
description: The draft order's shipping address.
|
||||
properties:
|
||||
first_name:
|
||||
type: string
|
||||
title: first_name
|
||||
description: The shipping address's first name.
|
||||
last_name:
|
||||
type: string
|
||||
title: last_name
|
||||
description: The shipping address's last name.
|
||||
phone:
|
||||
type: string
|
||||
title: phone
|
||||
description: The shipping address's phone.
|
||||
company:
|
||||
type: string
|
||||
title: company
|
||||
description: The shipping address's company.
|
||||
address_1:
|
||||
type: string
|
||||
title: address_1
|
||||
description: The first address line.
|
||||
address_2:
|
||||
type: string
|
||||
title: address_2
|
||||
description: The second address line.
|
||||
city:
|
||||
type: string
|
||||
title: city
|
||||
description: The shipping address's city.
|
||||
country_code:
|
||||
type: string
|
||||
title: country_code
|
||||
description: The shipping address's country code.
|
||||
example: us
|
||||
province:
|
||||
type: string
|
||||
title: province
|
||||
description: The shipping address's ISO 3166-2 province code. Must be lower-case.
|
||||
example: us-ca
|
||||
externalDocs:
|
||||
url: https://en.wikipedia.org/wiki/ISO_3166-2
|
||||
description: Learn more about ISO 3166-2
|
||||
postal_code:
|
||||
type: string
|
||||
title: postal_code
|
||||
description: The shipping address's postal code.
|
||||
metadata:
|
||||
type: object
|
||||
description: The shipping address's metadata, can hold custom key-value pairs.
|
||||
externalDocs:
|
||||
url: https://docs.medusajs.com/api/admin#manage-metadata
|
||||
description: Learn how to manage metadata
|
||||
$ref: ./OrderAddress.yaml
|
||||
billing_address:
|
||||
type: object
|
||||
description: The draft order's billing address.
|
||||
properties:
|
||||
first_name:
|
||||
type: string
|
||||
title: first_name
|
||||
description: The billing address's first name.
|
||||
last_name:
|
||||
type: string
|
||||
title: last_name
|
||||
description: The billing address's last name.
|
||||
phone:
|
||||
type: string
|
||||
title: phone
|
||||
description: The billing address's phone.
|
||||
company:
|
||||
type: string
|
||||
title: company
|
||||
description: The billing address's company.
|
||||
address_1:
|
||||
type: string
|
||||
title: address_1
|
||||
description: The first address line.
|
||||
address_2:
|
||||
type: string
|
||||
title: address_2
|
||||
description: The second address line.
|
||||
city:
|
||||
type: string
|
||||
title: city
|
||||
description: The billing address's city.
|
||||
country_code:
|
||||
type: string
|
||||
title: country_code
|
||||
description: The billing address's country code.
|
||||
example: us
|
||||
province:
|
||||
type: string
|
||||
title: province
|
||||
description: The billing address's ISO 3166-2 province code. Must be lower-case.
|
||||
example: us-ca
|
||||
externalDocs:
|
||||
url: https://en.wikipedia.org/wiki/ISO_3166-2
|
||||
description: Learn more about ISO 3166-2
|
||||
postal_code:
|
||||
type: string
|
||||
title: postal_code
|
||||
description: The billing address's postal code.
|
||||
metadata:
|
||||
type: object
|
||||
description: The billing address's metadata, can hold custom key-value pairs.
|
||||
externalDocs:
|
||||
url: https://docs.medusajs.com/api/admin#manage-metadata
|
||||
description: Learn how to manage metadata
|
||||
$ref: ./OrderAddress.yaml
|
||||
metadata:
|
||||
type: object
|
||||
description: The draft order's metadata, can hold custom key-value pairs.
|
||||
|
||||
Reference in New Issue
Block a user