Uses of Record Class
io.github.torand.openapi2java.model.TypeInfo
Packages that use TypeInfo
Package
Description
Provides classes to collect relevant information from an OpenAPI specification.
Provides classes to keep collected information from an OpenAPI specification.
-
Uses of TypeInfo in io.github.torand.openapi2java.collectors
Methods in io.github.torand.openapi2java.collectors that return TypeInfoModifier and TypeMethodDescriptionTypeInfoCollector.getTypeInfo(io.swagger.v3.oas.models.media.Schema<?> schema, TypeInfoCollector.NullabilityResolution nullabilityResolution) <T> TypeInfoTypeInfoCollector.getTypeInfo(io.swagger.v3.oas.models.media.Schema<T> schema) -
Uses of TypeInfo in io.github.torand.openapi2java.model
Methods in io.github.torand.openapi2java.model that return TypeInfoModifier and TypeMethodDescriptionTypeInfo.itemType()Returns the value of theitemTyperecord component.TypeInfo.keyType()Returns the value of thekeyTyperecord component.MethodParamInfo.type()Returns the value of thetyperecord component.PropertyInfo.type()Returns the value of thetyperecord component.TypeInfo.withAddedAnnotation(AnnotationInfo annotation) Returns a newTypeInfoobject with specified annotation added.TypeInfo.withAddedNormalImport(String normalImport) Returns a newTypeInfoobject with specified normal import added.TypeInfo.withDescription(String description) Returns a newTypeInfoobject with specified description.TypeInfo.withItemType(TypeInfo itemType) Returns a newTypeInfoobject with specified item type.TypeInfo.withKeyType(TypeInfo keyType) Returns a newTypeInfoobject with specified key type.Returns a newTypeInfoobject with specified name.TypeInfo.withNoAnnotations()Returns a newPojoInfoobject with no annotations.TypeInfo.withNullable(boolean nullable) Returns a newTypeInfoobject with specified nullable flag.TypeInfo.withPrimitive(boolean primitive) Returns a newTypeInfoobject with specified primitive flag.TypeInfo.withSchemaFormat(String schemaFormat) Returns a newTypeInfoobject with specified OpenAPI schema format.TypeInfo.withSchemaPattern(String schemaPattern) Returns a newTypeInfoobject with specified OpenAPI schema pattern.Methods in io.github.torand.openapi2java.model with parameters of type TypeInfoModifier and TypeMethodDescriptionTypeInfo.withItemType(TypeInfo itemType) Returns a newTypeInfoobject with specified item type.TypeInfo.withKeyType(TypeInfo keyType) Returns a newTypeInfoobject with specified key type.Returns a newMethodParamInfoobject with specified type.Returns a newPropertyInfoobject with specified type.Constructors in io.github.torand.openapi2java.model with parameters of type TypeInfoModifierConstructorDescriptionMethodParamInfo(String name, ImportInfo imports, List<AnnotationInfo> annotations, TypeInfo type, String comment, boolean nullable, String deprecationMessage) Creates an instance of aMethodParamInforecord class.PropertyInfo(String name, TypeInfo type, boolean required, List<AnnotationInfo> annotations, String deprecationMessage) Creates an instance of aPropertyInforecord class.TypeInfo(String name, String description, boolean nullable, TypeInfo keyType, boolean primitive, TypeInfo itemType, String schemaFormat, String schemaPattern, List<AnnotationInfo> annotations, ImportInfo imports) Creates an instance of aTypeInforecord class.