1
0

[skip ci] Updated swagger docs

(cherry picked from commit 5aa0b6a0cf7d8b6dc4c064b0b9c01c4ae121be34)
This commit is contained in:
Frederick [Bot] 2024-09-04 20:43:53 +00:00 committed by kolaente
parent 0a29a88a26
commit 08b4bcaff9
No known key found for this signature in database
GPG Key ID: F40E70337AB24C9B
3 changed files with 3 additions and 23 deletions

View File

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

View File

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

View File

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