Skip to content

Commit e378967

Browse files
committed
updated springboot samples
1 parent bb49b77 commit e378967

File tree

173 files changed

+1499
-1033
lines changed

Some content is hidden

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

173 files changed

+1499
-1033
lines changed
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.26-SNAPSHOT
1+
3.0.28-SNAPSHOT

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/api/DefaultApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.26-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.28-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/api/PetApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.26-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.28-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/api/StoreApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.26-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.28-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/api/UserApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.26-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.28-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/model/Body.java renamed to samples/client/petstore/spring-cloud-v2/src/main/java/io/swagger/model/PetPetIdBody.java

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -10,19 +10,19 @@
1010
import javax.validation.constraints.*;
1111

1212
/**
13-
* Body
13+
* PetPetIdBody
1414
*/
1515
@Validated
1616

1717

18-
public class Body {
18+
public class PetPetIdBody {
1919
@JsonProperty("name")
2020
private String name = null;
2121

2222
@JsonProperty("status")
2323
private String status = null;
2424

25-
public Body name(String name) {
25+
public PetPetIdBody name(String name) {
2626
this.name = name;
2727
return this;
2828
}
@@ -41,7 +41,7 @@ public void setName(String name) {
4141
this.name = name;
4242
}
4343

44-
public Body status(String status) {
44+
public PetPetIdBody status(String status) {
4545
this.status = status;
4646
return this;
4747
}
@@ -69,9 +69,9 @@ public boolean equals(java.lang.Object o) {
6969
if (o == null || getClass() != o.getClass()) {
7070
return false;
7171
}
72-
Body body = (Body) o;
73-
return Objects.equals(this.name, body.name) &&
74-
Objects.equals(this.status, body.status);
72+
PetPetIdBody petPetIdBody = (PetPetIdBody) o;
73+
return Objects.equals(this.name, petPetIdBody.name) &&
74+
Objects.equals(this.status, petPetIdBody.status);
7575
}
7676

7777
@Override
@@ -82,7 +82,7 @@ public int hashCode() {
8282
@Override
8383
public String toString() {
8484
StringBuilder sb = new StringBuilder();
85-
sb.append("class Body {\n");
85+
sb.append("class PetPetIdBody {\n");
8686

8787
sb.append(" name: ").append(toIndentedString(name)).append("\n");
8888
sb.append(" status: ").append(toIndentedString(status)).append("\n");
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
3.0.26-SNAPSHOT
1+
3.0.28-SNAPSHOT

samples/client/petstore/spring-cloud/src/main/java/io/swagger/api/DefaultApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.26-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.28-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud/src/main/java/io/swagger/api/PetApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.26-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.28-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

samples/client/petstore/spring-cloud/src/main/java/io/swagger/api/StoreApi.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
/**
2-
* NOTE: This class is auto generated by the swagger code generator program (3.0.26-SNAPSHOT).
2+
* NOTE: This class is auto generated by the swagger code generator program (3.0.28-SNAPSHOT).
33
* https://github.com/swagger-api/swagger-codegen
44
* Do not edit the class manually.
55
*/

0 commit comments

Comments
 (0)