Skip to content

Commit

Permalink
validation fixed
Browse files Browse the repository at this point in the history
  • Loading branch information
emmanuelmathot committed May 16, 2024
1 parent 4d44808 commit aa57025
Show file tree
Hide file tree
Showing 2 changed files with 11 additions and 3 deletions.
10 changes: 10 additions & 0 deletions .github/.spectral.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
extends: "spectral:oas"
rules:
openapi-tags: off
info-contact: off
oas3-api-servers: off
oas3-schema: warn
tag-description: true
oas3-parameter-description: true
oas3-unused-component: off
operation-operationId: off
4 changes: 1 addition & 3 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,7 @@
"serve": "redoc-cli serve openapi.yaml --watch --options.expandResponses \"200,201,202,203,204\" --options.pathInMiddlePanel true",
"check": "npm run check-markdown && npm run check-openapi",
"check-markdown": "remark . --frail",
"check-openapi": "spectral lint openapi.yaml --ruleset .circleci/.spectral.yml",
"build-openapi": ".circleci/build-openapi.sh",
"publish-openapi": "node .circleci/publish.js"
"check-openapi": "spectral lint openapi.yaml --ruleset .github/.spectral.yml"
},
"dependencies": {
"@redocly/openapi-cli": "^1.0.0-beta.94",
Expand Down

0 comments on commit aa57025

Please sign in to comment.