diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index 7c29b58e2..23f46aacc 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -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" - } - ] } } }, diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index a30ca1570..aa456388f 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -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" - } - ] } } }, diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index b472d8d8e..9ce883586 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -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: