Skip to content

Commit

Permalink
Add a few extra "additionalProperties": false
Browse files Browse the repository at this point in the history
Places where the binder doesn't expect anything else.
  • Loading branch information
Frassle committed Dec 20, 2022
1 parent 36b0c2f commit 1746c23
Showing 1 changed file with 8 additions and 3 deletions.
11 changes: 8 additions & 3 deletions pkg/codegen/schema/pulumi.json
Expand Up @@ -68,6 +68,7 @@
"format": "regex"
}
},
"additionalProperties": false,
"required": ["moduleFormat"]
},
"config": {
Expand All @@ -88,7 +89,8 @@
"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.",
Expand Down Expand Up @@ -314,6 +316,7 @@
"type": "object"
}
},
"additionalProperties": false,
"required": ["environment"]
},
"deprecationMessage": {
Expand Down Expand Up @@ -517,7 +520,8 @@
},
"inputs": {
"description": "The bag of input values for the function, if any.",
"$ref": "#/$defs/objectTypeSpec"
"$ref": "#/$defs/objectTypeSpec",
"unevaluatedProperties": false
},
"multiArgumentInputs": {
"description": "A list of parameter names that determines whether the input bag should be treated as a single argument or as multiple arguments. The list corresponds to the order in which the parameters should be passed to the function.",
Expand All @@ -528,7 +532,8 @@
},
"outputs": {
"description": "The bag of output values for the function, if any.",
"$ref": "#/$defs/objectTypeSpec"
"$ref": "#/$defs/objectTypeSpec",
"unevaluatedProperties": false
},
"deprecationMessage": {
"description": "Indicates whether the function is deprecated",
Expand Down

0 comments on commit 1746c23

Please sign in to comment.