Skip to content

Commit

Permalink
[ERSSUP-64293]-[]-[Replace speccy library]-[DMW]
Browse files Browse the repository at this point in the history
  • Loading branch information
nhsd-david-wass committed May 18, 2023
1 parent 632ede4 commit b3bbcd7
Show file tree
Hide file tree
Showing 10 changed files with 7,650 additions and 1,474 deletions.
7,469 changes: 6,022 additions & 1,447 deletions package-lock.json

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,16 +3,16 @@
"version": "0.0.1",
"description": "OAS (Swagger v3) API Definition for Template API",
"scripts": {
"lint-oas": "node_modules/.bin/speccy lint -s openapi-tags -s operation-tags specification/e-referrals-service-api.yaml --skip default-and-example-are-redundant",
"publish": "mkdir -p build && node_modules/.bin/speccy resolve specification/e-referrals-service-api.yaml -i | poetry run python scripts/yaml2json.py | poetry run python scripts/set_version.py | poetry run python scripts/populate_placeholders.py > build/e-referrals-service-api.json",
"serve": "node_modules/.bin/speccy serve build/e-referrals-service-api.json",
"lint-oas": "redocly lint specification/e-referrals-service-api.yaml",
"publish": "mkdir -p build && redocly bundle specification/e-referrals-service-api.yaml --dereferenced --remove-unused-components --ext json | poetry run python scripts/set_version.py | poetry run python scripts/populate_placeholders.py > build/e-referrals-service-api.json",
"serve": "redocly preview-docs -p 5000 build/e-referrals-service-api.json",
"check-licenses": "node_modules/.bin/license-checker --failOn GPL --failOn LGPL"
},
"author": "NHS Digital",
"license": "MIT",
"homepage": "https://github.com/NHSDigital/e-referrals-service-api",
"dependencies": {
"speccy": "^0.11.0"
"@redocly/cli": "^1.0.0-beta.124"
},
"devDependencies": {
"apigeetool": "^0.16.1",
Expand Down
6 changes: 6 additions & 0 deletions redocly.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
extends:
- recommended
rules:
no-invalid-media-type-examples:
severity: off
info-license-url: off
Loading

0 comments on commit b3bbcd7

Please sign in to comment.