From ac351dfb55dac5b7fc63b955d80e4302e426b58f Mon Sep 17 00:00:00 2001 From: Andriy Slobodyanyk Date: Thu, 19 Dec 2024 11:14:12 +0400 Subject: [PATCH] updates samples --- .../main/java/org/openapitools/model/Pet.java | 10 +++++----- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../model/AdditionalPropertiesClassDto.java | 16 +++++++-------- .../org/openapitools/model/AnimalDto.java | 2 +- .../model/ArrayOfArrayOfNumberOnlyDto.java | 2 +- .../model/ArrayOfNumberOnlyDto.java | 2 +- .../org/openapitools/model/ArrayTestDto.java | 6 +++--- .../org/openapitools/model/EnumArraysDto.java | 2 +- .../model/FileSchemaTestClassDto.java | 2 +- .../org/openapitools/model/MapTestDto.java | 8 ++++---- ...ertiesAndAdditionalPropertiesClassDto.java | 2 +- .../java/org/openapitools/model/OrderDto.java | 2 +- .../java/org/openapitools/model/PetDto.java | 2 +- .../org/openapitools/model/XmlItemDto.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClassDto.java | 16 +++++++-------- .../org/openapitools/model/AnimalDto.java | 2 +- .../model/ArrayOfArrayOfNumberOnlyDto.java | 2 +- .../model/ArrayOfNumberOnlyDto.java | 2 +- .../org/openapitools/model/ArrayTestDto.java | 6 +++--- .../org/openapitools/model/EnumArraysDto.java | 2 +- .../model/FileSchemaTestClassDto.java | 2 +- .../org/openapitools/model/MapTestDto.java | 8 ++++---- ...ertiesAndAdditionalPropertiesClassDto.java | 2 +- .../java/org/openapitools/model/OrderDto.java | 2 +- .../java/org/openapitools/model/PetDto.java | 2 +- .../org/openapitools/model/XmlItemDto.java | 18 ++++++++--------- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 10 +++++----- .../main/java/org/openapitools/model/Pet.java | 2 +- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 4 ++-- .../main/java/org/openapitools/model/Pet.java | 4 ++-- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/ObjectWithUniqueItems.java | 4 ++-- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../model/AdditionalPropertiesClass.java | 18 ++++++++--------- .../java/org/openapitools/model/Animal.java | 4 ++-- .../model/ArrayOfArrayOfNumberOnly.java | 4 ++-- .../openapitools/model/ArrayOfNumberOnly.java | 4 ++-- .../org/openapitools/model/ArrayTest.java | 8 ++++---- .../java/org/openapitools/model/BigCat.java | 2 +- .../main/java/org/openapitools/model/Cat.java | 2 +- .../main/java/org/openapitools/model/Dog.java | 2 +- .../org/openapitools/model/EnumArrays.java | 4 ++-- .../model/FileSchemaTestClass.java | 4 ++-- .../java/org/openapitools/model/MapTest.java | 10 +++++----- ...ropertiesAndAdditionalPropertiesClass.java | 4 ++-- .../java/org/openapitools/model/Order.java | 4 ++-- .../main/java/org/openapitools/model/Pet.java | 4 ++-- .../java/org/openapitools/model/XmlItem.java | 20 +++++++++---------- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../java/org/openapitools/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../openapitools/model/ArrayOfNumberOnly.java | 2 +- .../org/openapitools/model/ArrayTest.java | 6 +++--- .../org/openapitools/model/EnumArrays.java | 2 +- .../model/FileSchemaTestClass.java | 2 +- .../java/org/openapitools/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../java/org/openapitools/model/Order.java | 2 +- .../main/java/org/openapitools/model/Pet.java | 2 +- .../java/org/openapitools/model/XmlItem.java | 18 ++++++++--------- .../main/java/org/openapitools/model/Pet.java | 2 +- .../model/AdditionalPropertiesClass.java | 16 +++++++-------- .../openapitools/virtualan/model/Animal.java | 2 +- .../model/ArrayOfArrayOfNumberOnly.java | 2 +- .../virtualan/model/ArrayOfNumberOnly.java | 2 +- .../virtualan/model/ArrayTest.java | 6 +++--- .../virtualan/model/EnumArrays.java | 2 +- .../virtualan/model/FileSchemaTestClass.java | 2 +- .../openapitools/virtualan/model/MapTest.java | 8 ++++---- ...ropertiesAndAdditionalPropertiesClass.java | 2 +- .../openapitools/virtualan/model/Order.java | 2 +- .../org/openapitools/virtualan/model/Pet.java | 2 +- .../openapitools/virtualan/model/XmlItem.java | 18 ++++++++--------- .../model/AdditionalPropertiesClassDto.java | 16 +++++++-------- .../org/openapitools/model/AnimalDto.java | 2 +- .../model/ArrayOfArrayOfNumberOnlyDto.java | 2 +- .../model/ArrayOfNumberOnlyDto.java | 2 +- .../org/openapitools/model/ArrayTestDto.java | 6 +++--- .../org/openapitools/model/EnumArraysDto.java | 2 +- .../model/FileSchemaTestClassDto.java | 2 +- .../org/openapitools/model/MapTestDto.java | 8 ++++---- ...ertiesAndAdditionalPropertiesClassDto.java | 2 +- .../java/org/openapitools/model/OrderDto.java | 2 +- .../java/org/openapitools/model/PetDto.java | 2 +- .../org/openapitools/model/XmlItemDto.java | 18 ++++++++--------- 296 files changed, 739 insertions(+), 739 deletions(-) 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 e6ba8b24dbff5..c6363d13aba28 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 8a69ca7220072..56709c1910daa 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 4568e26bd5d53..1e2fd216c67ef 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 db44b0fba5004..763d3c560a079 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 231424f12c707..0a423d73657c8 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 db44b0fba5004..763d3c560a079 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 3ec86de1ccc32..b640f12aa3887 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 db44b0fba5004..763d3c560a079 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 231424f12c707..0a423d73657c8 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 539e4452b3681..f2480f1f11219 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 d4fbabcbd6da0..f3958110abc89 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 b12206a72a262..364bee71144d7 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 74f5b2d5c2507..fde12e7b2e10a 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 fdc695fe70668..0943ebd8d00b4 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 d9affa10c3375..8c08eaed4cad2 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 14d3b553e5035..d71c47a6aa1bd 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 57de8c418cdb6..b6a51c167e577 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 7432f469673af..d72a92a55c38f 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 a8107424214cf..e33079b167c7e 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 b618c5e0427ae..fbb192dc0fe30 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 00b4a62463aa8..a3a53cf3ed544 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 0881cfec7ca9a..3636984a7f701 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 ed54c17582401..24172f2c100d8 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 e8682ac2fad7f..65470440b56bf 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 741e16d602a9c..ccaaf084a050a 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 00db8fe311208..0d184e7e2566a 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 c2868b650485d..ff77ec0789f0c 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 201ce6c200574..abab53fe84eea 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 b730d9f62338d..86093477f2ad1 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 c9d66501c65f9..a057f5287ef82 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 edf8b14848296..8d8742d8f8136 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 ccc7a534c6e15..a28e7307342d8 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 5a735744e7476..d77e29a1a4d64 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 0881cfec7ca9a..3636984a7f701 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 ed54c17582401..24172f2c100d8 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 e8682ac2fad7f..65470440b56bf 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 741e16d602a9c..ccaaf084a050a 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 00db8fe311208..0d184e7e2566a 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 c2868b650485d..ff77ec0789f0c 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 201ce6c200574..abab53fe84eea 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 b730d9f62338d..86093477f2ad1 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 c9d66501c65f9..a057f5287ef82 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 edf8b14848296..8d8742d8f8136 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 ccc7a534c6e15..a28e7307342d8 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 5a735744e7476..d77e29a1a4d64 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 539e4452b3681..f2480f1f11219 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 d4fbabcbd6da0..f3958110abc89 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 b12206a72a262..364bee71144d7 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 74f5b2d5c2507..fde12e7b2e10a 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 fdc695fe70668..0943ebd8d00b4 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 d9affa10c3375..8c08eaed4cad2 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 14d3b553e5035..d71c47a6aa1bd 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 57de8c418cdb6..b6a51c167e577 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 7432f469673af..d72a92a55c38f 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 a8107424214cf..e33079b167c7e 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 b618c5e0427ae..fbb192dc0fe30 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 00b4a62463aa8..a3a53cf3ed544 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 27b96eaee76db..5585d48d7c044 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 9212c6acc05b5..d3f2f8e314fb5 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 989c4b43a7781..aba526481ae79 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 f59565991814e..26f68837d4daa 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 93913f4720d0d..cb7d15fd414da 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 f59565991814e..26f68837d4daa 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 7541533b336ad..3288679fb1d5b 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 429541f61c57d..5cac98a1edac4 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 4f3dc0190ff2b..dbcf22651556b 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 1a9cfa0203df3..e78378810cd98 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 760fd3f985b59..df54bf8501ff0 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 b0d5384daa87b..88cff106d062b 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 94187c1b6b63e..7691f8aac871c 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 2395d51962355..71de8ebdee24a 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 2301ff66966c7..4edec95b367bd 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 d5bb0101f85bb..08ba23a13fa88 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 c2164dd0c3a4e..a20892aa7ac51 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 785d3afed9b87..c0ade97583c86 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 989c4b43a7781..aba526481ae79 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 17ef7866da4f2..19d41d7dbf7f9 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 989c4b43a7781..aba526481ae79 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 f59565991814e..26f68837d4daa 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 989c4b43a7781..aba526481ae79 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 f59565991814e..26f68837d4daa 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 989c4b43a7781..aba526481ae79 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 f59565991814e..26f68837d4daa 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 989c4b43a7781..aba526481ae79 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 f59565991814e..26f68837d4daa 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 dd373d07132df..f73e8a13a96a9 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 dec122de8c23b..ca4275af5769b 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 7541533b336ad..3288679fb1d5b 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 9aee98a576178..4e0f44eca37de 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 4f3dc0190ff2b..dbcf22651556b 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 1a9cfa0203df3..e78378810cd98 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 760fd3f985b59..df54bf8501ff0 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 b0d5384daa87b..88cff106d062b 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 94187c1b6b63e..7691f8aac871c 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 2395d51962355..71de8ebdee24a 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 2301ff66966c7..4edec95b367bd 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 d5bb0101f85bb..08ba23a13fa88 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 151618370fed4..54336462ec79f 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 785d3afed9b87..c0ade97583c86 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 7541533b336ad..3288679fb1d5b 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 9aee98a576178..4e0f44eca37de 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 4f3dc0190ff2b..dbcf22651556b 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 1a9cfa0203df3..e78378810cd98 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 760fd3f985b59..df54bf8501ff0 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 b0d5384daa87b..88cff106d062b 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 94187c1b6b63e..7691f8aac871c 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 2395d51962355..71de8ebdee24a 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 2301ff66966c7..4edec95b367bd 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 d5bb0101f85bb..08ba23a13fa88 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 151618370fed4..54336462ec79f 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 785d3afed9b87..c0ade97583c86 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 d387220fe6888..f75116e5a8cef 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 4697ec67d4b66..71dc60f1df5ac 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 989c4b43a7781..aba526481ae79 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 f59565991814e..26f68837d4daa 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 7541533b336ad..3288679fb1d5b 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 9aee98a576178..4e0f44eca37de 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 4f3dc0190ff2b..dbcf22651556b 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 1a9cfa0203df3..e78378810cd98 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 760fd3f985b59..df54bf8501ff0 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 b0d5384daa87b..88cff106d062b 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 94187c1b6b63e..7691f8aac871c 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 2395d51962355..71de8ebdee24a 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 2301ff66966c7..4edec95b367bd 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 d5bb0101f85bb..08ba23a13fa88 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 151618370fed4..54336462ec79f 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 785d3afed9b87..c0ade97583c86 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 f9c7644b3863d..b15de91863844 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 8eaf6a6f56e43..85c973371623f 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 6b446d8d5499d..b6a4898bf3aff 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 885a67e658374..3514e9967ae71 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 7c546a3a0ff6a..51c6940bb5046 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 88f9bde438d5d..85d34ef4b986d 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 e2a40a431ffb5..12a0dba3520fd 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 d524da5628c29..e5f98bb5ea467 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 ed8db99585165..f115315006e43 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 366a2747333dc..a5586b034b442 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 2f0b4772d2127..176ec4ddee2be 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 f766ac12e0225..387e6a9ce445d 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 dbea59c295f0e..f2138744f9ae8 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 a3b157e3fd2d0..bf2a1a993af26 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 31eabc87a11a2..8a08cb431042a 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 17ec748ff6470..c07858bfa91eb 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 1ab02375dd957..708a50eaeca24 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 a3b157e3fd2d0..bf2a1a993af26 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 31eabc87a11a2..8a08cb431042a 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 17ec748ff6470..c07858bfa91eb 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 1ab02375dd957..708a50eaeca24 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 db44b0fba5004..763d3c560a079 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 231424f12c707..0a423d73657c8 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 4ce67f92a9dce..1bba09270c804 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 0eec4a430350c..29e0154b65e8b 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 62f26fe69933c..3af29725d87de 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 df4c029da1ae6..1fee4b6ecc60e 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 1869a87e61843..f0589b85c587c 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 7992c5c13f685..876575a919164 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 da3795bc30785..c56b03c23a760 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 bf2c2f455102d..f1742d7bcade7 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 f531dd85d9af3..e194bc867af2e 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 21451331e91a2..7811befcf6651 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 deec5f207148f..8bd8ff8a67e7f 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 656d131857c6e..aee51734b2b9f 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 0ec6d5a0a2529..27ac7286e310b 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 a7441abb39654..5f09881c02a11 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 e145ba4a9a139..bd800e789778f 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 d387220fe6888..f75116e5a8cef 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 4697ec67d4b66..71dc60f1df5ac 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 a3b157e3fd2d0..bf2a1a993af26 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 31eabc87a11a2..8a08cb431042a 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 17ec748ff6470..c07858bfa91eb 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 1ab02375dd957..708a50eaeca24 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 1b960ba66e3ec..f831eb8768a64 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 d40221a3bf852..306cb8363e25b 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 dfed3fc6d0f80..e4f8e557eeb86 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 51719949adfbd..67233a553af2a 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 a3b157e3fd2d0..bf2a1a993af26 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 31eabc87a11a2..8a08cb431042a 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 17ec748ff6470..c07858bfa91eb 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 1ab02375dd957..708a50eaeca24 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 a3b157e3fd2d0..bf2a1a993af26 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 31eabc87a11a2..8a08cb431042a 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 17ec748ff6470..c07858bfa91eb 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 1ab02375dd957..708a50eaeca24 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 84038cb3ef6e5..2d5472477ba84 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 510598522be41..36ee4ceec1487 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 56ecb5b8db8eb..4e200cd1f9496 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 1ab02375dd957..708a50eaeca24 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 84038cb3ef6e5..2d5472477ba84 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 510598522be41..36ee4ceec1487 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 56ecb5b8db8eb..4e200cd1f9496 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 1ab02375dd957..708a50eaeca24 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 84038cb3ef6e5..2d5472477ba84 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 510598522be41..36ee4ceec1487 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 56ecb5b8db8eb..4e200cd1f9496 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 1ab02375dd957..708a50eaeca24 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 84038cb3ef6e5..2d5472477ba84 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 510598522be41..36ee4ceec1487 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 56ab24bf585f9..56a2f333d89da 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 0a004d9ece3b9..d325e547d8a1b 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 80a9c0ce7e925..a7a0f08bd3cb0 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 02b481419d1ea..f02ddb0b996ec 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 94b681d2bd439..ee95d9c8d2e46 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 a4f96f10d3330..2830ab336f791 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 21d7a1436401d..625fd1d0aa180 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 9adccf0c25cd3..814ebb1a04c88 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 56ecb5b8db8eb..4e200cd1f9496 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 1ab02375dd957..708a50eaeca24 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 b4ddfa57f2f23..74693306eafa0 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 bd9dcadd4cd82..c6200ba3e3d96 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 a6154d5b0cf05..faee816cfacb3 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 c55e2edb5fef1..483702cbf634f 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 bbd7987d3cace..89f333df2a277 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 1cbd66450e395..64e9befca5961 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 9a3ad13a06891..762839d788a07 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 c8062de116844..fd5bb435e72a1 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 e95b8a161a71b..5b08ba9c90abf 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 9f2ce1ff2fd58..d3127bed6959c 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 f10c691aee25b..7cd7196da0544 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 646a587646be9..91d4716e4be0b 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 33222536dbabc..cb6356473c36d 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 8ba3171651410..a4bf526ab0f7c 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 bed6de7694a23..4dc2429dcb24f 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 fcece8d0a2130..6683148e57e3a 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 fe1db02f24b54..ebe7fce9debac 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 beaa5da333790..7d58567460884 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 ff32e56496ba0..a12acf430431e 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 c05a2a9f97d95..ac8d0112b2ae0 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 af8ace8dc0336..1f8c351a32607 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 3748730529e6b..9f30a66ba4b8c 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 03d4c3d1c5994..7b53e60197117 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 984a504a2af86..31be4b8893693 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 9c1079750892f..9704060365e5a 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;