Skip to content

Commit 746122d

Browse files
committed
updated docs
1 parent 9255bfc commit 746122d

File tree

2 files changed

+23
-0
lines changed

2 files changed

+23
-0
lines changed

docs/api.html

Lines changed: 22 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -619,6 +619,28 @@ <h2> Methods </h2>
619619
&nbsp;|&nbsp; <a href="./examples/collapsable-focused.html">Example</a>
620620
</td>
621621
</tr>
622+
623+
<tr>
624+
<td class="mono bold right">setHttpUserNameAndPassword(securitySchemeId, username, password) </td>
625+
<td class="gray" colspan="2">
626+
To programmatically provide username and password. <span class='mono blue'>securitySchemeId</span> should be a valid securityScheme which you have defined in the spec
627+
</td>
628+
</tr>
629+
<tr>
630+
<td class="mono bold right">setApiServer(apiServerUrl) </td>
631+
<td class="gray" colspan="2">
632+
To programmatically set API Server. <span class='mono blue'>apiServerUrl</span> should be a valid server url which you have defined in the spec
633+
</td>
634+
</tr>
635+
<tr>
636+
<td class="mono bold right">scrollTo(path) </td>
637+
<td class="gray" colspan="2">
638+
To programmatically provide username and password
639+
</td>
640+
</tr>
641+
642+
643+
622644
</table>
623645
</div>
624646

docs/examples/auth.html

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -100,6 +100,7 @@ <h3>Programmatically Applying Security and Setting a API Server</h3>
100100
<div style="margin:32px 0 16px 0; color:#777; font-weight:bold">
101101
Below form is used for programmatically setting the API server
102102
</div>
103+
<div> Use <span style="font-family:'Roboto Mono'">setApiServer(serverUrl)</span> methode to set the API Server</div>
103104
<table>
104105
<tr>
105106
<td> API Server Url</td>

0 commit comments

Comments
 (0)