-
Notifications
You must be signed in to change notification settings - Fork 0
/
index.html
104 lines (89 loc) · 2.52 KB
/
index.html
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
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, minimum-scale=1, initial-scale=1, user-scalable=yes">
<title>Invoice Ninja API Spec</title>
<script src="https://cdn.jsdelivr.net/npm/marked-highlight@2.1.1/lib/index.umd.min.js"></script>
<script defer="defer" src="rapidoc-min.js"></script>
<style>
rapi-doc::part(textbox-nav-filter) {
background-color: aliceblue;
color: #002d88;
border-radius: 4px;
border: 2px solid #fff !important;
line-height: 1.2;
font-size: 110%;
font-family: Arial, Helvetica, sans-serif;
}
rapi-doc::part(btn-outline) {
border: 4px solid #fff;
}
rapi-doc::part(btn) {
background-color: aliceblue;
color: #002d88;
border-radius: 4px;
border: 1px solid #fff;
}
rapi-doc::part(operation-divider) {
margin-bottom: 1rem;
}
rapi-doc::part(section-operation-summary) {
padding: 1rem;
}
rapi-doc::part(pre) {
/* Add a border */
border: 1px solid #000;
border-radius: 4px;
padding: 10px;
margin-bottom: 20px;
}
/* Style code blocks */
rapi-doc::part(code) {
/* Set font family and size */
font-family: 'Courier New', Courier, monospace;
font-size: 14px;
/* Set background color */
background-color: #000;
/* Add padding and margin */
padding: 15px;
margin: 0;
}
</style>
</head>
<body>
<rapi-doc
id="thedoc"
spec-url="api-docs.yaml"
render-style="read"
on-nav-tag-click="show-description"
load-fonts="true"
show-header="false"
theme="darkbluenav"
show-method-in-nav-bar="as-colored-text"
allow-search="true"
allow-advanced-search="true"
allow-authentication="false"
regular-font="Arial"
font-size="largest"
mono-font="Monaco"
nav-bg-color="#3f4d67"
nav-item-spacing="default"
nav-active-item-marker="left-bar"
show-info="true"
info-description-headings-in-navbar="true"
show-curl-before-try="false"
allow-server-selection="false"
default-api-server="https://demo.invoiceninja.com"
schema-description-expanded="true"
schema-style="table"
default-schema-tab="schema"
schema-expand-level="1"
use-path-in-nav-bar="false"
primary-color="#002d88"
show-components="true"
>
<img slot="nav-logo" src="https://invoicing.co/images/new_logo.png" style='width:260px'/>
</rapi-doc>
</body>
</html>