We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
Currently the parameter's default value is obtained via the following code
if (parameterSchema.getDefault() != null) { codegenParameter.defaultValue = toDefaultValue(parameterSchema); }
We need to revise it to skip the null check in the default codegen and let the generator to handle it (with null value) instead.
We will need to revise all generators as the change impacts default codegen.
Latest master
#1027 #761
I'm working on a fix, which is due by coming Sunday.
The text was updated successfully, but these errors were encountered:
wing328
Successfully merging a pull request may close this issue.
Description
Currently the parameter's default value is obtained via the following code
We need to revise it to skip the null check in the default codegen and let the generator to handle it (with null value) instead.
We will need to revise all generators as the change impacts default codegen.
openapi-generator version
Latest master
Related issues/PRs
#1027
#761
Suggest a fix/enhancement
I'm working on a fix, which is due by coming Sunday.
The text was updated successfully, but these errors were encountered: