mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-11 00:22:43 +00:00
issues/91 - regenerate petstore java files
This commit is contained in:
@@ -10,6 +10,7 @@ public class Order {
|
||||
private Integer quantity = null;
|
||||
/* Status of the order */
|
||||
private String status = null;
|
||||
public enum statusEnum { placed, approved, delivered, };
|
||||
/* Date shipped, only if it has been */
|
||||
private Date shipDate = null;
|
||||
public Long getId() {
|
||||
|
||||
@@ -16,6 +16,7 @@ public class Pet {
|
||||
private List<Tag> tags = new ArrayList<Tag>();
|
||||
/* pet status in the store */
|
||||
private String status = null;
|
||||
public enum statusEnum { available, pending, sold, };
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
@@ -17,6 +17,7 @@ public class User {
|
||||
private String phone = null;
|
||||
/* User Status */
|
||||
private Integer userStatus = null;
|
||||
public enum userStatusEnum { 1-registered, 2-active, 3-closed, };
|
||||
public Long getId() {
|
||||
return id;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user