[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2024-09-04 20:43:53 +00:00 committed by kolaente
parent b60efbd259
commit 5aa0b6a0cf
3 changed files with 3 additions and 23 deletions

View File

@ -8625,7 +8625,7 @@ const docTemplate = `{
"type": "string"
},
"entity": {
"type": "string"
"type": "integer"
},
"entity_id": {
"description": "The id of the entity to subscribe to.",
@ -8634,14 +8634,6 @@ const docTemplate = `{
"id": {
"description": "The numeric ID of the subscription",
"type": "integer"
},
"user": {
"description": "The user who made this subscription",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}
}
},

View File

@ -8617,7 +8617,7 @@
"type": "string"
},
"entity": {
"type": "string"
"type": "integer"
},
"entity_id": {
"description": "The id of the entity to subscribe to.",
@ -8626,14 +8626,6 @@
"id": {
"description": "The numeric ID of the subscription",
"type": "integer"
},
"user": {
"description": "The user who made this subscription",
"allOf": [
{
"$ref": "#/definitions/user.User"
}
]
}
}
},

View File

@ -710,17 +710,13 @@ definitions:
this value.
type: string
entity:
type: string
type: integer
entity_id:
description: The id of the entity to subscribe to.
type: integer
id:
description: The numeric ID of the subscription
type: integer
user:
allOf:
- $ref: '#/definitions/user.User'
description: The user who made this subscription
type: object
models.Task:
properties: