Skip to content

Commit

Permalink
feat: add spectral and swagger
Browse files Browse the repository at this point in the history
  • Loading branch information
stedelia committed Nov 12, 2024
1 parent 2ba67b8 commit 7621c95
Show file tree
Hide file tree
Showing 2 changed files with 1,325 additions and 0 deletions.
19 changes: 19 additions & 0 deletions .spectral.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,19 @@
extends:
- "spectral:oas"
- "spectral:asyncapi"
- "https://unpkg.com/@stoplight/spectral-owasp-ruleset/dist/ruleset.mjs"
overrides:
- files:
- "src/main/resources/META-INF/openapi.yaml#/paths/~1token/post/security"
rules:
owasp:api2:2023-write-restricted: "off"
- files:
- "src/main/resources/META-INF/openapi.yaml#/paths/~1.well-known~1jwks.json/get/security"
- "src/main/resources/META-INF/openapi.yaml#/paths/~1.well-known~1openid-configuration/get/security"
rules:
owasp:api2:2023-read-restricted: "off"
- files:
- "src/main/resources/META-INF/openapi.yaml"
rules:
owasp:api3:2023-no-additionalProperties: "off"
owasp:api3:2023-constrained-additionalProperties: "off"
Loading

0 comments on commit 7621c95

Please sign in to comment.