Skip to content

Commit

Permalink
Merge pull request #878 from NHSDigital/feature/ERSSUP-68116
Browse files Browse the repository at this point in the history
+minor
  • Loading branch information
nhsd-david-wass committed Jun 5, 2023
2 parents b1b5e6f + 681878b commit 1188e27
Show file tree
Hide file tree
Showing 10 changed files with 7,783 additions and 1,466 deletions.
7,600 changes: 6,158 additions & 1,442 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 1188e27

Please sign in to comment.