You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
* This is the default export of JSON Schema $Ref Parser. You can creates instances of this class using new $RefParser(), or you can just call its static methods.
* See https://github.com/BigstickCarpet/json-schema-ref-parser/blob/master/docs/options.md
105
-
*/
106
-
typeOptions=object&{
107
-
105
+
namespace$RefParser{
108
106
/**
109
-
* The `parse` options determine how different types of files will be parsed.
110
-
*
111
-
* JSON Schema `$Ref` Parser comes with built-in JSON, YAML, plain-text, and binary parsers, any of which you can configure or disable. You can also add your own custom parsers if you want.
107
+
* See https://github.com/BigstickCarpet/json-schema-ref-parser/blob/master/docs/options.md
* The `resolve` options control how JSON Schema $Ref Parser will resolve file paths and URLs, and how those files will be read/downloaded.
121
-
*
122
-
* JSON Schema `$Ref` Parser comes with built-in support for HTTP and HTTPS, as well as support for local files (when running in Node.js). You can configure or disable either of these built-in resolvers. You can also add your own custom resolvers if you want.
123
-
*/
124
-
resolve?: {
111
+
/**
112
+
* The `parse` options determine how different types of files will be parsed.
113
+
*
114
+
* JSON Schema `$Ref` Parser comes with built-in JSON, YAML, plain-text, and binary parsers, any of which you can configure or disable. You can also add your own custom parsers if you want.
* Determines whether external $ref pointers will be resolved. If this option is disabled, then external `$ref` pointers will simply be ignored.
123
+
* The `resolve` options control how JSON Schema $Ref Parser will resolve file paths and URLs, and how those files will be read/downloaded.
124
+
*
125
+
* JSON Schema `$Ref` Parser comes with built-in support for HTTP and HTTPS, as well as support for local files (when running in Node.js). You can configure or disable either of these built-in resolvers. You can also add your own custom resolvers if you want.
128
126
*/
129
-
external?: boolean
130
-
file?: ResolverOptions|boolean
131
-
http?: HTTPResolverOptions|boolean
132
-
}
127
+
resolve?: {
133
128
134
-
/**
135
-
* The `dereference` options control how JSON Schema `$Ref` Parser will dereference `$ref` pointers within the JSON schema.
136
-
*/
137
-
dereference?: {
129
+
/**
130
+
* Determines whether external $ref pointers will be resolved. If this option is disabled, then external `$ref` pointers will simply be ignored.
131
+
*/
132
+
external?: boolean
133
+
file?: ResolverOptions|boolean
134
+
http?: HTTPResolverOptions|boolean
135
+
}
138
136
139
137
/**
140
-
* Determines whether circular `$ref` pointers are handled.
141
-
*
142
-
* If set to `false`, then a `ReferenceError` will be thrown if the schema contains any circular references.
143
-
*
144
-
* If set to `"ignore"`, then circular references will simply be ignored. No error will be thrown, but the `$Refs.circular` property will still be set to `true`.
138
+
* The `dereference` options control how JSON Schema `$Ref` Parser will dereference `$ref` pointers within the JSON schema.
145
139
*/
146
-
circular?: boolean|'ignore'
140
+
dereference?: {
141
+
142
+
/**
143
+
* Determines whether circular `$ref` pointers are handled.
144
+
*
145
+
* If set to `false`, then a `ReferenceError` will be thrown if the schema contains any circular references.
146
+
*
147
+
* If set to `"ignore"`, then circular references will simply be ignored. No error will be thrown, but the `$Refs.circular` property will still be set to `true`.
0 commit comments