-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathindex.html
More file actions
53 lines (53 loc) · 1.62 KB
/
index.html
File metadata and controls
53 lines (53 loc) · 1.62 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
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<title>RailForLess API Docs</title>
<meta name="viewport" content="width=device-width, initial-scale=1">
<link href="https://fonts.googleapis.com/css?family=Montserrat:300,400,700|Roboto:300,400,700" rel="stylesheet">
<style>
body {
margin: 0;
padding: 0;
}
</style>
</head>
<body>
<div id="redoc-container"></div>
<script src="https://cdn.redoc.ly/redoc/latest/bundles/redoc.standalone.js"></script>
<script>
Redoc.init('./openapi.yaml', {
scrollYOffset: 0,
hideDownloadButton: false,
disableSearch: false,
expandResponses: "200,201",
requiredPropsFirst: true,
sortPropsAlphabetically: true,
showExtensions: true,
hideSchemaPattern: true,
theme: {
colors: {
primary: {
main: '#32329f'
}
},
typography: {
fontSize: '14px',
lineHeight: '1.5em',
code: {
fontSize: '13px',
fontFamily: 'Courier, monospace'
},
headings: {
fontFamily: 'Montserrat, sans-serif',
fontWeight: '400'
}
},
sidebar: {
width: '260px'
}
}
}, document.getElementById('redoc-container'));
</script>
</body>
</html>