case class Async3OperationParser(entry: YMapEntry)(implicit ctx: AsyncWebApiContext) extends SpecParserOps with SecuritySchemeParser with Product with Serializable
Parses a single AsyncAPI 3.0 top-level Operation Object entry.
In AsyncAPI 3.0 operations are top-level (under the operations map), keyed by operationId.
They reference their channel via a $$ref and can override or narrow the channel's messages.
Parsed fields:
- operationId (YAML key) → Operation.name + Operation.operationId
- action → Operation.action ("send" | "receive")
- channel: {$$ref} → Operation.channel (resolved EndPoint link)
- messages: [{$$ref}] → Operation.operationMessages
- reply → Operation.reply (Async3OperationReplyParser)
- bindings → Operation.bindings
- security → Operation.security
- traits → Operation.extend (link refs to declared operationTraits)
- tags → Operation.tags
- title → Operation.title
- summary → Operation.summary
- description → Operation.description
- externalDocs → Operation.documentation
This parser is invoked directly from AsyncApi3DocumentParser.parseTopLevelOperations,
NOT from the version factory's operationParser (which is intentionally disabled for 3.0).
Linear Supertypes
Ordering
- Alphabetic
- By Inheritance
Inherited
- Async3OperationParser
- Serializable
- Serializable
- Product
- Equals
- SecuritySchemeParser
- SpecParserOps
- QuickFieldParserOps
- AnyRef
- Any
Implicitly
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
Visibility
- Public
- All
Instance Constructors
- new Async3OperationParser(entry: YMapEntry)(implicit ctx: AsyncWebApiContext)
Type Members
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
def
+(other: String): String
- Implicit
- This member is added by an implicit conversion from Async3OperationParser to any2stringadd[Async3OperationParser] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
-
def
->[B](y: B): (Async3OperationParser, B)
- Implicit
- This member is added by an implicit conversion from Async3OperationParser to ArrowAssoc[Async3OperationParser] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
checkBalancedParams(path: String, value: YNode, node: AmfObject, property: String, ctx: WebApiContext): Unit
- Attributes
- protected
- Definition Classes
- SpecParserOps
-
def
clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( ... ) @native() @IntrinsicCandidate()
- implicit val ctx: AsyncWebApiContext
-
def
ensuring(cond: (Async3OperationParser) ⇒ Boolean, msg: ⇒ Any): Async3OperationParser
- Implicit
- This member is added by an implicit conversion from Async3OperationParser to Ensuring[Async3OperationParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: (Async3OperationParser) ⇒ Boolean): Async3OperationParser
- Implicit
- This member is added by an implicit conversion from Async3OperationParser to Ensuring[Async3OperationParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean, msg: ⇒ Any): Async3OperationParser
- Implicit
- This member is added by an implicit conversion from Async3OperationParser to Ensuring[Async3OperationParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
-
def
ensuring(cond: Boolean): Async3OperationParser
- Implicit
- This member is added by an implicit conversion from Async3OperationParser to Ensuring[Async3OperationParser] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- val entry: YMapEntry
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
getAnnotationsFromMap(map: YMap, key: String): Annotations
- Attributes
- protected
- Definition Classes
- SpecParserOps
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @IntrinsicCandidate()
- def parse(): Operation
-
def
parseSecurityScheme(entry: YMapEntry, field: Field, parent: AmfObject)(implicit ctx: AsyncWebApiContext): Unit
- Definition Classes
- SecuritySchemeParser
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
def
→[B](y: B): (Async3OperationParser, B)
- Implicit
- This member is added by an implicit conversion from Async3OperationParser to ArrowAssoc[Async3OperationParser] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
Deprecated Value Members
-
def
finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] ) @Deprecated
- Deprecated
-
def
formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from Async3OperationParser to StringFormat[Async3OperationParser] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @deprecated @inline()
- Deprecated
(Since version 2.12.16) Use
formatString.format(value)instead ofvalue.formatted(formatString), or use thef""string interpolator. In Java 15 and later,formattedresolves to the new method in String which has reversed parameters.