fix types

This commit is contained in:
Hayden 2022-10-03 20:09:26 -08:00
parent 1143246816
commit a67316a889
7 changed files with 42 additions and 37 deletions

View file

@ -34,7 +34,7 @@
"in": "body",
"required": true,
"schema": {
"$ref": "#/definitions/v1.GroupTokenPayload"
"$ref": "#/definitions/v1.GroupInvitationCreate"
}
}
],
@ -42,7 +42,7 @@
"200": {
"description": "OK",
"schema": {
"$ref": "#/definitions/v1.GroupTokenResponse"
"$ref": "#/definitions/v1.GroupInvitation"
}
}
}
@ -1574,26 +1574,26 @@
}
}
},
"v1.GroupTokenPayload": {
"v1.GroupInvitation": {
"type": "object",
"properties": {
"expiresAt": {
"type": "string"
},
"token": {
"type": "string"
},
"uses": {
"type": "integer"
}
}
},
"v1.GroupTokenResponse": {
"v1.GroupInvitationCreate": {
"type": "object",
"properties": {
"expiresAt": {
"type": "string"
},
"token": {
"type": "string"
},
"uses": {
"type": "integer"
}