chore(docs): Generated API reference (#2788)

This commit is contained in:
Shahed Nasser
2022-12-13 12:52:58 +02:00
committed by GitHub
parent a77b4a1b7e
commit 52a8e90aac
413 changed files with 11540 additions and 4501 deletions

View File

@@ -20,9 +20,11 @@ post:
content:
application/json:
schema:
type: object
required:
- code
- rule
- regions
properties:
code:
type: string
@@ -173,6 +175,7 @@ post:
content:
application/json:
schema:
type: object
properties:
discount:
$ref: ../components/schemas/discount.yaml
@@ -270,6 +273,7 @@ get:
content:
application/json:
schema:
type: object
properties:
discounts:
type: array