forked from loafle/openapi-generator-original
issues/91 - regenerate petstore java files
This commit is contained in:
parent
f883c5e77c
commit
3a8928f869
@ -10,6 +10,7 @@ public class Order {
|
|||||||
private Integer quantity = null;
|
private Integer quantity = null;
|
||||||
/* Status of the order */
|
/* Status of the order */
|
||||||
private String status = null;
|
private String status = null;
|
||||||
|
public enum statusEnum { placed, approved, delivered, };
|
||||||
/* Date shipped, only if it has been */
|
/* Date shipped, only if it has been */
|
||||||
private Date shipDate = null;
|
private Date shipDate = null;
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
|
@ -16,6 +16,7 @@ public class Pet {
|
|||||||
private List<Tag> tags = new ArrayList<Tag>();
|
private List<Tag> tags = new ArrayList<Tag>();
|
||||||
/* pet status in the store */
|
/* pet status in the store */
|
||||||
private String status = null;
|
private String status = null;
|
||||||
|
public enum statusEnum { available, pending, sold, };
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
@ -17,6 +17,7 @@ public class User {
|
|||||||
private String phone = null;
|
private String phone = null;
|
||||||
/* User Status */
|
/* User Status */
|
||||||
private Integer userStatus = null;
|
private Integer userStatus = null;
|
||||||
|
public enum userStatusEnum { 1-registered, 2-active, 3-closed, };
|
||||||
public Long getId() {
|
public Long getId() {
|
||||||
return id;
|
return id;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user