forked from couchbase/sync_gateway
-
Notifications
You must be signed in to change notification settings - Fork 0
/
.redocly.yaml
29 lines (26 loc) · 1.07 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
# Copyright 2022-Present Couchbase, Inc.
#
# Use of this software is governed by the Business Source License included in
# the file licenses/BSL-Couchbase.txt. As of the Change Date specified in that
# file, in accordance with the Business Source License, use of this software
# will be governed by the Apache License, Version 2.0, included in the file
# licenses/APL2.txt.
# This configuration file is read by the Redocly `openapi` CLI tool to validate/lint our specs (from GitHub Actions)
apis:
admin:
root: "./docs/api/admin.yaml"
public:
root: "./docs/api/public.yaml"
metric:
root: "./docs/api/metric.yaml"
lint:
extends:
- minimal
rules:
# disable unnecessary/invalid warnings
operation-2xx-response: off # _blipsync 101 Upgrade ...
operation-operationId: off # Optional (mostly used for generating code)
operation-summary: off # Optional field
no-ambiguous-paths: off # /{db}/{doc} != /_debug/expvar
no-identical-paths: off # /{db} != /{targetdb}
no-path-trailing-slash: off # Some endpoints require a trailing slash