[skip ci] Updated swagger docs

This commit is contained in:
Frederick [Bot] 2026-06-09 23:32:10 +00:00
parent 1e82c62ff7
commit 12f290905a
3 changed files with 10 additions and 5 deletions

View File

@ -9876,7 +9876,8 @@ const docTemplate = `{
},
"value": {
"description": "The actual reaction. This can be any valid utf character or text, up to a length of 20.",
"type": "string"
"type": "string",
"maxLength": 20
}
}
},
@ -10373,7 +10374,7 @@ const docTemplate = `{
"type": "integer"
},
"relation_kind": {
"description": "The kind of the relation.",
"description": "The kind of the relation.\nThe enum list must stay in sync with RelationKind.isValid() (RelationKindUnknown excluded); the v2 delete route param repeats it.",
"allOf": [
{
"$ref": "#/definitions/models.RelationKind"

View File

@ -9868,7 +9868,8 @@
},
"value": {
"description": "The actual reaction. This can be any valid utf character or text, up to a length of 20.",
"type": "string"
"type": "string",
"maxLength": 20
}
}
},
@ -10365,7 +10366,7 @@
"type": "integer"
},
"relation_kind": {
"description": "The kind of the relation.",
"description": "The kind of the relation.\nThe enum list must stay in sync with RelationKind.isValid() (RelationKindUnknown excluded); the v2 delete route param repeats it.",
"allOf": [
{
"$ref": "#/definitions/models.RelationKind"

View File

@ -741,6 +741,7 @@ definitions:
value:
description: The actual reaction. This can be any valid utf character or text,
up to a length of 20.
maxLength: 20
type: string
type: object
models.ReactionMap:
@ -1134,7 +1135,9 @@ definitions:
relation_kind:
allOf:
- $ref: '#/definitions/models.RelationKind'
description: The kind of the relation.
description: |-
The kind of the relation.
The enum list must stay in sync with RelationKind.isValid() (RelationKindUnknown excluded); the v2 delete route param repeats it.
task_id:
description: The ID of the "base" task, the task which has a relation to another.
type: integer