Closed romif closed 3 years ago
Hi, thanks for reporting. :-)
It is fixed in core 2021.4.1. To use it with spring 2021.4, you can add the core library as an additional dependency.
in gradle:
openapiProcessor {
// ...
spring {
// the spring processor dependency
processor 'io.openapiprocessor:openapi-processor-core:2021.4.1'
processor 'io.openapiprocessor:openapi-processor-spring:2021.4'
}
}
with maven this should work:
<plugins>
<plugin>
<dependencies>
<dependency>
<groupId>io.openapiprocessor</groupId>
<artifactId>openapi-processor-core</artifactId>
<version>2021.4.1</version>
</dependency>
<dependency>
<groupId>io.openapiprocessor</groupId>
<artifactId>openapi-processor-spring</artifactId>
<version>2021.4</version>
</dependency>
</dependencies>
</plugin>
</plugins>
Hello. I noticed an incorrect model generation for date-time type with
allOf
using:OffsetDateTime
is not imported.openapi.yaml
:Expected result: all classes are imported.
Actual result:
OffsetDateTime
is not imported:Thank you.