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 AdminGiftCardInvitation
|
||||
* type: object
|
||||
* description: The gift card invitation details.
|
||||
* required:
|
||||
* - gift_card
|
||||
* - id
|
||||
* - code
|
||||
* - status
|
||||
* - expires_at
|
||||
* - email
|
||||
* properties:
|
||||
* id:
|
||||
* type: string
|
||||
* title: id
|
||||
* description: The invitation's ID.
|
||||
* email:
|
||||
* type: string
|
||||
* title: email
|
||||
* description: The invitation's email.
|
||||
* format: email
|
||||
* code:
|
||||
* type: string
|
||||
* title: code
|
||||
* description: The invitation's code.
|
||||
* status:
|
||||
* type: string
|
||||
* description: The invitation's status.
|
||||
* enum:
|
||||
* - pending
|
||||
* - accepted
|
||||
* - rejected
|
||||
* expires_at:
|
||||
* type: string
|
||||
* title: expires_at
|
||||
* description: The date the invitation expires at.
|
||||
* gift_card:
|
||||
* $ref: "#/components/schemas/AdminGiftCard"
|
||||
* x-schemaName: AdminGiftCardInvitation
|
||||
*
|
||||
*/
|
||||
|
||||
Reference in New Issue
Block a user