Skip to content

Commit

Permalink
corrected-hashmap-serialization-when-in-json
Browse files Browse the repository at this point in the history
  • Loading branch information
sbansla committed Nov 6, 2023
1 parent 7d2378f commit 4234091
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/resources/twilio-java/models.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -6,10 +6,12 @@
@JsonInclude(JsonInclude.Include.NON_EMPTY)
@JsonProperty("{{{baseName}}}")
@Getter @Setter private {{{dataType}}} {{name}};
{{^isMap}}
{{#vendorExtensions.x-serialize}}
public String get{{#lambda.titlecase}}{{name}}{{/lambda.titlecase}}() {
return {{vendorExtensions.x-serialize}};
}{{/vendorExtensions.x-serialize}}
{{/isMap}}
{{/vars}}
{{#vendorExtensions.x-constructor-required}}
{{#modelParameters}}
Expand Down

0 comments on commit 4234091

Please sign in to comment.