From 781cf751914c5402ca8639371155c3284a085dd2 Mon Sep 17 00:00:00 2001 From: Jordi Boggiano Date: Tue, 10 Mar 2020 13:56:22 +0100 Subject: [PATCH] Fix schema rules to be more strict --- res/composer-schema.json | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/res/composer-schema.json b/res/composer-schema.json index d238c265e..bcb712882 100644 --- a/res/composer-schema.json +++ b/res/composer-schema.json @@ -140,12 +140,16 @@ "gitlab-token": { "type": "object", "description": "A hash of domain name => gitlab private tokens, typically {\"gitlab.com\":\"\"}.", - "additionalProperties": true + "additionalProperties": { + "type": "string" + } }, "bearer": { "type": "object", "description": "A hash of domain name => bearer authentication token, for example {\"example.com\":\"\"}.", - "additionalProperties": true + "additionalProperties": { + "type": "string" + } }, "disable-tls": { "type": "boolean",