Index
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form
A
- addJakartaBeanValidationAnnotations() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
addJakartaBeanValidationAnnotationsrecord component. - addJsonPropertyAnnotations() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
addJsonPropertyAnnotationsrecord component. - addMpOpenApiAnnotations() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
addMpOpenApiAnnotationsrecord component. - addMpRestClientAnnotations() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
addMpRestClientAnnotationsrecord component. - aggregatedImports() - Method in interface io.github.torand.openapi2java.model.EntityInfo
-
Gets the complete set of all imports for this entity and its sub-entities.
- aggregatedNormalImports() - Method in interface io.github.torand.openapi2java.model.EntityInfo
-
Gets the complete set of normal imports for this entity and its sub-entities.
- aggregatedNormalImports() - Method in record class io.github.torand.openapi2java.model.EnumInfo
- aggregatedNormalImports() - Method in record class io.github.torand.openapi2java.model.MethodInfo
- aggregatedNormalImports() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
- aggregatedNormalImports() - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
- aggregatedNormalImports() - Method in record class io.github.torand.openapi2java.model.PojoInfo
- aggregatedNormalImports() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
- aggregatedNormalImports() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
- aggregatedNormalImports() - Method in record class io.github.torand.openapi2java.model.TypeInfo
- aggregatedStaticImports() - Method in interface io.github.torand.openapi2java.model.EntityInfo
-
Gets the complete set of static imports for this entity and its sub-entities.
- aggregatedStaticImports() - Method in record class io.github.torand.openapi2java.model.EnumInfo
- aggregatedStaticImports() - Method in record class io.github.torand.openapi2java.model.MethodInfo
- aggregatedStaticImports() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
- aggregatedStaticImports() - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
- aggregatedStaticImports() - Method in record class io.github.torand.openapi2java.model.PojoInfo
- aggregatedStaticImports() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
- aggregatedStaticImports() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
- aggregatedStaticImports() - Method in record class io.github.torand.openapi2java.model.TypeInfo
- AnnotatedTypeName - Class in io.github.torand.openapi2java.model
-
Describes a full type name including its bean validation annotations.
- AnnotatedTypeName(List<String>) - Constructor for class io.github.torand.openapi2java.model.AnnotatedTypeName
-
Constructs an
AnnotatedTypeNameobject. - annotation() - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns the value of the
annotationrecord component. - annotation() - Method in record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Returns the value of the
annotationrecord component. - AnnotationInfo - Record Class in io.github.torand.openapi2java.model
-
Describes an annotation.
- AnnotationInfo() - Constructor for record class io.github.torand.openapi2java.model.AnnotationInfo
-
Constructs an
AnnotationInfoobject. - AnnotationInfo(String) - Constructor for record class io.github.torand.openapi2java.model.AnnotationInfo
-
Constructs an
AnnotationInfoobject. - AnnotationInfo(String, ImportInfo) - Constructor for record class io.github.torand.openapi2java.model.AnnotationInfo
-
Creates an instance of a
AnnotationInforecord class. - AnnotationInfo(String, String) - Constructor for record class io.github.torand.openapi2java.model.AnnotationInfo
-
Constructs an
AnnotationInfoobject. - annotations() - Method in class io.github.torand.openapi2java.model.AnnotatedTypeName
-
Gets the main type bean validation annotations.
- annotations() - Method in interface io.github.torand.openapi2java.model.EntityInfo
-
Gets the annotations decorating this entity.
- annotations() - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns the value of the
annotationsrecord component. - annotations() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
annotationsrecord component. - annotationsAsString() - Method in class io.github.torand.openapi2java.model.AnnotatedTypeName
-
Gets the main type bean validation annotations combined into a space delimited string.
- annotationsAsStrings() - Method in interface io.github.torand.openapi2java.model.EntityInfo
-
Gets the annotations decorating this entity, formatted as strings.
- asString() - Method in class io.github.torand.openapi2java.model.AnnotatedTypeName
-
Gets the items of the annotated type name combined into a space delimited string.
B
- BaseCollector - Class in io.github.torand.openapi2java.collectors
-
Base class for all collectors.
- BaseCollector(Options) - Constructor for class io.github.torand.openapi2java.collectors.BaseCollector
-
Constructs a
BaseCollectorobject. - BaseWriter - Class in io.github.torand.openapi2java.writers
-
Base class for all code writers.
- BaseWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.BaseWriter
-
Constructs a
BaseWriterobject.
C
- close() - Method in class io.github.torand.openapi2java.writers.BaseWriter
- close() - Method in interface io.github.torand.openapi2java.writers.EnumWriter
- close() - Method in interface io.github.torand.openapi2java.writers.OpenApiDefWriter
- close() - Method in interface io.github.torand.openapi2java.writers.PojoWriter
- close() - Method in interface io.github.torand.openapi2java.writers.ResourceWriter
- comment() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns the value of the
commentrecord component. - ComponentResolver - Class in io.github.torand.openapi2java.collectors
-
Resolves all components referenced in an OpenAPI specification.
- ComponentResolver(OpenAPI) - Constructor for class io.github.torand.openapi2java.collectors.ComponentResolver
-
Constructs a
ComponentResolverobject. - constants() - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns the value of the
constantsrecord component. - ConstantValue - Record Class in io.github.torand.openapi2java.model
-
Describes a constant value.
- ConstantValue(String) - Constructor for record class io.github.torand.openapi2java.model.ConstantValue
-
Constructs an
ConstantValueobject. - ConstantValue(String, ImportInfo) - Constructor for record class io.github.torand.openapi2java.model.ConstantValue
-
Creates an instance of a
ConstantValuerecord class. - createEnumWriter(String, Options, String) - Static method in class io.github.torand.openapi2java.writers.WriterFactory
- createOpenApiDefWriter(String, Options) - Static method in class io.github.torand.openapi2java.writers.WriterFactory
- createPojoWriter(String, Options, String) - Static method in class io.github.torand.openapi2java.writers.WriterFactory
- createResourceWriter(String, Options) - Static method in class io.github.torand.openapi2java.writers.WriterFactory
D
- defaults() - Static method in record class io.github.torand.openapi2java.generators.Options
-
Returns the default settings.
- deprecationMessage() - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns the value of the
deprecationMessagerecord component. - deprecationMessage() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns the value of the
deprecationMessagerecord component. - deprecationMessage() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns the value of the
deprecationMessagerecord component. - deprecationMessage() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns the value of the
deprecationMessagerecord component. - description() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
descriptionrecord component. - dirPath2PackagePath(String) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Converts a directory path into a package path.
E
- empty() - Static method in record class io.github.torand.openapi2java.model.ImportInfo
-
Creates an
ImportInfoobject with no imports. - EntityInfo - Interface in io.github.torand.openapi2java.model
-
Defines basic information about an entity.
- EnumInfo - Record Class in io.github.torand.openapi2java.model
-
Describes an enum class.
- EnumInfo(String, List<String>) - Constructor for record class io.github.torand.openapi2java.model.EnumInfo
-
Constructs an
EnumInfoobject. - EnumInfo(String, List<String>, String, String, List<AnnotationInfo>) - Constructor for record class io.github.torand.openapi2java.model.EnumInfo
-
Creates an instance of a
EnumInforecord class. - EnumInfoCollector - Class in io.github.torand.openapi2java.collectors
-
Collects information about an enum from a schema.
- EnumInfoCollector(Options) - Constructor for class io.github.torand.openapi2java.collectors.EnumInfoCollector
- EnumWriter - Interface in io.github.torand.openapi2java.writers
-
Defines a code writer for enums.
- equals(Object) - Method in record class io.github.torand.openapi2java.generators.Options
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.ConstantValue
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Indicates whether some other object is "equal to" this one.
- equals(Object) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Indicates whether some other object is "equal to" this one.
- execute() - Method in class io.github.torand.openapi2java.HelpMojo
- execute() - Method in class io.github.torand.openapi2java.OpenApi2JavaMojo
- EXT_DEPRECATION_MESSAGE - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
Describing why something is deprecated, and what to use instead.
- EXT_JSON_SERIALIZER - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
Fully qualified classname of a JSON serializer class for the schema.
- EXT_MODEL_SUBDIR - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
Subdirectory to place the generated DTO model class.
- EXT_NULLABLE - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
If `true` the type of the schema/property can be `null`.
- EXT_RESTCLIENT_CONFIGKEY - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
Config key used for getting MP Rest Client config.
- EXT_RESTCLIENT_HEADERS - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
Map of custom client header names and their values.
- EXT_RESTCLIENT_HEADERSFACTORY - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
Fully qualified classname of an MP Rest Client header factory.
- EXT_RESTCLIENT_PROVIDERS - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
Array of fully qualified classnames of MP Rest Client providers.
- EXT_VALIDATION_CONSTRAINT - Static variable in class io.github.torand.openapi2java.collectors.Extensions
-
Fully qualified classname of an annotation class to validate the schema.
- extensions(Map<String, Object>) - Static method in class io.github.torand.openapi2java.collectors.Extensions
-
Returns an
Extensionsobject processing the specified OpenAPI extension map. - Extensions - Class in io.github.torand.openapi2java.collectors
-
Handles custom OpenAPI format extensions.
F
- FORCE_NOT_NULLABLE - Enum constant in enum class io.github.torand.openapi2java.collectors.TypeInfoCollector.NullabilityResolution
- FORCE_NULLABLE - Enum constant in enum class io.github.torand.openapi2java.collectors.TypeInfoCollector.NullabilityResolution
- formatAnnotationDefaultParam(List<String>) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Formats a default parameter value for an annotation.
- formatAnnotationNamedParam(List<String>) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Formats a named parameter for an annotation.
- formatClassRef(String) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Formats given class name to language specific class reference.
- formatDeprecationMessage(Map<String, Object>) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Formats a deprecation message.
- formatInnerAnnotation(String, Object...) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Formats an annotation for use as parameter value for an outer annotation.
- FROM_SCHEMA - Enum constant in enum class io.github.torand.openapi2java.collectors.TypeInfoCollector.NullabilityResolution
G
- generate(OpenAPI) - Method in class io.github.torand.openapi2java.generators.ModelGenerator
- generate(OpenAPI) - Method in class io.github.torand.openapi2java.generators.OpenApiDefGenerator
- generate(OpenAPI) - Method in class io.github.torand.openapi2java.generators.ResourceGenerator
- generateOpenApiDefClass() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
generateOpenApiDefClassrecord component. - generateResourceInterfaces() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
generateResourceInterfacesrecord component. - get(String) - Method in class io.github.torand.openapi2java.collectors.HeaderResolver
- get(String) - Method in class io.github.torand.openapi2java.collectors.ParameterResolver
- get(String) - Method in class io.github.torand.openapi2java.collectors.ResponseResolver
- get(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
- get(String) - Method in class io.github.torand.openapi2java.collectors.SecuritySchemeResolver
- getAnnotatedFullName() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Gets full type name, including bean validation annotations.
- getBoolean(String) - Method in class io.github.torand.openapi2java.collectors.Extensions
-
Gets value of a boolean extension property.
- getClassNameFromFqn(String) - Static method in class io.github.torand.openapi2java.utils.StringUtils
-
Returns the class base name from specified fully qualified class name.
- getEnumInfo(String, Schema<?>) - Method in class io.github.torand.openapi2java.collectors.EnumInfoCollector
- getFileExtension() - Method in record class io.github.torand.openapi2java.generators.Options
-
Gets the language specific code file extension.
- getFullName() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Gets the full name of Java/Kotlin type including generic composites.
- getHeaderName(String) - Method in class io.github.torand.openapi2java.collectors.HeaderResolver
- getHeaderNameConstant(String) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Gets header name constant from specified header name.
- getMap(String) - Method in class io.github.torand.openapi2java.collectors.Extensions
-
Gets value of a map extension property.
- getMethodInfo(String, String, Operation) - Method in class io.github.torand.openapi2java.collectors.MethodInfoCollector
- getModelOutputDir(String) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified model output directory. - getModelPackage(String) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified model package. - getModelSubpackage(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
- getNonNullableSubSchema(List<Schema<?>>) - Method in class io.github.torand.openapi2java.collectors.TypeInfoCollector
- getOpenApiDefInfo(String, List<SecurityRequirement>) - Method in class io.github.torand.openapi2java.collectors.OpenApiDefInfoCollector
- getOrThrow(String) - Method in class io.github.torand.openapi2java.collectors.HeaderResolver
- getOrThrow(String) - Method in class io.github.torand.openapi2java.collectors.ParameterResolver
- getOrThrow(String) - Method in class io.github.torand.openapi2java.collectors.ResponseResolver
- getOrThrow(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
- getOrThrow(String) - Method in class io.github.torand.openapi2java.collectors.SecuritySchemeResolver
- getParameterName(String) - Method in class io.github.torand.openapi2java.collectors.ParameterResolver
- getPojoInfo(String, Schema<?>) - Method in class io.github.torand.openapi2java.collectors.PojoInfoCollector
- getPropertyInfo(String, Schema<?>, boolean) - Method in class io.github.torand.openapi2java.collectors.PropertyInfoCollector
- getResourceInfo(String, Map<String, PathItem>, List<SecurityRequirement>, Tag) - Method in class io.github.torand.openapi2java.collectors.ResourceInfoCollector
- getResponseName(String) - Method in class io.github.torand.openapi2java.collectors.ResponseResolver
- getSequrityRequirementInfo(List<SecurityRequirement>) - Method in class io.github.torand.openapi2java.collectors.SecurityRequirementCollector
- getString(String) - Method in class io.github.torand.openapi2java.collectors.Extensions
-
Gets value of a string extension property.
- getStringArray(String) - Method in class io.github.torand.openapi2java.collectors.Extensions
-
Gets value of a string array extension property.
- getTypeInfo(Schema<?>, TypeInfoCollector.NullabilityResolution) - Method in class io.github.torand.openapi2java.collectors.TypeInfoCollector
- getTypeInfo(Schema<T>) - Method in class io.github.torand.openapi2java.collectors.TypeInfoCollector
- getTypeName(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
H
- hasAnnotations() - Method in class io.github.torand.openapi2java.model.AnnotatedTypeName
-
Returns whether the main type has any bean validation annotations.
- hashCode() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.ConstantValue
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Returns a hash code value for this object.
- hashCode() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a hash code value for this object.
- HeaderResolver - Class in io.github.torand.openapi2java.collectors
-
Resolves header components referenced in an OpenAPI specification.
- headers() - Method in class io.github.torand.openapi2java.collectors.ComponentResolver
-
Gets a header resolver.
- HelpMojo - Class in io.github.torand.openapi2java
-
Display help information on openapi2java.
Callmvn openapi2java:help -Ddetail=true -Dgoal=<goal-name>to display parameter details. - HelpMojo() - Constructor for class io.github.torand.openapi2java.HelpMojo
I
- ImportInfo - Record Class in io.github.torand.openapi2java.model
-
Describes a collection of imports and static imports.
- ImportInfo(Set<String>, Set<String>) - Constructor for record class io.github.torand.openapi2java.model.ImportInfo
-
Creates an instance of a
ImportInforecord class. - imports() - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns the value of the
importsrecord component. - imports() - Method in record class io.github.torand.openapi2java.model.ConstantValue
-
Returns the value of the
importsrecord component. - imports() - Method in record class io.github.torand.openapi2java.model.ImportInfo
- imports() - Method in interface io.github.torand.openapi2java.model.ImportsSupplier
-
Gets the imports.
- imports() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns the value of the
importsrecord component. - imports() - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Returns the value of the
importsrecord component. - imports() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns the value of the
importsrecord component. - imports() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
importsrecord component. - ImportsSupplier - Interface in io.github.torand.openapi2java.model
-
Defines a supplier of an
ImportInfoobject. - includeTags() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
includeTagsrecord component. - indentSize() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
indentSizerecord component. - indentWithTab() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
indentWithTabrecord component. - io.github.torand.openapi2java - package io.github.torand.openapi2java
-
Provides classes to create a Maven Plugin (Mojo)
- io.github.torand.openapi2java.collectors - package io.github.torand.openapi2java.collectors
-
Provides classes to collect relevant information from an OpenAPI specification.
- io.github.torand.openapi2java.generators - package io.github.torand.openapi2java.generators
-
Provides classes to generate source code from collected OpenAPI information.
- io.github.torand.openapi2java.model - package io.github.torand.openapi2java.model
-
Provides classes to keep collected information from an OpenAPI specification.
- io.github.torand.openapi2java.utils - package io.github.torand.openapi2java.utils
-
Provides utility classes and interfaces.
- io.github.torand.openapi2java.writers - package io.github.torand.openapi2java.writers
-
Provides classes and interfaces to write source code based on collected OpenAPI information.
- io.github.torand.openapi2java.writers.java - package io.github.torand.openapi2java.writers.java
-
Provides classes to write Java source code based on collected OpenAPI information.
- io.github.torand.openapi2java.writers.kotlin - package io.github.torand.openapi2java.writers.kotlin
-
Provides classes to write Kotlin source code based on collected OpenAPI information.
- isArray() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Gets whether this is an array type.
- isArrayType(Schema<?>) - Static method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isArrayType(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isCompoundType(Schema<?>) - Static method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isCompoundType(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isDeprecated() - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Indicates whether the method is deprecated.
- isDeprecated() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Gets whether parameter is nullable.
- isDeprecated() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Gets whether pojo is deprecated.
- isDeprecated() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Gets whether property is deprecated.
- isEmpty() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Gets whether pojo has no properties.
- isEmpty() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Gets whether resource has no methods.
- isEnumType(Schema<?>) - Static method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isEnumType(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isHeaderParameter(String) - Method in class io.github.torand.openapi2java.collectors.ParameterResolver
- isNullable(Schema<?>) - Method in class io.github.torand.openapi2java.collectors.TypeInfoCollector
- isObjectType(Schema<?>) - Static method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isObjectType(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isPathParameter(String) - Method in class io.github.torand.openapi2java.collectors.ParameterResolver
- isPrimitiveType(Schema<?>) - Static method in class io.github.torand.openapi2java.collectors.SchemaResolver
-
Indicates if schema represents a non-enumerated primitive JSON type, i.e. string, number, integer or boolean
- isPrimitiveType(String) - Method in class io.github.torand.openapi2java.collectors.SchemaResolver
- isQueryParameter(String) - Method in class io.github.torand.openapi2java.collectors.ParameterResolver
- items() - Method in class io.github.torand.openapi2java.model.AnnotatedTypeName
-
Gets the annotation and type name items.
- itemType() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
itemTyperecord component.
J
- JavaEnumWriter - Class in io.github.torand.openapi2java.writers.java
-
Writes Java code for an enum.
- JavaEnumWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.java.JavaEnumWriter
- JavaOpenApiDefWriter - Class in io.github.torand.openapi2java.writers.java
-
Writes Java code for an OpenAPI definition.
- JavaOpenApiDefWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.java.JavaOpenApiDefWriter
- JavaPojoWriter - Class in io.github.torand.openapi2java.writers.java
-
Writes Java code for a pojo.
- JavaPojoWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.java.JavaPojoWriter
- JavaResourceWriter - Class in io.github.torand.openapi2java.writers.java
-
Writes Java code for a resource.
- JavaResourceWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.java.JavaResourceWriter
- joinCsv(List<String>) - Static method in class io.github.torand.openapi2java.utils.StringUtils
-
Returns specified values as a comma-delimited string.
K
- keyType() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
keyTyperecord component. - KotlinEnumWriter - Class in io.github.torand.openapi2java.writers.kotlin
-
Writes Kotlin code for an enum.
- KotlinEnumWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.kotlin.KotlinEnumWriter
- KotlinOpenApiDefWriter - Class in io.github.torand.openapi2java.writers.kotlin
-
Writes Kotlin code for an OpenAPI definition.
- KotlinOpenApiDefWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.kotlin.KotlinOpenApiDefWriter
- KotlinPojoWriter - Class in io.github.torand.openapi2java.writers.kotlin
-
Writes Kotlin code for a pojo.
- KotlinPojoWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.kotlin.KotlinPojoWriter
- KotlinResourceWriter - Class in io.github.torand.openapi2java.writers.kotlin
-
Writes Kotlin code for a resource.
- KotlinResourceWriter(Writer, Options) - Constructor for class io.github.torand.openapi2java.writers.kotlin.KotlinResourceWriter
- KotlinTypeMapper - Class in io.github.torand.openapi2java.utils
M
- MethodInfo - Record Class in io.github.torand.openapi2java.model
-
Describes a method.
- MethodInfo(String) - Constructor for record class io.github.torand.openapi2java.model.MethodInfo
-
Constructs a
MethodInfoobject. - MethodInfo(String, List<MethodParamInfo>, String, String, List<AnnotationInfo>) - Constructor for record class io.github.torand.openapi2java.model.MethodInfo
-
Creates an instance of a
MethodInforecord class. - MethodInfoCollector - Class in io.github.torand.openapi2java.collectors
-
Collects information about a method from an operation.
- MethodInfoCollector(ComponentResolver, TypeInfoCollector, Options) - Constructor for class io.github.torand.openapi2java.collectors.MethodInfoCollector
- MethodParamInfo - Record Class in io.github.torand.openapi2java.model
-
Describes a method parameter.
- MethodParamInfo() - Constructor for record class io.github.torand.openapi2java.model.MethodParamInfo
-
Constructs a
MethodParamInfoobject. - MethodParamInfo(String) - Constructor for record class io.github.torand.openapi2java.model.MethodParamInfo
-
Constructs a
MethodParamInfoobject. - MethodParamInfo(String, ImportInfo, List<AnnotationInfo>, TypeInfo, String, boolean, String) - Constructor for record class io.github.torand.openapi2java.model.MethodParamInfo
-
Creates an instance of a
MethodParamInforecord class. - methods() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns the value of the
methodsrecord component. - ModelGenerator - Class in io.github.torand.openapi2java.generators
-
Generates source code for models (pojos).
- ModelGenerator(Options) - Constructor for class io.github.torand.openapi2java.generators.ModelGenerator
- modelName2SchemaName(String) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Converts a model (pojo) name into a schema name.
- modelSubdir() - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns the value of the
modelSubdirrecord component. - modelSubdir() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns the value of the
modelSubdirrecord component. - modelSubpackage() - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns the value of the
modelSubpackagerecord component. - modelSubpackage() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns the value of the
modelSubpackagerecord component.
N
- name() - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns the value of the
namerecord component. - name() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
namerecord component. - normalImports() - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Returns the value of the
normalImportsrecord component. - normalizeDescription(String) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Modifies the description text for further use in code generation.
- normalizePath(String) - Method in class io.github.torand.openapi2java.collectors.BaseCollector
-
Modifies the path string for further use in code generation.
- nullable() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns the value of the
nullablerecord component. - nullable() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
nullablerecord component.
O
- OpenApi2JavaException - Exception Class in io.github.torand.openapi2java.utils
-
Generic runtime exception thrown by this plugin.
- OpenApi2JavaException(String) - Constructor for exception class io.github.torand.openapi2java.utils.OpenApi2JavaException
-
Creates a runtime exception.
- OpenApi2JavaException(String, Throwable) - Constructor for exception class io.github.torand.openapi2java.utils.OpenApi2JavaException
-
Creates a runtime exception.
- OpenApi2JavaException(Throwable) - Constructor for exception class io.github.torand.openapi2java.utils.OpenApi2JavaException
-
Creates a runtime exception.
- OpenApi2JavaMojo - Class in io.github.torand.openapi2java
-
Generates source code for a REST-API with resource interfaces and representation model classes based on an OpenAPI specification file.
- OpenApi2JavaMojo() - Constructor for class io.github.torand.openapi2java.OpenApi2JavaMojo
- OpenApiDefGenerator - Class in io.github.torand.openapi2java.generators
-
Generates source code for OpenAPI definitions.
- OpenApiDefGenerator(Options) - Constructor for class io.github.torand.openapi2java.generators.OpenApiDefGenerator
- OpenApiDefInfo - Record Class in io.github.torand.openapi2java.model
-
Describes an OpenAPI definition.
- OpenApiDefInfo(String) - Constructor for record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Constructs an
OpenApiDefInfoobject. - OpenApiDefInfo(String, ImportInfo, List<AnnotationInfo>) - Constructor for record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Creates an instance of a
OpenApiDefInforecord class. - OpenApiDefInfoCollector - Class in io.github.torand.openapi2java.collectors
-
Collects information about an OpenAPI definition from a collection of security requirements.
- OpenApiDefInfoCollector(ComponentResolver, Options) - Constructor for class io.github.torand.openapi2java.collectors.OpenApiDefInfoCollector
- OpenApiDefWriter - Interface in io.github.torand.openapi2java.writers
-
Defines a code writer for OpenAPI definitions.
- Options - Record Class in io.github.torand.openapi2java.generators
-
Contains configuration of the source code generators.
- Options(String, String, String, String, String, String, String, List<String>, String, boolean, List<String>, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, boolean, int, boolean) - Constructor for record class io.github.torand.openapi2java.generators.Options
-
Creates an instance of a
Optionsrecord class. - opts - Variable in class io.github.torand.openapi2java.collectors.BaseCollector
-
The plugin options.
- opts - Variable in class io.github.torand.openapi2java.writers.BaseWriter
-
The plugin options.
- outputDir() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
outputDirrecord component.
P
- ParameterResolver - Class in io.github.torand.openapi2java.collectors
-
Resolves parameter components referenced in an OpenAPI specification.
- parameters() - Method in class io.github.torand.openapi2java.collectors.ComponentResolver
-
Gets a parameter resolver.
- parameters() - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns the value of the
parametersrecord component. - pluralSuffix(int) - Static method in class io.github.torand.openapi2java.utils.StringUtils
-
Gets the plural suffix based on specified cardinality.
- PojoInfo - Record Class in io.github.torand.openapi2java.model
-
Describes a pojo.
- PojoInfo(String) - Constructor for record class io.github.torand.openapi2java.model.PojoInfo
-
Constructs a
PojoInfoobject. - PojoInfo(String, String, String, List<AnnotationInfo>, List<PropertyInfo>, String) - Constructor for record class io.github.torand.openapi2java.model.PojoInfo
-
Creates an instance of a
PojoInforecord class. - PojoInfoCollector - Class in io.github.torand.openapi2java.collectors
-
Collects information about a pojo from a schema.
- PojoInfoCollector(SchemaResolver, Options) - Constructor for class io.github.torand.openapi2java.collectors.PojoInfoCollector
- pojoNameSuffix() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
pojoNameSuffixrecord component. - pojosAsRecords() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
pojosAsRecordsrecord component. - PojoWriter - Interface in io.github.torand.openapi2java.writers
-
Defines a code writer for pojos.
- primitive() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
primitiverecord component. - properties() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns the value of the
propertiesrecord component. - PropertyInfo - Record Class in io.github.torand.openapi2java.model
-
Describes a property.
- PropertyInfo(String) - Constructor for record class io.github.torand.openapi2java.model.PropertyInfo
-
Constructs a
PropertyInfoobject. - PropertyInfo(String, TypeInfo, boolean, List<AnnotationInfo>, String) - Constructor for record class io.github.torand.openapi2java.model.PropertyInfo
-
Creates an instance of a
PropertyInforecord class. - PropertyInfoCollector - Class in io.github.torand.openapi2java.collectors
-
Collects information about a property from a schema.
- PropertyInfoCollector(SchemaResolver, Options) - Constructor for class io.github.torand.openapi2java.collectors.PropertyInfoCollector
R
- removeLineBreaks(String) - Static method in class io.github.torand.openapi2java.utils.StringUtils
-
Returns specified string with line break characters removed.
- required() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns the value of the
requiredrecord component. - resourceClientHeadersFactoryOverride() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
resourceClientHeadersFactoryOverriderecord component. - resourceConfigKeyOverride() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
resourceConfigKeyOverriderecord component. - ResourceGenerator - Class in io.github.torand.openapi2java.generators
-
Generates source code for resources.
- ResourceGenerator(Options) - Constructor for class io.github.torand.openapi2java.generators.ResourceGenerator
- ResourceInfo - Record Class in io.github.torand.openapi2java.model
-
Describes a resource.
- ResourceInfo(String) - Constructor for record class io.github.torand.openapi2java.model.ResourceInfo
-
Constructs a
ResourceInfoobject. - ResourceInfo(String, ImportInfo, List<AnnotationInfo>, List<MethodInfo>) - Constructor for record class io.github.torand.openapi2java.model.ResourceInfo
-
Creates an instance of a
ResourceInforecord class. - ResourceInfoCollector - Class in io.github.torand.openapi2java.collectors
-
Collects information about a resource from a collection of path items.
- ResourceInfoCollector(ComponentResolver, Options) - Constructor for class io.github.torand.openapi2java.collectors.ResourceInfoCollector
- resourceNameOverride() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
resourceNameOverriderecord component. - resourceNameSuffix() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
resourceNameSuffixrecord component. - resourceProvidersOverride() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
resourceProvidersOverriderecord component. - ResourceWriter - Interface in io.github.torand.openapi2java.writers
-
Defines a code writer for resources.
- ResponseResolver - Class in io.github.torand.openapi2java.collectors
-
Resolves response components referenced in an OpenAPI specification.
- responses() - Method in class io.github.torand.openapi2java.collectors.ComponentResolver
-
Gets a response resolver.
- returnType() - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns the value of the
returnTyperecord component. - rootPackage() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
rootPackagerecord component. - rootUrlPath() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
rootUrlPathrecord component.
S
- schemaFormat() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
schemaFormatrecord component. - schemaPattern() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns the value of the
schemaPatternrecord component. - SchemaResolver - Class in io.github.torand.openapi2java.collectors
-
Resolves schema components referenced in an OpenAPI specification.
- schemas() - Method in class io.github.torand.openapi2java.collectors.ComponentResolver
-
Gets a schema resolver.
- scheme() - Method in record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Returns the value of the
schemerecord component. - scopes() - Method in record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Returns the value of the
scopesrecord component. - SecurityRequirementCollector - Class in io.github.torand.openapi2java.collectors
-
Collects information about a security requirement from a collection of OpenAPI security requirements.
- SecurityRequirementCollector(Options) - Constructor for class io.github.torand.openapi2java.collectors.SecurityRequirementCollector
- SecurityRequirementInfo - Record Class in io.github.torand.openapi2java.model
-
Describes a security requirement.
- SecurityRequirementInfo(String) - Constructor for record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Constructs a
SecurityRequirementInfoobject. - SecurityRequirementInfo(String, List<String>, AnnotationInfo) - Constructor for record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Creates an instance of a
SecurityRequirementInforecord class. - SecuritySchemeResolver - Class in io.github.torand.openapi2java.collectors
-
Resolves header security schemes referenced in an OpenAPI specification.
- securitySchemes() - Method in class io.github.torand.openapi2java.collectors.ComponentResolver
-
Gets a security scheme resolver.
- staticImports() - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Returns the value of the
staticImportsrecord component. - StringUtils - Class in io.github.torand.openapi2java.utils
-
A collection of String utilities.
T
- toKotlinNative(String) - Static method in class io.github.torand.openapi2java.utils.KotlinTypeMapper
- toString() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.ConstantValue
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Returns a string representation of this record class.
- toString() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a string representation of this record class.
- type() - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns the value of the
typerecord component. - type() - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns the value of the
typerecord component. - TypeInfo - Record Class in io.github.torand.openapi2java.model
-
Describes a type.
- TypeInfo() - Constructor for record class io.github.torand.openapi2java.model.TypeInfo
-
Constructs an
TypeInfoobject. - TypeInfo(String, String, boolean, TypeInfo, boolean, TypeInfo, String, String, List<AnnotationInfo>, ImportInfo) - Constructor for record class io.github.torand.openapi2java.model.TypeInfo
-
Creates an instance of a
TypeInforecord class. - TypeInfoCollector - Class in io.github.torand.openapi2java.collectors
-
Collects information about a type from a schema.
- TypeInfoCollector(SchemaResolver, Options) - Constructor for class io.github.torand.openapi2java.collectors.TypeInfoCollector
- TypeInfoCollector.NullabilityResolution - Enum Class in io.github.torand.openapi2java.collectors
- typeName() - Method in class io.github.torand.openapi2java.model.AnnotatedTypeName
-
Gets the full type name including any bean validation annotations in subtypes.
U
- useKotlinSyntax() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
useKotlinSyntaxrecord component. - useOidcClientAnnotation() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
useOidcClientAnnotationrecord component. - useResteasyResponse() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
useResteasyResponserecord component.
V
- value() - Method in record class io.github.torand.openapi2java.model.ConstantValue
-
Returns the value of the
valuerecord component. - valueOf(String) - Static method in enum class io.github.torand.openapi2java.collectors.TypeInfoCollector.NullabilityResolution
-
Returns the enum constant of this class with the specified name.
- values() - Static method in enum class io.github.torand.openapi2java.collectors.TypeInfoCollector.NullabilityResolution
-
Returns an array containing the constants of this enum class, in the order they are declared.
- verbose() - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns the value of the
verboserecord component.
W
- withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns a new
EnumInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns a new
MethodInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a new
MethodParamInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Returns a new
OpenApiDefInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns a new
PropertyInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns a new
ResourceInfoobject with specified annotation added. - withAddedAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified annotation added. - withAddedAnnotations(Collection<AnnotationInfo>) - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns a new
MethodInfoobject with specified annotations added. - withAddedAnnotations(Collection<AnnotationInfo>) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a new
MethodParamInfoobject with specified annotations added. - withAddedAnnotations(Collection<AnnotationInfo>) - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns a new
ResourceInfoobject with specified annotations added. - withAddedImports(ImportsSupplier) - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns a new
AnnotationInfoobject with specified imports added. - withAddedImports(ImportsSupplier) - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Returns a new
ImportInfoobject with all imports from specified supplier added. - withAddedImports(ImportsSupplier) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a new
MethodParamInfoobject with specified imports added. - withAddedImports(Collection<? extends ImportsSupplier>) - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns a new
AnnotationInfoobject with specified imports added. - withAddedImports(Collection<? extends ImportsSupplier>) - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Returns a new
ImportInfoobject with all imports from specified suppliers added. - withAddedMethod(MethodInfo) - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns a new
ResourceInfoobject with specified method added. - withAddedNormalImport(String) - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns a new
AnnotationInfoobject with specified normal import added. - withAddedNormalImport(String) - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Returns a new
ImportInfoobject with specified normal import added. - withAddedNormalImport(String) - Method in record class io.github.torand.openapi2java.model.OpenApiDefInfo
-
Returns a new
OpenApiDefInfoobject with specified normal import added. - withAddedNormalImport(String) - Method in record class io.github.torand.openapi2java.model.ResourceInfo
-
Returns a new
ResourceInfoobject with specified normal import added. - withAddedNormalImport(String) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified normal import added. - withAddedParameters(Collection<MethodParamInfo>) - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns a new
MethodInfoobject with specified parameters added. - withAddedProperties(Collection<PropertyInfo>) - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified properties added. - withAddedStaticImport(String) - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns a new
AnnotationInfoobject with specified static import added. - withAddedStaticImport(String) - Method in record class io.github.torand.openapi2java.model.ImportInfo
-
Returns a new
ImportInfoobject with specified static import added. - withAnnotation(AnnotationInfo) - Method in record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Returns a new
SecurityRequirementInfoobject with specified OpenAPI annotation. - withAnnotation(String) - Method in record class io.github.torand.openapi2java.model.AnnotationInfo
-
Returns a new
AnnotationInfoobject with annotation. - withComment(String) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a new
MethodParamInfoobject with specified comment. - withDeprecationMessage(String) - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns a new
MethodInfoobject with specified deprecation message. - withDeprecationMessage(String) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a new
MethodParamInfoobject with specified deprecation message. - withDeprecationMessage(String) - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified deprecation message. - withDeprecationMessage(String) - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns a new
PropertyInfoobject with specified deprecation message. - withDescription(String) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified description. - withIncludeTags(List<String>) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified included tags. - withItemType(TypeInfo) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified item type. - withKeyType(TypeInfo) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified key type. - withModelSubdir(String) - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns a new
EnumInfoobject with specified model subdirectory. - withModelSubdir(String) - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified model subdirectory. - withModelSubpackage(String) - Method in record class io.github.torand.openapi2java.model.EnumInfo
-
Returns a new
EnumInfoobject with specified model subpackage. - withModelSubpackage(String) - Method in record class io.github.torand.openapi2java.model.PojoInfo
-
Returns a new
PojoInfoobject with specified model subpackage. - withName(String) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a new
MethodParamInfoobject with specified name. - withName(String) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified name. - withNoAnnotations() - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
PojoInfoobject with no annotations. - withNullable(boolean) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a new
MethodParamInfoobject with specified nullable flag. - withNullable(boolean) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified nullable flag. - withOutputDir(String) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified output directory. - withPrimitive(boolean) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified primitive flag. - withRequired(boolean) - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns a new
PropertyInfoobject with specified required flag. - withResourceClientHeadersFactoryOverride(String) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified resource client headers factory override. - withResourceConfigKeyOverride(String) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified resource config-key override. - withResourceNameOverride(String) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified resource name override. - withResourceNameSuffix(String) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified resource name suffix. - withResourceProvidersOverride(List<String>) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified resource providers override. - withReturnType(String) - Method in record class io.github.torand.openapi2java.model.MethodInfo
-
Returns a new
MethodInfoobject with specified return type. - withRootPackage(String) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified root package. - withSchemaFormat(String) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified OpenAPI schema format. - withSchemaPattern(String) - Method in record class io.github.torand.openapi2java.model.TypeInfo
-
Returns a new
TypeInfoobject with specified OpenAPI schema pattern. - withScopes(Collection<String>) - Method in record class io.github.torand.openapi2java.model.SecurityRequirementInfo
-
Returns a new
SecurityRequirementInfoobject with specified scopes. - withStaticImport(String) - Method in record class io.github.torand.openapi2java.model.ConstantValue
-
Returns a new
ConstantValueobject with specified static import added. - withType(TypeInfo) - Method in record class io.github.torand.openapi2java.model.MethodParamInfo
-
Returns a new
MethodParamInfoobject with specified type. - withType(TypeInfo) - Method in record class io.github.torand.openapi2java.model.PropertyInfo
-
Returns a new
PropertyInfoobject with specified type. - withUseKotlinSyntax(boolean) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified use Kotlin flag. - withUseOidcClientAnnotation(boolean) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified use OIDC Client annotation flag. - withUseResteasyResponse(boolean) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified use RESTEasy flag. - withVerbose(boolean) - Method in record class io.github.torand.openapi2java.generators.Options
-
Returns a new
Optionsobject with specified verbose flag. - write(EnumInfo) - Method in interface io.github.torand.openapi2java.writers.EnumWriter
-
Writes code for specified enum.
- write(EnumInfo) - Method in class io.github.torand.openapi2java.writers.java.JavaEnumWriter
- write(EnumInfo) - Method in class io.github.torand.openapi2java.writers.kotlin.KotlinEnumWriter
- write(OpenApiDefInfo) - Method in class io.github.torand.openapi2java.writers.java.JavaOpenApiDefWriter
- write(OpenApiDefInfo) - Method in class io.github.torand.openapi2java.writers.kotlin.KotlinOpenApiDefWriter
- write(OpenApiDefInfo) - Method in interface io.github.torand.openapi2java.writers.OpenApiDefWriter
-
Writes code for specified OpenAPI definition.
- write(PojoInfo) - Method in class io.github.torand.openapi2java.writers.java.JavaPojoWriter
- write(PojoInfo) - Method in class io.github.torand.openapi2java.writers.kotlin.KotlinPojoWriter
- write(PojoInfo) - Method in interface io.github.torand.openapi2java.writers.PojoWriter
-
Writes code for specified pojo.
- write(ResourceInfo) - Method in class io.github.torand.openapi2java.writers.java.JavaResourceWriter
- write(ResourceInfo) - Method in class io.github.torand.openapi2java.writers.kotlin.KotlinResourceWriter
- write(ResourceInfo) - Method in interface io.github.torand.openapi2java.writers.ResourceWriter
-
Writes code for specified resource interface.
- write(String, Object...) - Method in class io.github.torand.openapi2java.writers.BaseWriter
-
Writes a formatted string without end-of-line.
- writeIndent(int) - Method in class io.github.torand.openapi2java.writers.BaseWriter
-
Writes specified number of indent levels.
- writeLine(String, Object...) - Method in class io.github.torand.openapi2java.writers.BaseWriter
-
Writes a formatted string with end-of-line.
- writeNewLine() - Method in class io.github.torand.openapi2java.writers.BaseWriter
-
Writes end-of-line.
- WriterFactory - Class in io.github.torand.openapi2java.writers
-
Provides factory methods to create code writers.
All Classes and Interfaces|All Packages|Constant Field Values|Serialized Form