I use OpenApi 3.0 and the maven plugin openapi-generator-maven-plugin to generate my api + objects.
This is my maven config:
<execution>
<goals>
<goal>generate</goal>
</goals>
<configuration>
<inputSpec>${project.basedir}/src/main/resources/BookingService.yaml</inputSpec>
<generatorName>spring</generatorName>
<modelPackage>${clientPackage}.model</modelPackage>
<invokerPackage>${clientPackage}.invoker</invokerPackage>
<apiPackage>${clientPackage}.api</apiPackage>
<generateApis>true</generateApis>
<generateApiTests>false</generateApiTests>
<generateModelTests>false</generateModelTests>
<configOptions>
<delegatePattern>true</delegatePattern>
</configOptions>
</configuration>
</execution>
It works as expected, however its also generating tests that I do not want. As you can see in my config i disabled the tests for Api tests + Model tests..
The compilation of these tests fail bc it "Cannot resolve symbol 'SpringBootTest'" in the build target folder...
These tests do not have any sense, how can I disable them?