We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
2 parents c96ad70 + 1d978da commit 761106eCopy full SHA for 761106e
docs/New-SchemaRootDocument.md
schema/schema.psm1
@@ -115,22 +115,4 @@ function Get-Property {
115
$Schema.properties;
116
}
117
118
-}
119
-function New-RootDocument {
120
- param (
121
- [string]$Path
122
- )
123
-
124
- try {
125
- $ErrorActionPreference = 'Stop';
126
- $Error.Clear();
127
128
- $Schema = Get-Document -Path $Path;
129
- $rootDocument = Get-Object - $Schema;
130
- $rootDocument | Add-Member -MemberType NoteProperty -Name '$schema' -Value ($Schema.'$id')
131
- return $rootDocument
132
- }
133
- catch {
134
- throw $_;
135
136
0 commit comments