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 theschemaID
field. By default, the value ofschemaID
is set to an empty string.{CONTAINER}
is the name of the container. The possible values are:info
,servers
,operations
,messages
,schemas
. IfITEM_NAME
is also present then container has singular form likeoperation
,message
etc.{ITEM_NAME}
is the name of the item:- there are no defined items for the
info
container - for
operations
container, each item has includes type of operation (publish
orsubscribe
) likeoperation-publish-{ITEM_NAME}-...
- there are no defined items for the
{ITEM_PROPERTY}
is the name of a particular part of the item. The possible values are:- for the
info
container: there are no defined properties - for the
servers
container:url-variables
,security
- for the
operations
container:parameters
,message
- for the
messages
container:payload
,headers
- for the
schemas
container: there are no defined properties
- for the
http://{URL}/#operations
is an anchor that points to theoperations
container.http://{URL}/#custom-spec-operations
is an anchor that points to theoperations
container of thecustom-spec
specification.http://{URL}/#operation-subscribe-testUrl
is an anchor that points to thetestUrl
item of theoperations
container.http://{URL}/#operation-publish-testUrl-parameters
- is an anchor that points to theparameters
part of thetestUrl
item of theoperations
container.