Interface AsyncApiGenerator.AsyncApiBaseBuilder

All Known Implementing Classes:
AsyncBuilder
Enclosing class:
AsyncApiGenerator

public static interface AsyncApiGenerator.AsyncApiBaseBuilder
  • Method Details

    • withAsyncApiBase

      default AsyncApiGenerator.SchemaBuilder withAsyncApiBase(URL url)
      Supply a base AsyncAPI file to be used as a template
      Parameters:
      url - The resource url to the template file
      Returns:
      builder
      Throws:
      UncheckedIOException - when reading the url as yaml failed
    • withAsyncApiBase

      AsyncApiGenerator.SchemaBuilder withAsyncApiBase(String yamlAsyncApiContent)
      Supply base AsyncAPI yaml content to be used as a template.
      Parameters:
      yamlAsyncApiContent - The content of an AsyncAPI yaml schema.
      Returns:
      builder
      Throws:
      UncheckedIOException - when parsing as yaml failed