Skip to content

Commit 40da476

Browse files
committed
rebuilt
1 parent 89168d5 commit 40da476

File tree

15 files changed

+39
-34
lines changed

15 files changed

+39
-34
lines changed

samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/model/Category.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void setName(String name) {
4141

4242

4343
@Override
44-
public boolean equals(Object o) {
44+
public boolean equals(java.lang.Object o) {
4545
if (this == o) {
4646
return true;
4747
}
@@ -73,7 +73,7 @@ public String toString() {
7373
* Convert the given object to string with each line indented by 4 spaces
7474
* (except the first line).
7575
*/
76-
private String toIndentedString(Object o) {
76+
private String toIndentedString(java.lang.Object o) {
7777
if (o == null) {
7878
return "null";
7979
}

samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/model/ModelApiResponse.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ public void setMessage(String message) {
5454

5555

5656
@Override
57-
public boolean equals(Object o) {
57+
public boolean equals(java.lang.Object o) {
5858
if (this == o) {
5959
return true;
6060
}
@@ -88,7 +88,7 @@ public String toString() {
8888
* Convert the given object to string with each line indented by 4 spaces
8989
* (except the first line).
9090
*/
91-
private String toIndentedString(Object o) {
91+
private String toIndentedString(java.lang.Object o) {
9292
if (o == null) {
9393
return "null";
9494
}

samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/model/Order.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -119,7 +119,7 @@ public void setComplete(Boolean complete) {
119119

120120

121121
@Override
122-
public boolean equals(Object o) {
122+
public boolean equals(java.lang.Object o) {
123123
if (this == o) {
124124
return true;
125125
}
@@ -159,7 +159,7 @@ public String toString() {
159159
* Convert the given object to string with each line indented by 4 spaces
160160
* (except the first line).
161161
*/
162-
private String toIndentedString(Object o) {
162+
private String toIndentedString(java.lang.Object o) {
163163
if (o == null) {
164164
return "null";
165165
}

samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/model/Pet.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -123,7 +123,7 @@ public void setStatus(StatusEnum status) {
123123

124124

125125
@Override
126-
public boolean equals(Object o) {
126+
public boolean equals(java.lang.Object o) {
127127
if (this == o) {
128128
return true;
129129
}
@@ -163,7 +163,7 @@ public String toString() {
163163
* Convert the given object to string with each line indented by 4 spaces
164164
* (except the first line).
165165
*/
166-
private String toIndentedString(Object o) {
166+
private String toIndentedString(java.lang.Object o) {
167167
if (o == null) {
168168
return "null";
169169
}

samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/model/Tag.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ public void setName(String name) {
4141

4242

4343
@Override
44-
public boolean equals(Object o) {
44+
public boolean equals(java.lang.Object o) {
4545
if (this == o) {
4646
return true;
4747
}
@@ -73,7 +73,7 @@ public String toString() {
7373
* Convert the given object to string with each line indented by 4 spaces
7474
* (except the first line).
7575
*/
76-
private String toIndentedString(Object o) {
76+
private String toIndentedString(java.lang.Object o) {
7777
if (o == null) {
7878
return "null";
7979
}

samples/server/petstore/jaxrs-resteasy/default/src/gen/java/io/swagger/model/User.java

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -120,7 +120,7 @@ public void setUserStatus(Integer userStatus) {
120120

121121

122122
@Override
123-
public boolean equals(Object o) {
123+
public boolean equals(java.lang.Object o) {
124124
if (this == o) {
125125
return true;
126126
}
@@ -164,7 +164,7 @@ public String toString() {
164164
* Convert the given object to string with each line indented by 4 spaces
165165
* (except the first line).
166166
*/
167-
private String toIndentedString(Object o) {
167+
private String toIndentedString(java.lang.Object o) {
168168
if (o == null) {
169169
return "null";
170170
}

samples/server/petstore/jaxrs-resteasy/joda/src/gen/java/io/swagger/api/PetApi.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -20,6 +20,7 @@
2020
import javax.ws.rs.core.Response;
2121
import javax.ws.rs.core.SecurityContext;
2222
import javax.ws.rs.*;
23+
import javax.validation.constraints.*;
2324
import org.jboss.resteasy.plugins.providers.multipart.MultipartFormDataInput;
2425

2526
@Path("/pet")
@@ -76,7 +77,7 @@ public Response deletePet( @PathParam("petId") Long petId,@ApiParam(value = "" )
7677
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
7778

7879
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid status value", response = Pet.class, responseContainer = "List") })
79-
public Response findPetsByStatus( @QueryParam("status") List<String> status,@Context SecurityContext securityContext)
80+
public Response findPetsByStatus( @NotNull @QueryParam("status") List<String> status,@Context SecurityContext securityContext)
8081
throws NotFoundException {
8182
return delegate.findPetsByStatus(status,securityContext);
8283
}
@@ -94,7 +95,7 @@ public Response findPetsByStatus( @QueryParam("status") List<String> status,@Con
9495
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = Pet.class, responseContainer = "List"),
9596

9697
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid tag value", response = Pet.class, responseContainer = "List") })
97-
public Response findPetsByTags( @QueryParam("tags") List<String> tags,@Context SecurityContext securityContext)
98+
public Response findPetsByTags( @NotNull @QueryParam("tags") List<String> tags,@Context SecurityContext securityContext)
9899
throws NotFoundException {
99100
return delegate.findPetsByTags(tags,securityContext);
100101
}

samples/server/petstore/jaxrs-resteasy/joda/src/gen/java/io/swagger/api/StoreApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import javax.ws.rs.core.Response;
2020
import javax.ws.rs.core.SecurityContext;
2121
import javax.ws.rs.*;
22+
import javax.validation.constraints.*;
2223

2324
@Path("/store")
2425

@@ -65,7 +66,7 @@ public Response getInventory(@Context SecurityContext securityContext)
6566
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid ID supplied", response = Order.class),
6667

6768
@io.swagger.annotations.ApiResponse(code = 404, message = "Order not found", response = Order.class) })
68-
public Response getOrderById( @PathParam("orderId") Long orderId,@Context SecurityContext securityContext)
69+
public Response getOrderById( @Min(1) @Max(5) @PathParam("orderId") Long orderId,@Context SecurityContext securityContext)
6970
throws NotFoundException {
7071
return delegate.getOrderById(orderId,securityContext);
7172
}

samples/server/petstore/jaxrs-resteasy/joda/src/gen/java/io/swagger/api/UserApi.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -19,6 +19,7 @@
1919
import javax.ws.rs.core.Response;
2020
import javax.ws.rs.core.SecurityContext;
2121
import javax.ws.rs.*;
22+
import javax.validation.constraints.*;
2223

2324
@Path("/user")
2425

@@ -98,7 +99,7 @@ public Response getUserByName( @PathParam("username") String username,@Context S
9899
@io.swagger.annotations.ApiResponse(code = 200, message = "successful operation", response = String.class),
99100

100101
@io.swagger.annotations.ApiResponse(code = 400, message = "Invalid username/password supplied", response = String.class) })
101-
public Response loginUser( @QueryParam("username") String username, @QueryParam("password") String password,@Context SecurityContext securityContext)
102+
public Response loginUser( @NotNull @QueryParam("username") String username, @NotNull @QueryParam("password") String password,@Context SecurityContext securityContext)
102103
throws NotFoundException {
103104
return delegate.loginUser(username,password,securityContext);
104105
}

samples/server/petstore/jaxrs-resteasy/joda/src/gen/java/io/swagger/model/Category.java

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
import com.fasterxml.jackson.annotation.JsonProperty;
66
import com.fasterxml.jackson.annotation.JsonCreator;
77
import io.swagger.annotations.ApiModel;
8-
8+
import javax.validation.constraints.*;
99
import io.swagger.annotations.*;
1010

1111
@ApiModel(description="A category for a pet")
@@ -41,7 +41,7 @@ public void setName(String name) {
4141

4242

4343
@Override
44-
public boolean equals(Object o) {
44+
public boolean equals(java.lang.Object o) {
4545
if (this == o) {
4646
return true;
4747
}
@@ -73,7 +73,7 @@ public String toString() {
7373
* Convert the given object to string with each line indented by 4 spaces
7474
* (except the first line).
7575
*/
76-
private String toIndentedString(Object o) {
76+
private String toIndentedString(java.lang.Object o) {
7777
if (o == null) {
7878
return "null";
7979
}

0 commit comments

Comments
 (0)