-
Notifications
You must be signed in to change notification settings - Fork 7
/
Copy pathredocly.yaml
113 lines (102 loc) · 2.66 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
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
rules:
rule/operation-pattern-azure-apim:
subject:
type: Operation
property: operationId
assertions:
casing: kebab-case
maxLength: 76
severity: warn
rule/summary-length-azure-apim:
subject:
type: Operation
property: summary
assertions:
maxLength: 300
severity: warn
rule/multiple-servers-ignored-azure-apim:
subject:
type: ServerList
assertions:
maxLength: 1
message: If multiple servers are specified, API Management will use the first HTTPS URL it finds.
severity: warn
rule/servers-not-https-azure-apim:
subject:
type: Server
property: url
assertions:
pattern: '^https:\/\/.*'
message: Server URL must start with HTTPS.
rule/mediatype-schema-ref-pattern-azure-apim:
subject:
type: MediaType
property: schema
message: Inline schema definitions and refs that point to URLs or files aren't supported.
assertions:
ref: /^#\/components\/.*/
rule/external-docs-unsupported-azure-apim:
subject:
type: ExternalDocs
assertions:
defined: false
message: Azure APIM does not support externalDocs.
rule/info-summary-unsupported-azure-apim:
subject:
type: Info
property: summary
assertions:
defined: false
message: Azure APIM does not Info summary.
rule/security-ignored-azure-apim:
subject:
type: SecurityRequirementList
assertions:
defined: false
message: Azure APIM ignores security.
rule/components-unsupported-azure-apim:
subject:
type: Components
assertions:
disallowed:
- responses
- parameters
- examples
- requestBodies
- headers
- securitySchemes
- links
- callbacks
message: Azure APIM does not support components other than schemas.
rule/trace-unsupported-azure-apim:
subject:
type: PathItem
assertions:
disallowed:
- trace
message: Azure APIM does not support trace operations.
rule/path-item-servers-unsupported-azure-apim:
subject:
type: PathItem
assertions:
disallowed:
- servers
message: Azure APIM does not support servers defined on path items.
rule/operation-properties-unsupported-azure-apim:
subject:
type: Operation
assertions:
disallowed:
- externalDocs
- callbacks
- servers
- security
rule/parameter-properties-unsupported-azure-apim:
subject:
type: Parameter
assertions:
disallowed:
- allowEmptyValue
- style
- explode
- allowReserved