when I use a different path than "../resources/openapi" for my API definition and omit the directory completely, then compilation fails. When I just add an empty directory "openapi" but keep using the different path it works without any problems.
How to reproduce:
Delete the directory "openapi" or don't even create it
Define a different path in application.properties: quarkus.openapi.generator.spec=../test/openapi.yaml
(mvn clean)
mvn compile
Result:
Compilation fails due to missing referenced imports. No error message suggesting the missing file or directory.
Possible workaround:
Just add an empty directory "openapi" in resources. If Git can't handle the empty directory just put in a dummy file.
Hi!
when I use a different path than "../resources/openapi" for my API definition and omit the directory completely, then compilation fails. When I just add an empty directory "openapi" but keep using the different path it works without any problems.
How to reproduce:
Result:
Compilation fails due to missing referenced imports. No error message suggesting the missing file or directory.
Possible workaround:
Just add an empty directory "openapi" in resources. If Git can't handle the empty directory just put in a dummy file.
Versions used:
quarkus-openapi-generator: 2.6.0 Quarkus: 3.15.2 Java: 21 maven-compiler-plugin: 3.9.6