1 | <!DOCTYPE html>
|
2 | <html>
|
3 | <head>
|
4 | <title>{{serverName}} API</title>
|
5 | <link rel="stylesheet" href="express-server/css/styles.css">
|
6 | <meta charset="UTF-8">
|
7 |
|
8 | </head>
|
9 |
|
10 | <body>
|
11 | <h1>{{serverName}} API</h1>
|
12 | {{#each routes}}
|
13 | <div class="route">
|
14 | {{#if options.version}}
|
15 | <div class="version">{{options.version}}</div>
|
16 | {{/if}}
|
17 | {{#if options.deprecated}}
|
18 | <div class="deprecated">deprecated</div>
|
19 | {{/if}}
|
20 | <div class="method method-{{method}}">{{method}}</div>
|
21 | <div class="path">
|
22 | <a class="restLink" href="{{path}}" target="_blank">{{path}}</a>
|
23 | {{#if options.authentication}}
|
24 | <span class="authentication"></span>
|
25 | {{/if}}
|
26 | </div>
|
27 | <div class="info">{{info}}</div>
|
28 | </div>
|
29 | {{/each}}
|
30 | </body>
|
31 | </html> |
\ | No newline at end of file |