docs: fix to OAS generator following Zod update + generate API reference (#13030)
This commit is contained in:
@@ -30,20 +30,7 @@ post:
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
type: object
|
||||
description: The payment collection's details.
|
||||
required:
|
||||
- order_id
|
||||
- amount
|
||||
properties:
|
||||
order_id:
|
||||
type: string
|
||||
title: order_id
|
||||
description: The ID of the associated order.
|
||||
amount:
|
||||
type: number
|
||||
title: amount
|
||||
description: The amount to be paid.
|
||||
$ref: ../components/schemas/AdminCreatePaymentCollection.yaml
|
||||
x-codeSamples:
|
||||
- lang: JavaScript
|
||||
label: JS SDK
|
||||
|
||||
Reference in New Issue
Block a user