chore(docs): Generated API Reference (#3211)

Co-authored-by: olivermrbl <olivermrbl@users.noreply.github.com>
This commit is contained in:
github-actions[bot]
2023-02-09 09:50:55 +02:00
committed by GitHub
parent 9997485c55
commit 14b2de94e2
952 changed files with 13745 additions and 9192 deletions

View File

@@ -11,15 +11,22 @@ post:
description: The ID of the Cart.
schema:
type: string
requestBody:
content:
application/json:
schema:
$ref: ../components/schemas/StorePostCartsCartPaymentSessionReq.yaml
x-codegen:
method: setPaymentSession
x-codeSamples:
- lang: JavaScript
label: JS Client
source:
$ref: ../code_samples/JavaScript/carts_{id}_payment-session/postundefined
$ref: ../code_samples/JavaScript/carts_{id}_payment-session/post.js
- lang: Shell
label: cURL
source:
$ref: ../code_samples/Shell/carts_{id}_payment-session/postundefined
$ref: ../code_samples/Shell/carts_{id}_payment-session/post.sh
tags:
- Cart
responses:
@@ -39,14 +46,3 @@ post:
$ref: ../components/responses/invalid_request_error.yaml
'500':
$ref: ../components/responses/500_error.yaml
requestBody:
content:
application/json:
schema:
type: object
required:
- provider_id
properties:
provider_id:
type: string
description: The ID of the Payment Provider.