From 5ee3077f5d00a67cea4cd11c220b56bb0a063679 Mon Sep 17 00:00:00 2001 From: Quiwy <20048264+Quiwy@users.noreply.github.com> Date: Wed, 16 Jul 2025 13:01:49 +0200 Subject: [PATCH] docs: fix typo (#1122) --- pkg/models/label.go | 2 +- pkg/swagger/docs.go | 2 +- pkg/swagger/swagger.json | 2 +- pkg/swagger/swagger.yaml | 2 +- 4 files changed, 4 insertions(+), 4 deletions(-) diff --git a/pkg/models/label.go b/pkg/models/label.go index f5e5ad76e..fb5648a03 100644 --- a/pkg/models/label.go +++ b/pkg/models/label.go @@ -30,7 +30,7 @@ import ( type Label struct { // The unique, numeric id of this label. ID int64 `xorm:"bigint autoincr not null unique pk" json:"id" param:"label"` - // The title of the lable. You'll see this one on tasks associated with it. + // The title of the label. You'll see this one on tasks associated with it. Title string `xorm:"varchar(250) not null" json:"title" valid:"runelength(1|250)" minLength:"1" maxLength:"250"` // The label description. Description string `xorm:"longtext null" json:"description"` diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index 896cfef48..b4f6b6226 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -8175,7 +8175,7 @@ const docTemplate = `{ "type": "integer" }, "title": { - "description": "The title of the lable. You'll see this one on tasks associated with it.", + "description": "The title of the label. You'll see this one on tasks associated with it.", "type": "string", "maxLength": 250, "minLength": 1 diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index 22f5d3cf1..fe0581cc8 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -8167,7 +8167,7 @@ "type": "integer" }, "title": { - "description": "The title of the lable. You'll see this one on tasks associated with it.", + "description": "The title of the label. You'll see this one on tasks associated with it.", "type": "string", "maxLength": 250, "minLength": 1 diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index d14aa9a09..72910a425 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -353,7 +353,7 @@ definitions: description: The unique, numeric id of this label. type: integer title: - description: The title of the lable. You'll see this one on tasks associated + description: The title of the label. You'll see this one on tasks associated with it. maxLength: 250 minLength: 1