From c19a8cfcc49dc72b047a92ac2cc44e116fe48fb4 Mon Sep 17 00:00:00 2001 From: "Frederick [Bot]" Date: Tue, 13 May 2025 11:27:04 +0000 Subject: [PATCH] [skip ci] Updated swagger docs --- pkg/swagger/docs.go | 48 ++++++++++------------------------------ pkg/swagger/swagger.json | 48 ++++++++++------------------------------ pkg/swagger/swagger.yaml | 38 ++++++++++--------------------- 3 files changed, 36 insertions(+), 98 deletions(-) diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index 9aecdd363..494a4245e 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -7886,19 +7886,6 @@ const docTemplate = `{ } } }, - "models.BucketConfigurationModeKind": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "x-enum-varnames": [ - "BucketConfigurationModeNone", - "BucketConfigurationModeManual", - "BucketConfigurationModeFilter" - ] - }, "models.BulkAssignees": { "type": "object", "properties": { @@ -8395,10 +8382,12 @@ const docTemplate = `{ }, "bucket_configuration_mode": { "description": "The bucket configuration mode. Can be ` + "`" + `none` + "`" + `, ` + "`" + `manual` + "`" + ` or ` + "`" + `filter` + "`" + `. ` + "`" + `manual` + "`" + ` allows to move tasks between buckets as you normally would. ` + "`" + `filter` + "`" + ` creates buckets based on a filter for each bucket.", - "allOf": [ - { - "$ref": "#/definitions/models.BucketConfigurationModeKind" - } + "type": "string", + "enum": [ + "none", + "manual", + "filter", + "manual" ] }, "created": { @@ -8443,10 +8432,12 @@ const docTemplate = `{ }, "view_kind": { "description": "The kind of this view. Can be ` + "`" + `list` + "`" + `, ` + "`" + `gantt` + "`" + `, ` + "`" + `table` + "`" + ` or ` + "`" + `kanban` + "`" + `.", - "allOf": [ - { - "$ref": "#/definitions/models.ProjectViewKind" - } + "type": "string", + "enum": [ + "list", + "gantt", + "table", + "kanban" ] } } @@ -8462,21 +8453,6 @@ const docTemplate = `{ } } }, - "models.ProjectViewKind": { - "type": "integer", - "enum": [ - 0, - 1, - 2, - 3 - ], - "x-enum-varnames": [ - "ProjectViewKindList", - "ProjectViewKindGantt", - "ProjectViewKindTable", - "ProjectViewKindKanban" - ] - }, "models.Reaction": { "type": "object", "properties": { diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index c5e55c4da..737f8ee72 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -7878,19 +7878,6 @@ } } }, - "models.BucketConfigurationModeKind": { - "type": "integer", - "enum": [ - 0, - 1, - 2 - ], - "x-enum-varnames": [ - "BucketConfigurationModeNone", - "BucketConfigurationModeManual", - "BucketConfigurationModeFilter" - ] - }, "models.BulkAssignees": { "type": "object", "properties": { @@ -8387,10 +8374,12 @@ }, "bucket_configuration_mode": { "description": "The bucket configuration mode. Can be `none`, `manual` or `filter`. `manual` allows to move tasks between buckets as you normally would. `filter` creates buckets based on a filter for each bucket.", - "allOf": [ - { - "$ref": "#/definitions/models.BucketConfigurationModeKind" - } + "type": "string", + "enum": [ + "none", + "manual", + "filter", + "manual" ] }, "created": { @@ -8435,10 +8424,12 @@ }, "view_kind": { "description": "The kind of this view. Can be `list`, `gantt`, `table` or `kanban`.", - "allOf": [ - { - "$ref": "#/definitions/models.ProjectViewKind" - } + "type": "string", + "enum": [ + "list", + "gantt", + "table", + "kanban" ] } } @@ -8454,21 +8445,6 @@ } } }, - "models.ProjectViewKind": { - "type": "integer", - "enum": [ - 0, - 1, - 2, - 3 - ], - "x-enum-varnames": [ - "ProjectViewKindList", - "ProjectViewKindGantt", - "ProjectViewKindTable", - "ProjectViewKindKanban" - ] - }, "models.Reaction": { "type": "object", "properties": { diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index 3f8c20172..8f5aa619d 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -131,16 +131,6 @@ definitions: this value. type: string type: object - models.BucketConfigurationModeKind: - enum: - - 0 - - 1 - - 2 - type: integer - x-enum-varnames: - - BucketConfigurationModeNone - - BucketConfigurationModeManual - - BucketConfigurationModeFilter models.BulkAssignees: properties: assignees: @@ -532,11 +522,15 @@ definitions: $ref: '#/definitions/models.ProjectViewBucketConfiguration' type: array bucket_configuration_mode: - allOf: - - $ref: '#/definitions/models.BucketConfigurationModeKind' description: The bucket configuration mode. Can be `none`, `manual` or `filter`. `manual` allows to move tasks between buckets as you normally would. `filter` creates buckets based on a filter for each bucket. + enum: + - none + - manual + - filter + - manual + type: string created: description: A timestamp when this reaction was created. You cannot change this value. @@ -572,9 +566,13 @@ definitions: value. type: string view_kind: - allOf: - - $ref: '#/definitions/models.ProjectViewKind' description: The kind of this view. Can be `list`, `gantt`, `table` or `kanban`. + enum: + - list + - gantt + - table + - kanban + type: string type: object models.ProjectViewBucketConfiguration: properties: @@ -583,18 +581,6 @@ definitions: title: type: string type: object - models.ProjectViewKind: - enum: - - 0 - - 1 - - 2 - - 3 - type: integer - x-enum-varnames: - - ProjectViewKindList - - ProjectViewKindGantt - - ProjectViewKindTable - - ProjectViewKindKanban models.Reaction: properties: created: