-
Notifications
You must be signed in to change notification settings - Fork 0
/
.redocly.yaml
41 lines (35 loc) · 1.1 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
extends: [ recommended ]
theme:
openapi:
hideHostname: true
showAccessMode: true
rules:
# We don't have a hosted instance
no-empty-servers: off
# Additional errors
info-license: error
info-license-url: error
no-ambiguous-paths: error
no-http-verbs-in-paths: error
no-unused-components: error
operation-description: error
operation-operationId: error
operation-singular-tag: error
operation-tag-defined: error
parameter-description: error
path-segment-plural:
severity: error
exceptions: [ v1 ]
ignoreLastPathSegment: true
paths-kebab-case: error
required-string-property-missing-min-length: error
scalar-property-missing-example: error
spec-strict-refs: error
no-invalid-parameter-examples: error
# TODO: Implement security schemes
security-defined: off
# This can currently only be a warning because it does not work with oneOf.
no-invalid-media-type-examples: warn
# We currently can't make this an error because it does not understand allOf
# See https://github.com/Redocly/redocly-cli/issues/932
operation-4xx-problem-details-rfc7807: warn