chore: fix oas errors (#8982)

Fix indentation and missing values in OAS resulting in an error when generating the specs in the API reference
This commit is contained in:
Shahed Nasser authored and GitHub committed 2024-09-04 18:34:17 +00:00
1 parent 6519fd6bfd
commit c615f4014c
3 files changed
+27 -28

No files matched your search

@@ -25,7 +25,7 @@
* properties: * properties:
* create: * create:
* type: array * type: array
* description: * description: The The associations to create between product variants and inventory items.
* items: * items:
* type: object * type: object
* description: The associations to create between a product variant and an inventory item. * description: The associations to create between a product variant and an inventory item.
@@ -225,15 +225,15 @@
* oneOf: * oneOf:
* - type: string * - type: string
* title: values * title: values
* description: The attribute's value. * description: The attribute's value.
* example: prod_123 * example: prod_123
* - type: array * - type: array
* description: The allowed attribute values. * description: The allowed attribute values.
* items: * items:
* type: string * type: string
* title: values * title: values
* description: An attribute value. * description: An attribute value.
* example: prod_123 * example: prod_123
* buy_rules: * buy_rules:
* type: array * type: array
* description: The application method's buy rules. * description: The application method's buy rules.
@@ -270,15 +270,15 @@
* oneOf: * oneOf:
* - type: string * - type: string
* title: values * title: values
* description: The attribute's value. * description: The attribute's value.
* example: prod_123 * example: prod_123
* - type: array * - type: array
* description: The allowed attribute values. * description: The allowed attribute values.
* items: * items:
* type: string * type: string
* title: values * title: values
* description: An attribute value. * description: An attribute value.
* example: prod_123 * example: prod_123
* apply_to_quantity: * apply_to_quantity:
* type: number * type: number
* title: apply_to_quantity * title: apply_to_quantity
@@ -324,14 +324,14 @@
* - type: string * - type: string
* title: values * title: values
* description: The attribute's value. * description: The attribute's value.
* example: prod_123 * example: prod_123
* - type: array * - type: array
* description: The allowed attribute values. * description: The allowed attribute values.
* items: * items:
* type: string * type: string
* title: values * title: values
* description: An attribute value. * description: An attribute value.
* example: prod_123 * example: prod_123
* - type: object * - type: object
* description: The promotion's details. * description: The promotion's details.
* properties: * properties:
@@ -213,7 +213,6 @@
* attribute: * attribute:
* type: string * type: string
* title: attribute * title: attribute
* description: The rule's attribute.
* description: The name of a property or table that the rule applies to. * description: The name of a property or table that the rule applies to.
* example: customer_group * example: customer_group
* value: * value: