Skip to content

Commit 4ef25bc

Browse files
(GH-717) Fix minimum item counts for resources in config doc
This change sets the `minItems` keyword to `0` for the `resources` property of a configuration document. Prior to this change, the schema specified a value of `1`, which was inaccurate. This change fixes #717
1 parent 97c2418 commit 4ef25bc

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

schemas/src/config/document.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -321,7 +321,7 @@ properties:
321321
title: DSC configuration document resources
322322
description: Defines a list of DSC resource instances for the configuration to manage.
323323
type: array
324-
minItems: 1
324+
minItems: 0
325325
items:
326326
$ref: /<PREFIX>/<VERSION>/config/document.resource.yaml
327327
# VS Code only

0 commit comments

Comments
 (0)