diff --git a/openapi-generator-for-spring-common/src/main/java/de/qaware/openapigeneratorforspring/common/schema/resolver/type/extension/java8/DefaultJava8TimeInitialSchemaBuilder.java b/openapi-generator-for-spring-common/src/main/java/de/qaware/openapigeneratorforspring/common/schema/resolver/type/extension/java8/DefaultJava8TimeInitialSchemaBuilder.java index 269029f3..6d4eedcf 100644 --- a/openapi-generator-for-spring-common/src/main/java/de/qaware/openapigeneratorforspring/common/schema/resolver/type/extension/java8/DefaultJava8TimeInitialSchemaBuilder.java +++ b/openapi-generator-for-spring-common/src/main/java/de/qaware/openapigeneratorforspring/common/schema/resolver/type/extension/java8/DefaultJava8TimeInitialSchemaBuilder.java @@ -52,7 +52,6 @@ public class DefaultJava8TimeInitialSchemaBuilder implements Java8TimeInitialSch @Override public InitialSchema buildFromType(JavaType javaType, AnnotationsSupplier annotationsSupplier, Resolver resolver) { Class rawClass = javaType.getRawClass(); - // TODO maybe improve with static map and add more time types? if (rawClass.equals(Instant.class)) { Format format = getFormat(WRITE_DATES_AS_TIMESTAMPS); Schema.SchemaBuilder schemaBuilder = createSchemaBuilderWithType(format);