We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3cec95d commit d1cd514Copy full SHA for d1cd514
1 file changed
modules/openapi-generator/src/main/resources/r/api.mustache
@@ -207,7 +207,7 @@
207
{{/requiredParams}}
208
{{#allParams}}
209
{{^isNullable}}
210
- if (is.null(`{{paramName}}`)) {
+ if (!missing(`{{paramName}}`) && is.null(`{{paramName}}`)) {
211
{{#useDefaultExceptionHandling}}
212
stop("Invalid value for `{{paramName}}` when calling {{classname}}${{operationId}}, `{{paramName}}` is not nullable")
213
{{/useDefaultExceptionHandling}}
0 commit comments