[skip ci] Updated swagger docs
(cherry picked from commit 5aa0b6a0cf7d8b6dc4c064b0b9c01c4ae121be34)
This commit is contained in:
parent
0a29a88a26
commit
08b4bcaff9
@ -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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -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"
|
|
||||||
}
|
|
||||||
]
|
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|
@ -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:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user