docs-util: add publishable api key header parameter to store routes OAS (#10747)

* docs-util: add publishable api key header parameter to store routes OAS

* fix oas
This commit is contained in:
Shahed Nasser
2024-12-26 16:27:55 +02:00
committed by GitHub
parent b9e7090842
commit 91ebf6d61c
92 changed files with 1268 additions and 76 deletions

View File

@@ -17,8 +17,13 @@ properties:
title: id
description: The price rule's ID.
value:
type: string
title: value
oneOf:
- type: string
title: value
description: The price rule's value.
- type: number
title: value
description: The price rule's value.
description: The price rule's value.
operator:
type: string

View File

@@ -26,18 +26,8 @@ properties:
description: The shipping option rule's operator.
example: eq
value:
oneOf:
- type: string
title: value
description: The rule's value.
example: '"true"'
- type: array
description: The rule's values.
items:
type: string
title: value
description: A rule's value
example: '"true"'
type: string
title: value
shipping_option_id:
type: string
title: shipping_option_id