diff --git a/pkg/swagger/docs.go b/pkg/swagger/docs.go index 8d51d18a5..5f2802e59 100644 --- a/pkg/swagger/docs.go +++ b/pkg/swagger/docs.go @@ -9363,7 +9363,8 @@ const docTemplate = `{ }, "title": { "description": "A human-readable name for this token", - "type": "string" + "type": "string", + "minLength": 1 }, "token": { "description": "The actual api key. Only visible after creation.", diff --git a/pkg/swagger/swagger.json b/pkg/swagger/swagger.json index 4e7dcde92..1fbcbbcc4 100644 --- a/pkg/swagger/swagger.json +++ b/pkg/swagger/swagger.json @@ -9355,7 +9355,8 @@ }, "title": { "description": "A human-readable name for this token", - "type": "string" + "type": "string", + "minLength": 1 }, "token": { "description": "The actual api key. Only visible after creation.", diff --git a/pkg/swagger/swagger.yaml b/pkg/swagger/swagger.yaml index bc91df8ea..0c82df001 100644 --- a/pkg/swagger/swagger.yaml +++ b/pkg/swagger/swagger.yaml @@ -347,6 +347,7 @@ definitions: existing tasks, you should add `{"tasks":["read_all","update"]}`. title: description: A human-readable name for this token + minLength: 1 type: string token: description: The actual api key. Only visible after creation.