[JAVA] [SPRING] - Error Compiling When generateSupportingFiles=false and configOptions.java8 = true
Created by: brion-fuller
Description
Currently, seeing an issue running mvn clean compile
when generateSupportingFiles=false and configOptions.java8 is set to true I will get a ApiUtil not found error.
openapi-generator version
3.0.2
OpenAPI declaration file content or url
<plugin>
<groupId>org.openapitools</groupId>
<artifactId>openapi-generator-maven-plugin</artifactId>
<version>3.0.2</version>
<executions>
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/api-v1.yaml</inputSpec>
<generatorName>spring</generatorName>
<generateSupportingFiles>false</generateSupportingFiles>
<apiPackage>true</apiPackage>
<modelPackage>true</modelPackage>
<apiPackage>com.test.hello.api.v1</apiPackage>
<modelPackage>com.test.hello.api.v1.model</modelPackage>
<configOptions>
<interfaceOnly>true</interfaceOnly>
<java8>true</java8>
<sourceFolder>src/gen/java</sourceFolder>
<dateLibrary>java8</dateLibrary>
<library>spring-boot</library>
</configOptions>
</configuration>
</execution>
</executions>
</plugin>
Command line used for generation
mvn clean compile
Steps to reproduce
Use example app and OpenApi3 pets example Set generateSupportingFiles=false Set configOptions.java8=true run `mvn clean compile' Should see an ApiUtil Not Found Error