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
Copy file name to clipboardExpand all lines: lib/index.ts
+6-6Lines changed: 6 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -180,7 +180,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
180
180
*
181
181
* Resolves all JSON references (`$ref` pointers) in the given JSON Schema file. If it references any other files/URLs, then they will be downloaded and resolved as well. This method **does not** dereference anything. It simply gives you a `$Refs` object, which is a map of all the resolved references and their values.
182
182
*
183
-
* See https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html#resolveschema-options-callback
183
+
* See https://apidevtools.com/json-schema-ref-parser/docs/ref-parser.html#resolveschema-options-callback
184
184
*
185
185
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
186
186
* @param options (optional)
@@ -210,7 +210,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
210
210
*
211
211
* Resolves all JSON references (`$ref` pointers) in the given JSON Schema file. If it references any other files/URLs, then they will be downloaded and resolved as well. This method **does not** dereference anything. It simply gives you a `$Refs` object, which is a map of all the resolved references and their values.
212
212
*
213
-
* See https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html#resolveschema-options-callback
213
+
* See https://apidevtools.com/json-schema-ref-parser/docs/ref-parser.html#resolveschema-options-callback
214
214
*
215
215
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
216
216
* @param options (optional)
@@ -255,7 +255,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
255
255
*
256
256
* This also eliminates the risk of circular references, so the schema can be safely serialized using `JSON.stringify()`.
257
257
*
258
-
* See https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html#bundleschema-options-callback
258
+
* See https://apidevtools.com/json-schema-ref-parser/docs/ref-parser.html#bundleschema-options-callback
259
259
*
260
260
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
261
261
* @param options (optional)
@@ -298,7 +298,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
298
298
*
299
299
* This also eliminates the risk of circular references, so the schema can be safely serialized using `JSON.stringify()`.
300
300
*
301
-
* See https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html#bundleschema-options-callback
301
+
* See https://apidevtools.com/json-schema-ref-parser/docs/ref-parser.html#bundleschema-options-callback
302
302
*
303
303
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
304
304
* @param options (optional)
@@ -327,7 +327,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
327
327
*
328
328
* The dereference method maintains object reference equality, meaning that all `$ref` pointers that point to the same object will be replaced with references to the same object. Again, this is great for programmatic usage, but it does introduce the risk of circular references, so be careful if you intend to serialize the schema using `JSON.stringify()`. Consider using the bundle method instead, which does not create circular references.
329
329
*
330
-
* See https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html#dereferenceschema-options-callback
330
+
* See https://apidevtools.com/json-schema-ref-parser/docs/ref-parser.html#dereferenceschema-options-callback
331
331
*
332
332
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
333
333
* @param options (optional)
@@ -370,7 +370,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
370
370
*
371
371
* The dereference method maintains object reference equality, meaning that all `$ref` pointers that point to the same object will be replaced with references to the same object. Again, this is great for programmatic usage, but it does introduce the risk of circular references, so be careful if you intend to serialize the schema using `JSON.stringify()`. Consider using the bundle method instead, which does not create circular references.
372
372
*
373
-
* See https://apitools.dev/json-schema-ref-parser/docs/ref-parser.html#dereferenceschema-options-callback
373
+
* See https://apidevtools.com/json-schema-ref-parser/docs/ref-parser.html#dereferenceschema-options-callback
374
374
*
375
375
* @param path
376
376
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
Copy file name to clipboardExpand all lines: lib/refs.ts
+5-5Lines changed: 5 additions & 5 deletions
Original file line number
Diff line number
Diff line change
@@ -13,20 +13,20 @@ interface $RefsMap<S extends object = JSONSchema, O extends ParserOptions<S> = P
13
13
*
14
14
* This object is a map of JSON References and their resolved values. It also has several convenient helper methods that make it easy for you to navigate and manipulate the JSON References.
15
15
*
16
-
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html
16
+
* See https://apidevtools.com/json-schema-ref-parser/docs/refs.html
* This property is true if the schema contains any circular references. You may want to check this property before serializing the dereferenced schema as JSON, since JSON.stringify() does not support circular references by default.
21
21
*
22
-
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html#circular
22
+
* See https://apidevtools.com/json-schema-ref-parser/docs/refs.html#circular
23
23
*/
24
24
publiccircular: boolean;
25
25
26
26
/**
27
27
* Returns the paths/URLs of all the files in your schema (including the main schema file).
28
28
*
29
-
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html#pathstypes
29
+
* See https://apidevtools.com/json-schema-ref-parser/docs/refs.html#pathstypes
30
30
*
31
31
* @param types (optional) Optionally only return certain types of paths ("file", "http", etc.)
32
32
*/
@@ -40,7 +40,7 @@ export default class $Refs<S extends object = JSONSchema, O extends ParserOption
40
40
/**
41
41
* Returns a map of paths/URLs and their correspond values.
42
42
*
43
-
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html#valuestypes
43
+
* See https://apidevtools.com/json-schema-ref-parser/docs/refs.html#valuestypes
44
44
*
45
45
* @param types (optional) Optionally only return values from certain locations ("file", "http", etc.)
46
46
*/
@@ -56,7 +56,7 @@ export default class $Refs<S extends object = JSONSchema, O extends ParserOption
56
56
/**
57
57
* Returns `true` if the given path exists in the schema; otherwise, returns `false`
58
58
*
59
-
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html#existsref
59
+
* See https://apidevtools.com/json-schema-ref-parser/docs/refs.html#existsref
60
60
*
61
61
* @param $ref The JSON Reference path, optionally with a JSON Pointer in the hash
* JSON Schema `$Ref` Parser comes with built-in resolvers for HTTP and HTTPS URLs, as well as local filesystem paths (when running in Node.js). You can add your own custom resolvers to support additional protocols, or even replace any of the built-in resolvers with your own custom implementation.
48
48
*
49
-
* See https://apitools.dev/json-schema-ref-parser/docs/plugins/resolvers.html
49
+
* See https://apidevtools.com/json-schema-ref-parser/docs/plugins/resolvers.html
0 commit comments