diff --git a/markdown/docs/concepts/asyncapi-document/tags.md b/markdown/docs/concepts/asyncapi-document/tags.md index 5b2c4c348d5..b6d3b263dc2 100644 --- a/markdown/docs/concepts/asyncapi-document/tags.md +++ b/markdown/docs/concepts/asyncapi-document/tags.md @@ -5,7 +5,7 @@ weight: 63 A tag functions as a label or category for logically grouping related entities like channels or servers in an event-driven system. The `tag` object facilitates the organization of channels, operations, or other components, categorizing them based on functionality, purpose, or other relevant criteria. -In AyncAPI, the `tags` object is a list of individual `tag` objects. Each `tag` within this collection can be defined with a specific name, accompanied by an optional description that offers additional insight into the tag's intended purpose or usage. +In AsyncAPI, the `tags` object is a list of individual `tag` objects. Each `tag` within this collection can be defined with a specific name, accompanied by an optional description that offers additional insight into the tag's intended purpose or usage. You can define `tags` in the [`components` object](/docs/reference/specification/latest#componentsObject) of an AsyncAPI document, which enables the reusability of the tags. If you include `tags` in the `components` object, they can be re-used by using [reference objects](/docs/reference/specification/latest#referenceObject). diff --git a/markdown/docs/tools/generator/asyncapi-document.md b/markdown/docs/tools/generator/asyncapi-document.md index dfd2db6e854..b6a3607b066 100644 --- a/markdown/docs/tools/generator/asyncapi-document.md +++ b/markdown/docs/tools/generator/asyncapi-document.md @@ -41,7 +41,7 @@ graph LR The AsyncAPI document's content is accessible to you while writing your template in two distinct ways: - The `originalAsyncAPI`, which is a stringified version of the AsyncAPI document provided as input, without any modifications. -- The `asyncapi` (`AsyncAPIDocument`) which is an object with a set of helper functions, that comes as a result of the `Parser` manipulating the `originalAyncAPI` .The `asyncapi` functions make it easier to access the contents of AsyncAPI documents in your templates. +- The `asyncapi` (`AsyncAPIDocument`) which is an object with a set of helper functions, that comes as a result of the `Parser` manipulating the `originalAsyncAPI` .The `asyncapi` functions make it easier to access the contents of AsyncAPI documents in your templates. In the following sections, you will learn how to use either the **originalAsyncAPI** or the **asyncapi** in your template.