Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Unexpected exception when sourceDir doesn't include "src" #196

Closed
gwydionmv opened this issue Dec 5, 2022 · 0 comments · Fixed by #197
Closed

Unexpected exception when sourceDir doesn't include "src" #196

gwydionmv opened this issue Dec 5, 2022 · 0 comments · Fixed by #197

Comments

@gwydionmv
Copy link
Contributor

The change for configuring the inputBaseDir property includes the method OpenApiGeneratorCodeGenBase.getInputBaseDirRelativeToModule. It generates the directory relative to the module by substringing the original path according to the 'src' string. But if the original path doesn't include 'src', it's failing uncontrolledly. Opening issue to control this exception and show a clearer message.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

2 participants