Skip to content

Commit c9e2d3f

Browse files
docs: update links to new monorepo ones (#1057)
Co-authored-by: Jonas Lagoni <[email protected]>
1 parent 684a60c commit c9e2d3f

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

README.md

+2-2
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ The package exposes the main class `Parser`, which has two main functions:
6767

6868
- `validate()` - function that validates the passed AsyncAPI document. Returns array of all possible errors against the validation conditions.
6969
- `parse()` - function that validates the passed AsyncAPI document, and then if it's valid, parses the input. It returns an object that contains:
70-
- `document` object, which is an parsed AsyncAPI document with [`AsyncAPIDocumentInterface`](./src/models/asyncapi.ts) API. If the schema is invalid against the validation conditions, the field has `undefined` value.
70+
- `document` object, which is an parsed AsyncAPI document with [`AsyncAPIDocumentInterface`](./packages/parser/src/models/asyncapi.ts) API. If the schema is invalid against the validation conditions, the field has `undefined` value.
7171
- `diagnostics` array that contains all possible errors against the validation conditions.
7272
- `registerSchemaParser()` - function that registers custom schema parsers. For more info, please check [Custom schema parsers](#custom-schema-parsers) section.
7373

@@ -414,7 +414,7 @@ In addition, the [`convertToOldAPI()` function](#convert-to-the-old-api) which c
414414
Parser dereferences all circular references by default. In addition, to simplify interactions with the parser, the following is added:
415415

416416
- `x-parser-circular` property is added to the root of the AsyncAPI document to indicate that the document contains circular references. In old API the Parser exposes `hasCircular()` function to check if given AsyncAPI document has circular references.
417-
- `isCircular()` function is added to the [Schema Model](./src/models/schema.ts) to determine if a given schema is circular with respect to previously occurring schemas in the JSON tree.
417+
- `isCircular()` function is added to the [Schema Model](./packages/parser/src/models/schema.ts) to determine if a given schema is circular with respect to previously occurring schemas in the JSON tree.
418418

419419
## Stringify
420420

0 commit comments

Comments
 (0)