mirror of
https://github.com/logto-io/logto.git
synced 2025-03-31 22:51:25 -05:00
refactor(core): add swagger json
This commit is contained in:
parent
75b643ad2f
commit
0f08608b96
1 changed files with 22 additions and 0 deletions
|
@ -0,0 +1,22 @@
|
|||
{
|
||||
"tags": [
|
||||
{
|
||||
"name": "Organization invitations",
|
||||
"description": "Organization invitations are used to invite users to join an organization. They are sent via email and contain a link that the user can click to accept the invitation and join the organization."
|
||||
}
|
||||
],
|
||||
"paths": {
|
||||
"/api/organization-invitations": {
|
||||
"get": {
|
||||
"summary": "Get organization invitations",
|
||||
"description": "Get organization invitations with pagination.",
|
||||
"parameters": [],
|
||||
"responses": {
|
||||
"200": {
|
||||
"description": "A list of organization invitations, each item also contains the organization roles to be assigned to the user when they accept the invitation, and the corresponding magic link data."
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
Loading…
Add table
Reference in a new issue