Open jan-vcapgemini opened 4 years ago
The behavior in the current release(2021.08.002) differs. The Generation just works with a given output directory, otherwise I get an NullPointerException: the NullPointerException might have the same root cause as the following bug: https://github.com/devonfw/cobigen/issues/1389
Expected behavior
As a CobiGen CLI user, I want to use the "generate" command from any directory when generating code from openapi files.
Actual behavior
When using the "generate" command with an openapi file outside of the project "src" folder, the console states that the generation was successful, but no files were actually generated.
Steps to reproduce (bug) / Use Case of feature request (enhancement)
Related/Dependent Issues
Comments/Hints:
Providing an output directory (using: -o src) will successfully generate the files. Moving the openapi source file into the project "src" folder will also generate the files.
Affected versions:
CobiGen CLI 7.0.0 openapipugin 7.0.0 templates-devon4j 20.08.001