docs: add loyalty plugin routes to OAS (#12811)
* generated OAS * remove unused schemas * generated specs * add cloud badge for routes * add to loyalty plugin page * allow clicking the tooltip
This commit is contained in:
@@ -0,0 +1,42 @@
|
||||
/**
|
||||
* @schema AdminTransactionGroup
|
||||
* type: object
|
||||
* description: The transaction group's details.
|
||||
* x-schemaName: AdminTransactionGroup
|
||||
* required:
|
||||
* - account
|
||||
* - id
|
||||
* - code
|
||||
* - credits
|
||||
* - debits
|
||||
* - balance
|
||||
* - metadata
|
||||
* properties:
|
||||
* id:
|
||||
* type: string
|
||||
* title: id
|
||||
* description: The transaction group's ID.
|
||||
* code:
|
||||
* type: string
|
||||
* title: code
|
||||
* description: The transaction group's code.
|
||||
* credits:
|
||||
* type: number
|
||||
* title: credits
|
||||
* description: The transaction group's credits.
|
||||
* debits:
|
||||
* type: number
|
||||
* title: debits
|
||||
* description: The transaction group's debits.
|
||||
* balance:
|
||||
* type: number
|
||||
* title: balance
|
||||
* description: The transaction group's balance.
|
||||
* account:
|
||||
* $ref: "#/components/schemas/AdminStoreCreditAccount"
|
||||
* metadata:
|
||||
* type: object
|
||||
* description: The transaction group's metadata, can hold custom key-value pairs.
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user