docs: fixed some types in oas comments (#2413)

This commit is contained in:
Shahed Nasser
2022-10-11 16:05:39 +03:00
committed by GitHub
parent 53e34d33d9
commit c4c83c9717
13 changed files with 210 additions and 84 deletions
@@ -49,10 +49,10 @@ import { validator } from "../../../../utils/validator"
* format: email
* billing_address:
* description: "The Address to be used for billing purposes."
* $ref: "#/components/schemas/address"
* $ref: "#/components/schemas/address_fields"
* shipping_address:
* description: "The Address to be used for shipping."
* $ref: "#/components/schemas/address"
* $ref: "#/components/schemas/address_fields"
* items:
* description: The Line Items that have been received.
* type: array
@@ -47,10 +47,10 @@ import { validator } from "../../../../utils/validator"
* format: email
* billing_address:
* description: "The Address to be used for billing purposes."
* $ref: "#/components/schemas/address"
* $ref: "#/components/schemas/address_fields"
* shipping_address:
* description: "The Address to be used for shipping."
* $ref: "#/components/schemas/address"
* $ref: "#/components/schemas/address_fields"
* discounts:
* description: "An array of Discount codes to add to the Draft Order."
* type: array