2015-10-30 08:37:23 +00:00
<?xml version="1.0"?>
< !DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
"http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
< html xmlns = "http://www.w3.org/1999/xhtml" >
2015-06-09 07:25:09 +00:00
< head >
2015-10-30 08:37:23 +00:00
< title > Swagger Petstore< / title >
< style type = "text/css" >
body {
font-family: Trebuchet MS, sans-serif;
font-size: 15px;
color: #444;
margin-right: 24px;
}
h1 {
font-size: 25px;
}
h2 {
font-size: 20px;
}
h3 {
font-size: 16px;
font-weight: bold;
}
hr {
height: 1px;
border: 0;
color: #ddd;
background-color: #ddd;
display: none;
}
.app-desc {
clear: both;
margin-left: 20px;
}
.param-name {
width: 100%;
}
.license-info {
margin-left: 20px;
}
.license-url {
margin-left: 20px;
}
.model {
margin: 0 0 0px 20px;
}
.method {
margin-left: 20px;
}
.method-notes {
margin: 10px 0 20px 0;
font-size: 90%;
color: #555;
}
pre {
padding: 10px;
margin-bottom: 2px;
}
.http-method {
text-transform: uppercase;
}
pre.get {
background-color: #0f6ab4;
}
pre.post {
background-color: #10a54a;
}
pre.put {
background-color: #c5862b;
}
pre.delete {
background-color: #a41e22;
}
.huge {
color: #fff;
}
pre.example {
background-color: #f3f3f3;
padding: 10px;
border: 1px solid #ddd;
}
code {
white-space: pre;
}
.nickname {
font-weight: bold;
}
.method-path {
font-size: 1.5em;
background-color: #0f6ab4;
}
.up {
float:right;
}
.parameter {
width: 500px;
}
.param {
width: 500px;
padding: 10px 0 0 20px;
font-weight: bold;
}
.param-desc {
width: 700px;
padding: 0 0 0 20px;
color: #777;
}
.param-type {
font-style: italic;
}
.param-enum-header {
width: 700px;
padding: 0 0 0 60px;
color: #777;
font-weight: bold;
}
.param-enum {
width: 700px;
padding: 0 0 0 80px;
color: #777;
font-style: italic;
}
.field-label {
padding: 0;
margin: 0;
clear: both;
}
.field-items {
padding: 0 0 15px 0;
margin-bottom: 15px;
}
.return-type {
clear: both;
padding-bottom: 10px;
}
.param-header {
font-weight: bold;
}
.method-tags {
text-align: right;
}
.method-tag {
background: none repeat scroll 0% 0% #24A600;
border-radius: 3px;
padding: 2px 10px;
margin: 2px;
color: #FFF;
display: inline-block;
text-decoration: none;
}
< / style >
2015-06-09 07:25:09 +00:00
< / head >
< body >
< h1 > Swagger Petstore< / h1 >
2016-04-16 09:51:12 +00:00
< div class = "app-desc" > This is a sample server Petstore server. You can find out more about Swagger at [http://swagger.io](http://swagger.io) or on [irc.freenode.net, #swagger](http://swagger.io/irc/). For this sample, you can use the api key `special-key` to test the authorization filters.< / div >
2015-06-09 07:25:09 +00:00
2015-06-08 03:50:35 +00:00
< div class = "app-desc" > Contact Info: < a href = "apiteam@swagger.io" > apiteam@swagger.io< / a > < / div >
< div class = "app-desc" > Version: 1.0.0< / div >
2015-06-09 07:25:09 +00:00
< div class = "license-info" > Apache 2.0< / div >
< div class = "license-url" > http://www.apache.org/licenses/LICENSE-2.0.html< / div >
< h2 > Access< / h2 >
2015-10-30 08:37:23 +00:00
< h2 > < a name = "__Methods" > Methods< / a > < / h2 >
[ Jump to < a href = "#__Models" > Models< / a > ]
< h2 > Table of Contents < / h2 >
< div class = "method-summary" > < / div >
< ol >
< li > < a href = "#addPet" > < code > < span class = "http-method" > post< / span > /pet< / code > < / a > < / li >
2016-04-11 12:43:06 +00:00
< li > < a href = "#deletePet" > < code > < span class = "http-method" > delete< / span > /pet/{petId}< / code > < / a > < / li >
2015-10-30 08:37:23 +00:00
< li > < a href = "#findPetsByStatus" > < code > < span class = "http-method" > get< / span > /pet/findByStatus< / code > < / a > < / li >
< li > < a href = "#findPetsByTags" > < code > < span class = "http-method" > get< / span > /pet/findByTags< / code > < / a > < / li >
< li > < a href = "#getPetById" > < code > < span class = "http-method" > get< / span > /pet/{petId}< / code > < / a > < / li >
2016-04-11 12:43:06 +00:00
< li > < a href = "#updatePet" > < code > < span class = "http-method" > put< / span > /pet< / code > < / a > < / li >
2015-10-30 08:37:23 +00:00
< li > < a href = "#updatePetWithForm" > < code > < span class = "http-method" > post< / span > /pet/{petId}< / code > < / a > < / li >
< li > < a href = "#uploadFile" > < code > < span class = "http-method" > post< / span > /pet/{petId}/uploadImage< / code > < / a > < / li >
2016-04-11 12:43:06 +00:00
< li > < a href = "#deleteOrder" > < code > < span class = "http-method" > delete< / span > /store/order/{orderId}< / code > < / a > < / li >
2015-10-30 08:37:23 +00:00
< li > < a href = "#getInventory" > < code > < span class = "http-method" > get< / span > /store/inventory< / code > < / a > < / li >
< li > < a href = "#getOrderById" > < code > < span class = "http-method" > get< / span > /store/order/{orderId}< / code > < / a > < / li >
2016-04-11 12:43:06 +00:00
< li > < a href = "#placeOrder" > < code > < span class = "http-method" > post< / span > /store/order< / code > < / a > < / li >
2015-10-30 08:37:23 +00:00
< li > < a href = "#createUser" > < code > < span class = "http-method" > post< / span > /user< / code > < / a > < / li >
< li > < a href = "#createUsersWithArrayInput" > < code > < span class = "http-method" > post< / span > /user/createWithArray< / code > < / a > < / li >
< li > < a href = "#createUsersWithListInput" > < code > < span class = "http-method" > post< / span > /user/createWithList< / code > < / a > < / li >
2016-04-11 12:43:06 +00:00
< li > < a href = "#deleteUser" > < code > < span class = "http-method" > delete< / span > /user/{username}< / code > < / a > < / li >
< li > < a href = "#getUserByName" > < code > < span class = "http-method" > get< / span > /user/{username}< / code > < / a > < / li >
2015-10-30 08:37:23 +00:00
< li > < a href = "#loginUser" > < code > < span class = "http-method" > get< / span > /user/login< / code > < / a > < / li >
< li > < a href = "#logoutUser" > < code > < span class = "http-method" > get< / span > /user/logout< / code > < / a > < / li >
< li > < a href = "#updateUser" > < code > < span class = "http-method" > put< / span > /user/{username}< / code > < / a > < / li >
< / ol >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "addPet" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "post" > < code class = "huge" > < span class = "http-method" > post< / span > /pet< / code > < / pre > < / div >
< div class = "method-summary" > Add a new pet to the store (< span class = "nickname" > addPet< / span > )< / div >
2015-06-09 07:25:09 +00:00
< div class = "method-notes" > < / div >
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Consumes< / h3 >
This API call consumes the following media types via the < span class = "heaader" > Content-Type< / span > request header:
< ul >
< li > < code > application/json< / code > < / li >
< li > < code > application/xml< / code > < / li >
< / ul >
< h3 class = "field-label" > Request body< / h3 >
2015-06-09 07:25:09 +00:00
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > body (required)< / div >
2015-06-09 07:25:09 +00:00
< div class = "param-desc" > < span class = "param-type" > Body Parameter< / span > — Pet object that needs to be added to the store < / div >
< / div > <!-- field - items -->
2015-10-30 08:37:23 +00:00
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
< li > < code > application/json< / code > < / li >
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 405< / h4 >
Invalid input
< / div > <!-- method -->
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "deletePet" / >
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
< pre class = "delete" > < code class = "huge" > < span class = "http-method" > delete< / span > /pet/{petId}< / code > < / pre > < / div >
< div class = "method-summary" > Deletes a pet (< span class = "nickname" > deletePet< / span > )< / div >
< div class = "method-notes" > < / div >
< h3 class = "field-label" > Path parameters< / h3 >
< div class = "field-items" >
< div class = "param" > petId (required)< / div >
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — Pet id to delete < / div >
< / div > <!-- field - items -->
<!-- Todo: process Response Object and its headers, schema, examples -->
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2016-04-11 12:43:06 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 400< / h4 >
Invalid pet value
< / div > <!-- method -->
< hr / >
2015-10-30 08:37:23 +00:00
< div class = "method" > < a name = "findPetsByStatus" / >
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
< pre class = "get" > < code class = "huge" > < span class = "http-method" > get< / span > /pet/findByStatus< / code > < / pre > < / div >
< div class = "method-summary" > Finds Pets by status (< span class = "nickname" > findPetsByStatus< / span > )< / div >
2016-04-11 12:43:06 +00:00
< div class = "method-notes" > Multiple status values can be provided with comma separated strings< / div >
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Query parameters< / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > status (required)< / div >
2015-10-30 08:37:23 +00:00
2016-04-16 09:51:12 +00:00
< div class = "param-desc" > < span class = "param-type" > Query Parameter< / span > — Status values that need to be considered for filter < / div >
2015-10-30 08:37:23 +00:00
< / div > <!-- field - items -->
< h3 class = "field-label" > Return type< / h3 >
2016-04-11 12:43:06 +00:00
< div class = "return-type" >
array[< a href = "#Pet" > Pet< / a > ]
< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 200< / h4 >
successful operation
< h4 class = "field-label" > 400< / h4 >
Invalid status value
< / div > <!-- method -->
< hr / >
< div class = "method" > < a name = "findPetsByTags" / >
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
< pre class = "get" > < code class = "huge" > < span class = "http-method" > get< / span > /pet/findByTags< / code > < / pre > < / div >
< div class = "method-summary" > Finds Pets by tags (< span class = "nickname" > findPetsByTags< / span > )< / div >
2016-04-16 09:51:12 +00:00
< div class = "method-notes" > Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.< / div >
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Query parameters< / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > tags (required)< / div >
2015-10-30 08:37:23 +00:00
< div class = "param-desc" > < span class = "param-type" > Query Parameter< / span > — Tags to filter by < / div >
< / div > <!-- field - items -->
< h3 class = "field-label" > Return type< / h3 >
2016-04-11 12:43:06 +00:00
< div class = "return-type" >
array[< a href = "#Pet" > Pet< / a > ]
< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 200< / h4 >
successful operation
< h4 class = "field-label" > 400< / h4 >
Invalid tag value
< / div > <!-- method -->
< hr / >
< div class = "method" > < a name = "getPetById" / >
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
< pre class = "get" > < code class = "huge" > < span class = "http-method" > get< / span > /pet/{petId}< / code > < / pre > < / div >
< div class = "method-summary" > Find pet by ID (< span class = "nickname" > getPetById< / span > )< / div >
2016-04-16 09:51:12 +00:00
< div class = "method-notes" > Returns a single pet< / div >
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Path parameters< / h3 >
< div class = "field-items" >
< div class = "param" > petId (required)< / div >
2016-04-16 09:51:12 +00:00
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — ID of pet to return < / div >
2015-10-30 08:37:23 +00:00
< / div > <!-- field - items -->
< h3 class = "field-label" > Return type< / h3 >
2016-04-11 12:43:06 +00:00
< div class = "return-type" >
< a href = "#Pet" > Pet< / a >
< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
< li > < code > application/json< / code > < / li >
< / ul >
< h3 class = "field-label" > Responses< / h3 >
2016-04-11 12:43:06 +00:00
< h4 class = "field-label" > 200< / h4 >
successful operation
2015-10-30 08:37:23 +00:00
< h4 class = "field-label" > 400< / h4 >
2016-04-11 12:43:06 +00:00
Invalid ID supplied
< h4 class = "field-label" > 404< / h4 >
Pet not found
2015-10-30 08:37:23 +00:00
< / div > <!-- method -->
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "updatePet" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "put" > < code class = "huge" > < span class = "http-method" > put< / span > /pet< / code > < / pre > < / div >
< div class = "method-summary" > Update an existing pet (< span class = "nickname" > updatePet< / span > )< / div >
2015-10-30 08:37:23 +00:00
< div class = "method-notes" > < / div >
< h3 class = "field-label" > Consumes< / h3 >
This API call consumes the following media types via the < span class = "heaader" > Content-Type< / span > request header:
< ul >
2016-04-11 12:43:06 +00:00
< li > < code > application/json< / code > < / li >
< li > < code > application/xml< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Request body< / h3 >
2015-10-30 08:37:23 +00:00
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > body (required)< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Body Parameter< / span > — Pet object that needs to be added to the store < / div >
2015-10-30 08:37:23 +00:00
< / div > <!-- field - items -->
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
2016-04-11 12:43:06 +00:00
< h4 class = "field-label" > 400< / h4 >
Invalid ID supplied
< h4 class = "field-label" > 404< / h4 >
Pet not found
< h4 class = "field-label" > 405< / h4 >
Validation exception
2015-10-30 08:37:23 +00:00
< / div > <!-- method -->
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "updatePetWithForm" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "post" > < code class = "huge" > < span class = "http-method" > post< / span > /pet/{petId}< / code > < / pre > < / div >
< div class = "method-summary" > Updates a pet in the store with form data (< span class = "nickname" > updatePetWithForm< / span > )< / div >
< div class = "method-notes" > < / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Path parameters< / h3 >
< div class = "field-items" >
< div class = "param" > petId (required)< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — ID of pet that needs to be updated < / div >
< / div > <!-- field - items -->
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Consumes< / h3 >
This API call consumes the following media types via the < span class = "heaader" > Content-Type< / span > request header:
< ul >
< li > < code > application/x-www-form-urlencoded< / code > < / li >
< / ul >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Form parameters< / h3 >
< div class = "field-items" >
< div class = "param" > name (optional)< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Form Parameter< / span > — Updated name of the pet < / div > < div class = "param" > status (optional)< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Form Parameter< / span > — Updated status of the pet < / div >
< / div > <!-- field - items -->
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
2016-04-11 12:43:06 +00:00
< h4 class = "field-label" > 405< / h4 >
Invalid input
2015-10-30 08:37:23 +00:00
< / div > <!-- method -->
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "uploadFile" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "post" > < code class = "huge" > < span class = "http-method" > post< / span > /pet/{petId}/uploadImage< / code > < / pre > < / div >
< div class = "method-summary" > uploads an image (< span class = "nickname" > uploadFile< / span > )< / div >
2015-10-30 08:37:23 +00:00
< div class = "method-notes" > < / div >
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Path parameters< / h3 >
2015-10-30 08:37:23 +00:00
< div class = "field-items" >
2016-04-11 12:43:06 +00:00
< div class = "param" > petId (required)< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — ID of pet to update < / div >
2015-10-30 08:37:23 +00:00
< / div > <!-- field - items -->
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Consumes< / h3 >
This API call consumes the following media types via the < span class = "heaader" > Content-Type< / span > request header:
< ul >
< li > < code > multipart/form-data< / code > < / li >
< / ul >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Form parameters< / h3 >
< div class = "field-items" >
< div class = "param" > additionalMetadata (optional)< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Form Parameter< / span > — Additional data to pass to server < / div > < div class = "param" > file (optional)< / div >
< div class = "param-desc" > < span class = "param-type" > Form Parameter< / span > — file to upload < / div >
< / div > <!-- field - items -->
2016-04-16 09:51:12 +00:00
< h3 class = "field-label" > Return type< / h3 >
< div class = "return-type" >
< a href = "#ApiResponse" > ApiResponse< / a >
< / div >
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/json< / code > < / li >
< / ul >
< h3 class = "field-label" > Responses< / h3 >
2016-04-16 09:51:12 +00:00
< h4 class = "field-label" > 200< / h4 >
2015-10-30 08:37:23 +00:00
successful operation
< / div > <!-- method -->
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "deleteOrder" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "delete" > < code class = "huge" > < span class = "http-method" > delete< / span > /store/order/{orderId}< / code > < / pre > < / div >
< div class = "method-summary" > Delete purchase order by ID (< span class = "nickname" > deleteOrder< / span > )< / div >
< div class = "method-notes" > For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors< / div >
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Path parameters< / h3 >
< div class = "field-items" >
< div class = "param" > orderId (required)< / div >
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — ID of the order that needs to be deleted < / div >
2015-10-30 08:37:23 +00:00
< / div > <!-- field - items -->
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 400< / h4 >
Invalid ID supplied
< h4 class = "field-label" > 404< / h4 >
Order not found
< / div > <!-- method -->
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "getInventory" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "get" > < code class = "huge" > < span class = "http-method" > get< / span > /store/inventory< / code > < / pre > < / div >
< div class = "method-summary" > Returns pet inventories by status (< span class = "nickname" > getInventory< / span > )< / div >
< div class = "method-notes" > Returns a map of status codes to quantities< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Return type< / h3 >
< div class = "return-type" >
map[String, Integer]
< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/json< / code > < / li >
< / ul >
< h3 class = "field-label" > Responses< / h3 >
2016-04-11 12:43:06 +00:00
< h4 class = "field-label" > 200< / h4 >
2015-10-30 08:37:23 +00:00
successful operation
2015-06-09 07:25:09 +00:00
< / div > <!-- method -->
2015-10-30 08:37:23 +00:00
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "getOrderById" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "get" > < code class = "huge" > < span class = "http-method" > get< / span > /store/order/{orderId}< / code > < / pre > < / div >
< div class = "method-summary" > Find purchase order by ID (< span class = "nickname" > getOrderById< / span > )< / div >
< div class = "method-notes" > For valid response try integer IDs with value < = 5 or > 10. Other values will generated exceptions< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Path parameters< / h3 >
2015-06-09 07:25:09 +00:00
< div class = "field-items" >
2016-04-11 12:43:06 +00:00
< div class = "param" > orderId (required)< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — ID of pet that needs to be fetched < / div >
2015-06-09 07:25:09 +00:00
< / div > <!-- field - items -->
2015-10-30 08:37:23 +00:00
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Return type< / h3 >
< div class = "return-type" >
< a href = "#Order" > Order< / a >
< / div >
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Responses< / h3 >
2016-04-11 12:43:06 +00:00
< h4 class = "field-label" > 200< / h4 >
2015-10-30 08:37:23 +00:00
successful operation
2016-04-11 12:43:06 +00:00
< h4 class = "field-label" > 400< / h4 >
Invalid ID supplied
< h4 class = "field-label" > 404< / h4 >
Order not found
2015-06-09 07:25:09 +00:00
< / div > <!-- method -->
2015-10-30 08:37:23 +00:00
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "placeOrder" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "post" > < code class = "huge" > < span class = "http-method" > post< / span > /store/order< / code > < / pre > < / div >
< div class = "method-summary" > Place an order for a pet (< span class = "nickname" > placeOrder< / span > )< / div >
2015-06-09 07:25:09 +00:00
< div class = "method-notes" > < / div >
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Request body< / h3 >
2015-06-09 07:25:09 +00:00
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > body (required)< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Body Parameter< / span > — order placed for purchasing the pet < / div >
2015-06-09 07:25:09 +00:00
< / div > <!-- field - items -->
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
2015-06-09 07:25:09 +00:00
< h3 class = "field-label" > Return type< / h3 >
2016-04-11 12:43:06 +00:00
< div class = "return-type" >
< a href = "#Order" > Order< / a >
< / div >
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-10-30 08:37:23 +00:00
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 200< / h4 >
successful operation
< h4 class = "field-label" > 400< / h4 >
2016-04-11 12:43:06 +00:00
Invalid Order
2015-06-09 07:25:09 +00:00
< / div > <!-- method -->
2015-10-30 08:37:23 +00:00
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "createUser" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "post" > < code class = "huge" > < span class = "http-method" > post< / span > /user< / code > < / pre > < / div >
< div class = "method-summary" > Create user (< span class = "nickname" > createUser< / span > )< / div >
< div class = "method-notes" > This can only be done by the logged in user.< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Request body< / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > body (required)< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Body Parameter< / span > — Created user object < / div >
< / div > <!-- field - items -->
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 0< / h4 >
successful operation
2015-06-09 07:25:09 +00:00
< / div > <!-- method -->
2015-10-30 08:37:23 +00:00
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "createUsersWithArrayInput" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "post" > < code class = "huge" > < span class = "http-method" > post< / span > /user/createWithArray< / code > < / pre > < / div >
< div class = "method-summary" > Creates list of users with given input array (< span class = "nickname" > createUsersWithArrayInput< / span > )< / div >
2015-06-09 07:25:09 +00:00
< div class = "method-notes" > < / div >
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Request body< / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > body (required)< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Body Parameter< / span > — List of user object < / div >
< / div > <!-- field - items -->
2015-10-30 08:37:23 +00:00
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2016-04-11 12:43:06 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 0< / h4 >
successful operation
< / div > <!-- method -->
< hr / >
< div class = "method" > < a name = "createUsersWithListInput" / >
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
< pre class = "post" > < code class = "huge" > < span class = "http-method" > post< / span > /user/createWithList< / code > < / pre > < / div >
< div class = "method-summary" > Creates list of users with given input array (< span class = "nickname" > createUsersWithListInput< / span > )< / div >
< div class = "method-notes" > < / div >
< h3 class = "field-label" > Request body< / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > body (required)< / div >
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Body Parameter< / span > — List of user object < / div >
< / div > <!-- field - items -->
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
2016-04-11 12:43:06 +00:00
< h4 class = "field-label" > 0< / h4 >
2015-10-30 08:37:23 +00:00
successful operation
2015-06-09 07:25:09 +00:00
< / div > <!-- method -->
2015-10-30 08:37:23 +00:00
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "deleteUser" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "delete" > < code class = "huge" > < span class = "http-method" > delete< / span > /user/{username}< / code > < / pre > < / div >
< div class = "method-summary" > Delete user (< span class = "nickname" > deleteUser< / span > )< / div >
2015-06-09 07:25:09 +00:00
< div class = "method-notes" > This can only be done by the logged in user.< / div >
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Path parameters< / h3 >
2015-06-09 07:25:09 +00:00
< div class = "field-items" >
2015-10-30 08:37:23 +00:00
< div class = "param" > username (required)< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — The name that needs to be deleted < / div >
2015-06-09 07:25:09 +00:00
< / div > <!-- field - items -->
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2016-04-11 12:43:06 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 400< / h4 >
Invalid username supplied
< h4 class = "field-label" > 404< / h4 >
User not found
< / div > <!-- method -->
< hr / >
< div class = "method" > < a name = "getUserByName" / >
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
< pre class = "get" > < code class = "huge" > < span class = "http-method" > get< / span > /user/{username}< / code > < / pre > < / div >
< div class = "method-summary" > Get user by user name (< span class = "nickname" > getUserByName< / span > )< / div >
< div class = "method-notes" > < / div >
< h3 class = "field-label" > Path parameters< / h3 >
2015-06-09 07:25:09 +00:00
< div class = "field-items" >
2016-04-11 12:43:06 +00:00
< div class = "param" > username (required)< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — The name that needs to be fetched. Use user1 for testing. < / div >
2015-06-09 07:25:09 +00:00
< / div > <!-- field - items -->
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Return type< / h3 >
< div class = "return-type" >
< a href = "#User" > User< / a >
< / div >
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Responses< / h3 >
2016-04-11 12:43:06 +00:00
< h4 class = "field-label" > 200< / h4 >
successful operation
2015-10-30 08:37:23 +00:00
< h4 class = "field-label" > 400< / h4 >
2016-04-11 12:43:06 +00:00
Invalid username supplied
2015-10-30 08:37:23 +00:00
< h4 class = "field-label" > 404< / h4 >
User not found
2015-06-09 07:25:09 +00:00
< / div > <!-- method -->
2015-10-30 08:37:23 +00:00
< hr / >
2016-04-11 12:43:06 +00:00
< div class = "method" > < a name = "loginUser" / >
2015-10-30 08:37:23 +00:00
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
2016-04-11 12:43:06 +00:00
< pre class = "get" > < code class = "huge" > < span class = "http-method" > get< / span > /user/login< / code > < / pre > < / div >
< div class = "method-summary" > Logs user into the system (< span class = "nickname" > loginUser< / span > )< / div >
< div class = "method-notes" > < / div >
< h3 class = "field-label" > Query parameters< / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > username (required)< / div >
2016-04-11 12:43:06 +00:00
2016-04-16 09:51:12 +00:00
< div class = "param-desc" > < span class = "param-type" > Query Parameter< / span > — The user name for login < / div > < div class = "param" > password (required)< / div >
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Query Parameter< / span > — The password for login in clear text < / div >
< / div > <!-- field - items -->
< h3 class = "field-label" > Return type< / h3 >
< div class = "return-type" >
String
< / div >
<!-- Todo: process Response Object and its headers, schema, examples -->
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2016-04-11 12:43:06 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 200< / h4 >
successful operation
< h4 class = "field-label" > 400< / h4 >
Invalid username/password supplied
< / div > <!-- method -->
< hr / >
< div class = "method" > < a name = "logoutUser" / >
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
< pre class = "get" > < code class = "huge" > < span class = "http-method" > get< / span > /user/logout< / code > < / pre > < / div >
< div class = "method-summary" > Logs out current logged in user session (< span class = "nickname" > logoutUser< / span > )< / div >
< div class = "method-notes" > < / div >
<!-- Todo: process Response Object and its headers, schema, examples -->
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2016-04-11 12:43:06 +00:00
< / ul >
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 0< / h4 >
successful operation
< / div > <!-- method -->
< hr / >
< div class = "method" > < a name = "updateUser" / >
< div class = "method-path" >
< a class = "up" href = "#__Methods" > Up< / a >
< pre class = "put" > < code class = "huge" > < span class = "http-method" > put< / span > /user/{username}< / code > < / pre > < / div >
< div class = "method-summary" > Updated user (< span class = "nickname" > updateUser< / span > )< / div >
2015-10-30 08:37:23 +00:00
< div class = "method-notes" > This can only be done by the logged in user.< / div >
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Path parameters< / h3 >
2015-06-09 07:25:09 +00:00
< div class = "field-items" >
< div class = "param" > username (required)< / div >
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Path Parameter< / span > — name that need to be deleted < / div >
2015-06-09 07:25:09 +00:00
< / div > <!-- field - items -->
2015-10-30 08:37:23 +00:00
2016-04-11 12:43:06 +00:00
< h3 class = "field-label" > Request body< / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > body (required)< / div >
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
< div class = "param-desc" > < span class = "param-type" > Body Parameter< / span > — Updated user object < / div >
< / div > <!-- field - items -->
2015-06-09 07:25:09 +00:00
2016-04-11 12:43:06 +00:00
<!-- Todo: process Response Object and its headers, schema, examples -->
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Produces< / h3 >
This API call produces the following media types according to the < span class = "header" > Accept< / span > request header;
the media type will be conveyed by the < span class = "heaader" > Content-Type< / span > response header.
< ul >
< li > < code > application/xml< / code > < / li >
2016-04-16 09:51:12 +00:00
< li > < code > application/json< / code > < / li >
2015-10-30 08:37:23 +00:00
< / ul >
2015-06-09 07:25:09 +00:00
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > Responses< / h3 >
< h4 class = "field-label" > 400< / h4 >
2016-04-11 12:43:06 +00:00
Invalid user supplied
2015-10-30 08:37:23 +00:00
< h4 class = "field-label" > 404< / h4 >
User not found
2015-06-09 07:25:09 +00:00
< / div > <!-- method -->
2015-10-30 08:37:23 +00:00
< hr / >
< div class = "up" > < a href = "#__Models" > Up< / a > < / div >
< h2 > < a name = "__Models" > Models< / a > < / h2 >
[ Jump to < a href = "#__Methods" > Methods< / a > ]
< h2 > Table of Contents< / h2 >
< ol >
2016-04-16 09:51:12 +00:00
< li > < a href = "#ApiResponse" > < code > ApiResponse< / code > < / a > < / li >
2015-10-30 08:37:23 +00:00
< li > < a href = "#Category" > < code > Category< / code > < / a > < / li >
2016-04-11 12:43:06 +00:00
< li > < a href = "#Order" > < code > Order< / code > < / a > < / li >
2015-10-30 08:37:23 +00:00
< li > < a href = "#Pet" > < code > Pet< / code > < / a > < / li >
< li > < a href = "#Tag" > < code > Tag< / code > < / a > < / li >
2016-04-11 12:43:06 +00:00
< li > < a href = "#User" > < code > User< / code > < / a > < / li >
2015-10-30 08:37:23 +00:00
< / ol >
2015-06-09 07:25:09 +00:00
< div class = "model" >
2016-04-16 09:51:12 +00:00
< h3 class = "field-label" > < a name = "ApiResponse" > ApiResponse< / a > < a class = "up" href = "#__Models" > Up< / a > < / h3 >
2016-04-11 12:43:06 +00:00
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > code (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Integer< / span > < / div >
< div class = "param" > type (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
< div class = "param" > message (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
2015-06-09 07:25:09 +00:00
< / div > <!-- field - items -->
< / div >
< div class = "model" >
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > < a name = "Category" > Category< / a > < a class = "up" href = "#__Models" > Up< / a > < / h3 >
2015-06-09 07:25:09 +00:00
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > id (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Long< / span > < / div >
< div class = "param" > name (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
2015-06-09 07:25:09 +00:00
< / div > <!-- field - items -->
< / div >
< div class = "model" >
2015-10-30 08:37:23 +00:00
< h3 class = "field-label" > < a name = "Order" > Order< / a > < a class = "up" href = "#__Models" > Up< / a > < / h3 >
2015-06-09 07:25:09 +00:00
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > id (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Long< / span > < / div >
< div class = "param" > petId (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Long< / span > < / div >
< div class = "param" > quantity (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Integer< / span > < / div >
< div class = "param" > shipDate (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Date< / span > < / div >
< div class = "param" > status (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > Order Status< / div >
2015-10-30 08:37:23 +00:00
< div class = "param-enum-header" > Enum:< / div >
< div class = "param-enum" > placed< / div > < div class = "param-enum" > approved< / div > < div class = "param-enum" > delivered< / div >
2016-04-16 09:51:12 +00:00
< div class = "param" > complete (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Boolean< / span > < / div >
2016-04-11 12:43:06 +00:00
< / div > <!-- field - items -->
< / div >
< div class = "model" >
< h3 class = "field-label" > < a name = "Pet" > Pet< / a > < a class = "up" href = "#__Models" > Up< / a > < / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > id (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Long< / span > < / div >
< div class = "param" > category (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Category< / span > < / div >
2016-04-11 12:43:06 +00:00
< div class = "param" > name < / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
< div class = "param" > photoUrls < / div > < div class = "param-desc" > < span class = "param-type" > array[String]< / span > < / div >
2016-04-16 09:51:12 +00:00
< div class = "param" > tags (optional)< / div > < div class = "param-desc" > < span class = "param-type" > array[Tag]< / span > < / div >
< div class = "param" > status (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > pet status in the store< / div >
2016-04-11 12:43:06 +00:00
< div class = "param-enum-header" > Enum:< / div >
< div class = "param-enum" > available< / div > < div class = "param-enum" > pending< / div > < div class = "param-enum" > sold< / div >
< / div > <!-- field - items -->
< / div >
< div class = "model" >
< h3 class = "field-label" > < a name = "Tag" > Tag< / a > < a class = "up" href = "#__Models" > Up< / a > < / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > id (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Long< / span > < / div >
< div class = "param" > name (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
2016-04-11 12:43:06 +00:00
< / div > <!-- field - items -->
< / div >
< div class = "model" >
< h3 class = "field-label" > < a name = "User" > User< / a > < a class = "up" href = "#__Models" > Up< / a > < / h3 >
< div class = "field-items" >
2016-04-16 09:51:12 +00:00
< div class = "param" > id (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Long< / span > < / div >
< div class = "param" > username (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
< div class = "param" > firstName (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
< div class = "param" > lastName (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
< div class = "param" > email (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
< div class = "param" > password (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
< div class = "param" > phone (optional)< / div > < div class = "param-desc" > < span class = "param-type" > String< / span > < / div >
< div class = "param" > userStatus (optional)< / div > < div class = "param-desc" > < span class = "param-type" > Integer< / span > User Status< / div >
2015-06-09 07:25:09 +00:00
< / div > <!-- field - items -->
< / div >
< / body >
2015-10-30 08:37:23 +00:00
< / html >