-
Notifications
You must be signed in to change notification settings - Fork 8
/
redocly.yaml
31 lines (26 loc) · 725 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
# See https://redocly.com/docs/cli/configuration/
apis:
# Update the apiName with your actual API name, and the version with your actual API version.
apiName@version:
# Update the path to your OpenAPI root file
root: openapi.yaml
extends:
- recommended
rules:
# A sample custom rule. Read more about rules: https://redocly.com/docs/cli/rules/
assert/operation-description:
subject:
type: Operation
property: description
assertions:
defined: true
minLength: 30
theme:
openapi:
schemaDefinitionsTagName: Schemas
minCharacterLengthToInitSearch: 3
generateCodeSamples:
languages:
- lang: curl
- lang: Node.js
- lang: Python