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>