docs: fix OAS generator + generate OAS (#11584)

This commit is contained in:
Shahed Nasser
2025-02-24 15:30:38 +02:00
committed by GitHub
parent 41f070be9a
commit be566ca6fb
44 changed files with 10904 additions and 8753 deletions

View File

@@ -1,6 +1,13 @@
type: object
description: The payment session's details.
x-schemaName: BasePaymentSession
required:
- id
- amount
- currency_code
- provider_id
- data
- status
properties:
id:
type: string
@@ -26,7 +33,7 @@ properties:
payment.
externalDocs:
url: >-
https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property
https://docs.medusajs.com/resources/commerce-modules/payment/payment-session#data-property
context:
type: object
description: The context around the payment, such as the customer's details.
@@ -37,12 +44,12 @@ properties:
type: string
description: The payment session's status.
enum:
- error
- authorized
- captured
- canceled
- captured
- pending
- requires_more
- error
authorized_at:
type: string
title: authorized_at
@@ -52,10 +59,3 @@ properties:
type: object
payment:
$ref: ./BasePayment.yaml
required:
- id
- amount
- currency_code
- provider_id
- data
- status