Skip to content

Commit

Permalink
docs: fix broken links (#2006)
Browse files Browse the repository at this point in the history
Co-authored-by: Connor Smith <Connor.Smith@aexp.com>
Co-authored-by: Evgeny Poberezkin <2769109+epoberezkin@users.noreply.github.com>
  • Loading branch information
3 people committed Nov 13, 2022
1 parent d0beea5 commit 67e7f1c
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion docs/api.md
Expand Up @@ -149,7 +149,7 @@ Every time this method is called the errors are overwritten so you need to copy

If the schema is asynchronous (has `$async` keyword on the top level) this method returns a Promise. See [Asynchronous validation](./guide/async-validation.md).

<a name="add-schema"></a>
<a id="add-schema"></a>

### ajv.addSchema(schema: object | object[], key?: string): Ajv

Expand Down
2 changes: 1 addition & 1 deletion docs/guide/combining-schemas.md
Expand Up @@ -41,7 +41,7 @@ const ajv = new Ajv()
const validate = ajv.addSchema(defsSchema).compile(schema)
```

See [Options](./api.md#options) and [addSchema](./api.md#add-schema) method.
See [Options](../options.md) and [addSchema](../api.md#add-schema) method.

::: tip Reference resolution
- `$ref` is resolved as the uri-reference using schema \$id as the base URI (see the example).
Expand Down

0 comments on commit 67e7f1c

Please sign in to comment.