docs: fix OAS generator + generate OAS (#11584)
This commit is contained in:
@@ -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
|
||||
*
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user