Skip to content

Commit 92e79f0

Browse files
(SCHEMA) Rename requires to requireAdapter in list output schema
This change updates the output schema for the `dsc resource list` command to rename the `requires` property to the more semantically correct and unambiguous `requireAdapter` property, as implemented in PowerShell#373. It updates both the source and composed schemas.
1 parent b66987c commit 92e79f0

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

schemas/2024/04/bundled/outputs/resource/list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"pattern": "^\\w+$"
7676
}
7777
},
78-
"requires": {
78+
"requireAdapter": {
7979
"title": "Required DSC Resource Adapter",
8080
"description": "Defines the fully qualified type name of the DSC Resource Adapter the DSC Resource depends on.",
8181
"oneOf": [

schemas/2024/04/outputs/resource/list.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@
7575
"pattern": "^\\w+$"
7676
}
7777
},
78-
"requires": {
78+
"requireAdapter": {
7979
"title": "Required DSC Resource Adapter",
8080
"description": "Defines the fully qualified type name of the DSC Resource Adapter the DSC Resource depends on.",
8181
"oneOf": [

schemas/src/outputs/resource/list.yaml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -83,7 +83,7 @@ properties:
8383
items:
8484
type: string
8585
pattern: ^\w+$
86-
requires:
86+
requireAdapter:
8787
title: Required DSC Resource Adapter
8888
description: >-
8989
Defines the fully qualified type name of the DSC Resource Adapter the

0 commit comments

Comments
 (0)