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
@@ -3,6 +3,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
@@ -25,7 +32,7 @@
* type: object
* description: The payment session's data, useful for the payment provider processing the payment.
* externalDocs:
* url: https://docs.medusajs.com/v2/resources/commerce-modules/payment/payment-session#data-property
* url: 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.
@@ -36,12 +43,12 @@
* 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
@@ -51,13 +58,6 @@
* $ref: "#/components/schemas/BasePaymentCollection"
* payment:
* $ref: "#/components/schemas/BasePayment"
* required:
* - id
* - amount
* - currency_code
* - provider_id
* - data
* - status
*
*/