* Issue #4680 correct values for enum with escaped double quotes * Issue #4680 regenerate samples * Issue #4680 remove new lines * Issue #4680 fixed scripts * Issue #4680 update samples under CentOS
@ -5,6 +5,6 @@ If Not Exist %executable% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||||
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l java -o samples\client\petstore\java --library=okhttp-gson -DdateLibrary=joda,hideGenerationTimestamp=true
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -l java -o samples\client\petstore\java --library=okhttp-gson -DdateLibrary=joda -DhideGenerationTimestamp=true
|
||||||
|
|
||||||
java %JAVA_OPTS% -jar %executable% %ags%
|
java %JAVA_OPTS% -jar %executable% %ags%
|
||||||
|
@ -5,6 +5,6 @@ If Not Exist %executable% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||||
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l java -o samples\client\petstore\java -DdateLibrary=joda,hideGenerationTimestamp=true
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -l java -o samples\client\petstore\java -DdateLibrary=joda -DhideGenerationTimestamp=true
|
||||||
|
|
||||||
java %JAVA_OPTS% -jar %executable% %ags%
|
java %JAVA_OPTS% -jar %executable% %ags%
|
||||||
|
@ -5,6 +5,6 @@ If Not Exist %executable% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||||
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l java-play-framework -o samples\server\petstore\java-play-framework
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l java-play-framework -o samples\server\petstore\java-play-framework -DhideGenerationTimestamp=true
|
||||||
|
|
||||||
java %JAVA_OPTS% -jar %executable% %ags%
|
java %JAVA_OPTS% -jar %executable% %ags%
|
||||||
|
@ -5,6 +5,6 @@ If Not Exist %executable% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||||
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l java-vertx -o samples\server\petstore\java-vertx\async -DvertxSwaggerRouterVersion=1.2.0
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l java-vertx -o samples\server\petstore\java-vertx\async -DvertxSwaggerRouterVersion=1.2.0 -DhideGenerationTimestamp=true
|
||||||
|
|
||||||
java %JAVA_OPTS% -jar %executable% %ags%
|
java %JAVA_OPTS% -jar %executable% %ags%
|
||||||
|
@ -5,6 +5,6 @@ If Not Exist %executable% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||||
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l java-vertx -o samples\server\petstore\java-vertx\rx -DvertxSwaggerRouterVersion=1.2.0,rxInterface=true
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l java-vertx -o samples\server\petstore\java-vertx\rx -DvertxSwaggerRouterVersion=1.2.0 -DrxInterface=true
|
||||||
|
|
||||||
java %JAVA_OPTS% -jar %executable% %ags%
|
java %JAVA_OPTS% -jar %executable% %ags%
|
||||||
|
@ -5,6 +5,6 @@ If Not Exist %executable% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||||
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l spring --library=spring-mvc -o samples\server\petstore\spring-mvc-j8-async -c bin\spring-mvc-petstore-j8-async.json
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -l spring --library=spring-mvc -o samples\server\petstore\spring-mvc-j8-async -c bin\spring-mvc-petstore-j8-async.json -DhideGenerationTimestamp=true
|
||||||
|
|
||||||
java %JAVA_OPTS% -jar %executable% %ags%
|
java %JAVA_OPTS% -jar %executable% %ags%
|
||||||
|
@ -5,6 +5,6 @@ If Not Exist %executable% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||||
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l spring --library=spring-mvc -o samples\server\petstore\spring-mvc
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -c bin\spring-mvc-petstore-server.json -l spring --library=spring-mvc -o samples\server\petstore\spring-mvc -DhideGenerationTimestamp=true
|
||||||
|
|
||||||
java %JAVA_OPTS% -jar %executable% %ags%
|
java %JAVA_OPTS% -jar %executable% %ags%
|
||||||
|
@ -5,6 +5,6 @@ If Not Exist %executable% (
|
|||||||
)
|
)
|
||||||
|
|
||||||
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
|
||||||
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore.yaml -l spring -o samples\server\petstore\springboot
|
set ags=generate -i modules\swagger-codegen\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -l spring -o samples\server\petstore\springboot -DhideGenerationTimestamp=true
|
||||||
|
|
||||||
java %JAVA_OPTS% -jar %executable% %ags%
|
java %JAVA_OPTS% -jar %executable% %ags%
|
||||||
|
@ -1 +1 @@
|
|||||||
{{#isPathParam}}{{#useBeanValidation}}{{>beanValidationPathParams}}{{/useBeanValidation}}@ApiParam(value = "{{{description}}}"{{#required}},required=true{{/required}}{{#allowableValues}}, allowableValues = "{{#values}}{{{.}}}{{^-last}}, {{/-last}}{{#-last}}{{/-last}}{{/values}}"{{/allowableValues}}{{#defaultValue}}, defaultValue="{{{defaultValue}}}"{{/defaultValue}}) @PathVariable("{{baseName}}") {{>optionalDataType}} {{paramName}}{{/isPathParam}}
|
{{#isPathParam}}{{#useBeanValidation}}{{>beanValidationPathParams}}{{/useBeanValidation}}@ApiParam(value = "{{{description}}}"{{#required}},required=true{{/required}}{{#allowableValues}}, allowableValues = "{{#enumVars}}{{#lambdaEscapeDoubleQuote}}{{{value}}}{{/lambdaEscapeDoubleQuote}}{{^-last}}, {{/-last}}{{#-last}}{{/-last}}{{/enumVars}}"{{/allowableValues}}{{#defaultValue}}, defaultValue="{{{defaultValue}}}"{{/defaultValue}}) @PathVariable("{{baseName}}") {{>optionalDataType}} {{paramName}}{{/isPathParam}}
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
|
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
@ -722,8 +722,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "$",
|
"enum" : [ ">", "$" ],
|
||||||
"enum" : [ ">", "$" ]
|
"default" : "$"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"name" : "enum_form_string",
|
"name" : "enum_form_string",
|
||||||
@ -741,8 +741,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "$",
|
"enum" : [ ">", "$" ],
|
||||||
"enum" : [ ">", "$" ]
|
"default" : "$"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"name" : "enum_header_string",
|
"name" : "enum_header_string",
|
||||||
@ -760,8 +760,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "$",
|
"enum" : [ ">", "$" ],
|
||||||
"enum" : [ ">", "$" ]
|
"default" : "$"
|
||||||
}
|
}
|
||||||
}, {
|
}, {
|
||||||
"name" : "enum_query_string",
|
"name" : "enum_query_string",
|
||||||
|
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
|
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
|
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
|
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
|
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
|
@ -1 +1 @@
|
|||||||
2.2.3-SNAPSHOT
|
2.3.0-SNAPSHOT
|
@ -99,7 +99,7 @@ public class Order {
|
|||||||
|
|
||||||
|
|
||||||
@JsonProperty("complete")
|
@JsonProperty("complete")
|
||||||
public Boolean getComplete() {
|
public Boolean isComplete() {
|
||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
public void setComplete(Boolean complete) {
|
public void setComplete(Boolean complete) {
|
||||||
|
@ -18,8 +18,8 @@ public class Pet {
|
|||||||
private Long id = null;
|
private Long id = null;
|
||||||
private Category category = null;
|
private Category category = null;
|
||||||
private String name = null;
|
private String name = null;
|
||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<>();
|
||||||
private List<Tag> tags = new ArrayList<Tag>();
|
private List<Tag> tags = new ArrayList<>();
|
||||||
|
|
||||||
|
|
||||||
public enum StatusEnum {
|
public enum StatusEnum {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"email" : "apiteam@swagger.io"
|
"email" : "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license" : {
|
"license" : {
|
||||||
"name" : "Apache 2.0",
|
"name" : "Apache-2.0",
|
||||||
"url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
|
"url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
@ -173,6 +173,7 @@
|
|||||||
"security" : [ {
|
"security" : [ {
|
||||||
"petstore_auth" : [ "write:pets", "read:pets" ]
|
"petstore_auth" : [ "write:pets", "read:pets" ]
|
||||||
} ],
|
} ],
|
||||||
|
"deprecated" : true,
|
||||||
"x-contentType" : "application/json",
|
"x-contentType" : "application/json",
|
||||||
"x-accepts" : "application/json"
|
"x-accepts" : "application/json"
|
||||||
}
|
}
|
||||||
|
@ -1 +1 @@
|
|||||||
2.2.3-SNAPSHOT
|
2.3.0-SNAPSHOT
|
@ -99,7 +99,7 @@ public class Order {
|
|||||||
|
|
||||||
|
|
||||||
@JsonProperty("complete")
|
@JsonProperty("complete")
|
||||||
public Boolean getComplete() {
|
public Boolean isComplete() {
|
||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
public void setComplete(Boolean complete) {
|
public void setComplete(Boolean complete) {
|
||||||
|
@ -18,8 +18,8 @@ public class Pet {
|
|||||||
private Long id = null;
|
private Long id = null;
|
||||||
private Category category = null;
|
private Category category = null;
|
||||||
private String name = null;
|
private String name = null;
|
||||||
private List<String> photoUrls = new ArrayList<String>();
|
private List<String> photoUrls = new ArrayList<>();
|
||||||
private List<Tag> tags = new ArrayList<Tag>();
|
private List<Tag> tags = new ArrayList<>();
|
||||||
|
|
||||||
|
|
||||||
public enum StatusEnum {
|
public enum StatusEnum {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"email" : "apiteam@swagger.io"
|
"email" : "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license" : {
|
"license" : {
|
||||||
"name" : "Apache 2.0",
|
"name" : "Apache-2.0",
|
||||||
"url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
|
"url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
@ -173,6 +173,7 @@
|
|||||||
"security" : [ {
|
"security" : [ {
|
||||||
"petstore_auth" : [ "write:pets", "read:pets" ]
|
"petstore_auth" : [ "write:pets", "read:pets" ]
|
||||||
} ],
|
} ],
|
||||||
|
"deprecated" : true,
|
||||||
"x-contentType" : "application/json",
|
"x-contentType" : "application/json",
|
||||||
"x-accepts" : "application/json"
|
"x-accepts" : "application/json"
|
||||||
}
|
}
|
||||||
|
Before Width: | Height: | Size: 35 KiB After Width: | Height: | Size: 35 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
Before Width: | Height: | Size: 22 KiB After Width: | Height: | Size: 22 KiB |
@ -141,7 +141,7 @@ public class Order {
|
|||||||
|
|
||||||
@ApiModelProperty(value = "")
|
@ApiModelProperty(value = "")
|
||||||
@JsonProperty("complete")
|
@JsonProperty("complete")
|
||||||
public Boolean getComplete() {
|
public Boolean isComplete() {
|
||||||
return complete;
|
return complete;
|
||||||
}
|
}
|
||||||
public void setComplete(Boolean complete) {
|
public void setComplete(Boolean complete) {
|
||||||
|
@ -9,7 +9,7 @@
|
|||||||
"email" : "apiteam@swagger.io"
|
"email" : "apiteam@swagger.io"
|
||||||
},
|
},
|
||||||
"license" : {
|
"license" : {
|
||||||
"name" : "Apache 2.0",
|
"name" : "Apache-2.0",
|
||||||
"url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
|
"url" : "http://www.apache.org/licenses/LICENSE-2.0.html"
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
@ -112,8 +112,8 @@
|
|||||||
"type" : "array",
|
"type" : "array",
|
||||||
"items" : {
|
"items" : {
|
||||||
"type" : "string",
|
"type" : "string",
|
||||||
"default" : "available",
|
"enum" : [ "available", "pending", "sold" ],
|
||||||
"enum" : [ "available", "pending", "sold" ]
|
"default" : "available"
|
||||||
},
|
},
|
||||||
"collectionFormat" : "csv"
|
"collectionFormat" : "csv"
|
||||||
} ],
|
} ],
|
||||||
@ -173,6 +173,7 @@
|
|||||||
"security" : [ {
|
"security" : [ {
|
||||||
"petstore_auth" : [ "write:pets", "read:pets" ]
|
"petstore_auth" : [ "write:pets", "read:pets" ]
|
||||||
} ],
|
} ],
|
||||||
|
"deprecated" : true,
|
||||||
"x-contentType" : "application/json",
|
"x-contentType" : "application/json",
|
||||||
"x-accepts" : "application/json"
|
"x-accepts" : "application/json"
|
||||||
}
|
}
|
||||||
@ -749,7 +750,7 @@
|
|||||||
"title" : "Pet catehgry",
|
"title" : "Pet catehgry",
|
||||||
"description" : "A category for a pet",
|
"description" : "A category for a pet",
|
||||||
"example" : {
|
"example" : {
|
||||||
"name" : "aeiou",
|
"name" : "name",
|
||||||
"id" : 6
|
"id" : 6
|
||||||
},
|
},
|
||||||
"xml" : {
|
"xml" : {
|
||||||
@ -790,14 +791,14 @@
|
|||||||
"title" : "a User",
|
"title" : "a User",
|
||||||
"description" : "A User who is purchasing from the pet store",
|
"description" : "A User who is purchasing from the pet store",
|
||||||
"example" : {
|
"example" : {
|
||||||
"firstName" : "aeiou",
|
"firstName" : "firstName",
|
||||||
"lastName" : "aeiou",
|
"lastName" : "lastName",
|
||||||
"password" : "aeiou",
|
"password" : "password",
|
||||||
"userStatus" : 6,
|
"userStatus" : 6,
|
||||||
"phone" : "aeiou",
|
"phone" : "phone",
|
||||||
"id" : 0,
|
"id" : 0,
|
||||||
"email" : "aeiou",
|
"email" : "email",
|
||||||
"username" : "aeiou"
|
"username" : "username"
|
||||||
},
|
},
|
||||||
"xml" : {
|
"xml" : {
|
||||||
"name" : "User"
|
"name" : "User"
|
||||||
@ -817,7 +818,7 @@
|
|||||||
"title" : "Pet Tag",
|
"title" : "Pet Tag",
|
||||||
"description" : "A tag for a pet",
|
"description" : "A tag for a pet",
|
||||||
"example" : {
|
"example" : {
|
||||||
"name" : "aeiou",
|
"name" : "name",
|
||||||
"id" : 1
|
"id" : 1
|
||||||
},
|
},
|
||||||
"xml" : {
|
"xml" : {
|
||||||
@ -868,15 +869,18 @@
|
|||||||
"title" : "a Pet",
|
"title" : "a Pet",
|
||||||
"description" : "A pet for sale in the pet store",
|
"description" : "A pet for sale in the pet store",
|
||||||
"example" : {
|
"example" : {
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "photoUrls", "photoUrls" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 0,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "name",
|
||||||
"id" : 6
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "name",
|
||||||
|
"id" : 1
|
||||||
|
}, {
|
||||||
|
"name" : "name",
|
||||||
"id" : 1
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "available"
|
"status" : "available"
|
||||||
@ -903,8 +907,8 @@
|
|||||||
"description" : "Describes the result of uploading an image resource",
|
"description" : "Describes the result of uploading an image resource",
|
||||||
"example" : {
|
"example" : {
|
||||||
"code" : 0,
|
"code" : 0,
|
||||||
"type" : "aeiou",
|
"type" : "type",
|
||||||
"message" : "aeiou"
|
"message" : "message"
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
},
|
},
|
||||||
|