You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
When using openapi-generator-maven-plugin to generate sources with a yaml spec present in another jar, the models and other operation files are generated successfully but towards the end FileNotFoundException is thrown. Probably this might be due to classloader.
I think the same line of code is breaking remote inputSpecs? If the inputSpec is a URL then it also breaks with a FileNotFoundException (naturally because a url isn't a file).
Description
When using openapi-generator-maven-plugin to generate sources with a yaml spec present in another jar, the models and other operation files are generated successfully but towards the end FileNotFoundException is thrown. Probably this might be due to classloader.
openapi-generator version
4.0.0-beta
Pom file configuration
Suggest a fix
Probable solution would be to use something similar to
instead of
at following line
openapi-generator/modules/openapi-generator-maven-plugin/src/main/java/org/openapitools/codegen/plugin/CodeGenMojo.java
Line 359 in 9334dd3
The text was updated successfully, but these errors were encountered: