diff --git a/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java index e6ba8b24dbff..c6363d13aba2 100644 --- a/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java @@ -29,17 +29,17 @@ public class Pet { private String atType = "Pet"; - private @Nullable Integer age = 4; + private Integer age = 4; - private @Nullable Boolean happy = true; + private Boolean happy = true; - private @Nullable BigDecimal price = new BigDecimal("32000000000"); + private BigDecimal price = new BigDecimal("32000000000"); @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) - private @Nullable OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T11:39:57Z[UTC]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault())); + private OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T11:39:57Z[UTC]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault())); @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) - private @Nullable LocalDate dateOfBirth = LocalDate.parse("2021-01-01"); + private LocalDate dateOfBirth = LocalDate.parse("2021-01-01"); public Pet() { super(); diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java index 8a69ca722007..56709c1910da 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java @@ -76,7 +76,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java index 4568e26bd5d5..1e2fd216c67e 100644 --- a/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java @@ -40,7 +40,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java index db44b0fba500..763d3c560a07 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java @@ -75,7 +75,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java index 231424f12c70..0a423d73657c 100644 --- a/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java @@ -40,7 +40,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java index db44b0fba500..763d3c560a07 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java @@ -75,7 +75,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java index 3ec86de1ccc3..b640f12aa388 100644 --- a/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java @@ -40,7 +40,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java index db44b0fba500..763d3c560a07 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java @@ -75,7 +75,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java index 231424f12c70..0a423d73657c 100644 --- a/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java @@ -40,7 +40,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java index 539e4452b368..f2480f1f1121 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java @@ -30,28 +30,28 @@ public class AdditionalPropertiesClassDto { - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AnimalDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AnimalDto.java index d4fbabcbd6da..f3958110abc8 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AnimalDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AnimalDto.java @@ -37,7 +37,7 @@ public class AnimalDto { private String className; - private @Nullable String color = "red"; + private String color = "red"; public AnimalDto() { super(); diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java index b12206a72a26..364bee71144d 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java @@ -27,7 +27,7 @@ public class ArrayOfArrayOfNumberOnlyDto { - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnlyDto arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java index 74f5b2d5c250..fde12e7b2e10 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java @@ -27,7 +27,7 @@ public class ArrayOfNumberOnlyDto { - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnlyDto arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayTestDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayTestDto.java index fdc695fe7066..0943ebd8d00b 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayTestDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/ArrayTestDto.java @@ -27,13 +27,13 @@ public class ArrayTestDto { - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTestDto arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/EnumArraysDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/EnumArraysDto.java index d9affa10c337..8c08eaed4cad 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/EnumArraysDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/EnumArraysDto.java @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) { } - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArraysDto justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java index 14d3b553e503..d71c47a6aa1b 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java @@ -29,7 +29,7 @@ public class FileSchemaTestClassDto { private @Nullable FileDto file; - private @Nullable List files = new ArrayList<>(); + private List files = new ArrayList<>(); public FileSchemaTestClassDto file(FileDto file) { this.file = file; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/MapTestDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/MapTestDto.java index 57de8c418cdb..b6a51c167e57 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/MapTestDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/MapTestDto.java @@ -26,7 +26,7 @@ public class MapTestDto { - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) { } - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTestDto mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java index 7432f469673a..d72a92a55c38 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassDto { private @Nullable OffsetDateTime dateTime; - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClassDto uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/OrderDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/OrderDto.java index a8107424214c..e33079b167c7 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/OrderDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/OrderDto.java @@ -73,7 +73,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public OrderDto id(Long id) { this.id = id; diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/PetDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/PetDto.java index b618c5e0427a..fbb192dc0fe3 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/PetDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/PetDto.java @@ -41,7 +41,7 @@ public class PetDto { private Set photoUrls = new LinkedHashSet<>(); - private @Nullable List tags = new ArrayList<>(); + private List tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/XmlItemDto.java b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/XmlItemDto.java index 00b4a62463aa..a3a53cf3ed54 100644 --- a/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/XmlItemDto.java +++ b/samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/XmlItemDto.java @@ -35,7 +35,7 @@ public class XmlItemDto { private @Nullable Boolean attributeBoolean; - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -46,10 +46,10 @@ public class XmlItemDto { private @Nullable Boolean nameBoolean; - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -60,10 +60,10 @@ public class XmlItemDto { private @Nullable Boolean prefixBoolean; - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -74,10 +74,10 @@ public class XmlItemDto { private @Nullable Boolean namespaceBoolean; - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -88,10 +88,10 @@ public class XmlItemDto { private @Nullable Boolean prefixNsBoolean; - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItemDto attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 0881cfec7ca9..3636984a7f70 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -28,28 +28,28 @@ public class AdditionalPropertiesClass { - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Animal.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Animal.java index ed54c1758240..24172f2c100d 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Animal.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Animal.java @@ -36,7 +36,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index e8682ac2fad7..65470440b56b 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -25,7 +25,7 @@ public class ArrayOfArrayOfNumberOnly { - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 741e16d602a9..ccaaf084a050 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -25,7 +25,7 @@ public class ArrayOfNumberOnly { - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayTest.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayTest.java index 00db8fe31120..0d184e7e2566 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayTest.java @@ -25,13 +25,13 @@ public class ArrayTest { - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/EnumArrays.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/EnumArrays.java index c2868b650485..ff77ec0789f0 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/EnumArrays.java @@ -97,7 +97,7 @@ public static ArrayEnumEnum fromValue(String value) { } - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 201ce6c20057..abab53fe84ee 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -27,7 +27,7 @@ public class FileSchemaTestClass { private @Nullable File file; - private @Nullable List files = new ArrayList<>(); + private List files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/MapTest.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/MapTest.java index b730d9f62338..86093477f2ad 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/MapTest.java @@ -24,7 +24,7 @@ public class MapTest { - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -62,13 +62,13 @@ public static InnerEnum fromValue(String value) { } - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index c9d66501c65f..a057f5287ef8 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -32,7 +32,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Order.java index edf8b1484829..8d8742d8f813 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Order.java @@ -71,7 +71,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Pet.java index ccc7a534c6e1..a28e7307342d 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); - private @Nullable List tags = new ArrayList<>(); + private List tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/XmlItem.java b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/XmlItem.java index 5a735744e747..d77e29a1a4d6 100644 --- a/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/client/petstore/spring-http-interface-reactive-noResponseEntity/src/main/java/org/openapitools/model/XmlItem.java @@ -33,7 +33,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -44,10 +44,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -58,10 +58,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -72,10 +72,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -86,10 +86,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 0881cfec7ca9..3636984a7f70 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -28,28 +28,28 @@ public class AdditionalPropertiesClass { - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Animal.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Animal.java index ed54c1758240..24172f2c100d 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Animal.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Animal.java @@ -36,7 +36,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index e8682ac2fad7..65470440b56b 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -25,7 +25,7 @@ public class ArrayOfArrayOfNumberOnly { - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 741e16d602a9..ccaaf084a050 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -25,7 +25,7 @@ public class ArrayOfNumberOnly { - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayTest.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayTest.java index 00db8fe31120..0d184e7e2566 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/ArrayTest.java @@ -25,13 +25,13 @@ public class ArrayTest { - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumArrays.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumArrays.java index c2868b650485..ff77ec0789f0 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/EnumArrays.java @@ -97,7 +97,7 @@ public static ArrayEnumEnum fromValue(String value) { } - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 201ce6c20057..abab53fe84ee 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -27,7 +27,7 @@ public class FileSchemaTestClass { private @Nullable File file; - private @Nullable List files = new ArrayList<>(); + private List files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MapTest.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MapTest.java index b730d9f62338..86093477f2ad 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MapTest.java @@ -24,7 +24,7 @@ public class MapTest { - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -62,13 +62,13 @@ public static InnerEnum fromValue(String value) { } - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index c9d66501c65f..a057f5287ef8 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -32,7 +32,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Order.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Order.java index edf8b1484829..8d8742d8f813 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Order.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Order.java @@ -71,7 +71,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Pet.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Pet.java index ccc7a534c6e1..a28e7307342d 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Pet.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); - private @Nullable List tags = new ArrayList<>(); + private List tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/XmlItem.java b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/XmlItem.java index 5a735744e747..d77e29a1a4d6 100644 --- a/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/client/petstore/spring-http-interface-reactive/src/main/java/org/openapitools/model/XmlItem.java @@ -33,7 +33,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -44,10 +44,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -58,10 +58,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -72,10 +72,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -86,10 +86,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java index 539e4452b368..f2480f1f1121 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java @@ -30,28 +30,28 @@ public class AdditionalPropertiesClassDto { - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AnimalDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AnimalDto.java index d4fbabcbd6da..f3958110abc8 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AnimalDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/AnimalDto.java @@ -37,7 +37,7 @@ public class AnimalDto { private String className; - private @Nullable String color = "red"; + private String color = "red"; public AnimalDto() { super(); diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java index b12206a72a26..364bee71144d 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java @@ -27,7 +27,7 @@ public class ArrayOfArrayOfNumberOnlyDto { - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnlyDto arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java index 74f5b2d5c250..fde12e7b2e10 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java @@ -27,7 +27,7 @@ public class ArrayOfNumberOnlyDto { - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnlyDto arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayTestDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayTestDto.java index fdc695fe7066..0943ebd8d00b 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayTestDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/ArrayTestDto.java @@ -27,13 +27,13 @@ public class ArrayTestDto { - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTestDto arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumArraysDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumArraysDto.java index d9affa10c337..8c08eaed4cad 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumArraysDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/EnumArraysDto.java @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) { } - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArraysDto justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java index 14d3b553e503..d71c47a6aa1b 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java @@ -29,7 +29,7 @@ public class FileSchemaTestClassDto { private @Nullable FileDto file; - private @Nullable List files = new ArrayList<>(); + private List files = new ArrayList<>(); public FileSchemaTestClassDto file(FileDto file) { this.file = file; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MapTestDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MapTestDto.java index 57de8c418cdb..b6a51c167e57 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MapTestDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MapTestDto.java @@ -26,7 +26,7 @@ public class MapTestDto { - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) { } - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTestDto mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java index 7432f469673a..d72a92a55c38 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassDto { private @Nullable OffsetDateTime dateTime; - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClassDto uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OrderDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OrderDto.java index a8107424214c..e33079b167c7 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OrderDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/OrderDto.java @@ -73,7 +73,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public OrderDto id(Long id) { this.id = id; diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/PetDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/PetDto.java index b618c5e0427a..fbb192dc0fe3 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/PetDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/PetDto.java @@ -41,7 +41,7 @@ public class PetDto { private Set photoUrls = new LinkedHashSet<>(); - private @Nullable List tags = new ArrayList<>(); + private List tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/XmlItemDto.java b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/XmlItemDto.java index 00b4a62463aa..a3a53cf3ed54 100644 --- a/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/XmlItemDto.java +++ b/samples/client/petstore/spring-http-interface/src/main/java/org/openapitools/model/XmlItemDto.java @@ -35,7 +35,7 @@ public class XmlItemDto { private @Nullable Boolean attributeBoolean; - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -46,10 +46,10 @@ public class XmlItemDto { private @Nullable Boolean nameBoolean; - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -60,10 +60,10 @@ public class XmlItemDto { private @Nullable Boolean prefixBoolean; - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -74,10 +74,10 @@ public class XmlItemDto { private @Nullable Boolean namespaceBoolean; - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -88,10 +88,10 @@ public class XmlItemDto { private @Nullable Boolean prefixNsBoolean; - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItemDto attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/model/Order.java index 27b96eaee76d..5585d48d7c04 100644 --- a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/model/Pet.java index 9212c6acc05b..d3f2f8e314fb 100644 --- a/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-cloud-3/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/model/Order.java index 989c4b43a778..aba526481ae7 100644 --- a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/model/Pet.java index f59565991814..26f68837d4da 100644 --- a/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-cloud-async/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java index 93913f4720d0..cb7d15fd414d 100644 --- a/samples/openapi3/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java @@ -28,17 +28,17 @@ public class Pet { private String atType = "Pet"; - private @Nullable Integer age = 4; + private Integer age = 4; - private @Nullable Boolean happy = true; + private Boolean happy = true; - private @Nullable BigDecimal price = new BigDecimal("32000000000"); + private BigDecimal price = new BigDecimal("32000000000"); @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) - private @Nullable OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T11:39:57Z[UTC]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault())); + private OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T11:39:57Z[UTC]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault())); @DateTimeFormat(iso = DateTimeFormat.ISO.DATE) - private @Nullable LocalDate dateOfBirth = LocalDate.parse("2021-01-01"); + private LocalDate dateOfBirth = LocalDate.parse("2021-01-01"); public Pet() { super(); diff --git a/samples/openapi3/client/petstore/spring-cloud-http-basic/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-cloud-http-basic/src/main/java/org/openapitools/model/Pet.java index f59565991814..26f68837d4da 100644 --- a/samples/openapi3/client/petstore/spring-cloud-http-basic/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-cloud-http-basic/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 7541533b336a..3288679fb1d5 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -30,28 +30,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Animal.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Animal.java index 429541f61c57..5cac98a1edac 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Animal.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 4f3dc0190ff2..dbcf22651556 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 1a9cfa0203df..e78378810cd9 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayTest.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayTest.java index 760fd3f985b5..df54bf8501ff 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/ArrayTest.java @@ -27,13 +27,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/EnumArrays.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/EnumArrays.java index b0d5384daa87..88cff106d062 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/EnumArrays.java @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94187c1b6b63..7691f8aac871 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -29,7 +29,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/MapTest.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/MapTest.java index 2395d5196235..71de8ebdee24 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/MapTest.java @@ -26,7 +26,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 2301ff66966c..4edec95b367b 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Order.java index d5bb0101f85b..08ba23a13fa8 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Order.java @@ -73,7 +73,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Pet.java index c2164dd0c3a4..a20892aa7ac5 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/Pet.java @@ -41,7 +41,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/XmlItem.java b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/XmlItem.java index 785d3afed9b8..c0ade97583c8 100644 --- a/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/openapi3/client/petstore/spring-cloud-oas3-fakeapi/src/main/java/org/openapitools/model/XmlItem.java @@ -35,7 +35,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -46,10 +46,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -60,10 +60,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -74,10 +74,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -88,10 +88,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/model/Order.java index 989c4b43a778..aba526481ae7 100644 --- a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/model/Pet.java index 17ef7866da4f..19d41d7dbf7f 100644 --- a/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-cloud-spring-pageable/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java index 989c4b43a778..aba526481ae7 100644 --- a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java index f59565991814..26f68837d4da 100644 --- a/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/model/Order.java index 989c4b43a778..aba526481ae7 100644 --- a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/model/Pet.java index f59565991814..26f68837d4da 100644 --- a/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-stubs-skip-default-interface/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/model/Order.java index 989c4b43a778..aba526481ae7 100644 --- a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/model/Pet.java index f59565991814..26f68837d4da 100644 --- a/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/client/petstore/spring-stubs/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/java/org/openapitools/model/Order.java index 989c4b43a778..aba526481ae7 100644 --- a/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/java/org/openapitools/model/Pet.java index f59565991814..26f68837d4da 100644 --- a/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/server/petstore/spring-boot-springdoc/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/server/petstore/springboot-3/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/server/petstore/springboot-3/src/main/java/org/openapitools/model/Order.java index dd373d07132d..f73e8a13a96a 100644 --- a/samples/openapi3/server/petstore/springboot-3/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/server/petstore/springboot-3/src/main/java/org/openapitools/model/Order.java @@ -81,7 +81,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order() { super(); @@ -90,7 +90,7 @@ public Order() { /** * Constructor with all args parameters */ - public Order(@Nullable Long id, @Nullable Long petId, @Nullable Integer quantity, @Nullable OffsetDateTime shipDate, @Nullable StatusEnum status, @Nullable Boolean complete) { + public Order(@Nullable Long id, @Nullable Long petId, @Nullable Integer quantity, @Nullable OffsetDateTime shipDate, @Nullable StatusEnum status, Boolean complete) { this.id = id; this.petId = petId; this.quantity = quantity; diff --git a/samples/openapi3/server/petstore/springboot-3/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/server/petstore/springboot-3/src/main/java/org/openapitools/model/Pet.java index dec122de8c23..ca4275af5769 100644 --- a/samples/openapi3/server/petstore/springboot-3/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/server/petstore/springboot-3/src/main/java/org/openapitools/model/Pet.java @@ -46,7 +46,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store @@ -103,7 +103,7 @@ public Pet(String name, List photoUrls) { /** * Constructor with all args parameters */ - public Pet(@Nullable Long id, @Nullable Category category, String name, List photoUrls, @Nullable List<@Valid Tag> tags, @Nullable StatusEnum status) { + public Pet(@Nullable Long id, @Nullable Category category, String name, List photoUrls, List<@Valid Tag> tags, @Nullable StatusEnum status) { this.id = id; this.category = category; this.name = name; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 7541533b336a..3288679fb1d5 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -30,28 +30,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Animal.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Animal.java index 9aee98a57617..4e0f44eca37d 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Animal.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 4f3dc0190ff2..dbcf22651556 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 1a9cfa0203df..e78378810cd9 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayTest.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayTest.java index 760fd3f985b5..df54bf8501ff 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayTest.java @@ -27,13 +27,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/EnumArrays.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/EnumArrays.java index b0d5384daa87..88cff106d062 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/EnumArrays.java @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94187c1b6b63..7691f8aac871 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -29,7 +29,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MapTest.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MapTest.java index 2395d5196235..71de8ebdee24 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MapTest.java @@ -26,7 +26,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 2301ff66966c..4edec95b367b 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Order.java index d5bb0101f85b..08ba23a13fa8 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Order.java @@ -73,7 +73,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Pet.java index 151618370fed..54336462ec79 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Pet.java @@ -41,7 +41,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/XmlItem.java b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/XmlItem.java index 785d3afed9b8..c0ade97583c8 100644 --- a/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/openapi3/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/XmlItem.java @@ -35,7 +35,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -46,10 +46,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -60,10 +60,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -74,10 +74,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -88,10 +88,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 7541533b336a..3288679fb1d5 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -30,28 +30,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Animal.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Animal.java index 9aee98a57617..4e0f44eca37d 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Animal.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 4f3dc0190ff2..dbcf22651556 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 1a9cfa0203df..e78378810cd9 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayTest.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayTest.java index 760fd3f985b5..df54bf8501ff 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayTest.java @@ -27,13 +27,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/EnumArrays.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/EnumArrays.java index b0d5384daa87..88cff106d062 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/EnumArrays.java @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94187c1b6b63..7691f8aac871 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -29,7 +29,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MapTest.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MapTest.java index 2395d5196235..71de8ebdee24 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MapTest.java @@ -26,7 +26,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 2301ff66966c..4edec95b367b 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Order.java index d5bb0101f85b..08ba23a13fa8 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Order.java @@ -73,7 +73,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Pet.java index 151618370fed..54336462ec79 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Pet.java @@ -41,7 +41,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/XmlItem.java b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/XmlItem.java index 785d3afed9b8..c0ade97583c8 100644 --- a/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/openapi3/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/XmlItem.java @@ -35,7 +35,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -46,10 +46,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -60,10 +60,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -74,10 +74,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -88,10 +88,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/openapi3/server/petstore/springboot-source/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/server/petstore/springboot-source/src/main/java/org/openapitools/model/Order.java index d387220fe688..f75116e5a8ce 100644 --- a/samples/openapi3/server/petstore/springboot-source/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/server/petstore/springboot-source/src/main/java/org/openapitools/model/Order.java @@ -72,7 +72,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/server/petstore/springboot-source/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/server/petstore/springboot-source/src/main/java/org/openapitools/model/Pet.java index 4697ec67d4b6..71dc60f1df5a 100644 --- a/samples/openapi3/server/petstore/springboot-source/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/server/petstore/springboot-source/src/main/java/org/openapitools/model/Pet.java @@ -37,7 +37,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/openapi3/server/petstore/springboot/src/main/java/org/openapitools/model/Order.java b/samples/openapi3/server/petstore/springboot/src/main/java/org/openapitools/model/Order.java index 989c4b43a778..aba526481ae7 100644 --- a/samples/openapi3/server/petstore/springboot/src/main/java/org/openapitools/model/Order.java +++ b/samples/openapi3/server/petstore/springboot/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/openapi3/server/petstore/springboot/src/main/java/org/openapitools/model/Pet.java b/samples/openapi3/server/petstore/springboot/src/main/java/org/openapitools/model/Pet.java index f59565991814..26f68837d4da 100644 --- a/samples/openapi3/server/petstore/springboot/src/main/java/org/openapitools/model/Pet.java +++ b/samples/openapi3/server/petstore/springboot/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 7541533b336a..3288679fb1d5 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -30,28 +30,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Animal.java index 9aee98a57617..4e0f44eca37d 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 4f3dc0190ff2..dbcf22651556 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 1a9cfa0203df..e78378810cd9 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayTest.java index 760fd3f985b5..df54bf8501ff 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/ArrayTest.java @@ -27,13 +27,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/EnumArrays.java index b0d5384daa87..88cff106d062 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/EnumArrays.java @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94187c1b6b63..7691f8aac871 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -29,7 +29,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/MapTest.java index 2395d5196235..71de8ebdee24 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/MapTest.java @@ -26,7 +26,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 2301ff66966c..4edec95b367b 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Order.java index d5bb0101f85b..08ba23a13fa8 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Order.java @@ -73,7 +73,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Pet.java index 151618370fed..54336462ec79 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/Pet.java @@ -41,7 +41,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/XmlItem.java index 785d3afed9b8..c0ade97583c8 100644 --- a/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/spring-boot-defaultInterface-unhandledException/src/main/java/org/openapitools/model/XmlItem.java @@ -35,7 +35,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -46,10 +46,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -60,10 +60,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -74,10 +74,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -88,10 +88,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/spring-boot-nullable-set/src/main/java/org/openapitools/model/ObjectWithUniqueItems.java b/samples/server/petstore/spring-boot-nullable-set/src/main/java/org/openapitools/model/ObjectWithUniqueItems.java index f9c7644b3863..b15de9186384 100644 --- a/samples/server/petstore/spring-boot-nullable-set/src/main/java/org/openapitools/model/ObjectWithUniqueItems.java +++ b/samples/server/petstore/spring-boot-nullable-set/src/main/java/org/openapitools/model/ObjectWithUniqueItems.java @@ -36,13 +36,13 @@ public class ObjectWithUniqueItems { private JsonNullable> nullSet = JsonNullable.>undefined(); @Valid - private @Nullable Set notNullSet = new LinkedHashSet<>(); + private Set notNullSet = new LinkedHashSet<>(); @Valid private JsonNullable> nullList = JsonNullable.>undefined(); @Valid - private @Nullable List notNullList = new ArrayList<>(); + private List notNullList = new ArrayList<>(); @DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME) private @Nullable OffsetDateTime notNullDateField; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 8eaf6a6f56e4..85c973371623 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -27,28 +27,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Animal.java index 6b446d8d5499..b6a4898bf3af 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 885a67e65837..3514e9967ae7 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 7c546a3a0ff6..51c6940bb504 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayTest.java index 88f9bde438d5..85d34ef4b986 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/ArrayTest.java @@ -27,13 +27,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/EnumArrays.java index e2a40a431ffb..12a0dba3520f 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/EnumArrays.java @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/FileSchemaTestClass.java index d524da5628c2..e5f98bb5ea46 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -29,7 +29,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/MapTest.java index ed8db9958516..f115315006e4 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/MapTest.java @@ -26,7 +26,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 366a2747333d..a5586b034b44 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Order.java index 2f0b4772d212..176ec4ddee2b 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Order.java @@ -73,7 +73,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Pet.java index f766ac12e022..387e6a9ce445 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/Pet.java @@ -41,7 +41,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/XmlItem.java index dbea59c295f0..f2138744f9ae 100644 --- a/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-beanvalidation-no-nullable/src/main/java/org/openapitools/model/XmlItem.java @@ -35,7 +35,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -46,10 +46,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -60,10 +60,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -74,10 +74,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -88,10 +88,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index a3b157e3fd2d..bf2a1a993af2 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -31,28 +31,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Animal.java index 31eabc87a11a..8a08cb431042 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Animal.java @@ -39,7 +39,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Pet.java index 17ec748ff647..c07858bfa91e 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/Pet.java @@ -42,7 +42,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-beanvalidation/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index a3b157e3fd2d..bf2a1a993af2 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -31,28 +31,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Animal.java index 31eabc87a11a..8a08cb431042 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Animal.java @@ -39,7 +39,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Pet.java index 17ec748ff647..c07858bfa91e 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/Pet.java @@ -42,7 +42,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-delegate-j8/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-delegate-no-response-entity/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-delegate-no-response-entity/src/main/java/org/openapitools/model/Order.java index db44b0fba500..763d3c560a07 100644 --- a/samples/server/petstore/springboot-delegate-no-response-entity/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-delegate-no-response-entity/src/main/java/org/openapitools/model/Order.java @@ -75,7 +75,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-delegate-no-response-entity/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-delegate-no-response-entity/src/main/java/org/openapitools/model/Pet.java index 231424f12c70..0a423d73657c 100644 --- a/samples/server/petstore/springboot-delegate-no-response-entity/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-delegate-no-response-entity/src/main/java/org/openapitools/model/Pet.java @@ -40,7 +40,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 4ce67f92a9dc..1bba09270c80 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -31,28 +31,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; @@ -67,7 +67,7 @@ public AdditionalPropertiesClass() { /** * Constructor with all args parameters */ - public AdditionalPropertiesClass(@Nullable Map mapString, @Nullable Map mapNumber, @Nullable Map mapInteger, @Nullable Map mapBoolean, @Nullable Map> mapArrayInteger, @Nullable Map> mapArrayAnytype, @Nullable Map> mapMapString, @Nullable Map> mapMapAnytype, @Nullable Object anytype1, Object anytype2, @Nullable Object anytype3) { + public AdditionalPropertiesClass(Map mapString, Map mapNumber, Map mapInteger, Map mapBoolean, Map> mapArrayInteger, Map> mapArrayAnytype, Map> mapMapString, Map> mapMapAnytype, @Nullable Object anytype1, Object anytype2, @Nullable Object anytype3) { this.mapString = mapString; this.mapNumber = mapNumber; this.mapInteger = mapInteger; diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Animal.java index 0eec4a430350..29e0154b65e8 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Animal.java @@ -39,7 +39,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); @@ -55,7 +55,7 @@ public Animal(String className) { /** * Constructor with all args parameters */ - public Animal(String className, @Nullable String color) { + public Animal(String className, String color) { this.className = className; this.color = color; } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 62f26fe69933..3af29725d87d 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly() { super(); @@ -37,7 +37,7 @@ public ArrayOfArrayOfNumberOnly() { /** * Constructor with all args parameters */ - public ArrayOfArrayOfNumberOnly(@Nullable List> arrayArrayNumber) { + public ArrayOfArrayOfNumberOnly(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index df4c029da1ae..1fee4b6ecc60 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly() { super(); @@ -37,7 +37,7 @@ public ArrayOfNumberOnly() { /** * Constructor with all args parameters */ - public ArrayOfNumberOnly(@Nullable List arrayNumber) { + public ArrayOfNumberOnly(List arrayNumber) { this.arrayNumber = arrayNumber; } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayTest.java index 1869a87e6184..f0589b85c587 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest() { super(); @@ -43,7 +43,7 @@ public ArrayTest() { /** * Constructor with all args parameters */ - public ArrayTest(@Nullable List arrayOfString, @Nullable List> arrayArrayOfInteger, @Nullable List> arrayArrayOfModel) { + public ArrayTest(List arrayOfString, List> arrayArrayOfInteger, List> arrayArrayOfModel) { this.arrayOfString = arrayOfString; this.arrayArrayOfInteger = arrayArrayOfInteger; this.arrayArrayOfModel = arrayArrayOfModel; diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/BigCat.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/BigCat.java index 7992c5c13f68..876575a91916 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/BigCat.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/BigCat.java @@ -84,7 +84,7 @@ public BigCat(String className) { /** * Constructor with all args parameters */ - public BigCat(@Nullable KindEnum kind, @Nullable Boolean declawed, String className, @Nullable String color) { + public BigCat(@Nullable KindEnum kind, @Nullable Boolean declawed, String className, String color) { super(declawed, className, color); this.kind = kind; } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Cat.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Cat.java index da3795bc3078..c56b03c23a76 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Cat.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Cat.java @@ -52,7 +52,7 @@ public Cat(String className) { /** * Constructor with all args parameters */ - public Cat(@Nullable Boolean declawed, String className, @Nullable String color) { + public Cat(@Nullable Boolean declawed, String className, String color) { super(className, color); this.declawed = declawed; } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Dog.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Dog.java index bf2c2f455102..f1742d7bcade 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Dog.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Dog.java @@ -44,7 +44,7 @@ public Dog(String className) { /** * Constructor with all args parameters */ - public Dog(@Nullable String breed, String className, @Nullable String color) { + public Dog(@Nullable String breed, String className, String color) { super(className, color); this.breed = breed; } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/EnumArrays.java index f531dd85d9af..e194bc867af2 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays() { super(); @@ -109,7 +109,7 @@ public EnumArrays() { /** * Constructor with all args parameters */ - public EnumArrays(@Nullable JustSymbolEnum justSymbol, @Nullable List arrayEnum) { + public EnumArrays(@Nullable JustSymbolEnum justSymbol, List arrayEnum) { this.justSymbol = justSymbol; this.arrayEnum = arrayEnum; } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 21451331e91a..7811befcf665 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass() { super(); @@ -39,7 +39,7 @@ public FileSchemaTestClass() { /** * Constructor with all args parameters */ - public FileSchemaTestClass(@Nullable File file, @Nullable List<@Valid File> files) { + public FileSchemaTestClass(@Nullable File file, List<@Valid File> files) { this.file = file; this.files = files; } diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MapTest.java index deec5f207148..8bd8ff8a67e7 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest() { super(); @@ -80,7 +80,7 @@ public MapTest() { /** * Constructor with all args parameters */ - public MapTest(@Nullable Map> mapMapOfString, @Nullable Map mapOfEnumString, @Nullable Map directMap, @Nullable Map indirectMap) { + public MapTest(Map> mapMapOfString, Map mapOfEnumString, Map directMap, Map indirectMap) { this.mapMapOfString = mapMapOfString; this.mapOfEnumString = mapOfEnumString; this.directMap = directMap; diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 656d131857c6..aee51734b2b9 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass() { super(); @@ -44,7 +44,7 @@ public MixedPropertiesAndAdditionalPropertiesClass() { /** * Constructor with all args parameters */ - public MixedPropertiesAndAdditionalPropertiesClass(@Nullable UUID uuid, @Nullable OffsetDateTime dateTime, @Nullable Map map) { + public MixedPropertiesAndAdditionalPropertiesClass(@Nullable UUID uuid, @Nullable OffsetDateTime dateTime, Map map) { this.uuid = uuid; this.dateTime = dateTime; this.map = map; diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Order.java index 0ec6d5a0a252..27ac7286e310 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order() { super(); @@ -83,7 +83,7 @@ public Order() { /** * Constructor with all args parameters */ - public Order(@Nullable Long id, @Nullable Long petId, @Nullable Integer quantity, @Nullable OffsetDateTime shipDate, @Nullable StatusEnum status, @Nullable Boolean complete) { + public Order(@Nullable Long id, @Nullable Long petId, @Nullable Integer quantity, @Nullable OffsetDateTime shipDate, @Nullable StatusEnum status, Boolean complete) { this.id = id; this.petId = petId; this.quantity = quantity; diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Pet.java index a7441abb3965..5f09881c02a1 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/Pet.java @@ -42,7 +42,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store @@ -99,7 +99,7 @@ public Pet(String name, Set photoUrls) { /** * Constructor with all args parameters */ - public Pet(@Nullable Long id, @Nullable Category category, String name, Set photoUrls, @Nullable List<@Valid Tag> tags, @Nullable StatusEnum status) { + public Pet(@Nullable Long id, @Nullable Category category, String name, Set photoUrls, List<@Valid Tag> tags, @Nullable StatusEnum status) { this.id = id; this.category = category; this.name = name; diff --git a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/XmlItem.java index e145ba4a9a13..bd800e789778 100644 --- a/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-delegate/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem() { super(); @@ -101,7 +101,7 @@ public XmlItem() { /** * Constructor with all args parameters */ - public XmlItem(@Nullable String attributeString, @Nullable BigDecimal attributeNumber, @Nullable Integer attributeInteger, @Nullable Boolean attributeBoolean, @Nullable List wrappedArray, @Nullable String nameString, @Nullable BigDecimal nameNumber, @Nullable Integer nameInteger, @Nullable Boolean nameBoolean, @Nullable List nameArray, @Nullable List nameWrappedArray, @Nullable String prefixString, @Nullable BigDecimal prefixNumber, @Nullable Integer prefixInteger, @Nullable Boolean prefixBoolean, @Nullable List prefixArray, @Nullable List prefixWrappedArray, @Nullable String namespaceString, @Nullable BigDecimal namespaceNumber, @Nullable Integer namespaceInteger, @Nullable Boolean namespaceBoolean, @Nullable List namespaceArray, @Nullable List namespaceWrappedArray, @Nullable String prefixNsString, @Nullable BigDecimal prefixNsNumber, @Nullable Integer prefixNsInteger, @Nullable Boolean prefixNsBoolean, @Nullable List prefixNsArray, @Nullable List prefixNsWrappedArray) { + public XmlItem(@Nullable String attributeString, @Nullable BigDecimal attributeNumber, @Nullable Integer attributeInteger, @Nullable Boolean attributeBoolean, List wrappedArray, @Nullable String nameString, @Nullable BigDecimal nameNumber, @Nullable Integer nameInteger, @Nullable Boolean nameBoolean, List nameArray, List nameWrappedArray, @Nullable String prefixString, @Nullable BigDecimal prefixNumber, @Nullable Integer prefixInteger, @Nullable Boolean prefixBoolean, List prefixArray, List prefixWrappedArray, @Nullable String namespaceString, @Nullable BigDecimal namespaceNumber, @Nullable Integer namespaceInteger, @Nullable Boolean namespaceBoolean, List namespaceArray, List namespaceWrappedArray, @Nullable String prefixNsString, @Nullable BigDecimal prefixNsNumber, @Nullable Integer prefixNsInteger, @Nullable Boolean prefixNsBoolean, List prefixNsArray, List prefixNsWrappedArray) { this.attributeString = attributeString; this.attributeNumber = attributeNumber; this.attributeInteger = attributeInteger; diff --git a/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/model/Order.java index d387220fe688..f75116e5a8ce 100644 --- a/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/model/Order.java @@ -72,7 +72,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/model/Pet.java index 4697ec67d4b6..71dc60f1df5a 100644 --- a/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-implicitHeaders-annotationLibrary/src/main/java/org/openapitools/model/Pet.java @@ -37,7 +37,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index a3b157e3fd2d..bf2a1a993af2 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -31,28 +31,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Animal.java index 31eabc87a11a..8a08cb431042 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Animal.java @@ -39,7 +39,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Pet.java index 17ec748ff647..c07858bfa91e 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/Pet.java @@ -42,7 +42,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-implicitHeaders/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-lombok-data/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-lombok-data/src/main/java/org/openapitools/model/Order.java index 1b960ba66e3e..f831eb8768a6 100644 --- a/samples/server/petstore/springboot-lombok-data/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-lombok-data/src/main/java/org/openapitools/model/Order.java @@ -78,7 +78,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; } diff --git a/samples/server/petstore/springboot-lombok-data/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-lombok-data/src/main/java/org/openapitools/model/Pet.java index d40221a3bf85..306cb8363e25 100644 --- a/samples/server/petstore/springboot-lombok-data/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-lombok-data/src/main/java/org/openapitools/model/Pet.java @@ -43,7 +43,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-lombok-tostring/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-lombok-tostring/src/main/java/org/openapitools/model/Order.java index dfed3fc6d0f8..e4f8e557eeb8 100644 --- a/samples/server/petstore/springboot-lombok-tostring/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-lombok-tostring/src/main/java/org/openapitools/model/Order.java @@ -79,7 +79,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-lombok-tostring/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-lombok-tostring/src/main/java/org/openapitools/model/Pet.java index 51719949adfb..67233a553af2 100644 --- a/samples/server/petstore/springboot-lombok-tostring/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-lombok-tostring/src/main/java/org/openapitools/model/Pet.java @@ -44,7 +44,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index a3b157e3fd2d..bf2a1a993af2 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -31,28 +31,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Animal.java index 31eabc87a11a..8a08cb431042 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Animal.java @@ -39,7 +39,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Pet.java index 17ec748ff647..c07858bfa91e 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/Pet.java @@ -42,7 +42,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-reactive-noResponseEntity/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index a3b157e3fd2d..bf2a1a993af2 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -31,28 +31,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Animal.java index 31eabc87a11a..8a08cb431042 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Animal.java @@ -39,7 +39,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Pet.java index 17ec748ff647..c07858bfa91e 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/Pet.java @@ -42,7 +42,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-reactive/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 84038cb3ef6e..2d5472477ba8 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -28,28 +28,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Animal.java index 510598522be4..36ee4ceec148 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Pet.java index 56ecb5b8db8e..4e200cd1f949 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern-without-j8/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 84038cb3ef6e..2d5472477ba8 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -28,28 +28,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Animal.java index 510598522be4..36ee4ceec148 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Pet.java index 56ecb5b8db8e..4e200cd1f949 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-spring-pageable-delegatePattern/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 84038cb3ef6e..2d5472477ba8 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -28,28 +28,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Animal.java index 510598522be4..36ee4ceec148 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Pet.java index 56ecb5b8db8e..4e200cd1f949 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-spring-pageable-without-j8/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java index 84038cb3ef6e..2d5472477ba8 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/AdditionalPropertiesClass.java @@ -28,28 +28,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Animal.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Animal.java index 510598522be4..36ee4ceec148 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Animal.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java index 56ab24bf585f..56a2f333d89d 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java index 0a004d9ece3b..d325e547d8a1 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayOfNumberOnly.java @@ -28,7 +28,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayTest.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayTest.java index 80a9c0ce7e92..a7a0f08bd3cb 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayTest.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/ArrayTest.java @@ -28,13 +28,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/EnumArrays.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/EnumArrays.java index 02b481419d1e..f02ddb0b996e 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/EnumArrays.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/EnumArrays.java @@ -100,7 +100,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/FileSchemaTestClass.java index 94b681d2bd43..ee95d9c8d2e4 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/FileSchemaTestClass.java @@ -30,7 +30,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/MapTest.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/MapTest.java index a4f96f10d333..2830ab336f79 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/MapTest.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/MapTest.java @@ -27,7 +27,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -65,13 +65,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java index 21d7a1436401..625fd1d0aa18 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -35,7 +35,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Order.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Order.java index 9adccf0c25cd..814ebb1a04c8 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Order.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Order.java @@ -74,7 +74,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Pet.java index 56ecb5b8db8e..4e200cd1f949 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/Pet.java @@ -39,7 +39,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/XmlItem.java b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/XmlItem.java index 1ab02375dd95..708a50eaeca2 100644 --- a/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/XmlItem.java +++ b/samples/server/petstore/springboot-spring-pageable/src/main/java/org/openapitools/model/XmlItem.java @@ -36,7 +36,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -47,10 +47,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -61,10 +61,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -75,10 +75,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -89,10 +89,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot-spring-provide-args/src/main/java/org/openapitools/model/Pet.java b/samples/server/petstore/springboot-spring-provide-args/src/main/java/org/openapitools/model/Pet.java index b4ddfa57f2f2..74693306eafa 100644 --- a/samples/server/petstore/springboot-spring-provide-args/src/main/java/org/openapitools/model/Pet.java +++ b/samples/server/petstore/springboot-spring-provide-args/src/main/java/org/openapitools/model/Pet.java @@ -38,7 +38,7 @@ public class Pet { private List photoUrls = new ArrayList<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/AdditionalPropertiesClass.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/AdditionalPropertiesClass.java index bd9dcadd4cd8..c6200ba3e3d9 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/AdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/AdditionalPropertiesClass.java @@ -30,28 +30,28 @@ public class AdditionalPropertiesClass { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Animal.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Animal.java index a6154d5b0cf0..faee816cfacb 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Animal.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Animal.java @@ -38,7 +38,7 @@ public class Animal { private String className; - private @Nullable String color = "red"; + private String color = "red"; public Animal() { super(); diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayOfArrayOfNumberOnly.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayOfArrayOfNumberOnly.java index c55e2edb5fef..483702cbf634 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayOfArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayOfArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfArrayOfNumberOnly { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnly arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayOfNumberOnly.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayOfNumberOnly.java index bbd7987d3cac..89f333df2a27 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayOfNumberOnly.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayOfNumberOnly.java @@ -27,7 +27,7 @@ public class ArrayOfNumberOnly { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnly arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayTest.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayTest.java index 1cbd66450e39..64e9befca596 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayTest.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/ArrayTest.java @@ -27,13 +27,13 @@ public class ArrayTest { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTest arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/EnumArrays.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/EnumArrays.java index 9a3ad13a0689..762839d788a0 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/EnumArrays.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/EnumArrays.java @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArrays justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/FileSchemaTestClass.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/FileSchemaTestClass.java index c8062de11684..fd5bb435e72a 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/FileSchemaTestClass.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/FileSchemaTestClass.java @@ -29,7 +29,7 @@ public class FileSchemaTestClass { private @Nullable File file; @Valid - private @Nullable List<@Valid File> files = new ArrayList<>(); + private List<@Valid File> files = new ArrayList<>(); public FileSchemaTestClass file(File file) { this.file = file; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/MapTest.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/MapTest.java index e95b8a161a71..5b08ba9c90ab 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/MapTest.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/MapTest.java @@ -26,7 +26,7 @@ public class MapTest { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTest mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/MixedPropertiesAndAdditionalPropertiesClass.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/MixedPropertiesAndAdditionalPropertiesClass.java index 9f2ce1ff2fd5..d3127bed6959 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/MixedPropertiesAndAdditionalPropertiesClass.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/MixedPropertiesAndAdditionalPropertiesClass.java @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClass { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClass uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Order.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Order.java index f10c691aee25..7cd7196da054 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Order.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Order.java @@ -73,7 +73,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public Order id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Pet.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Pet.java index 646a587646be..91d4716e4be0 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Pet.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/Pet.java @@ -41,7 +41,7 @@ public class Pet { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid Tag> tags = new ArrayList<>(); + private List<@Valid Tag> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/XmlItem.java b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/XmlItem.java index 33222536dbab..cb6356473c36 100644 --- a/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/XmlItem.java +++ b/samples/server/petstore/springboot-virtualan/src/main/java/org/openapitools/virtualan/model/XmlItem.java @@ -35,7 +35,7 @@ public class XmlItem { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -46,10 +46,10 @@ public class XmlItem { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -60,10 +60,10 @@ public class XmlItem { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -74,10 +74,10 @@ public class XmlItem { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -88,10 +88,10 @@ public class XmlItem { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItem attributeString(String attributeString) { this.attributeString = attributeString; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java index 8ba317165141..a4bf526ab0f7 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java @@ -33,28 +33,28 @@ public class AdditionalPropertiesClassDto { @Valid - private @Nullable Map mapString = new HashMap<>(); + private Map mapString = new HashMap<>(); @Valid - private @Nullable Map mapNumber = new HashMap<>(); + private Map mapNumber = new HashMap<>(); @Valid - private @Nullable Map mapInteger = new HashMap<>(); + private Map mapInteger = new HashMap<>(); @Valid - private @Nullable Map mapBoolean = new HashMap<>(); + private Map mapBoolean = new HashMap<>(); @Valid - private @Nullable Map> mapArrayInteger = new HashMap<>(); + private Map> mapArrayInteger = new HashMap<>(); @Valid - private @Nullable Map> mapArrayAnytype = new HashMap<>(); + private Map> mapArrayAnytype = new HashMap<>(); @Valid - private @Nullable Map> mapMapString = new HashMap<>(); + private Map> mapMapString = new HashMap<>(); @Valid - private @Nullable Map> mapMapAnytype = new HashMap<>(); + private Map> mapMapAnytype = new HashMap<>(); private @Nullable Object anytype1; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/AnimalDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/AnimalDto.java index bed6de7694a2..4dc2429dcb24 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/AnimalDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/AnimalDto.java @@ -40,7 +40,7 @@ public class AnimalDto { private String className; - private @Nullable String color = "red"; + private String color = "red"; public AnimalDto() { super(); diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java index fcece8d0a213..6683148e57e3 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayOfArrayOfNumberOnlyDto.java @@ -30,7 +30,7 @@ public class ArrayOfArrayOfNumberOnlyDto { @Valid - private @Nullable List> arrayArrayNumber = new ArrayList<>(); + private List> arrayArrayNumber = new ArrayList<>(); public ArrayOfArrayOfNumberOnlyDto arrayArrayNumber(List> arrayArrayNumber) { this.arrayArrayNumber = arrayArrayNumber; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java index fe1db02f24b5..ebe7fce9deba 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayOfNumberOnlyDto.java @@ -30,7 +30,7 @@ public class ArrayOfNumberOnlyDto { @Valid - private @Nullable List arrayNumber = new ArrayList<>(); + private List arrayNumber = new ArrayList<>(); public ArrayOfNumberOnlyDto arrayNumber(List arrayNumber) { this.arrayNumber = arrayNumber; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayTestDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayTestDto.java index beaa5da33379..7d5856746088 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayTestDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/ArrayTestDto.java @@ -30,13 +30,13 @@ public class ArrayTestDto { @Valid - private @Nullable List arrayOfString = new ArrayList<>(); + private List arrayOfString = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfInteger = new ArrayList<>(); + private List> arrayArrayOfInteger = new ArrayList<>(); @Valid - private @Nullable List> arrayArrayOfModel = new ArrayList<>(); + private List> arrayArrayOfModel = new ArrayList<>(); public ArrayTestDto arrayOfString(List arrayOfString) { this.arrayOfString = arrayOfString; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/EnumArraysDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/EnumArraysDto.java index ff32e56496ba..a12acf430431 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/EnumArraysDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/EnumArraysDto.java @@ -102,7 +102,7 @@ public static ArrayEnumEnum fromValue(String value) { } @Valid - private @Nullable List arrayEnum = new ArrayList<>(); + private List arrayEnum = new ArrayList<>(); public EnumArraysDto justSymbol(JustSymbolEnum justSymbol) { this.justSymbol = justSymbol; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java index c05a2a9f97d9..ac8d0112b2ae 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/FileSchemaTestClassDto.java @@ -32,7 +32,7 @@ public class FileSchemaTestClassDto { private @Nullable FileDto file; @Valid - private @Nullable List<@Valid FileDto> files = new ArrayList<>(); + private List<@Valid FileDto> files = new ArrayList<>(); public FileSchemaTestClassDto file(FileDto file) { this.file = file; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/MapTestDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/MapTestDto.java index af8ace8dc033..1f8c351a3260 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/MapTestDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/MapTestDto.java @@ -29,7 +29,7 @@ public class MapTestDto { @Valid - private @Nullable Map> mapMapOfString = new HashMap<>(); + private Map> mapMapOfString = new HashMap<>(); /** * Gets or Sets inner @@ -67,13 +67,13 @@ public static InnerEnum fromValue(String value) { } @Valid - private @Nullable Map mapOfEnumString = new HashMap<>(); + private Map mapOfEnumString = new HashMap<>(); @Valid - private @Nullable Map directMap = new HashMap<>(); + private Map directMap = new HashMap<>(); @Valid - private @Nullable Map indirectMap = new HashMap<>(); + private Map indirectMap = new HashMap<>(); public MapTestDto mapMapOfString(Map> mapMapOfString) { this.mapMapOfString = mapMapOfString; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java index 3748730529e6..9f30a66ba4b8 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/MixedPropertiesAndAdditionalPropertiesClassDto.java @@ -37,7 +37,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassDto { private @Nullable OffsetDateTime dateTime; @Valid - private @Nullable Map map = new HashMap<>(); + private Map map = new HashMap<>(); public MixedPropertiesAndAdditionalPropertiesClassDto uuid(UUID uuid) { this.uuid = uuid; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/OrderDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/OrderDto.java index 03d4c3d1c599..7b53e6019711 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/OrderDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/OrderDto.java @@ -76,7 +76,7 @@ public static StatusEnum fromValue(String value) { private @Nullable StatusEnum status; - private @Nullable Boolean complete = false; + private Boolean complete = false; public OrderDto id(Long id) { this.id = id; diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/PetDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/PetDto.java index 984a504a2af8..31be4b889369 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/PetDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/PetDto.java @@ -44,7 +44,7 @@ public class PetDto { private Set photoUrls = new LinkedHashSet<>(); @Valid - private @Nullable List<@Valid TagDto> tags = new ArrayList<>(); + private List<@Valid TagDto> tags = new ArrayList<>(); /** * pet status in the store diff --git a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/XmlItemDto.java b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/XmlItemDto.java index 9c1079750892..9704060365e5 100644 --- a/samples/server/petstore/springboot/src/main/java/org/openapitools/model/XmlItemDto.java +++ b/samples/server/petstore/springboot/src/main/java/org/openapitools/model/XmlItemDto.java @@ -38,7 +38,7 @@ public class XmlItemDto { private @Nullable Boolean attributeBoolean; @Valid - private @Nullable List wrappedArray = new ArrayList<>(); + private List wrappedArray = new ArrayList<>(); private @Nullable String nameString; @@ -49,10 +49,10 @@ public class XmlItemDto { private @Nullable Boolean nameBoolean; @Valid - private @Nullable List nameArray = new ArrayList<>(); + private List nameArray = new ArrayList<>(); @Valid - private @Nullable List nameWrappedArray = new ArrayList<>(); + private List nameWrappedArray = new ArrayList<>(); private @Nullable String prefixString; @@ -63,10 +63,10 @@ public class XmlItemDto { private @Nullable Boolean prefixBoolean; @Valid - private @Nullable List prefixArray = new ArrayList<>(); + private List prefixArray = new ArrayList<>(); @Valid - private @Nullable List prefixWrappedArray = new ArrayList<>(); + private List prefixWrappedArray = new ArrayList<>(); private @Nullable String namespaceString; @@ -77,10 +77,10 @@ public class XmlItemDto { private @Nullable Boolean namespaceBoolean; @Valid - private @Nullable List namespaceArray = new ArrayList<>(); + private List namespaceArray = new ArrayList<>(); @Valid - private @Nullable List namespaceWrappedArray = new ArrayList<>(); + private List namespaceWrappedArray = new ArrayList<>(); private @Nullable String prefixNsString; @@ -91,10 +91,10 @@ public class XmlItemDto { private @Nullable Boolean prefixNsBoolean; @Valid - private @Nullable List prefixNsArray = new ArrayList<>(); + private List prefixNsArray = new ArrayList<>(); @Valid - private @Nullable List prefixNsWrappedArray = new ArrayList<>(); + private List prefixNsWrappedArray = new ArrayList<>(); public XmlItemDto attributeString(String attributeString) { this.attributeString = attributeString;