Skip to content

Commit

Permalink
Fix typo in base_object.mustache
Browse files Browse the repository at this point in the history
  • Loading branch information
fotos committed Jun 5, 2022
1 parent 3204ff2 commit 9ac2b25
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/main/resources/ruby-client/base_object.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@

self.class.swagger_types.each_pair do |key, type|
if type =~ /\AArray<(.*)>/i
# check to ensure the input is an array given that the the attribute
# check to ensure the input is an array given that the attribute
# is documented as an array but the input is not
if attributes[self.class.attribute_map[key]].is_a?(Array)
self.send("#{key}=", attributes[self.class.attribute_map[key]].map { |v| _deserialize($1, v) })
Expand Down

0 comments on commit 9ac2b25

Please sign in to comment.