forked from loafle/openapi-generator-original
[Java] remove initialization for optional list property (#5363)
* set list to null in java if not required * update petstore sample for java server stub * update sample for msf4j * add null assignment to new list/map in java
This commit is contained in:
@@ -25,7 +25,7 @@ public class Pet {
|
||||
private List<String> photoUrls = new ArrayList<String>();
|
||||
|
||||
@JsonProperty("tags")
|
||||
private List<Tag> tags = new ArrayList<Tag>();
|
||||
private List<Tag> tags;
|
||||
|
||||
/**
|
||||
* pet status in the store
|
||||
|
||||
Reference in New Issue
Block a user