-
Notifications
You must be signed in to change notification settings - Fork 0
/
.spectral.backend.yaml
27 lines (27 loc) · 1.05 KB
/
.spectral.backend.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
extends: [[https://raw.githubusercontent.com/gsoft-inc/wl-api-guidelines/main/.workleap.rules.yaml, off]]
documentationUrl: https://gsoftdev.atlassian.net/wiki/spaces/TEC/pages/3858235678/IDP+OpenAPI+Rulesets
rules:
duplicated-entry-in-enum: true
no-eval-in-markdown: true
no-script-tags-in-markdown: true
openapi-tags-uniqueness: true
operation-operationId: true
operation-operationId-valid-in-url: true
operation-operationId-unique: true
operation-success-response: true
path-keys-no-trailing-slash: true
path-params: true
typed-enum: true
oas3-schema: true
oas3-operation-security-defined: true
schema-ids-must-have-alphanumeric-characters-only: true
schemas-properties-must-have-a-type: true
path-schema-properties-must-have-a-type: true
schema-object-must-have-a-type: true
items-must-have-a-type: true
schema-name-length-must-be-short: true
must-not-use-base-server-url: true
# Backend to Backend specific rules
must-accept-content-types: true
must-return-content-types: true
must-support-client-credentials-oauth2: true