24 lines
1.1 KiB
HTML
24 lines
1.1 KiB
HTML
<!doctype html>
|
|
<html lang="en">
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta content="width=device-width,minimum-scale=1,initial-scale=1,user-scalable=yes" name="viewport">
|
|
<title>RapiDoc</title>
|
|
<link href="default.min.css" rel="stylesheet">
|
|
<script src="highlight.min.js"></script>
|
|
<script defer="defer" src="rapidoc-min.js"></script>
|
|
</head>
|
|
<script>window.addEventListener('DOMContentLoaded', (event) => {
|
|
const docEl = document.getElementById('thedoc');
|
|
docEl.addEventListener('before-try', (e) => {
|
|
e.detail.request.headers.append('AAA-BBB', 'CCC DDDD');
|
|
});
|
|
});</script>
|
|
<body>
|
|
<rapi-doc allow-advanced-search="true" allow-authentication="true" allow-search="false" allow-server-selection="true" allow-spec-file-download="true"
|
|
allow-spec-url-load="false" id="thedoc" match-type="regex" persist-auth="true"
|
|
render-style="read" schema-style="tree" scroll-behavior="smooth" show-components="true"
|
|
show-header="true" show-info="true" show-method-in-nav-bar="true" spec-url="{{DOC_PATH}}"
|
|
theme="dark" update-route="false" use-path-in-nav-bar="true"></rapi-doc>
|
|
</body>
|
|
</html> |