forked from loafle/openapi-generator-original
updated client
This commit is contained in:
parent
e4cf9c5d55
commit
76a367072c
@ -124,7 +124,7 @@
|
||||
</dependency>
|
||||
</dependencies>
|
||||
<properties>
|
||||
<swagger-core-version>1.5.1-SNAPSHOT</swagger-core-version>
|
||||
<swagger-core-version>1.5.1-M1</swagger-core-version>
|
||||
<jetty-version>8.1.11.v20130520</jetty-version>
|
||||
<jersey-version>1.13</jersey-version>
|
||||
<slf4j-version>1.6.3</slf4j-version>
|
||||
|
@ -22,9 +22,9 @@ public class Order {
|
||||
/**
|
||||
* Order Status
|
||||
**/
|
||||
private StatusEnum status = null;
|
||||
private String status = null;
|
||||
|
||||
public enum StatusEnum { placed, approved, delivered };
|
||||
public enum String { placed, approved, delivered };
|
||||
|
||||
/**
|
||||
**/
|
||||
@ -68,10 +68,10 @@ public class Order {
|
||||
|
||||
|
||||
@ApiModelProperty(required = false, value = "Order Status")
|
||||
public StatusEnum getStatus() {
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
public void setStatus(StatusEnum status) {
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
@ -1,8 +1,8 @@
|
||||
package io.swagger.model;
|
||||
|
||||
import io.swagger.model.Category;
|
||||
import io.swagger.model.Tag;
|
||||
import java.util.*;
|
||||
import io.swagger.model.Tag;
|
||||
|
||||
import com.wordnik.swagger.annotations.*;
|
||||
|
||||
@ -27,9 +27,9 @@ public class Pet {
|
||||
/**
|
||||
* pet status in the store
|
||||
**/
|
||||
private StatusEnum status = null;
|
||||
private String status = null;
|
||||
|
||||
public enum StatusEnum { available, pending, sold };
|
||||
public enum String { available, pending, sold };
|
||||
|
||||
|
||||
|
||||
@ -79,10 +79,10 @@ public class Pet {
|
||||
|
||||
|
||||
@ApiModelProperty(required = false, value = "pet status in the store")
|
||||
public StatusEnum getStatus() {
|
||||
public String getStatus() {
|
||||
return status;
|
||||
}
|
||||
public void setStatus(StatusEnum status) {
|
||||
public void setStatus(String status) {
|
||||
this.status = status;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user