-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathredocly.yaml
More file actions
28 lines (27 loc) · 1.29 KB
/
Copy pathredocly.yaml
File metadata and controls
28 lines (27 loc) · 1.29 KB
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
# Redocly is used instead of Spectral because this is an OpenAPI 3.1 document.
# Spectral's oas ruleset crashes on 3.1 nullable type-arrays combined with enum
# (`type: [integer, "null"], enum: [1, 2, null]`), which this spec uses widely.
extends:
- recommended
rules:
# Tags add no value on a 12-endpoint single-surface API.
tags-alphabetical: off
# Summaries carry the tier annotation; a separate description would duplicate it.
operation-description: off
# /health is an unauthenticated liveness probe: it returns 200 whenever the
# process is serving and has no failure response to document. Every other
# operation's 4xx coverage is enforced by the contract test in CI, which
# asserts a documented 401 on all authenticated operations.
operation-4xx-response: off
# The WebSocket frame schemas (BreakPoint, BreakPointResult) are documented
# here for machine-readability and rendered into the reference, but OpenAPI
# has no path to model a WebSocket message, so nothing $refs them. That is
# deliberate, not dead weight.
no-unused-components: off
# Enforced: these are what the SDKs and the docs site depend on.
operation-operationId: error
operation-operationId-unique: error
info-license: error
info-contact: error
no-server-trailing-slash: error
security-defined: error