docs: generate OAS after cart promotion fixes (#11351)

This commit is contained in:
Shahed Nasser
2025-02-07 10:12:09 +02:00
committed by GitHub
parent 211997b137
commit 3a6818e3c4
14 changed files with 315 additions and 37 deletions
@@ -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