Skip to content

Commit 6ac497d

Browse files
committed
rebuilt
1 parent cd2c8f6 commit 6ac497d

File tree

22 files changed

+150
-121
lines changed

22 files changed

+150
-121
lines changed

bin/objc-petstore.sh

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -28,4 +28,4 @@ fi
2828
export JAVA_OPTS="${JAVA_OPTS} -XX:MaxPermSize=256M -Xmx1024M -DloggerPath=conf/log4j.properties"
2929
ags="$@ generate -t modules/swagger-codegen/src/main/resources/objc -i modules/swagger-codegen/src/test/resources/2_0/petstore.json -l objc -o samples/client/petstore/objc"
3030

31-
java -DdebugModels -DappName=PetstoreClient $JAVA_OPTS -jar $executable $ags
31+
java -DappName=PetstoreClient $JAVA_OPTS -jar $executable $ags

pom.xml

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -278,6 +278,18 @@
278278
</build>
279279
</profile>
280280
<!-- Samples -->
281+
<profile>
282+
<id>android-client</id>
283+
<activation>
284+
<property>
285+
<name>env</name>
286+
<value>java</value>
287+
</property>
288+
</activation>
289+
<modules>
290+
<module>samples/client/petstore/android-java</module>
291+
</modules>
292+
</profile>
281293
<profile>
282294
<id>java-client</id>
283295
<activation>
@@ -335,6 +347,7 @@
335347
</property>
336348
</activation>
337349
<modules>
350+
<module>samples/client/petstore/android-java</module>
338351
<module>samples/client/petstore/java</module>
339352
<module>samples/server/petstore/jaxrs</module>
340353
<module>samples/client/petstore/objc</module>

samples/client/petstore/android-java/src/main/java/io/swagger/client/model/Category.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Category {
1414

1515
/**
1616
**/
17-
@ApiModelProperty(required = false, value = "")
17+
@ApiModelProperty(value = "")
1818
@JsonProperty("id")
1919
public Long getId() {
2020
return id;
@@ -26,7 +26,7 @@ public void setId(Long id) {
2626

2727
/**
2828
**/
29-
@ApiModelProperty(required = false, value = "")
29+
@ApiModelProperty(value = "")
3030
@JsonProperty("name")
3131
public String getName() {
3232
return name;

samples/client/petstore/android-java/src/main/java/io/swagger/client/model/Order.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public enum StatusEnum {
2222

2323
/**
2424
**/
25-
@ApiModelProperty(required = false, value = "")
25+
@ApiModelProperty(value = "")
2626
@JsonProperty("id")
2727
public Long getId() {
2828
return id;
@@ -34,7 +34,7 @@ public void setId(Long id) {
3434

3535
/**
3636
**/
37-
@ApiModelProperty(required = false, value = "")
37+
@ApiModelProperty(value = "")
3838
@JsonProperty("petId")
3939
public Long getPetId() {
4040
return petId;
@@ -46,7 +46,7 @@ public void setPetId(Long petId) {
4646

4747
/**
4848
**/
49-
@ApiModelProperty(required = false, value = "")
49+
@ApiModelProperty(value = "")
5050
@JsonProperty("quantity")
5151
public Integer getQuantity() {
5252
return quantity;
@@ -58,7 +58,7 @@ public void setQuantity(Integer quantity) {
5858

5959
/**
6060
**/
61-
@ApiModelProperty(required = false, value = "")
61+
@ApiModelProperty(value = "")
6262
@JsonProperty("shipDate")
6363
public Date getShipDate() {
6464
return shipDate;
@@ -71,7 +71,7 @@ public void setShipDate(Date shipDate) {
7171
/**
7272
* Order Status
7373
**/
74-
@ApiModelProperty(required = false, value = "Order Status")
74+
@ApiModelProperty(value = "Order Status")
7575
@JsonProperty("status")
7676
public StatusEnum getStatus() {
7777
return status;
@@ -83,7 +83,7 @@ public void setStatus(StatusEnum status) {
8383

8484
/**
8585
**/
86-
@ApiModelProperty(required = false, value = "")
86+
@ApiModelProperty(value = "")
8787
@JsonProperty("complete")
8888
public Boolean getComplete() {
8989
return complete;

samples/client/petstore/android-java/src/main/java/io/swagger/client/model/Pet.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public enum StatusEnum {
2424

2525
/**
2626
**/
27-
@ApiModelProperty(required = false, value = "")
27+
@ApiModelProperty(value = "")
2828
@JsonProperty("id")
2929
public Long getId() {
3030
return id;
@@ -36,7 +36,7 @@ public void setId(Long id) {
3636

3737
/**
3838
**/
39-
@ApiModelProperty(required = false, value = "")
39+
@ApiModelProperty(value = "")
4040
@JsonProperty("category")
4141
public Category getCategory() {
4242
return category;
@@ -72,7 +72,7 @@ public void setPhotoUrls(List<String> photoUrls) {
7272

7373
/**
7474
**/
75-
@ApiModelProperty(required = false, value = "")
75+
@ApiModelProperty(value = "")
7676
@JsonProperty("tags")
7777
public List<Tag> getTags() {
7878
return tags;
@@ -85,7 +85,7 @@ public void setTags(List<Tag> tags) {
8585
/**
8686
* pet status in the store
8787
**/
88-
@ApiModelProperty(required = false, value = "pet status in the store")
88+
@ApiModelProperty(value = "pet status in the store")
8989
@JsonProperty("status")
9090
public StatusEnum getStatus() {
9191
return status;

samples/client/petstore/android-java/src/main/java/io/swagger/client/model/Tag.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Tag {
1414

1515
/**
1616
**/
17-
@ApiModelProperty(required = false, value = "")
17+
@ApiModelProperty(value = "")
1818
@JsonProperty("id")
1919
public Long getId() {
2020
return id;
@@ -26,7 +26,7 @@ public void setId(Long id) {
2626

2727
/**
2828
**/
29-
@ApiModelProperty(required = false, value = "")
29+
@ApiModelProperty(value = "")
3030
@JsonProperty("name")
3131
public String getName() {
3232
return name;

samples/client/petstore/android-java/src/main/java/io/swagger/client/model/User.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -20,7 +20,7 @@ public class User {
2020

2121
/**
2222
**/
23-
@ApiModelProperty(required = false, value = "")
23+
@ApiModelProperty(value = "")
2424
@JsonProperty("id")
2525
public Long getId() {
2626
return id;
@@ -32,7 +32,7 @@ public void setId(Long id) {
3232

3333
/**
3434
**/
35-
@ApiModelProperty(required = false, value = "")
35+
@ApiModelProperty(value = "")
3636
@JsonProperty("username")
3737
public String getUsername() {
3838
return username;
@@ -44,7 +44,7 @@ public void setUsername(String username) {
4444

4545
/**
4646
**/
47-
@ApiModelProperty(required = false, value = "")
47+
@ApiModelProperty(value = "")
4848
@JsonProperty("firstName")
4949
public String getFirstName() {
5050
return firstName;
@@ -56,7 +56,7 @@ public void setFirstName(String firstName) {
5656

5757
/**
5858
**/
59-
@ApiModelProperty(required = false, value = "")
59+
@ApiModelProperty(value = "")
6060
@JsonProperty("lastName")
6161
public String getLastName() {
6262
return lastName;
@@ -68,7 +68,7 @@ public void setLastName(String lastName) {
6868

6969
/**
7070
**/
71-
@ApiModelProperty(required = false, value = "")
71+
@ApiModelProperty(value = "")
7272
@JsonProperty("email")
7373
public String getEmail() {
7474
return email;
@@ -80,7 +80,7 @@ public void setEmail(String email) {
8080

8181
/**
8282
**/
83-
@ApiModelProperty(required = false, value = "")
83+
@ApiModelProperty(value = "")
8484
@JsonProperty("password")
8585
public String getPassword() {
8686
return password;
@@ -92,7 +92,7 @@ public void setPassword(String password) {
9292

9393
/**
9494
**/
95-
@ApiModelProperty(required = false, value = "")
95+
@ApiModelProperty(value = "")
9696
@JsonProperty("phone")
9797
public String getPhone() {
9898
return phone;
@@ -105,7 +105,7 @@ public void setPhone(String phone) {
105105
/**
106106
* User Status
107107
**/
108-
@ApiModelProperty(required = false, value = "User Status")
108+
@ApiModelProperty(value = "User Status")
109109
@JsonProperty("userStatus")
110110
public Integer getUserStatus() {
111111
return userStatus;

samples/client/petstore/java/src/main/java/io/swagger/client/model/Category.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public class Category {
1414

1515
/**
1616
**/
17-
@ApiModelProperty(required = false, value = "")
17+
@ApiModelProperty(value = "")
1818
@JsonProperty("id")
1919
public Long getId() {
2020
return id;
@@ -26,7 +26,7 @@ public void setId(Long id) {
2626

2727
/**
2828
**/
29-
@ApiModelProperty(required = false, value = "")
29+
@ApiModelProperty(value = "")
3030
@JsonProperty("name")
3131
public String getName() {
3232
return name;

samples/client/petstore/java/src/main/java/io/swagger/client/model/Order.java

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,7 @@ public enum StatusEnum {
2222

2323
/**
2424
**/
25-
@ApiModelProperty(required = false, value = "")
25+
@ApiModelProperty(value = "")
2626
@JsonProperty("id")
2727
public Long getId() {
2828
return id;
@@ -34,7 +34,7 @@ public void setId(Long id) {
3434

3535
/**
3636
**/
37-
@ApiModelProperty(required = false, value = "")
37+
@ApiModelProperty(value = "")
3838
@JsonProperty("petId")
3939
public Long getPetId() {
4040
return petId;
@@ -46,7 +46,7 @@ public void setPetId(Long petId) {
4646

4747
/**
4848
**/
49-
@ApiModelProperty(required = false, value = "")
49+
@ApiModelProperty(value = "")
5050
@JsonProperty("quantity")
5151
public Integer getQuantity() {
5252
return quantity;
@@ -58,7 +58,7 @@ public void setQuantity(Integer quantity) {
5858

5959
/**
6060
**/
61-
@ApiModelProperty(required = false, value = "")
61+
@ApiModelProperty(value = "")
6262
@JsonProperty("shipDate")
6363
public Date getShipDate() {
6464
return shipDate;
@@ -71,7 +71,7 @@ public void setShipDate(Date shipDate) {
7171
/**
7272
* Order Status
7373
**/
74-
@ApiModelProperty(required = false, value = "Order Status")
74+
@ApiModelProperty(value = "Order Status")
7575
@JsonProperty("status")
7676
public StatusEnum getStatus() {
7777
return status;
@@ -83,7 +83,7 @@ public void setStatus(StatusEnum status) {
8383

8484
/**
8585
**/
86-
@ApiModelProperty(required = false, value = "")
86+
@ApiModelProperty(value = "")
8787
@JsonProperty("complete")
8888
public Boolean getComplete() {
8989
return complete;

samples/client/petstore/java/src/main/java/io/swagger/client/model/Pet.java

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,7 +24,7 @@ public enum StatusEnum {
2424

2525
/**
2626
**/
27-
@ApiModelProperty(required = false, value = "")
27+
@ApiModelProperty(value = "")
2828
@JsonProperty("id")
2929
public Long getId() {
3030
return id;
@@ -36,7 +36,7 @@ public void setId(Long id) {
3636

3737
/**
3838
**/
39-
@ApiModelProperty(required = false, value = "")
39+
@ApiModelProperty(value = "")
4040
@JsonProperty("category")
4141
public Category getCategory() {
4242
return category;
@@ -72,7 +72,7 @@ public void setPhotoUrls(List<String> photoUrls) {
7272

7373
/**
7474
**/
75-
@ApiModelProperty(required = false, value = "")
75+
@ApiModelProperty(value = "")
7676
@JsonProperty("tags")
7777
public List<Tag> getTags() {
7878
return tags;
@@ -85,7 +85,7 @@ public void setTags(List<Tag> tags) {
8585
/**
8686
* pet status in the store
8787
**/
88-
@ApiModelProperty(required = false, value = "pet status in the store")
88+
@ApiModelProperty(value = "pet status in the store")
8989
@JsonProperty("status")
9090
public StatusEnum getStatus() {
9191
return status;

0 commit comments

Comments
 (0)