package v3

Type Members

  1. class Async3ChannelMessagesEmitter extends EntryEmitter

    Emits messages: { <messageName>: {...} } for a 3.0 channel.

  2. 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 (its EndPoint.name).

  3. 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 $$ref object pointing into the top-level servers map. 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.

  4. 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 the address field inside (EndPoint.path). Operations are emitted at the top level (see Async3OperationsEmitter), so channel-nested operations are NOT emitted here.

  5. 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.

  6. case class Async3InfoEmitter(fs: Fields, ordering: SpecOrdering, orphanAnnotations: Seq[DomainExtension])(implicit spec: OasLikeSpecEmitterContext) extends EntryEmitter with Product with Serializable

    AsyncAPI 3.0 info emitter.

    AsyncAPI 3.0 info emitter.

    Mirrors the 2.x amf.apicontract.internal.spec.oas.emitter.domain.InfoEmitter body, but additionally emits tags and externalDocs INSIDE the info object — in 3.0 those fields moved from the document root into info (spec §A.2.1, §A.2.2). Parser-side handling lives in AsyncApi3DocumentParser.parseInfo.

  7. 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 emitting schemaFormat as a sibling of payload. contentType stays at the message level.

  8. class Async3OperationMessagesEmitter extends EntryEmitter

    Emits the messages: [ {$$ref: ...}, ... ] array on a 3.0 operation.

  9. class Async3OperationReplyAddressEmitter extends EntryEmitter

    Emits the address leaf inside an AsyncAPI 3.0 reply block.

  10. class Async3OperationReplyEmitter extends EntryEmitter

    Emits the AsyncAPI 3.0 reply block on an operation.

    Emits the AsyncAPI 3.0 reply block on an operation. Reuses the channel-ref emitter and the operation messages emitter, since the reply object mirrors the operation's own channel and messages shape.

  11. class Async3OperationsEmitter extends EntryEmitter

    Emits the AsyncAPI 3.0 top-level operations map.

  12. class Async3PayloadEmitter extends EntryEmitter

    Emits payload: { schemaFormat: <iri>, schema: <schema> }.

  13. class Async3RefValueEmitter extends EntryEmitter

    Emits a <key>: { $$ref: <fullRef> } entry.

    Emits a <key>: { $$ref: <fullRef> } entry. Used when an inline element was originally a $$ref to a declared component (preserved via Async3OriginalRefString).

  14. class Async3SingleChannelEmitter extends EntryEmitter with PartEmitter
  15. class Async3SingleOperationEmitter extends EntryEmitter

Ungrouped