Class OperationTraits

java.lang.Object
io.github.springwolf.asyncapi.v3.model.ExtendableObject
io.github.springwolf.asyncapi.v3.model.operation.OperationTraits
All Implemented Interfaces:
Reference

public class OperationTraits extends ExtendableObject implements Reference
Describes a trait that MAY be applied to an Operation Object. This object MAY contain any property from the Operation Object, except the action, channel and traits ones.

If you're looking to apply traits to a message, see the Message Trait Object.
See Also:
  • Constructor Details

    • OperationTraits

      public OperationTraits()
  • Method Details

    • getRef

      public String getRef()
      Description copied from interface: Reference
      Required. The reference string.
      Specified by:
      getRef in interface Reference