We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 786fece commit 3231c0fCopy full SHA for 3231c0f
modules/jooby-gradle-plugin/src/main/java/io/jooby/gradle/OpenAPITask.java
@@ -69,7 +69,9 @@ public void generate() throws Throwable {
69
tool.setClassLoader(classLoader);
70
tool.setOutputDir(outputDir);
71
tool.setSources(sources);
72
- tool.setSpecVersion(specVersion);
+ if (specVersion != null) {
73
+ tool.setSpecVersion(specVersion);
74
+ }
75
trim(includes).ifPresent(tool::setIncludes);
76
trim(excludes).ifPresent(tool::setExcludes);
77
0 commit comments