Skip to content

Commit ae17cc9

Browse files
slobodatoraslobodyanyk-wio
authored andcommitted
updates samples
1 parent 5017e27 commit ae17cc9

File tree

296 files changed

+739
-739
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

296 files changed

+739
-739
lines changed

samples/client/petstore/spring-cloud-date-time/src/main/java/org/openapitools/model/Pet.java

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -29,17 +29,17 @@ public class Pet {
2929

3030
private String atType = "Pet";
3131

32-
private @Nullable Integer age = 4;
32+
private Integer age = 4;
3333

34-
private @Nullable Boolean happy = true;
34+
private Boolean happy = true;
3535

36-
private @Nullable BigDecimal price = new BigDecimal("32000000000");
36+
private BigDecimal price = new BigDecimal("32000000000");
3737

3838
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE_TIME)
39-
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()));
39+
private OffsetDateTime lastFeed = OffsetDateTime.parse("1973-12-19T11:39:57Z[UTC]", java.time.format.DateTimeFormatter.ISO_ZONED_DATE_TIME.withZone(java.time.ZoneId.systemDefault()));
4040

4141
@DateTimeFormat(iso = DateTimeFormat.ISO.DATE)
42-
private @Nullable LocalDate dateOfBirth = LocalDate.parse("2021-01-01");
42+
private LocalDate dateOfBirth = LocalDate.parse("2021-01-01");
4343

4444
public Pet() {
4545
super();

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Order.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ public static StatusEnum fromValue(String value) {
7676

7777
private @Nullable StatusEnum status;
7878

79-
private @Nullable Boolean complete = false;
79+
private Boolean complete = false;
8080

8181
public Order id(Long id) {
8282
this.id = id;

samples/client/petstore/spring-cloud-deprecated/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class Pet {
4040
private List<String> photoUrls = new ArrayList<>();
4141

4242
@Valid
43-
private @Nullable List<@Valid Tag> tags = new ArrayList<>();
43+
private List<@Valid Tag> tags = new ArrayList<>();
4444

4545
/**
4646
* pet status in the store

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Order.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static StatusEnum fromValue(String value) {
7575

7676
private @Nullable StatusEnum status;
7777

78-
private @Nullable Boolean complete = false;
78+
private Boolean complete = false;
7979

8080
public Order id(Long id) {
8181
this.id = id;

samples/client/petstore/spring-cloud-feign-without-url/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class Pet {
4040
private List<String> photoUrls = new ArrayList<>();
4141

4242
@Valid
43-
private @Nullable List<@Valid Tag> tags = new ArrayList<>();
43+
private List<@Valid Tag> tags = new ArrayList<>();
4444

4545
/**
4646
* pet status in the store

samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Order.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static StatusEnum fromValue(String value) {
7575

7676
private @Nullable StatusEnum status;
7777

78-
private @Nullable Boolean complete = false;
78+
private Boolean complete = false;
7979

8080
public Order id(Long id) {
8181
this.id = id;

samples/client/petstore/spring-cloud-tags/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class Pet {
4040
private List<String> photoUrls = new ArrayList<>();
4141

4242
@Valid
43-
private @Nullable List<@Valid Tag> tags = new ArrayList<>();
43+
private List<@Valid Tag> tags = new ArrayList<>();
4444

4545
/**
4646
* pet status in the store

samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Order.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ public static StatusEnum fromValue(String value) {
7575

7676
private @Nullable StatusEnum status;
7777

78-
private @Nullable Boolean complete = false;
78+
private Boolean complete = false;
7979

8080
public Order id(Long id) {
8181
this.id = id;

samples/client/petstore/spring-cloud/src/main/java/org/openapitools/model/Pet.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ public class Pet {
4040
private List<String> photoUrls = new ArrayList<>();
4141

4242
@Valid
43-
private @Nullable List<@Valid Tag> tags = new ArrayList<>();
43+
private List<@Valid Tag> tags = new ArrayList<>();
4444

4545
/**
4646
* pet status in the store

samples/client/petstore/spring-http-interface-noResponseEntity/src/main/java/org/openapitools/model/AdditionalPropertiesClassDto.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -30,28 +30,28 @@
3030
public class AdditionalPropertiesClassDto {
3131

3232

33-
private @Nullable Map<String, String> mapString = new HashMap<>();
33+
private Map<String, String> mapString = new HashMap<>();
3434

3535

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

3838

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

4141

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

4444

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

4747

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

5050

51-
private @Nullable Map<String, Map<String, String>> mapMapString = new HashMap<>();
51+
private Map<String, Map<String, String>> mapMapString = new HashMap<>();
5252

5353

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

5656
private @Nullable Object anytype1;
5757

0 commit comments

Comments
 (0)