Update html, dynamic-html petstore, fix example value for form parameters (#122)

* update dynamic-html samples with oas2

* update dynamic-html oas3 (no change)

* update html petstore (oas2)

* update html petstore with oas3

* fix example value for form parameters

* fix javadoc string
This commit is contained in:
William Cheng
2018-04-18 17:42:38 +08:00
committed by GitHub
parent 391c75b5b3
commit 05f5c5798b
17 changed files with 299 additions and 314 deletions

View File

@@ -20,7 +20,7 @@
<span class="param-in">Body: </span>
<span class="param-name">body</span>
<span class="param-name">User</span>
<span class="param-type">User(User)</span>
<p class="param-description">Created user object</p>
@@ -29,7 +29,7 @@
<h2><a name="createUsersWithArrayInput"></a>createUsersWithArrayInput</h2>
<hr>
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.io/v2/user/createWithArray</code>
<h3 class="section">HTTP Method</h3>
@@ -44,8 +44,8 @@
<span class="param-in">Body: </span>
<span class="param-name">body</span>
<span class="param-type">List(User)</span>
<span class="param-name">array</span>
<span class="param-type">List(array)</span>
<p class="param-description">List of user object</p>
</li>
@@ -53,7 +53,7 @@
<h2><a name="createUsersWithListInput"></a>createUsersWithListInput</h2>
<hr>
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.io/v2/user/createWithList</code>
<h3 class="section">HTTP Method</h3>
@@ -68,8 +68,8 @@
<span class="param-in">Body: </span>
<span class="param-name">body</span>
<span class="param-type">List(User)</span>
<span class="param-name">array</span>
<span class="param-type">List(array)</span>
<p class="param-description">List of user object</p>
</li>
@@ -101,7 +101,7 @@
<h2><a name="getUserByName"></a>getUserByName</h2>
<hr>
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.io/v2/user/{username}</code>
<h3 class="section">HTTP Method</h3>
@@ -119,13 +119,13 @@
<span class="param-name">username</span>
<span class="param-type">String</span>
<p class="param-description">The name that needs to be fetched. Use user1 for testing. </p>
<p class="param-description">The name that needs to be fetched. Use user1 for testing.</p>
</li>
</ul>
<h2><a name="loginUser"></a>loginUser</h2>
<hr>
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.io/v2/user/login</code>
<h3 class="section">HTTP Method</h3>
@@ -160,7 +160,7 @@
<h2><a name="logoutUser"></a>logoutUser</h2>
<hr>
<p></p>
<p></p>
<h3 class="section">URL</h3>
<code>http://petstore.swagger.io/v2/user/logout</code>
<h3 class="section">HTTP Method</h3>
@@ -199,7 +199,7 @@
<span class="param-in">Body: </span>
<span class="param-name">body</span>
<span class="param-name">User</span>
<span class="param-type">User(User)</span>
<p class="param-description">Updated user object</p>