This commit is contained in:
Tony Tam
2015-02-12 22:25:29 -08:00
parent 85b396ce88
commit cd3dfe164b
6 changed files with 54 additions and 21 deletions

View File

@@ -9,7 +9,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/pet</code>
<code>http://petstore.swagger.io/v2/pet</code>
<h3 class="section">HTTP Method</h3>
<code>PUT</code>
<h3 class="section">Response Type</h3>
@@ -32,7 +32,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/pet</code>
<code>http://petstore.swagger.io/v2/pet</code>
<h3 class="section">HTTP Method</h3>
<code>POST</code>
<h3 class="section">Response Type</h3>
@@ -55,7 +55,7 @@
<p></p>
<p>Multiple status values can be provided with comma seperated strings</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/pet/findByStatus</code>
<code>http://petstore.swagger.io/v2/pet/findByStatus</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
@@ -78,7 +78,7 @@
<p></p>
<p>Muliple tags can be provided with comma seperated strings. Use tag1, tag2, tag3 for testing.</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/pet/findByTags</code>
<code>http://petstore.swagger.io/v2/pet/findByTags</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
@@ -101,7 +101,7 @@
<p></p>
<p>Returns a pet when ID &lt; 10. ID &gt; 10 or nonintegers will simulate API error conditions</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/pet/{petId}</code>
<code>http://petstore.swagger.io/v2/pet/{petId}</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
@@ -124,7 +124,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/pet/{petId}</code>
<code>http://petstore.swagger.io/v2/pet/{petId}</code>
<h3 class="section">HTTP Method</h3>
<code>POST</code>
<h3 class="section">Response Type</h3>
@@ -163,7 +163,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/pet/{petId}</code>
<code>http://petstore.swagger.io/v2/pet/{petId}</code>
<h3 class="section">HTTP Method</h3>
<code>DELETE</code>
<h3 class="section">Response Type</h3>
@@ -189,5 +189,36 @@
</ul>
<h2><a name="uploadFile"></a>uploadFile</h2>
<hr>
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.io/v2/pet/{petId}/uploadImage</code>
<h3 class="section">HTTP Method</h3>
<code>POST</code>
<h3 class="section">Response Type</h3>
<div class="model" id=""><a href="#"></a></div>
<h3 class="section">Parameters</h3>
<ul>
<div class="parameter">
<p class="param-description">Additional data to pass to server</p>
</div>
<div class="parameter">
<p class="param-description">file to upload</p>
</div>
</ul>
</div>

View File

@@ -9,7 +9,7 @@
<p></p>
<p>Returns a map of status codes to quantities</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/store/inventory</code>
<code>http://petstore.swagger.io/v2/store/inventory</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
@@ -24,7 +24,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/store/order</code>
<code>http://petstore.swagger.io/v2/store/order</code>
<h3 class="section">HTTP Method</h3>
<code>POST</code>
<h3 class="section">Response Type</h3>
@@ -47,7 +47,7 @@
<p></p>
<p>For valid response try integer IDs with value &lt;= 5 or &gt; 10. Other values will generated exceptions</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/store/order/{orderId}</code>
<code>http://petstore.swagger.io/v2/store/order/{orderId}</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
@@ -70,7 +70,7 @@
<p></p>
<p>For valid response try integer IDs with value &lt; 1000. Anything above 1000 or nonintegers will generate API errors</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/store/order/{orderId}</code>
<code>http://petstore.swagger.io/v2/store/order/{orderId}</code>
<h3 class="section">HTTP Method</h3>
<code>DELETE</code>
<h3 class="section">Response Type</h3>

View File

@@ -9,7 +9,7 @@
<p></p>
<p>This can only be done by the logged in user.</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/user</code>
<code>http://petstore.swagger.io/v2/user</code>
<h3 class="section">HTTP Method</h3>
<code>POST</code>
<h3 class="section">Response Type</h3>
@@ -32,7 +32,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/user/createWithArray</code>
<code>http://petstore.swagger.io/v2/user/createWithArray</code>
<h3 class="section">HTTP Method</h3>
<code>POST</code>
<h3 class="section">Response Type</h3>
@@ -58,7 +58,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/user/createWithList</code>
<code>http://petstore.swagger.io/v2/user/createWithList</code>
<h3 class="section">HTTP Method</h3>
<code>POST</code>
<h3 class="section">Response Type</h3>
@@ -84,7 +84,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/user/login</code>
<code>http://petstore.swagger.io/v2/user/login</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
@@ -115,7 +115,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/user/logout</code>
<code>http://petstore.swagger.io/v2/user/logout</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
@@ -130,7 +130,7 @@
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/user/{username}</code>
<code>http://petstore.swagger.io/v2/user/{username}</code>
<h3 class="section">HTTP Method</h3>
<code>GET</code>
<h3 class="section">Response Type</h3>
@@ -153,7 +153,7 @@
<p></p>
<p>This can only be done by the logged in user.</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/user/{username}</code>
<code>http://petstore.swagger.io/v2/user/{username}</code>
<h3 class="section">HTTP Method</h3>
<code>PUT</code>
<h3 class="section">Response Type</h3>
@@ -184,7 +184,7 @@
<p></p>
<p>This can only be done by the logged in user.</p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.wordnik.com/v2/user/{username}</code>
<code>http://petstore.swagger.io/v2/user/{username}</code>
<h3 class="section">HTTP Method</h3>
<code>DELETE</code>
<h3 class="section">Response Type</h3>