forked from loafle/openapi-generator-original
Updating samples for swift. (#5120)
This commit is contained in:
parent
d3f365fd29
commit
7ab746d355
@ -166,48 +166,48 @@ public class PetAPI: APIBase {
|
|||||||
- examples: [{contentType=application/json, example=[ {
|
- examples: [{contentType=application/json, example=[ {
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
} ]}, {contentType=application/xml, example=<Pet>
|
} ]}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
- examples: [{contentType=application/json, example=[ {
|
- examples: [{contentType=application/json, example=[ {
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
} ]}, {contentType=application/xml, example=<Pet>
|
} ]}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
|
|
||||||
- parameter tags: (query) Tags to filter by (optional)
|
- parameter tags: (query) Tags to filter by (optional)
|
||||||
@ -257,48 +257,48 @@ public class PetAPI: APIBase {
|
|||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
}}, {contentType=application/xml, example=<Pet>
|
}}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
}}, {contentType=application/xml, example=<Pet>
|
}}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
|
@ -68,11 +68,11 @@ public class StoreAPI: APIBase {
|
|||||||
- type: apiKey api_key
|
- type: apiKey api_key
|
||||||
- name: api_key
|
- name: api_key
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"key" : 123
|
"key" : 0
|
||||||
}}, {contentType=application/xml, example=not implemented io.swagger.models.properties.MapProperty@6e901cd0}]
|
}}, {contentType=application/xml, example=}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"key" : 123
|
"key" : 0
|
||||||
}}, {contentType=application/xml, example=not implemented io.swagger.models.properties.MapProperty@6e901cd0}]
|
}}, {contentType=application/xml, example=}]
|
||||||
|
|
||||||
- returns: RequestBuilder<[String:Int32]>
|
- returns: RequestBuilder<[String:Int32]>
|
||||||
*/
|
*/
|
||||||
@ -109,33 +109,33 @@ public class StoreAPI: APIBase {
|
|||||||
- GET /store/order/{orderId}
|
- GET /store/order/{orderId}
|
||||||
- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
|
|
||||||
@ -177,33 +177,33 @@ public class StoreAPI: APIBase {
|
|||||||
- POST /store/order
|
- POST /store/order
|
||||||
-
|
-
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
|
|
||||||
|
@ -171,39 +171,39 @@ public class UserAPI: APIBase {
|
|||||||
"firstName" : "aeiou",
|
"firstName" : "aeiou",
|
||||||
"lastName" : "aeiou",
|
"lastName" : "aeiou",
|
||||||
"password" : "aeiou",
|
"password" : "aeiou",
|
||||||
"userStatus" : 123,
|
"userStatus" : 6,
|
||||||
"phone" : "aeiou",
|
"phone" : "aeiou",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"email" : "aeiou",
|
"email" : "aeiou",
|
||||||
"username" : "aeiou"
|
"username" : "aeiou"
|
||||||
}}, {contentType=application/xml, example=<User>
|
}}, {contentType=application/xml, example=<User>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<username>string</username>
|
<username>aeiou</username>
|
||||||
<firstName>string</firstName>
|
<firstName>aeiou</firstName>
|
||||||
<lastName>string</lastName>
|
<lastName>aeiou</lastName>
|
||||||
<email>string</email>
|
<email>aeiou</email>
|
||||||
<password>string</password>
|
<password>aeiou</password>
|
||||||
<phone>string</phone>
|
<phone>aeiou</phone>
|
||||||
<userStatus>0</userStatus>
|
<userStatus>123</userStatus>
|
||||||
</User>}]
|
</User>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"firstName" : "aeiou",
|
"firstName" : "aeiou",
|
||||||
"lastName" : "aeiou",
|
"lastName" : "aeiou",
|
||||||
"password" : "aeiou",
|
"password" : "aeiou",
|
||||||
"userStatus" : 123,
|
"userStatus" : 6,
|
||||||
"phone" : "aeiou",
|
"phone" : "aeiou",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"email" : "aeiou",
|
"email" : "aeiou",
|
||||||
"username" : "aeiou"
|
"username" : "aeiou"
|
||||||
}}, {contentType=application/xml, example=<User>
|
}}, {contentType=application/xml, example=<User>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<username>string</username>
|
<username>aeiou</username>
|
||||||
<firstName>string</firstName>
|
<firstName>aeiou</firstName>
|
||||||
<lastName>string</lastName>
|
<lastName>aeiou</lastName>
|
||||||
<email>string</email>
|
<email>aeiou</email>
|
||||||
<password>string</password>
|
<password>aeiou</password>
|
||||||
<phone>string</phone>
|
<phone>aeiou</phone>
|
||||||
<userStatus>0</userStatus>
|
<userStatus>123</userStatus>
|
||||||
</User>}]
|
</User>}]
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
||||||
@ -244,8 +244,8 @@ public class UserAPI: APIBase {
|
|||||||
Logs user into the system
|
Logs user into the system
|
||||||
- GET /user/login
|
- GET /user/login
|
||||||
-
|
-
|
||||||
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=string}]
|
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=aeiou}]
|
||||||
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=string}]
|
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=aeiou}]
|
||||||
|
|
||||||
- parameter username: (query) The user name for login (optional)
|
- parameter username: (query) The user name for login (optional)
|
||||||
- parameter password: (query) The password for login in clear text (optional)
|
- parameter password: (query) The password for login in clear text (optional)
|
||||||
|
@ -236,48 +236,48 @@ public class PetAPI: APIBase {
|
|||||||
- examples: [{contentType=application/json, example=[ {
|
- examples: [{contentType=application/json, example=[ {
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
} ]}, {contentType=application/xml, example=<Pet>
|
} ]}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
- examples: [{contentType=application/json, example=[ {
|
- examples: [{contentType=application/json, example=[ {
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
} ]}, {contentType=application/xml, example=<Pet>
|
} ]}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
|
|
||||||
- parameter tags: (query) Tags to filter by (optional)
|
- parameter tags: (query) Tags to filter by (optional)
|
||||||
@ -344,48 +344,48 @@ public class PetAPI: APIBase {
|
|||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
}}, {contentType=application/xml, example=<Pet>
|
}}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
}}, {contentType=application/xml, example=<Pet>
|
}}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
|
@ -102,11 +102,11 @@ public class StoreAPI: APIBase {
|
|||||||
- type: apiKey api_key
|
- type: apiKey api_key
|
||||||
- name: api_key
|
- name: api_key
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"key" : 123
|
"key" : 0
|
||||||
}}, {contentType=application/xml, example=not implemented io.swagger.models.properties.MapProperty@6e901cd0}]
|
}}, {contentType=application/xml, example=}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"key" : 123
|
"key" : 0
|
||||||
}}, {contentType=application/xml, example=not implemented io.swagger.models.properties.MapProperty@6e901cd0}]
|
}}, {contentType=application/xml, example=}]
|
||||||
|
|
||||||
- returns: RequestBuilder<[String:Int32]>
|
- returns: RequestBuilder<[String:Int32]>
|
||||||
*/
|
*/
|
||||||
@ -160,33 +160,33 @@ public class StoreAPI: APIBase {
|
|||||||
- GET /store/order/{orderId}
|
- GET /store/order/{orderId}
|
||||||
- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
|
|
||||||
@ -245,33 +245,33 @@ public class StoreAPI: APIBase {
|
|||||||
- POST /store/order
|
- POST /store/order
|
||||||
-
|
-
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
|
|
||||||
|
@ -257,39 +257,39 @@ public class UserAPI: APIBase {
|
|||||||
"firstName" : "aeiou",
|
"firstName" : "aeiou",
|
||||||
"lastName" : "aeiou",
|
"lastName" : "aeiou",
|
||||||
"password" : "aeiou",
|
"password" : "aeiou",
|
||||||
"userStatus" : 123,
|
"userStatus" : 6,
|
||||||
"phone" : "aeiou",
|
"phone" : "aeiou",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"email" : "aeiou",
|
"email" : "aeiou",
|
||||||
"username" : "aeiou"
|
"username" : "aeiou"
|
||||||
}}, {contentType=application/xml, example=<User>
|
}}, {contentType=application/xml, example=<User>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<username>string</username>
|
<username>aeiou</username>
|
||||||
<firstName>string</firstName>
|
<firstName>aeiou</firstName>
|
||||||
<lastName>string</lastName>
|
<lastName>aeiou</lastName>
|
||||||
<email>string</email>
|
<email>aeiou</email>
|
||||||
<password>string</password>
|
<password>aeiou</password>
|
||||||
<phone>string</phone>
|
<phone>aeiou</phone>
|
||||||
<userStatus>0</userStatus>
|
<userStatus>123</userStatus>
|
||||||
</User>}]
|
</User>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"firstName" : "aeiou",
|
"firstName" : "aeiou",
|
||||||
"lastName" : "aeiou",
|
"lastName" : "aeiou",
|
||||||
"password" : "aeiou",
|
"password" : "aeiou",
|
||||||
"userStatus" : 123,
|
"userStatus" : 6,
|
||||||
"phone" : "aeiou",
|
"phone" : "aeiou",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"email" : "aeiou",
|
"email" : "aeiou",
|
||||||
"username" : "aeiou"
|
"username" : "aeiou"
|
||||||
}}, {contentType=application/xml, example=<User>
|
}}, {contentType=application/xml, example=<User>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<username>string</username>
|
<username>aeiou</username>
|
||||||
<firstName>string</firstName>
|
<firstName>aeiou</firstName>
|
||||||
<lastName>string</lastName>
|
<lastName>aeiou</lastName>
|
||||||
<email>string</email>
|
<email>aeiou</email>
|
||||||
<password>string</password>
|
<password>aeiou</password>
|
||||||
<phone>string</phone>
|
<phone>aeiou</phone>
|
||||||
<userStatus>0</userStatus>
|
<userStatus>123</userStatus>
|
||||||
</User>}]
|
</User>}]
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
||||||
@ -348,8 +348,8 @@ public class UserAPI: APIBase {
|
|||||||
Logs user into the system
|
Logs user into the system
|
||||||
- GET /user/login
|
- GET /user/login
|
||||||
-
|
-
|
||||||
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=string}]
|
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=aeiou}]
|
||||||
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=string}]
|
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=aeiou}]
|
||||||
|
|
||||||
- parameter username: (query) The user name for login (optional)
|
- parameter username: (query) The user name for login (optional)
|
||||||
- parameter password: (query) The password for login in clear text (optional)
|
- parameter password: (query) The password for login in clear text (optional)
|
||||||
|
@ -244,48 +244,48 @@ public class PetAPI: APIBase {
|
|||||||
- examples: [{contentType=application/json, example=[ {
|
- examples: [{contentType=application/json, example=[ {
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
} ]}, {contentType=application/xml, example=<Pet>
|
} ]}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
- examples: [{contentType=application/json, example=[ {
|
- examples: [{contentType=application/json, example=[ {
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
} ]}, {contentType=application/xml, example=<Pet>
|
} ]}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
|
|
||||||
- parameter tags: (query) Tags to filter by (optional)
|
- parameter tags: (query) Tags to filter by (optional)
|
||||||
@ -354,48 +354,48 @@ public class PetAPI: APIBase {
|
|||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
}}, {contentType=application/xml, example=<Pet>
|
}}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"photoUrls" : [ "aeiou" ],
|
"photoUrls" : [ "aeiou" ],
|
||||||
"name" : "doggie",
|
"name" : "doggie",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"category" : {
|
"category" : {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 6
|
||||||
},
|
},
|
||||||
"tags" : [ {
|
"tags" : [ {
|
||||||
"name" : "aeiou",
|
"name" : "aeiou",
|
||||||
"id" : 123456789
|
"id" : 1
|
||||||
} ],
|
} ],
|
||||||
"status" : "aeiou"
|
"status" : "available"
|
||||||
}}, {contentType=application/xml, example=<Pet>
|
}}, {contentType=application/xml, example=<Pet>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<name>doggie</name>
|
<name>doggie</name>
|
||||||
<photoUrls>
|
<photoUrls>
|
||||||
<photoUrls>string</photoUrls>
|
<photoUrls>aeiou</photoUrls>
|
||||||
</photoUrls>
|
</photoUrls>
|
||||||
<tags>
|
<tags>
|
||||||
</tags>
|
</tags>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
</Pet>}]
|
</Pet>}]
|
||||||
|
|
||||||
- parameter petId: (path) ID of pet that needs to be fetched
|
- parameter petId: (path) ID of pet that needs to be fetched
|
||||||
|
@ -106,11 +106,11 @@ public class StoreAPI: APIBase {
|
|||||||
- type: apiKey api_key
|
- type: apiKey api_key
|
||||||
- name: api_key
|
- name: api_key
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"key" : 123
|
"key" : 0
|
||||||
}}, {contentType=application/xml, example=not implemented io.swagger.models.properties.MapProperty@6e901cd0}]
|
}}, {contentType=application/xml, example=}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"key" : 123
|
"key" : 0
|
||||||
}}, {contentType=application/xml, example=not implemented io.swagger.models.properties.MapProperty@6e901cd0}]
|
}}, {contentType=application/xml, example=}]
|
||||||
|
|
||||||
- returns: RequestBuilder<[String:Int32]>
|
- returns: RequestBuilder<[String:Int32]>
|
||||||
*/
|
*/
|
||||||
@ -166,33 +166,33 @@ public class StoreAPI: APIBase {
|
|||||||
- GET /store/order/{orderId}
|
- GET /store/order/{orderId}
|
||||||
- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
- For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
|
|
||||||
@ -253,33 +253,33 @@ public class StoreAPI: APIBase {
|
|||||||
- POST /store/order
|
- POST /store/order
|
||||||
-
|
-
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"petId" : 123456789,
|
"petId" : 6,
|
||||||
"quantity" : 123,
|
"quantity" : 1,
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
"shipDate" : "2000-01-23T04:56:07.000+00:00",
|
||||||
"complete" : true,
|
"complete" : true,
|
||||||
"status" : "aeiou"
|
"status" : "placed"
|
||||||
}}, {contentType=application/xml, example=<Order>
|
}}, {contentType=application/xml, example=<Order>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<petId>123456</petId>
|
<petId>123456789</petId>
|
||||||
<quantity>0</quantity>
|
<quantity>123</quantity>
|
||||||
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
<shipDate>2000-01-23T04:56:07.000Z</shipDate>
|
||||||
<status>string</status>
|
<status>aeiou</status>
|
||||||
<complete>true</complete>
|
<complete>true</complete>
|
||||||
</Order>}]
|
</Order>}]
|
||||||
|
|
||||||
|
@ -267,39 +267,39 @@ public class UserAPI: APIBase {
|
|||||||
"firstName" : "aeiou",
|
"firstName" : "aeiou",
|
||||||
"lastName" : "aeiou",
|
"lastName" : "aeiou",
|
||||||
"password" : "aeiou",
|
"password" : "aeiou",
|
||||||
"userStatus" : 123,
|
"userStatus" : 6,
|
||||||
"phone" : "aeiou",
|
"phone" : "aeiou",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"email" : "aeiou",
|
"email" : "aeiou",
|
||||||
"username" : "aeiou"
|
"username" : "aeiou"
|
||||||
}}, {contentType=application/xml, example=<User>
|
}}, {contentType=application/xml, example=<User>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<username>string</username>
|
<username>aeiou</username>
|
||||||
<firstName>string</firstName>
|
<firstName>aeiou</firstName>
|
||||||
<lastName>string</lastName>
|
<lastName>aeiou</lastName>
|
||||||
<email>string</email>
|
<email>aeiou</email>
|
||||||
<password>string</password>
|
<password>aeiou</password>
|
||||||
<phone>string</phone>
|
<phone>aeiou</phone>
|
||||||
<userStatus>0</userStatus>
|
<userStatus>123</userStatus>
|
||||||
</User>}]
|
</User>}]
|
||||||
- examples: [{contentType=application/json, example={
|
- examples: [{contentType=application/json, example={
|
||||||
"firstName" : "aeiou",
|
"firstName" : "aeiou",
|
||||||
"lastName" : "aeiou",
|
"lastName" : "aeiou",
|
||||||
"password" : "aeiou",
|
"password" : "aeiou",
|
||||||
"userStatus" : 123,
|
"userStatus" : 6,
|
||||||
"phone" : "aeiou",
|
"phone" : "aeiou",
|
||||||
"id" : 123456789,
|
"id" : 0,
|
||||||
"email" : "aeiou",
|
"email" : "aeiou",
|
||||||
"username" : "aeiou"
|
"username" : "aeiou"
|
||||||
}}, {contentType=application/xml, example=<User>
|
}}, {contentType=application/xml, example=<User>
|
||||||
<id>123456</id>
|
<id>123456789</id>
|
||||||
<username>string</username>
|
<username>aeiou</username>
|
||||||
<firstName>string</firstName>
|
<firstName>aeiou</firstName>
|
||||||
<lastName>string</lastName>
|
<lastName>aeiou</lastName>
|
||||||
<email>string</email>
|
<email>aeiou</email>
|
||||||
<password>string</password>
|
<password>aeiou</password>
|
||||||
<phone>string</phone>
|
<phone>aeiou</phone>
|
||||||
<userStatus>0</userStatus>
|
<userStatus>123</userStatus>
|
||||||
</User>}]
|
</User>}]
|
||||||
|
|
||||||
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
- parameter username: (path) The name that needs to be fetched. Use user1 for testing.
|
||||||
@ -360,8 +360,8 @@ public class UserAPI: APIBase {
|
|||||||
Logs user into the system
|
Logs user into the system
|
||||||
- GET /user/login
|
- GET /user/login
|
||||||
-
|
-
|
||||||
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=string}]
|
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=aeiou}]
|
||||||
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=string}]
|
- examples: [{contentType=application/json, example="aeiou"}, {contentType=application/xml, example=aeiou}]
|
||||||
|
|
||||||
- parameter username: (query) The user name for login (optional)
|
- parameter username: (query) The user name for login (optional)
|
||||||
- parameter password: (query) The password for login in clear text (optional)
|
- parameter password: (query) The password for login in clear text (optional)
|
||||||
|
Loading…
x
Reference in New Issue
Block a user