Skip to content

Commit

Permalink
(SCHEMAS) Update examples to latest URI
Browse files Browse the repository at this point in the history
This change updates the example configuration document and resource manifests
to use the `2024/04` URI instead of older versions.
  • Loading branch information
michaeltlombardi committed Apr 18, 2024
1 parent 35ecd5f commit b66987c
Show file tree
Hide file tree
Showing 3 changed files with 8 additions and 4 deletions.
6 changes: 5 additions & 1 deletion schemas/examples/foo.dsc.config.yaml
Original file line number Diff line number Diff line change
@@ -1,4 +1,8 @@
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/10/config/document.json
# For testing outside of the repository, set the schema in the yaml server directive to:
# https://raw.githubusercontent.com/PowerShell/DSC/main/2024/04/resource/manifest.json
#
# Hover on the keys to see the documentation. Try changing values and adding new settings.
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2024/04/config/document.json
# Try adding the variables, metadata, and parameters properties,
# then use IntelliSense to define a few entries.

Expand Down
2 changes: 1 addition & 1 deletion schemas/examples/foo.dsc.resource.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"$schema": "../2023/10/bundled/resource/manifest.vscode.json",
"$schema": "../2024/04/bundled/resource/manifest.vscode.json",
"type": "Example/Resource",
"description": "An example resource using the schema.",
"version": "0.1.0",
Expand Down
4 changes: 2 additions & 2 deletions schemas/examples/foo.dsc.resource.yaml
Original file line number Diff line number Diff line change
@@ -1,8 +1,8 @@
# For testing outside of the repository, set the schema in the yaml server directive to:
# https://raw.githubusercontent.com/PowerShell/DSC/main/2023/08/resource/manifest.json
# https://raw.githubusercontent.com/PowerShell/DSC/main/2024/04/resource/manifest.json
#
# Hover on the keys to see the documentation. Try changing values and adding new settings.
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2023/10/bundled/resource/manifest.vscode.json
$schema: https://raw.githubusercontent.com/PowerShell/DSC/main/schemas/2024/04/bundled/resource/manifest.vscode.json
type: Example/Foo
version: 0.1.0
description: An example resource to manage the foo application.
Expand Down

0 comments on commit b66987c

Please sign in to comment.