docs: generate OAS for 2.11.2 (#13925)
This commit is contained in:
1 parent
13d7d15be5
commit
604ff55a5b
403 files changed
+17473
-5392
No files matched your search
@@ -0,0 +1,34 @@
|
||||
/**
|
||||
* @schema AdminCreateOrderCreditLine
|
||||
* type: object
|
||||
* description: The details of a credit line to add to an order.
|
||||
* x-schemaName: AdminCreateOrderCreditLine
|
||||
* required:
|
||||
* - amount
|
||||
* - reference
|
||||
* - reference_id
|
||||
* properties:
|
||||
* amount:
|
||||
* type: number
|
||||
* title: amount
|
||||
* description: The amount of the credit line.
|
||||
* example: 100
|
||||
* reference:
|
||||
* type: string
|
||||
* title: reference
|
||||
* description: The name of the table that the credit line is referencing.
|
||||
* example: order
|
||||
* reference_id:
|
||||
* type: string
|
||||
* title: reference_id
|
||||
* description: The ID of a record in the table that the credit line is referencing.
|
||||
* example: order_123
|
||||
* metadata:
|
||||
* type: object
|
||||
* description: The credit line's metadata, can hold custom key-value pairs.
|
||||
* externalDocs:
|
||||
* url: https://docs.medusajs.com/api/admin#manage-metadata
|
||||
* description: Learn how to manage metadata
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in new issue
Block a user