The anchors provide the possibility to point to a particular part of a schema.
Each component has a unique anchor in the http://{URL}/#{SCHEMA_NAME}--{CONTAINER}--{ITEM_NAME}--{ITEM_PROPERTY} format, where:
{URL}is the website URL.{SCHEMA_NAME}is the name of the schema. It is passed to the component by configuration with theschemaIDfield. By default, the value ofschemaIDis alwaysasyncapi.{CONTAINER}is the name of the container. The possible values are:info,channels,servers,messages,schemas.{ITEM_NAME}is thenameortitleof the item. There are no defined items for theinfocontainer.{ITEM_PROPERTY}is the name of a particular part of the item. The possible values are:- for the
infocontainer: there are no defined properties - for the
channelscontainer:parameters - for the
serverscontainer:url-variables,security - for the
messagescontainer:headers,payload,payloads,payload-{NAME_OF_PARAMETER} - for the
schemascontainer: there are no defined properties
- for the
http://{URL}/#asyncapiis an anchor that points to the rendered specification.http://{URL}/#asyncapi--channelsis an anchor that points to thechannelscontainer of theasyncapispecification.http://{URL}/#asyncapi--channels--testUrlis an anchor that points to thetestUrlitem of thechannelscontainer.http://{URL}/#asyncapi--channels--testUrl--parameters- is an anchor that points to theparameterspart of thetestUrlitem of thechannelscontainer.