forked from loafle/openapi-generator-original
dynamic-html: refactor parameters view
This commit is contained in:
@@ -17,13 +17,17 @@
|
||||
<h3 class="section">Parameters</h3>
|
||||
<ul>
|
||||
|
||||
<div class="parameter">
|
||||
<li class="parameter">
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="param-description">Created user object</p>
|
||||
</div>
|
||||
|
||||
<span class="param-in">Body: </span>
|
||||
<span class="param-name">body</span>
|
||||
<span class="param-type">User</span>
|
||||
|
||||
<p class="param-description">Created user object</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -40,16 +44,17 @@
|
||||
<h3 class="section">Parameters</h3>
|
||||
<ul>
|
||||
|
||||
<div class="parameter">
|
||||
|
||||
|
||||
|
||||
<li class="parameter">
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="param-description">List of user object</p>
|
||||
</div>
|
||||
|
||||
<span class="param-in">Body: </span>
|
||||
<span class="param-name">body</span>
|
||||
<span class="param-type">List</span>
|
||||
|
||||
<p class="param-description">List of user object</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -66,16 +71,17 @@
|
||||
<h3 class="section">Parameters</h3>
|
||||
<ul>
|
||||
|
||||
<div class="parameter">
|
||||
|
||||
|
||||
|
||||
<li class="parameter">
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="param-description">List of user object</p>
|
||||
</div>
|
||||
|
||||
<span class="param-in">Body: </span>
|
||||
<span class="param-name">body</span>
|
||||
<span class="param-type">List</span>
|
||||
|
||||
<p class="param-description">List of user object</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -92,21 +98,29 @@
|
||||
<h3 class="section">Parameters</h3>
|
||||
<ul>
|
||||
|
||||
<div class="parameter">
|
||||
<li class="parameter">
|
||||
|
||||
<span class="param-in">Query: </span>
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="param-description">The user name for login</p>
|
||||
</div>
|
||||
<span class="param-name">username</span>
|
||||
<span class="param-type">String</span>
|
||||
|
||||
<p class="param-description">The user name for login</p>
|
||||
</li>
|
||||
|
||||
<div class="parameter">
|
||||
<li class="parameter">
|
||||
|
||||
<span class="param-in">Query: </span>
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="param-description">The password for login in clear text</p>
|
||||
</div>
|
||||
<span class="param-name">password</span>
|
||||
<span class="param-type">String</span>
|
||||
|
||||
<p class="param-description">The password for login in clear text</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -138,13 +152,17 @@
|
||||
<h3 class="section">Parameters</h3>
|
||||
<ul>
|
||||
|
||||
<div class="parameter">
|
||||
<li class="parameter">
|
||||
|
||||
|
||||
|
||||
<span class="param-in">Path: </span>
|
||||
|
||||
<p class="param-description">The name that needs to be fetched. Use user1 for testing. </p>
|
||||
</div>
|
||||
|
||||
<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>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -161,21 +179,29 @@
|
||||
<h3 class="section">Parameters</h3>
|
||||
<ul>
|
||||
|
||||
<div class="parameter">
|
||||
<li class="parameter">
|
||||
|
||||
|
||||
|
||||
<span class="param-in">Path: </span>
|
||||
|
||||
<p class="param-description">name that need to be deleted</p>
|
||||
</div>
|
||||
|
||||
<span class="param-name">username</span>
|
||||
<span class="param-type">String</span>
|
||||
|
||||
<p class="param-description">name that need to be deleted</p>
|
||||
</li>
|
||||
|
||||
<div class="parameter">
|
||||
<li class="parameter">
|
||||
|
||||
|
||||
|
||||
|
||||
<p class="param-description">Updated user object</p>
|
||||
</div>
|
||||
|
||||
<span class="param-in">Body: </span>
|
||||
<span class="param-name">body</span>
|
||||
<span class="param-type">User</span>
|
||||
|
||||
<p class="param-description">Updated user object</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
@@ -192,15 +218,19 @@
|
||||
<h3 class="section">Parameters</h3>
|
||||
<ul>
|
||||
|
||||
<div class="parameter">
|
||||
<li class="parameter">
|
||||
|
||||
|
||||
|
||||
<span class="param-in">Path: </span>
|
||||
|
||||
<p class="param-description">The name that needs to be deleted</p>
|
||||
</div>
|
||||
|
||||
<span class="param-name">username</span>
|
||||
<span class="param-type">String</span>
|
||||
|
||||
<p class="param-description">The name that needs to be deleted</p>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
|
||||
</div>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user