Skip to content

Commit c1cee36

Browse files
format: prettier
1 parent 86aa60d commit c1cee36

1 file changed

Lines changed: 54 additions & 56 deletions

File tree

website/index.html

Lines changed: 54 additions & 56 deletions
Original file line numberDiff line numberDiff line change
@@ -1,61 +1,59 @@
11
<!doctype html>
22
<html>
3+
<head>
4+
<title>Core System API Reference</title>
5+
<meta charset="utf-8" />
6+
<meta name="viewport" content="width=device-width, initial-scale=1" />
7+
<style>
8+
@import url("https://font.emtech.cc/css/FiraCode/400");
9+
@import url("https://font.emtech.cc/css/FiraCode/600");
310

4-
<head>
5-
<title>Core System API Reference</title>
6-
<meta charset="utf-8" />
7-
<meta name="viewport" content="width=device-width, initial-scale=1" />
8-
<style>
9-
@import url("https://font.emtech.cc/css/FiraCode/400");
10-
@import url("https://font.emtech.cc/css/FiraCode/600");
11+
body {
12+
background-color: #000e23;
13+
}
1114

12-
body {
13-
background-color: #000E23;
14-
}
15+
:root {
16+
--scalar-font-code: "FiraCode", monospace;
17+
}
18+
</style>
19+
</head>
1520

16-
:root {
17-
--scalar-font-code: "FiraCode", monospace;
18-
}
19-
</style>
20-
</head>
21-
22-
<body>
23-
<div id="app"></div>
24-
<script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
25-
<script>
26-
Scalar.createApiReference("#app", {
27-
url: "tsp-output/schema/openapi.1.0.0.yaml",
28-
theme: "bluePlanet",
29-
hideClientButton: true,
30-
showSidebar: true,
31-
showDeveloperTools: "localhost",
32-
showToolbar: "localhost",
33-
operationTitleSource: "summary",
34-
persistAuth: false,
35-
telemetry: true,
36-
layout: "modern",
37-
isEditable: false,
38-
isLoading: false,
39-
hideModels: false,
40-
documentDownloadType: "both",
41-
hideTestRequestButton: false,
42-
hideSearch: false,
43-
showOperationId: false,
44-
hideDarkModeToggle: false,
45-
withDefaultFonts: true,
46-
defaultOpenAllTags: false,
47-
expandAllModelSections: false,
48-
expandAllResponses: false,
49-
orderSchemaPropertiesBy: "alpha",
50-
orderRequiredPropertiesFirst: true,
51-
default: false,
52-
withDefaultFonts: false,
53-
showDeveloperTools: "always",
54-
showOperationId: true,
55-
// Avoid CORS issues
56-
// proxyUrl: 'https://proxy.scalar.com',
57-
});
58-
</script>
59-
</body>
60-
61-
</html>
21+
<body>
22+
<div id="app"></div>
23+
<script src="https://cdn.jsdelivr.net/npm/@scalar/api-reference"></script>
24+
<script>
25+
Scalar.createApiReference("#app", {
26+
url: "tsp-output/schema/openapi.1.0.0.yaml",
27+
theme: "bluePlanet",
28+
hideClientButton: true,
29+
showSidebar: true,
30+
showDeveloperTools: "localhost",
31+
showToolbar: "localhost",
32+
operationTitleSource: "summary",
33+
persistAuth: false,
34+
telemetry: true,
35+
layout: "modern",
36+
isEditable: false,
37+
isLoading: false,
38+
hideModels: false,
39+
documentDownloadType: "both",
40+
hideTestRequestButton: false,
41+
hideSearch: false,
42+
showOperationId: false,
43+
hideDarkModeToggle: false,
44+
withDefaultFonts: true,
45+
defaultOpenAllTags: false,
46+
expandAllModelSections: false,
47+
expandAllResponses: false,
48+
orderSchemaPropertiesBy: "alpha",
49+
orderRequiredPropertiesFirst: true,
50+
default: false,
51+
withDefaultFonts: false,
52+
showDeveloperTools: "always",
53+
showOperationId: true
54+
// Avoid CORS issues
55+
// proxyUrl: 'https://proxy.scalar.com',
56+
});
57+
</script>
58+
</body>
59+
</html>

0 commit comments

Comments
 (0)