Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
8 changes: 4 additions & 4 deletions packages/apidom-core/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -493,7 +493,7 @@ If multiple plugins with the same visitor method are defined, they run in parall

#### Element identity plugin

`apidom` package comes with `refractorPluginElementIdentity`. When used, this plugin will
`apidom-core` package comes with `refractorPluginElementIdentity`. When used, this plugin will
assign unique ID to all elements in ApiDOM tree.

```js
Expand Down Expand Up @@ -528,7 +528,7 @@ objectElement.getMember('a').value.id; // Ki4tWmf9xw9Lwb8MxkXJq1uONmJrmhXifmsI

#### Semantic element identity plugin

`apidom` package comes with `refractorPluginSemanticElementIdentity`. When used, this plugin will
`apidom-core` package comes with `refractorPluginSemanticElementIdentity`. When used, this plugin will
assign unique ID to all non-primitive elements in ApiDOM tree. Primitive elements include
`ObjectElement`, `ArrayElement`, `StringElement`, `BooleanElement`, `NullElement` and `NumberElement`.

Expand Down Expand Up @@ -574,7 +574,7 @@ objectElement.getMember('info').value.id; // 'OnReGGrO7fMd9ztacvGfwGbOdGKuOFLiQQ

## Traversal

`apidom` comes with its own traversal algorithm along with couple of convenient abstractions on top of it.
`apidom-core` comes with its own traversal algorithm along with couple of convenient abstractions on top of it.

### visit

Expand Down Expand Up @@ -605,7 +605,7 @@ const newElement = visit(element, visitor); // => ObjectElement<{a: 2}>
```

This function originally comes from [@swagger-api/apidom-ast package](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/src/visitor.ts)
and is originally designed to work with [CST](https://en.wikipedia.org/wiki/Parse_tree). `apidom` package
and is originally designed to work with [CST](https://en.wikipedia.org/wiki/Parse_tree). `apidom-core` package
imports it, specializes it to work with ApiDOM and re-export it.

All following algorithms are based on `visit` function.
Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-api-design-systems/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ isMainElement(mainElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-api-design-systems/src/traversal/visitor.ts) and and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-api-design-systems/src/traversal/visitor.ts).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-arazzo-1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ isArazzoSpecification1Element(arazzoElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-arazzo-1/src/traversal/visitor.ts) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-arazzo-1/src/traversal/visitor.ts).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-asyncapi-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ isAsyncApi2Element(asyncApiElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-asyncapi-2/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-asyncapi-2/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-json-schema-2019-09/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ isJSONSchemaElement(jsonSchemaElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-2019-09/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-2019-09/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-json-schema-2020-12/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ isJSONSchemaElement(jsonSchemaElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-2020-12/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-2020-12/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-json-schema-draft-4/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -56,7 +56,7 @@ isJSONSchemaElement(jsonSchemaElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-draft-4/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-draft-4/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-json-schema-draft-6/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ isJSONSchemaElement(jsonSchemaElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-draft-6/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-draft-6/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-json-schema-draft-7/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -53,7 +53,7 @@ isJSONSchemaElement(jsonSchemaElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-draft-7/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-json-schema-draft-7/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-openapi-2/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@ isSwaggerElement(swaggerElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-openapi-2/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-openapi-2/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-openapi-3-0/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -58,7 +58,7 @@ isOpenApi3_0Element(openApiElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-openapi-3-0/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-openapi-3-0/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down
2 changes: 1 addition & 1 deletion packages/apidom-ns-openapi-3-1/README.md
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,7 @@ isOpenApi3_1Element(openApiElement); // => true

## Traversal

Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom` package.
Traversing ApiDOM in this namespace is possible by using `visit` function from `apidom-core` package.
This package comes with its own [keyMap](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-openapi-3-1/src/traversal/visitor.ts#L11) and [nodeTypeGetter](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ns-openapi-3-1/src/traversal/visitor.ts#L4).
To learn more about these `visit` configuration options please refer to [@swagger-api/apidom-ast documentation](https://github.com/swagger-api/apidom/blob/main/packages/apidom-ast/README.md#visit).

Expand Down