forked from sorotrail/SoroTrail
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy path.redocly.yaml
More file actions
21 lines (16 loc) · 747 Bytes
/
Copy path.redocly.yaml
File metadata and controls
21 lines (16 loc) · 747 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Redocly configuration for SoroTrail OpenAPI validation.
# Run: npx @redocly/cli@1 lint internal/api/openapi.json
extends:
- recommended
rules:
# Auth is tracked in issue #17; the API currently has no authentication.
security-defined: off
# The example server URL is localhost for development; production
# deployments configure their own server list.
no-server-example.com: off
# GET /health has no query parameters to validate, so a 4XX response
# is structurally impossible for that endpoint. Same for GET /subscriptions
# (no filter params). Suppress at project level since it's expected.
operation-4xx-response: warn
# GET /events/ws upgrades to WebSocket (101) and has no 2XX path.
operation-2xx-response: warn