Skip to content

Commit 9b7e525

Browse files
committed
update samples
1 parent 3b32f9f commit 9b7e525

File tree

170 files changed

+552
-552
lines changed

Some content is hidden

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

170 files changed

+552
-552
lines changed

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/Category.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ public class Category {
3636

3737
public static final String JSON_PROPERTY_ID = "id";
3838

39-
private Long id;
39+
protected Long id;
4040

4141
public static final String JSON_PROPERTY_NAME = "name";
4242

43-
private String name;
43+
protected String name;
4444

4545

4646
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/ModelApiResponse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -38,15 +38,15 @@ public class ModelApiResponse {
3838

3939
public static final String JSON_PROPERTY_CODE = "code";
4040

41-
private Integer code;
41+
protected Integer code;
4242

4343
public static final String JSON_PROPERTY_TYPE = "type";
4444

45-
private String type;
45+
protected String type;
4646

4747
public static final String JSON_PROPERTY_MESSAGE = "message";
4848

49-
private String message;
49+
protected String message;
5050

5151

5252
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/Order.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -41,19 +41,19 @@ public class Order {
4141

4242
public static final String JSON_PROPERTY_ID = "id";
4343

44-
private Long id;
44+
protected Long id;
4545

4646
public static final String JSON_PROPERTY_PET_ID = "petId";
4747

48-
private Long petId;
48+
protected Long petId;
4949

5050
public static final String JSON_PROPERTY_QUANTITY = "quantity";
5151

52-
private Integer quantity;
52+
protected Integer quantity;
5353

5454
public static final String JSON_PROPERTY_SHIP_DATE = "shipDate";
5555

56-
private Date shipDate;
56+
protected Date shipDate;
5757

5858
public enum StatusEnum {
5959

@@ -92,11 +92,11 @@ public static StatusEnum fromValue(String value) {
9292
* Order Status
9393
*/
9494

95-
private StatusEnum status;
95+
protected StatusEnum status;
9696

9797
public static final String JSON_PROPERTY_COMPLETE = "complete";
9898

99-
private Boolean complete = false;
99+
protected Boolean complete = false;
100100

101101

102102
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/Pet.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -45,23 +45,23 @@ public class Pet {
4545

4646
public static final String JSON_PROPERTY_ID = "id";
4747

48-
private Long id;
48+
protected Long id;
4949

5050
public static final String JSON_PROPERTY_CATEGORY = "category";
5151

52-
private Category category;
52+
protected Category category;
5353

5454
public static final String JSON_PROPERTY_NAME = "name";
5555

56-
private String name;
56+
protected String name;
5757

5858
public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls";
5959

60-
private List<String> photoUrls = new ArrayList<>();
60+
protected List<String> photoUrls = new ArrayList<>();
6161

6262
public static final String JSON_PROPERTY_TAGS = "tags";
6363

64-
private List<Tag> tags = null;
64+
protected List<Tag> tags = null;
6565

6666
public enum StatusEnum {
6767

@@ -100,7 +100,7 @@ public static StatusEnum fromValue(String value) {
100100
* pet status in the store
101101
*/
102102

103-
private StatusEnum status;
103+
protected StatusEnum status;
104104

105105

106106
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/Tag.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -36,11 +36,11 @@ public class Tag {
3636

3737
public static final String JSON_PROPERTY_ID = "id";
3838

39-
private Long id;
39+
protected Long id;
4040

4141
public static final String JSON_PROPERTY_NAME = "name";
4242

43-
private String name;
43+
protected String name;
4444

4545

4646
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-mutiny/src/main/java/org/openapitools/client/model/User.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -42,38 +42,38 @@ public class User {
4242

4343
public static final String JSON_PROPERTY_ID = "id";
4444

45-
private Long id;
45+
protected Long id;
4646

4747
public static final String JSON_PROPERTY_USERNAME = "username";
4848

49-
private String username;
49+
protected String username;
5050

5151
public static final String JSON_PROPERTY_FIRST_NAME = "firstName";
5252

53-
private String firstName;
53+
protected String firstName;
5454

5555
public static final String JSON_PROPERTY_LAST_NAME = "lastName";
5656

57-
private String lastName;
57+
protected String lastName;
5858

5959
public static final String JSON_PROPERTY_EMAIL = "email";
6060

61-
private String email;
61+
protected String email;
6262

6363
public static final String JSON_PROPERTY_PASSWORD = "password";
6464

65-
private String password;
65+
protected String password;
6666

6767
public static final String JSON_PROPERTY_PHONE = "phone";
6868

69-
private String phone;
69+
protected String phone;
7070

7171
public static final String JSON_PROPERTY_USER_STATUS = "userStatus";
7272
/**
7373
* User Status
7474
*/
7575

76-
private Integer userStatus;
76+
protected Integer userStatus;
7777

7878

7979
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Category.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -47,11 +47,11 @@ public class Category {
4747

4848
public static final String JSON_PROPERTY_ID = "id";
4949
@XmlElement(name = "id")
50-
private Long id;
50+
protected Long id;
5151

5252
public static final String JSON_PROPERTY_NAME = "name";
5353
@XmlElement(name = "name")
54-
private String name;
54+
protected String name;
5555

5656

5757
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/ModelApiResponse.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -49,15 +49,15 @@ public class ModelApiResponse {
4949

5050
public static final String JSON_PROPERTY_CODE = "code";
5151
@XmlElement(name = "code")
52-
private Integer code;
52+
protected Integer code;
5353

5454
public static final String JSON_PROPERTY_TYPE = "type";
5555
@XmlElement(name = "type")
56-
private String type;
56+
protected String type;
5757

5858
public static final String JSON_PROPERTY_MESSAGE = "message";
5959
@XmlElement(name = "message")
60-
private String message;
60+
protected String message;
6161

6262

6363
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Order.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -52,19 +52,19 @@ public class Order {
5252

5353
public static final String JSON_PROPERTY_ID = "id";
5454
@XmlElement(name = "id")
55-
private Long id;
55+
protected Long id;
5656

5757
public static final String JSON_PROPERTY_PET_ID = "petId";
5858
@XmlElement(name = "petId")
59-
private Long petId;
59+
protected Long petId;
6060

6161
public static final String JSON_PROPERTY_QUANTITY = "quantity";
6262
@XmlElement(name = "quantity")
63-
private Integer quantity;
63+
protected Integer quantity;
6464

6565
public static final String JSON_PROPERTY_SHIP_DATE = "shipDate";
6666
@XmlElement(name = "shipDate")
67-
private Date shipDate;
67+
protected Date shipDate;
6868

6969
@XmlType(name="StatusEnum")
7070
@XmlEnum(String.class)
@@ -104,11 +104,11 @@ public static StatusEnum fromValue(String v) {
104104
/**
105105
* Order Status
106106
*/
107-
private StatusEnum status;
107+
protected StatusEnum status;
108108

109109
public static final String JSON_PROPERTY_COMPLETE = "complete";
110110
@XmlElement(name = "complete")
111-
private Boolean complete = false;
111+
protected Boolean complete = false;
112112

113113

114114
/**

samples/client/petstore/java/microprofile-rest-client-3.0-jackson-with-xml/src/main/java/org/openapitools/client/model/Pet.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -56,25 +56,25 @@ public class Pet {
5656

5757
public static final String JSON_PROPERTY_ID = "id";
5858
@XmlElement(name = "id")
59-
private Long id;
59+
protected Long id;
6060

6161
public static final String JSON_PROPERTY_CATEGORY = "category";
6262
@XmlElement(name = "Category")
63-
private Category category;
63+
protected Category category;
6464

6565
public static final String JSON_PROPERTY_NAME = "name";
6666
@XmlElement(name = "name")
67-
private String name;
67+
protected String name;
6868

6969
public static final String JSON_PROPERTY_PHOTO_URLS = "photoUrls";
7070
@XmlElement(name = "photoUrl")
7171
@XmlElementWrapper(name = "photoUrl")
72-
private List<String> photoUrls = new ArrayList<>();
72+
protected List<String> photoUrls = new ArrayList<>();
7373

7474
public static final String JSON_PROPERTY_TAGS = "tags";
7575
@XmlElement(name = "Tag")
7676
@XmlElementWrapper(name = "tag")
77-
private List<Tag> tags = null;
77+
protected List<Tag> tags = null;
7878

7979
@XmlType(name="StatusEnum")
8080
@XmlEnum(String.class)
@@ -114,7 +114,7 @@ public static StatusEnum fromValue(String v) {
114114
/**
115115
* pet status in the store
116116
*/
117-
private StatusEnum status;
117+
protected StatusEnum status;
118118

119119

120120
/**

0 commit comments

Comments
 (0)