package document
- Alphabetic
- Public
- All
Type Members
- case class AsyncApi20DocumentParser(root: Root, declarationParser: AsyncDeclarationParser = Async20DeclarationParser())(implicit ctx: AsyncWebApiContext) extends AsyncApiDocumentParser with Product with Serializable
- case class AsyncApi21DocumentParser(root: Root, spec: Spec, declarationParser: AsyncDeclarationParser)(implicit ctx: AsyncWebApiContext) extends AsyncApiDocumentParser with Product with Serializable
-
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:
channelsis an object-map keyed by user-defined channel id (not path)channelsis OPTIONAL in 3.0 (in 2.x it is mandatory)operationsis a NEW top-level map keyed by operationId- Operations reference their channel via
$$refrather than being nested under channels
parseApiis fully reimplemented (mirroring AsyncApiDocumentParser.parseApi) instead of delegating tosuper.parseApi(map), because the parent unconditionally raisesMandatoryChannelsPropertywhenchannelsis missing. AsyncAPI 3.0 explicitly markschannelsas 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-leveloperationsmap. - abstract class AsyncApiDocumentParser extends AsyncApiSpecParser with OasLikeDeclarationsHelper
- abstract class AsyncApiSpecParser extends WebApiBaseSpecParser with SpecParserOps
- case class IdentifierParser(entry: YMapEntry, webApi: AsyncApi, ctx: AsyncWebApiContext) extends WebApiBaseSpecParser with Product with Serializable
Value Members
- object AsyncApi21DocumentParser extends Serializable
- object AsyncApi22DocumentParser
- object AsyncApi23DocumentParser
- object AsyncApi24DocumentParser
- object AsyncApi25DocumentParser
- object AsyncApi26DocumentParser
- object AsyncApi3DocumentParser