Skip to content

Commit

Permalink
updates samples
Browse files Browse the repository at this point in the history
  • Loading branch information
slobodator authored and aslobodyanyk-wio committed Dec 19, 2024
1 parent 91afcfb commit ac351df
Show file tree
Hide file tree
Showing 296 changed files with 739 additions and 739 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Pet {
private List<String> photoUrls = new ArrayList<>();

@Valid
private @Nullable List<@Valid Tag> tags = new ArrayList<>();
private List<@Valid Tag> tags = new ArrayList<>();

/**
* pet status in the store
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Pet {
private List<String> photoUrls = new ArrayList<>();

@Valid
private @Nullable List<@Valid Tag> tags = new ArrayList<>();
private List<@Valid Tag> tags = new ArrayList<>();

/**
* pet status in the store
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Pet {
private List<String> photoUrls = new ArrayList<>();

@Valid
private @Nullable List<@Valid Tag> tags = new ArrayList<>();
private List<@Valid Tag> tags = new ArrayList<>();

/**
* pet status in the store
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -40,7 +40,7 @@ public class Pet {
private List<String> photoUrls = new ArrayList<>();

@Valid
private @Nullable List<@Valid Tag> tags = new ArrayList<>();
private List<@Valid Tag> tags = new ArrayList<>();

/**
* pet status in the store
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -30,28 +30,28 @@
public class AdditionalPropertiesClassDto {


private @Nullable Map<String, String> mapString = new HashMap<>();
private Map<String, String> mapString = new HashMap<>();


private @Nullable Map<String, BigDecimal> mapNumber = new HashMap<>();
private Map<String, BigDecimal> mapNumber = new HashMap<>();


private @Nullable Map<String, Integer> mapInteger = new HashMap<>();
private Map<String, Integer> mapInteger = new HashMap<>();


private @Nullable Map<String, Boolean> mapBoolean = new HashMap<>();
private Map<String, Boolean> mapBoolean = new HashMap<>();


private @Nullable Map<String, List<Integer>> mapArrayInteger = new HashMap<>();
private Map<String, List<Integer>> mapArrayInteger = new HashMap<>();


private @Nullable Map<String, List<Object>> mapArrayAnytype = new HashMap<>();
private Map<String, List<Object>> mapArrayAnytype = new HashMap<>();


private @Nullable Map<String, Map<String, String>> mapMapString = new HashMap<>();
private Map<String, Map<String, String>> mapMapString = new HashMap<>();


private @Nullable Map<String, Map<String, Object>> mapMapAnytype = new HashMap<>();
private Map<String, Map<String, Object>> mapMapAnytype = new HashMap<>();

private @Nullable Object anytype1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ public class AnimalDto {

private String className;

private @Nullable String color = "red";
private String color = "red";

public AnimalDto() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public class ArrayOfArrayOfNumberOnlyDto {


private @Nullable List<List<BigDecimal>> arrayArrayNumber = new ArrayList<>();
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<>();

public ArrayOfArrayOfNumberOnlyDto arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@
public class ArrayOfNumberOnlyDto {


private @Nullable List<BigDecimal> arrayNumber = new ArrayList<>();
private List<BigDecimal> arrayNumber = new ArrayList<>();

public ArrayOfNumberOnlyDto arrayNumber(List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -27,13 +27,13 @@
public class ArrayTestDto {


private @Nullable List<String> arrayOfString = new ArrayList<>();
private List<String> arrayOfString = new ArrayList<>();


private @Nullable List<List<Long>> arrayArrayOfInteger = new ArrayList<>();
private List<List<Long>> arrayArrayOfInteger = new ArrayList<>();


private @Nullable List<List<ReadOnlyFirstDto>> arrayArrayOfModel = new ArrayList<>();
private List<List<ReadOnlyFirstDto>> arrayArrayOfModel = new ArrayList<>();

public ArrayTestDto arrayOfString(List<String> arrayOfString) {
this.arrayOfString = arrayOfString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -99,7 +99,7 @@ public static ArrayEnumEnum fromValue(String value) {
}


private @Nullable List<ArrayEnumEnum> arrayEnum = new ArrayList<>();
private List<ArrayEnumEnum> arrayEnum = new ArrayList<>();

public EnumArraysDto justSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -29,7 +29,7 @@ public class FileSchemaTestClassDto {
private @Nullable FileDto file;


private @Nullable List<FileDto> files = new ArrayList<>();
private List<FileDto> files = new ArrayList<>();

public FileSchemaTestClassDto file(FileDto file) {
this.file = file;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -26,7 +26,7 @@
public class MapTestDto {


private @Nullable Map<String, Map<String, String>> mapMapOfString = new HashMap<>();
private Map<String, Map<String, String>> mapMapOfString = new HashMap<>();

/**
* Gets or Sets inner
Expand Down Expand Up @@ -64,13 +64,13 @@ public static InnerEnum fromValue(String value) {
}


private @Nullable Map<String, InnerEnum> mapOfEnumString = new HashMap<>();
private Map<String, InnerEnum> mapOfEnumString = new HashMap<>();


private @Nullable Map<String, Boolean> directMap = new HashMap<>();
private Map<String, Boolean> directMap = new HashMap<>();


private @Nullable Map<String, Boolean> indirectMap = new HashMap<>();
private Map<String, Boolean> indirectMap = new HashMap<>();

public MapTestDto mapMapOfString(Map<String, Map<String, String>> mapMapOfString) {
this.mapMapOfString = mapMapOfString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@ public class MixedPropertiesAndAdditionalPropertiesClassDto {
private @Nullable OffsetDateTime dateTime;


private @Nullable Map<String, AnimalDto> map = new HashMap<>();
private Map<String, AnimalDto> map = new HashMap<>();

public MixedPropertiesAndAdditionalPropertiesClassDto uuid(UUID uuid) {
this.uuid = uuid;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -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;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ public class PetDto {
private Set<String> photoUrls = new LinkedHashSet<>();


private @Nullable List<TagDto> tags = new ArrayList<>();
private List<TagDto> tags = new ArrayList<>();

/**
* pet status in the store
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@ public class XmlItemDto {
private @Nullable Boolean attributeBoolean;


private @Nullable List<Integer> wrappedArray = new ArrayList<>();
private List<Integer> wrappedArray = new ArrayList<>();

private @Nullable String nameString;

Expand All @@ -46,10 +46,10 @@ public class XmlItemDto {
private @Nullable Boolean nameBoolean;


private @Nullable List<Integer> nameArray = new ArrayList<>();
private List<Integer> nameArray = new ArrayList<>();


private @Nullable List<Integer> nameWrappedArray = new ArrayList<>();
private List<Integer> nameWrappedArray = new ArrayList<>();

private @Nullable String prefixString;

Expand All @@ -60,10 +60,10 @@ public class XmlItemDto {
private @Nullable Boolean prefixBoolean;


private @Nullable List<Integer> prefixArray = new ArrayList<>();
private List<Integer> prefixArray = new ArrayList<>();


private @Nullable List<Integer> prefixWrappedArray = new ArrayList<>();
private List<Integer> prefixWrappedArray = new ArrayList<>();

private @Nullable String namespaceString;

Expand All @@ -74,10 +74,10 @@ public class XmlItemDto {
private @Nullable Boolean namespaceBoolean;


private @Nullable List<Integer> namespaceArray = new ArrayList<>();
private List<Integer> namespaceArray = new ArrayList<>();


private @Nullable List<Integer> namespaceWrappedArray = new ArrayList<>();
private List<Integer> namespaceWrappedArray = new ArrayList<>();

private @Nullable String prefixNsString;

Expand All @@ -88,10 +88,10 @@ public class XmlItemDto {
private @Nullable Boolean prefixNsBoolean;


private @Nullable List<Integer> prefixNsArray = new ArrayList<>();
private List<Integer> prefixNsArray = new ArrayList<>();


private @Nullable List<Integer> prefixNsWrappedArray = new ArrayList<>();
private List<Integer> prefixNsWrappedArray = new ArrayList<>();

public XmlItemDto attributeString(String attributeString) {
this.attributeString = attributeString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -28,28 +28,28 @@
public class AdditionalPropertiesClass {


private @Nullable Map<String, String> mapString = new HashMap<>();
private Map<String, String> mapString = new HashMap<>();


private @Nullable Map<String, BigDecimal> mapNumber = new HashMap<>();
private Map<String, BigDecimal> mapNumber = new HashMap<>();


private @Nullable Map<String, Integer> mapInteger = new HashMap<>();
private Map<String, Integer> mapInteger = new HashMap<>();


private @Nullable Map<String, Boolean> mapBoolean = new HashMap<>();
private Map<String, Boolean> mapBoolean = new HashMap<>();


private @Nullable Map<String, List<Integer>> mapArrayInteger = new HashMap<>();
private Map<String, List<Integer>> mapArrayInteger = new HashMap<>();


private @Nullable Map<String, List<Object>> mapArrayAnytype = new HashMap<>();
private Map<String, List<Object>> mapArrayAnytype = new HashMap<>();


private @Nullable Map<String, Map<String, String>> mapMapString = new HashMap<>();
private Map<String, Map<String, String>> mapMapString = new HashMap<>();


private @Nullable Map<String, Map<String, Object>> mapMapAnytype = new HashMap<>();
private Map<String, Map<String, Object>> mapMapAnytype = new HashMap<>();

private @Nullable Object anytype1;

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,7 @@ public class Animal {

private String className;

private @Nullable String color = "red";
private String color = "red";

public Animal() {
super();
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public class ArrayOfArrayOfNumberOnly {


private @Nullable List<List<BigDecimal>> arrayArrayNumber = new ArrayList<>();
private List<List<BigDecimal>> arrayArrayNumber = new ArrayList<>();

public ArrayOfArrayOfNumberOnly arrayArrayNumber(List<List<BigDecimal>> arrayArrayNumber) {
this.arrayArrayNumber = arrayArrayNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@
public class ArrayOfNumberOnly {


private @Nullable List<BigDecimal> arrayNumber = new ArrayList<>();
private List<BigDecimal> arrayNumber = new ArrayList<>();

public ArrayOfNumberOnly arrayNumber(List<BigDecimal> arrayNumber) {
this.arrayNumber = arrayNumber;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -25,13 +25,13 @@
public class ArrayTest {


private @Nullable List<String> arrayOfString = new ArrayList<>();
private List<String> arrayOfString = new ArrayList<>();


private @Nullable List<List<Long>> arrayArrayOfInteger = new ArrayList<>();
private List<List<Long>> arrayArrayOfInteger = new ArrayList<>();


private @Nullable List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<>();
private List<List<ReadOnlyFirst>> arrayArrayOfModel = new ArrayList<>();

public ArrayTest arrayOfString(List<String> arrayOfString) {
this.arrayOfString = arrayOfString;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ public static ArrayEnumEnum fromValue(String value) {
}


private @Nullable List<ArrayEnumEnum> arrayEnum = new ArrayList<>();
private List<ArrayEnumEnum> arrayEnum = new ArrayList<>();

public EnumArrays justSymbol(JustSymbolEnum justSymbol) {
this.justSymbol = justSymbol;
Expand Down
Loading

0 comments on commit ac351df

Please sign in to comment.