mirror of https://github.com/docker/docs.git
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:
parent
81b4a2d2a8
commit
d9781707e1
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue