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 a152609 commit 9c766a3Copy full SHA for 9c766a3
modules/openapi-generator/src/main/resources/perl/api.mustache
@@ -66,13 +66,15 @@ sub {{operationId}} {
66
my ($self, %args) = @_;
67
68
{{#allParams}}
69
+ {{^isNullable}}
70
{{#required}}
71
# verify the required parameter '{{paramName}}' is set
72
unless (exists $args{'{{paramName}}'}) {
73
croak("Missing the required parameter '{{paramName}}' when calling {{operationId}}");
74
}
75
76
{{/required}}
77
+ {{/isNullable}}
78
{{/allParams}}
79
# parse inputs
80
my $_resource_path = '{{{path}}}';
0 commit comments