Skip to content

Commit 3a287ea

Browse files
committed
fix(url): update docs url
1 parent e377609 commit 3a287ea

File tree

4 files changed

+15
-15
lines changed

4 files changed

+15
-15
lines changed

lib/index.ts

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -180,7 +180,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
180180
*
181181
* 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.
182182
*
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
184184
*
185185
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
186186
* @param options (optional)
@@ -210,7 +210,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
210210
*
211211
* 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.
212212
*
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
214214
*
215215
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
216216
* @param options (optional)
@@ -255,7 +255,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
255255
*
256256
* This also eliminates the risk of circular references, so the schema can be safely serialized using `JSON.stringify()`.
257257
*
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
259259
*
260260
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
261261
* @param options (optional)
@@ -298,7 +298,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
298298
*
299299
* This also eliminates the risk of circular references, so the schema can be safely serialized using `JSON.stringify()`.
300300
*
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
302302
*
303303
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
304304
* @param options (optional)
@@ -327,7 +327,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
327327
*
328328
* 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.
329329
*
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
331331
*
332332
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.
333333
* @param options (optional)
@@ -370,7 +370,7 @@ export class $RefParser<S extends object = JSONSchema, O extends ParserOptions<S
370370
*
371371
* 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.
372372
*
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
374374
*
375375
* @param path
376376
* @param schema A JSON Schema object, or the file path or URL of a JSON Schema file. See the `parse` method for more info.

lib/refs.ts

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -13,20 +13,20 @@ interface $RefsMap<S extends object = JSONSchema, O extends ParserOptions<S> = P
1313
*
1414
* 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.
1515
*
16-
* See https://apitools.dev/json-schema-ref-parser/docs/refs.html
16+
* See https://apidevtools.com/json-schema-ref-parser/docs/refs.html
1717
*/
1818
export default class $Refs<S extends object = JSONSchema, O extends ParserOptions<S> = ParserOptions<S>> {
1919
/**
2020
* 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.
2121
*
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
2323
*/
2424
public circular: boolean;
2525

2626
/**
2727
* Returns the paths/URLs of all the files in your schema (including the main schema file).
2828
*
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
3030
*
3131
* @param types (optional) Optionally only return certain types of paths ("file", "http", etc.)
3232
*/
@@ -40,7 +40,7 @@ export default class $Refs<S extends object = JSONSchema, O extends ParserOption
4040
/**
4141
* Returns a map of paths/URLs and their correspond values.
4242
*
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
4444
*
4545
* @param types (optional) Optionally only return values from certain locations ("file", "http", etc.)
4646
*/
@@ -56,7 +56,7 @@ export default class $Refs<S extends object = JSONSchema, O extends ParserOption
5656
/**
5757
* Returns `true` if the given path exists in the schema; otherwise, returns `false`
5858
*
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
6060
*
6161
* @param $ref The JSON Reference path, optionally with a JSON Pointer in the hash
6262
*/

lib/types/index.ts

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ export type $RefsCallback<S extends object = JSONSchema, O extends ParserOptions
1818
) => any;
1919

2020
/**
21-
* See https://apitools.dev/json-schema-ref-parser/docs/options.html
21+
* See https://apidevtools.com/json-schema-ref-parser/docs/options.html
2222
*/
2323

2424
export interface HTTPResolverOptions<S extends object = JSONSchema> extends Partial<ResolverOptions<S>> {
@@ -46,7 +46,7 @@ export interface HTTPResolverOptions<S extends object = JSONSchema> extends Part
4646
/**
4747
* 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.
4848
*
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
5050
*/
5151
export interface ResolverOptions<S extends object = JSONSchema> {
5252
name?: string;
@@ -126,7 +126,7 @@ export interface Plugin {
126126
*
127127
* The file info object currently only consists of a few properties, but it may grow in the future if plug-ins end up needing more information.
128128
*
129-
* See https://apitools.dev/json-schema-ref-parser/docs/plugins/file-info-object.html
129+
* See https://apidevtools.com/json-schema-ref-parser/docs/plugins/file-info-object.html
130130
*/
131131
export interface FileInfo {
132132
/**

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@
4646
"email": "[email protected]"
4747
}
4848
],
49-
"homepage": "https://apitools.dev/json-schema-ref-parser/",
49+
"homepage": "https://apidevtools.com/json-schema-ref-parser/",
5050
"repository": {
5151
"type": "git",
5252
"url": "https://github.com/APIDevTools/json-schema-ref-parser.git"

0 commit comments

Comments
 (0)