forked from loafle/openapi-generator-original
Fix: Resolve problem with UUID class not found if there is almost one parameter with format as uuid (#6617)
* feat: java.util.UUID if parameter is UUID * solve git problem
This commit is contained in:
committed by
William Cheng
parent
acefe3f385
commit
65bb761952
@@ -25,7 +25,7 @@ public class Pet {
|
||||
private String name = null;
|
||||
|
||||
@JsonProperty("photoUrls")
|
||||
private List<String> photoUrls = new ArrayList<>();
|
||||
private List<String> photoUrls = new ArrayList<String>();
|
||||
|
||||
@JsonProperty("tags")
|
||||
private List<Tag> tags = null;
|
||||
@@ -149,7 +149,7 @@ public class Pet {
|
||||
|
||||
public Pet addTagsItem(Tag tagsItem) {
|
||||
if (tags == null) {
|
||||
tags = new ArrayList<>();
|
||||
tags = new ArrayList<Tag>();
|
||||
}
|
||||
tags.add(tagsItem);
|
||||
return this;
|
||||
|
||||
Reference in New Issue
Block a user