Index

A C G I N R S T 
All Classes and Interfaces|All Packages

A

apply(Project) - Method in class io.asyncapi.generator.AsyncApiGeneratorPlugin
 
asMap(Object) - Static method in class io.asyncapi.generator.codegen.RefResolver
 
AsyncApiExtension - Class in io.asyncapi.generator
DSL extension: asyncApi { inputFile = file("src/main/resources/asyncapi.yaml") basePackage = "com.example.asyncapi" generateKafkaConfig = true useLombok = true }
AsyncApiExtension(Project) - Constructor for class io.asyncapi.generator.AsyncApiExtension
 
AsyncApiGeneratorPlugin - Class in io.asyncapi.generator
 
AsyncApiGeneratorPlugin() - Constructor for class io.asyncapi.generator.AsyncApiGeneratorPlugin
 

C

CodeGenerator - Class in io.asyncapi.generator.codegen
Main orchestrator.
CodeGenerator(Map<String, Object>, String, File, boolean, boolean) - Constructor for class io.asyncapi.generator.codegen.CodeGenerator
 

G

generate() - Method in class io.asyncapi.generator.codegen.CodeGenerator
Entry point.
generate() - Method in class io.asyncapi.generator.GenerateAsyncApiTask
 
GenerateAsyncApiTask - Class in io.asyncapi.generator
 
GenerateAsyncApiTask() - Constructor for class io.asyncapi.generator.GenerateAsyncApiTask
 
getBasePackage() - Method in class io.asyncapi.generator.AsyncApiExtension
Base Java package for generated sources.
getBasePackage() - Method in class io.asyncapi.generator.GenerateAsyncApiTask
 
getGenerateKafkaConfig() - Method in class io.asyncapi.generator.AsyncApiExtension
Whether to generate a KafkaConfig bean class.
getGenerateKafkaConfig() - Method in class io.asyncapi.generator.GenerateAsyncApiTask
 
getInputFile() - Method in class io.asyncapi.generator.AsyncApiExtension
Path to the AsyncAPI spec file (YAML or JSON).
getInputFile() - Method in class io.asyncapi.generator.GenerateAsyncApiTask
 
getOutputDir() - Method in class io.asyncapi.generator.GenerateAsyncApiTask
 
getUseLombok() - Method in class io.asyncapi.generator.AsyncApiExtension
Whether to annotate models with Lombok (@Data, @Builder, etc.).
getUseLombok() - Method in class io.asyncapi.generator.GenerateAsyncApiTask
 

I

io.asyncapi.generator - package io.asyncapi.generator
 
io.asyncapi.generator.codegen - package io.asyncapi.generator.codegen
 

N

nameFromRef(String) - Static method in class io.asyncapi.generator.codegen.RefResolver
Extracts the terminal name from a $ref path.
NameUtils - Class in io.asyncapi.generator.codegen
 

R

RefResolver - Class in io.asyncapi.generator.codegen
Resolves JSON/YAML local $ref pointers within an AsyncAPI document.
RefResolver(Map<String, Object>) - Constructor for class io.asyncapi.generator.codegen.RefResolver
 
resolve(String) - Method in class io.asyncapi.generator.codegen.RefResolver
Resolves "#/path/to/thing" within the document root.
resolveIfRef(Map<String, Object>) - Method in class io.asyncapi.generator.codegen.RefResolver
If the map contains "$ref", resolve it; otherwise return the map itself.

S

safeFieldName(String) - Static method in class io.asyncapi.generator.codegen.NameUtils
Ensures a field name does not clash with Java keywords.

T

toClassName(String) - Static method in class io.asyncapi.generator.codegen.NameUtils
"user-signed-up" / "user_signed_up" / "user/signedup" в†’ "UserSignedup"
toConstantName(String) - Static method in class io.asyncapi.generator.codegen.NameUtils
"user/signedup" в†’ "USER_SIGNEDUP"
toJavaType(Map<String, Object>) - Static method in class io.asyncapi.generator.codegen.NameUtils
Maps an AsyncAPI schema type + format to a Java type string.
toLowerCamel(String) - Static method in class io.asyncapi.generator.codegen.NameUtils
"UserSignedup" в†’ "userSignedup"
A C G I N R S T 
All Classes and Interfaces|All Packages