Packages

package document

Ordering
  1. Alphabetic
Visibility
  1. Public
  2. All

Type Members

  1. case class AsyncApi20DocumentParser(root: Root, declarationParser: AsyncDeclarationParser = Async20DeclarationParser())(implicit ctx: AsyncWebApiContext) extends AsyncApiDocumentParser with Product with Serializable
  2. case class AsyncApi21DocumentParser(root: Root, spec: Spec, declarationParser: AsyncDeclarationParser)(implicit ctx: AsyncWebApiContext) extends AsyncApiDocumentParser with Product with Serializable
  3. class AsyncApi3DocumentParser extends AsyncApiDocumentParser

    AsyncAPI 3.0 document parser.

    AsyncAPI 3.0 document parser.

    Extends AsyncApiDocumentParser with 3.0-specific top-level operation parsing.

    The key structural differences from 2.x:

    • channels is an object-map keyed by user-defined channel id (not path)
    • channels is OPTIONAL in 3.0 (in 2.x it is mandatory)
    • operations is a NEW top-level map keyed by operationId
    • Operations reference their channel via $$ref rather than being nested under channels

    parseApi is fully reimplemented (mirroring AsyncApiDocumentParser.parseApi) instead of delegating to super.parseApi(map), because the parent unconditionally raises MandatoryChannelsProperty when channels is missing. AsyncAPI 3.0 explicitly marks channels as OPTIONAL — see https://www.asyncapi.com/docs/reference/specification/v3.0.0 (AsyncAPI Object section: "channels" is listed without the REQUIRED marker). The override preserves every other step from the parent (info, id, externalDocs, servers, tags, defaultContentType, AnnotationParser, closedShape) and additionally parses the new top-level operations map.

  4. abstract class AsyncApiDocumentParser extends AsyncApiSpecParser with OasLikeDeclarationsHelper
  5. abstract class AsyncApiSpecParser extends WebApiBaseSpecParser with SpecParserOps
  6. case class IdentifierParser(entry: YMapEntry, webApi: AsyncApi, ctx: AsyncWebApiContext) extends WebApiBaseSpecParser with Product with Serializable

Ungrouped