docs: generate OAS after cart promotion fixes (#11351)
This commit is contained in:
@@ -41,18 +41,7 @@ post:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
description: The promotion's details.
|
||||
required:
|
||||
- promo_codes
|
||||
properties:
|
||||
promo_codes:
|
||||
type: array
|
||||
description: Promotion codes to add to the cart.
|
||||
items:
|
||||
type: string
|
||||
title: promo_codes
|
||||
description: A promotion code.
|
||||
$ref: ../components/schemas/StoreCartAddPromotion.yaml
|
||||
x-codeSamples:
|
||||
- lang: Shell
|
||||
label: cURL
|
||||
|
||||
Reference in New Issue
Block a user