Interface AsyncApiGenerator.AsyncApiBaseBuilder
- All Known Implementing Classes:
AsyncBuilder
- Enclosing class:
- AsyncApiGenerator
public static interface AsyncApiGenerator.AsyncApiBaseBuilder
-
Method Summary
Modifier and TypeMethodDescriptionwithAsyncApiBase
(String yamlAsyncApiContent) Supply base AsyncAPI yaml content to be used as a template.default AsyncApiGenerator.SchemaBuilder
withAsyncApiBase
(URL url) Supply a base AsyncAPI file to be used as a template
-
Method Details
-
withAsyncApiBase
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
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
-