-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
62 lines (53 loc) · 1.89 KB
/
index.html
File metadata and controls
62 lines (53 loc) · 1.89 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
<!DOCTYPE html>
<!--
This file is now configured to use local CSS and JS files
to mirror the official Sepidar documentation.
-->
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<!-- Title and Favicons from the official Sepidar source -->
<title>Sepidar API</title>
<!--
FIX: Pointing to local favicons to avoid Cross-Origin (CORS) errors.
You must download these two .png files and add them to the 'docs' folder.
-->
<link rel="icon" type="image/png" href="./favicon-32x32.png" sizes="32x32">
<link rel="icon" type="image/png" href="./favicon-16x16.png" sizes="16x16">
<!-- 1. Import local CSS files -->
<link rel="stylesheet" type="text/css" href="./swagger-ui.css" />
<link rel="stylesheet" type="text/css" href="./index.css" />
<style>
/* Base styles are now handled by the external CSS files (swagger-ui.css and index.css).
*/
html, body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<!-- 2. The div where Swagger UI will be rendered -->
<div id="swagger-ui">
<!--
Simple loading message.
The JS files below will overwrite the content of this div.
-->
<div style="text-align: center; padding: 50px; font-size: 1.2rem; font-family: sans-serif;">
Loading API Documentation...
</div>
</div>
<!-- 3. Import local JavaScript files -->
<!--
FIX: Pointing to the .js files (without .download) as they appear
in your latest uploaded file list.
-->
<script src="./swagger-ui-bundle.js" charset="UTF-8"></script>
<script src="./swagger-ui-standalone-preset.js" charset="UTF-8"></script>
<!--
4. Initialize Swagger UI using the external initializer file.
This is cleaner than inline script.
-->
<script src="./swagger-initializer.js" charset="UTF-8"></script>
</body>
</html>