Class TypeInfoCollector
java.lang.Object
io.github.torand.openapi2java.collectors.BaseCollector
io.github.torand.openapi2java.collectors.TypeInfoCollector
Collects information about a type from a schema.
-
Nested Class Summary
Nested Classes -
Field Summary
Fields inherited from class io.github.torand.openapi2java.collectors.BaseCollector
opts -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionOptional<io.swagger.v3.oas.models.media.Schema> getNonNullableSubSchema(List<io.swagger.v3.oas.models.media.Schema> subSchemas) getTypeInfo(io.swagger.v3.oas.models.media.Schema<?> schema, TypeInfoCollector.NullabilityResolution nullabilityResolution) <T> TypeInfogetTypeInfo(io.swagger.v3.oas.models.media.Schema<T> schema) booleanisNullable(io.swagger.v3.oas.models.media.Schema<?> schema) Methods inherited from class io.github.torand.openapi2java.collectors.BaseCollector
dirPath2PackagePath, formatAnnotationDefaultParam, formatAnnotationNamedParam, formatClassRef, formatDeprecationMessage, formatInnerAnnotation, modelName2SchemaName, normalizeDescription, normalizePath
-
Constructor Details
-
TypeInfoCollector
-
-
Method Details
-
getTypeInfo
-
getTypeInfo
public TypeInfo getTypeInfo(io.swagger.v3.oas.models.media.Schema<?> schema, TypeInfoCollector.NullabilityResolution nullabilityResolution) -
getNonNullableSubSchema
-
isNullable
public boolean isNullable(io.swagger.v3.oas.models.media.Schema<?> schema)
-