-
Notifications
You must be signed in to change notification settings - Fork 1
/
.redocly.yaml
97 lines (97 loc) · 2.25 KB
/
.redocly.yaml
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
# See https://redocly.com/docs/cli/configuration/ for more information.
apis:
sample@v1:
root: openapi/openapi.yaml
lint:
extends:
- recommended
rules:
no-unused-components: error
features.openapi:
showObjectSchemaExamples: true
disableDeepLinks: true
nativeScrollbars: false
sortPropsAlphabetically: false
pagination: 'section'
showConsole: true
showRightPanelToggle: false
showChangeLayoutButton: false
htmlTemplate: ./docs/index.html
corsProxyUrl: 'https://cors.redoc.ly'
theme:
colors:
http:
post: '#7700ff'
get: '#00faa3'
accent:
main: '#00163A'
sidebar:
width: 300px
rightLineColor: '#f5f7f9'
activeTextColor: '#7700ff'
backgroundColor: '#f5f7f9'
spacing:
paddingVertical: '18'
unit: 10
components:
buttons:
borderRadius: 15px
fontWeight: light
httpBadges:
color: '#ffffff'
sizes:
medium:
fontSize: 18px
small:
fontSize: 12px
fontFamily: "IBM Plex Mono, monospace"
fontWeight: bold
borderRadius: 15px
layout:
showDarkRightPanel: true
three-panel:
maxWidth:
small: 100%
medium: 100%
large: 100%
rightPanel:
width: 400px
backgroundColor: '#00163A'
panelBackgroundColor: '#324367'
panelControlsBackgroundColor: '#324367'
spacing:
sectionHorizontal: 75
sectionVertical: 50
typography:
fontFamily: "Ubuntu, sans-serif"
fontSize: "16px"
code:
fontFamily: "Courier Prime, monospace"
fontWeight: light
heading1:
fontFamily: "Ubuntu, sans-serif"
fontWeight: bold
heading2:
fontFamily: "Ubuntu, sans-serif"
fontWeight: light
heading3:
fontFamily: "Ubuntu, sans-serif"
fontWeight: light
generateCodeSamples:
languages:
- lang: curl
label: curl
- lang: Node.js
label: Node.js
- lang: Python
label: Python
- lang: 'C#'
label: 'C#'
- lang: Java8+Apache
label: Java 8 with Apache
- lang: Go
label: Go
- lang: PHP
label: PHP
- lang: Ruby
label: Ruby