Packages

c

amf.apicontract.internal.spec.async.parser.domain

Async3ConcreteMessagePopulator

case class Async3ConcreteMessagePopulator(parentId: String)(implicit ctx: AsyncWebApiContext) extends Async3MessagePopulator with AsyncConcreteMessagePopulator with Product with Serializable

Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. Async3ConcreteMessagePopulator
  2. Serializable
  3. Serializable
  4. Product
  5. Equals
  6. AsyncConcreteMessagePopulator
  7. Async3MessagePopulator
  8. Async24MessagePopulator
  9. Async21MessagePopulator
  10. Async20MessagePopulator
  11. Async2MessagePopulator
  12. SpecParserOps
  13. QuickFieldParserOps
  14. AnyRef
  15. Any
Implicitly
  1. by any2stringadd
  2. by StringFormat
  3. by Ensuring
  4. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. All

Instance Constructors

  1. new Async3ConcreteMessagePopulator(parentId: String)(implicit ctx: AsyncWebApiContext)

Type Members

  1. case class MessageExamples(headers: Seq[Example], payload: Seq[Example]) extends Product with Serializable
    Definition Classes
    Async2MessagePopulator
  2. implicit class FieldOps extends AnyRef
    Definition Classes
    QuickFieldParserOps
  3. class ObjectField extends (YMapEntry) ⇒ Unit
    Definition Classes
    QuickFieldParserOps
  4. trait Target extends AnyRef
    Definition Classes
    QuickFieldParserOps

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##(): Int
    Definition Classes
    AnyRef → Any
  3. def +(other: String): String
    Implicit
    This member is added by an implicit conversion from Async3ConcreteMessagePopulator to any2stringadd[Async3ConcreteMessagePopulator] performed by method any2stringadd in scala.Predef.
    Definition Classes
    any2stringadd
  4. def ->[B](y: B): (Async3ConcreteMessagePopulator, B)
    Implicit
    This member is added by an implicit conversion from Async3ConcreteMessagePopulator to ArrowAssoc[Async3ConcreteMessagePopulator] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc
    Annotations
    @inline()
  5. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  6. def addExampleNaming(node: YMap, example: Example): Example
    Attributes
    protected
    Definition Classes
    Async21MessagePopulatorAsync2MessagePopulator
  7. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  8. def checkBalancedParams(path: String, value: YNode, node: AmfObject, property: String, ctx: WebApiContext): Unit
    Attributes
    protected
    Definition Classes
    SpecParserOps
  9. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( ... ) @native() @IntrinsicCandidate()
  10. def ensuring(cond: (Async3ConcreteMessagePopulator) ⇒ Boolean, msg: ⇒ Any): Async3ConcreteMessagePopulator
    Implicit
    This member is added by an implicit conversion from Async3ConcreteMessagePopulator to Ensuring[Async3ConcreteMessagePopulator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  11. def ensuring(cond: (Async3ConcreteMessagePopulator) ⇒ Boolean): Async3ConcreteMessagePopulator
    Implicit
    This member is added by an implicit conversion from Async3ConcreteMessagePopulator to Ensuring[Async3ConcreteMessagePopulator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  12. def ensuring(cond: Boolean, msg: ⇒ Any): Async3ConcreteMessagePopulator
    Implicit
    This member is added by an implicit conversion from Async3ConcreteMessagePopulator to Ensuring[Async3ConcreteMessagePopulator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  13. def ensuring(cond: Boolean): Async3ConcreteMessagePopulator
    Implicit
    This member is added by an implicit conversion from Async3ConcreteMessagePopulator to Ensuring[Async3ConcreteMessagePopulator] performed by method Ensuring in scala.Predef.
    Definition Classes
    Ensuring
  14. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  15. def getAnnotationsFromMap(map: YMap, key: String): Annotations
    Attributes
    protected
    Definition Classes
    SpecParserOps
  16. final def getClass(): Class[_]
    Definition Classes
    AnyRef → Any
    Annotations
    @native() @IntrinsicCandidate()
  17. def innerParseSchema(map: YMap, payload: Payload)(implicit ctx: AsyncWebApiContext): Unit
    Attributes
    protected
    Definition Classes
    AsyncConcreteMessagePopulator
  18. def innerParseTrait(map: YMap, message: Message, parentId: String)(implicit ctx: AsyncWebApiContext): Unit
    Attributes
    protected
    Definition Classes
    AsyncConcreteMessagePopulator
  19. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  20. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  21. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  22. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native() @IntrinsicCandidate()
  23. val parentId: String
  24. def parseMessageIdBodyField(map: YMap, message: Message): Unit

    AsyncAPI 3.0 §A.2.16: the message id IS the YAML map key, not a body-level field.

    AsyncAPI 3.0 §A.2.16: the message id IS the YAML map key, not a body-level field. The 2.4+ body-level messageId: is no longer valid, and is rejected by the closed-shape check in Async3Syntax.

    Attributes
    protected
    Definition Classes
    Async3MessagePopulatorAsync24MessagePopulator
  25. def parsePayload(map: YMap, message: Message): Unit

    AsyncAPI 3.0 moves schemaFormat from the message level into the payload as part of a Multi Format Schema Object: payload: { schemaFormat: <iri>, schema: <schema> }.

    AsyncAPI 3.0 moves schemaFormat from the message level into the payload as part of a Multi Format Schema Object: payload: { schemaFormat: <iri>, schema: <schema> }. The bare schema form (no wrapper) is also permitted; in that case the document's default schema format applies (effectively the inherited 2.x parseSchema path).

    contentType stays at the message level in 3.0 — only schemaFormat and the new optional schema: wrapper differ from 2.x.

    Attributes
    protected
    Definition Classes
    Async3MessagePopulatorAsync2MessagePopulator
  26. def parseSchema(map: YMap, payload: Payload): Unit

    3.0 Multi Format Schema Object support.

    3.0 Multi Format Schema Object support.

    payload may be either:

    • a Multi Format Schema Object: { schemaFormat: <iri>, schema: <schema> }
    • a bare schema (in which case schemaFormat defaults to the doc's default format).

    We detect the wrapper by checking for schemaFormat (always present in a wrapper) or for a schema key that is not accompanied by JSON-Schema keywords (covers the case where someone writes payload: { schema: {...} } without schemaFormat). Otherwise we fall back to the inherited 2.x bare-schema flow.

    Attributes
    protected
    Definition Classes
    Async3ConcreteMessagePopulatorAsync2MessagePopulator
  27. def parseTraits(map: YMap, message: Message): Unit
    Attributes
    protected
    Definition Classes
    Async3ConcreteMessagePopulatorAsync2MessagePopulator
  28. def populate(map: YMap, message: Message): Message
  29. def shouldParsePayloadModel(map: YMap): Boolean
    Attributes
    protected
    Definition Classes
    Async3MessagePopulatorAsync2MessagePopulator
  30. final def synchronized[T0](arg0: ⇒ T0): T0
    Definition Classes
    AnyRef
  31. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  32. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  33. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws( ... )
  34. def [B](y: B): (Async3ConcreteMessagePopulator, B)
    Implicit
    This member is added by an implicit conversion from Async3ConcreteMessagePopulator to ArrowAssoc[Async3ConcreteMessagePopulator] performed by method ArrowAssoc in scala.Predef.
    Definition Classes
    ArrowAssoc

Deprecated Value Members

  1. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws( classOf[java.lang.Throwable] ) @Deprecated
    Deprecated
  2. def formatted(fmtstr: String): String
    Implicit
    This member is added by an implicit conversion from Async3ConcreteMessagePopulator to StringFormat[Async3ConcreteMessagePopulator] performed by method StringFormat in scala.Predef.
    Definition Classes
    StringFormat
    Annotations
    @deprecated @inline()
    Deprecated

    (Since version 2.12.16) Use formatString.format(value) instead of value.formatted(formatString), or use the f"" string interpolator. In Java 15 and later, formatted resolves to the new method in String which has reversed parameters.

Inherited from Serializable

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Async3MessagePopulator

Inherited from Async24MessagePopulator

Inherited from Async21MessagePopulator

Inherited from Async20MessagePopulator

Inherited from Async2MessagePopulator

Inherited from SpecParserOps

Inherited from QuickFieldParserOps

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion any2stringadd from Async3ConcreteMessagePopulator to any2stringadd[Async3ConcreteMessagePopulator]

Inherited by implicit conversion StringFormat from Async3ConcreteMessagePopulator to StringFormat[Async3ConcreteMessagePopulator]

Inherited by implicit conversion Ensuring from Async3ConcreteMessagePopulator to Ensuring[Async3ConcreteMessagePopulator]

Inherited by implicit conversion ArrowAssoc from Async3ConcreteMessagePopulator to ArrowAssoc[Async3ConcreteMessagePopulator]

Ungrouped