From 555ac3a0363abd244f4e2ee6e1041130430e68d5 Mon Sep 17 00:00:00 2001 From: Fraser Waters Date: Tue, 20 Dec 2022 09:11:02 +0000 Subject: [PATCH] Add a few extra "additionalProperties": false Places where the binder doesn't expect anything else. --- pkg/codegen/schema/pulumi.json | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/pkg/codegen/schema/pulumi.json b/pkg/codegen/schema/pulumi.json index 4c6a6b270054..8ef735cc2bc2 100644 --- a/pkg/codegen/schema/pulumi.json +++ b/pkg/codegen/schema/pulumi.json @@ -68,6 +68,7 @@ "format": "regex" } }, + "additionalProperties": false, "required": ["moduleFormat"] }, "config": { @@ -81,14 +82,15 @@ "$ref": "#/$defs/propertySpec" } }, - "required": { - "description": "A list of the names of the package's required configuration variables.", + "defaults": { + "description": "A list of the names of the package's non-required configuration variables.", "type": "array", "items": { "type": "string" } } - } + }, + "additionalProperties": false }, "types": { "description": "A map from type token to complexTypeSpec that describes the set of complex types (i.e. object, enum) defined by this package.",