package v3
Type Members
-
class
Async3ChannelMessagesEmitter extends EntryEmitter
Emits
messages: { <messageName>: {...} }for a 3.0 channel. -
class
Async3ChannelRefEmitter extends EntryEmitter
Emits the
channel: { $$ref: "#/channels/<id>" }entry for an operation.Emits the
channel: { $$ref: "#/channels/<id>" }entry for an operation. Prefers the original ref string captured by Async3OriginalRefString if present; otherwise synthesises the ref from the link target's channel id (itsEndPoint.name). -
class
Async3ChannelServersEmitter extends EntryEmitter
Emits
servers: [ {$$ref: '#/servers/<id>'}, ... ]on a 3.0 channel.Emits
servers: [ {$$ref: '#/servers/<id>'}, ... ]on a 3.0 channel.2.x emits the channel.servers array as a list of bare server names; 3.0 expects each entry to be a
$$refobject pointing into the top-levelserversmap. After parsing+resolution the elements are real Server instances (linked or fully populated dummies); we always emit them as $$ref strings keyed by the server name. -
class
Async3ChannelsEmitter extends EntryEmitter
AsyncAPI 3.0 channels emitter.
AsyncAPI 3.0 channels emitter.
3.0 keys channels by user-defined channel id (mapped to
EndPoint.name) and carries the destination as theaddressfield inside (EndPoint.path). Operations are emitted at the top level (see Async3OperationsEmitter), so channel-nested operations are NOT emitted here. -
case class
Async3DeclaredMessagesEmitter(messages: Seq[Message], isTrait: Boolean, ordering: SpecOrdering)(implicit spec: OasLikeSpecEmitterContext) extends EntryEmitter with Product with Serializable
Emits the declared
messages:/messageTraits:block of an AsyncAPI 3.0 components map.Emits the declared
messages:/messageTraits:block of an AsyncAPI 3.0 components map.Mirrors amf.apicontract.internal.spec.async.emitters.domain.AsyncMessageDeclarationsEmitter but emits each entry through Async3MessageContentEmitter so payloads use the Multi Format Schema Object shape.
-
case class
Async3InfoEmitter(fs: Fields, ordering: SpecOrdering, orphanAnnotations: Seq[DomainExtension])(implicit spec: OasLikeSpecEmitterContext) extends EntryEmitter with Product with Serializable
AsyncAPI 3.0
infoemitter.AsyncAPI 3.0
infoemitter.Mirrors the 2.x amf.apicontract.internal.spec.oas.emitter.domain.InfoEmitter body, but additionally emits
tagsandexternalDocsINSIDE the info object — in 3.0 those fields moved from the document root intoinfo(spec §A.2.1, §A.2.2). Parser-side handling lives inAsyncApi3DocumentParser.parseInfo. -
class
Async3MessageContentEmitter extends AsyncApiMessageContentEmitter
AsyncAPI 3.0 message-content emitter.
AsyncAPI 3.0 message-content emitter.
Identical to AsyncApiMessageContentEmitter except for the payload: 3.0 wraps payload schemas in a Multi Format Schema Object —
payload: { schemaFormat: <iri>, schema: <schema> }— instead of emittingschemaFormatas a sibling ofpayload.contentTypestays at the message level. -
class
Async3OperationMessagesEmitter extends EntryEmitter
Emits the
messages: [ {$$ref: ...}, ... ]array on a 3.0 operation. -
class
Async3OperationReplyAddressEmitter extends EntryEmitter
Emits the
addressleaf inside an AsyncAPI 3.0replyblock. -
class
Async3OperationReplyEmitter extends EntryEmitter
Emits the AsyncAPI 3.0
replyblock on an operation.Emits the AsyncAPI 3.0
replyblock on an operation. Reuses the channel-ref emitter and the operation messages emitter, since the reply object mirrors the operation's ownchannelandmessagesshape. -
class
Async3OperationsEmitter extends EntryEmitter
Emits the AsyncAPI 3.0 top-level
operationsmap. -
class
Async3PayloadEmitter extends EntryEmitter
Emits
payload: { schemaFormat: <iri>, schema: <schema> }. -
class
Async3RefValueEmitter extends EntryEmitter
Emits a
<key>: { $$ref: <fullRef> }entry.Emits a
<key>: { $$ref: <fullRef> }entry. Used when an inline element was originally a$$refto a declared component (preserved via Async3OriginalRefString). - class Async3SingleChannelEmitter extends EntryEmitter with PartEmitter
- class Async3SingleOperationEmitter extends EntryEmitter