Class AsyncApiSpec

java.lang.Object
org.mockserver.async.asyncapi.AsyncApiSpec

public class AsyncApiSpec extends Object
A parsed AsyncAPI specification containing the channels and their message definitions.
  • Constructor Details

  • Method Details

    • getAsyncApiVersion

      public String getAsyncApiVersion()
      The AsyncAPI version string (e.g. "2.6.0" or "3.0.0").
    • getTitle

      public String getTitle()
      The title from info.title, or null if absent.
    • getChannels

      public List<AsyncApiChannel> getChannels()
      All channels extracted from the spec.