1
0
Fork 0

Backport schema fixes for gitlab-token, fixes #10800

pull/10818/head
Jordi Boggiano 2022-06-01 21:32:29 +02:00
parent 70a7b592e9
commit 3ead6c0119
No known key found for this signature in database
GPG Key ID: 7BBD42C429EC80BC
1 changed files with 12 additions and 1 deletions

View File

@ -349,7 +349,18 @@
"type": "object", "type": "object",
"description": "An object of domain name => gitlab private tokens, typically {\"gitlab.com\":\"<token>\"}.", "description": "An object of domain name => gitlab private tokens, typically {\"gitlab.com\":\"<token>\"}.",
"additionalProperties": { "additionalProperties": {
"type": "string" "type": ["string", "object"],
"required": ["username", "token"],
"properties": {
"username": {
"type": "string",
"description": "The username used for GitLab authentication"
},
"token": {
"type": "string",
"description": "The token used for GitLab authentication"
}
}
} }
}, },
"gitlab-protocol": { "gitlab-protocol": {