Skip to content

Commit 786c7ad

Browse files
committed
chore: enable missing scopes lint rule as error
1 parent 8f06ad1 commit 786c7ad

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

.spectral.yaml

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -159,3 +159,4 @@ rules:
159159
owasp:api4:2023-string-restricted: off # Disable string restricted rule to address warnings
160160
path-params: off # Disable path parameter validation to address mapping key issues
161161
owasp:api8:2023-define-cors-origin: off # Disable CORS origin header requirement
162+
oas3-operation-security-defined: error # Ensure all scopes are listed in schema

0 commit comments

Comments
 (0)