Skip to content

Commit bc47414

Browse files
committed
updated api docs
1 parent 31130df commit bc47414

File tree

1 file changed

+8
-5
lines changed

1 file changed

+8
-5
lines changed

docs/api.html

Lines changed: 8 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -633,18 +633,21 @@ <h2> Methods </h2>
633633
</td>
634634
</tr>
635635
<tr>
636-
<td class="mono bold right">setApiServer(apiServerUrl) </td>
636+
<td class="mono bold right" style="text-align: left;">setApiKey(<br/>
637+
&nbsp;&nbsp;securitySchemeId, token<br/>
638+
)
639+
</td>
637640
<td class="gray" colspan="2">
638-
To programmatically set API Server. <span class='mono blue'>apiServerUrl</span> should be a valid server url which you have defined in the spec
641+
To programmatically provide api-key. <span class='mono blue'>securitySchemeId</span> should be a valid securityScheme which you have defined in the spec
639642
</td>
640643
</tr>
641-
642644
<tr>
643-
<td class="mono bold right">setApiKey(securitySchemeId, token) </td>
645+
<td class="mono bold right">setApiServer(apiServerUrl) </td>
644646
<td class="gray" colspan="2">
645-
To programmatically provide api-key. <span class='mono blue'>securitySchemeId</span> should be a valid securityScheme which you have defined in the spec
647+
To programmatically set API Server. <span class='mono blue'>apiServerUrl</span> should be a valid server url which you have defined in the spec
646648
</td>
647649
</tr>
650+
648651
<tr>
649652
<td class="mono bold right">scrollTo(path) </td>
650653
<td class="gray" colspan="2">

0 commit comments

Comments
 (0)