Skip to content

Commit

Permalink
(SCHEMA) Rename requires to requireAdapter in list output schema
Browse files Browse the repository at this point in the history
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.
  • Loading branch information
michaeltlombardi committed Apr 18, 2024
1 parent b66987c commit 92e79f0
Show file tree
Hide file tree
Showing 3 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion schemas/2024/04/bundled/outputs/resource/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"pattern": "^\\w+$"
}
},
"requires": {
"requireAdapter": {
"title": "Required DSC Resource Adapter",
"description": "Defines the fully qualified type name of the DSC Resource Adapter the DSC Resource depends on.",
"oneOf": [
Expand Down
2 changes: 1 addition & 1 deletion schemas/2024/04/outputs/resource/list.json
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@
"pattern": "^\\w+$"
}
},
"requires": {
"requireAdapter": {
"title": "Required DSC Resource Adapter",
"description": "Defines the fully qualified type name of the DSC Resource Adapter the DSC Resource depends on.",
"oneOf": [
Expand Down
2 changes: 1 addition & 1 deletion schemas/src/outputs/resource/list.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ properties:
items:
type: string
pattern: ^\w+$
requires:
requireAdapter:
title: Required DSC Resource Adapter
description: >-
Defines the fully qualified type name of the DSC Resource Adapter the
Expand Down

0 comments on commit 92e79f0

Please sign in to comment.