-
Notifications
You must be signed in to change notification settings - Fork 0
/
.redocly.yaml
48 lines (45 loc) · 920 Bytes
/
.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
extends:
- recommended
rules:
rule/path-required-must-exist:
where:
- subject:
type: Parameter
property: in
assertions:
const: path
subject:
type: Parameter
property: required
assertions:
defined: true
message: Required must exist in path parameters.
severity: error
rule/path-parameter-must-required:
where:
- subject:
type: Parameter
property: in
assertions:
const: path
subject:
type: Parameter
property: required
assertions:
const: true
message: Path parameter must be required true.
suggest:
- "true"
severity: error
apis:
main@1:
root: ./openapi/openapi.yaml
rules:
no-unused-components: warn
theme:
openapi:
htmlTemplate: ./docs/index.html
theme:
colors:
primary:
main: "#32329f"