Add length restrictions to token_label in API spec (#19421)

There are maximums enforced here that we document in API spec.
This commit is contained in:
twelsh-aw 2024-02-16 03:22:48 -05:00 committed by GitHub
parent 81b4a2d2a8
commit d9781707e1
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 4 additions and 0 deletions

View File

@ -1689,6 +1689,8 @@ components:
type: string
description: Friendly name for you to identify the token.
example: My read only token
minLength: 1
maxLength: 100
scopes:
type: array
description: |
@ -1730,6 +1732,8 @@ components:
token_label:
type: string
example: My read only token
minLength: 1
maxLength: 100
is_active:
type: boolean
example: false