Skip to content

Commit beb852a

Browse files
committed
NPA-2486 Set Spec in Release
1 parent 835ce7a commit beb852a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

package.json

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
"description": "OAS (Swagger v3) API Definition for Template API",
55
"scripts": {
66
"lint": "node_modules/.bin/openapi-generator-cli validate -i specification/validated-relationships-service-api.yaml",
7-
"publish": "./node_modules/.bin/openapi-generator-cli generate -i specification/validated-relationships-service-api.yaml --generator-key v3.0 -g openapi -o build && rm openapitools.json && mv build/openapi.json build/validated-relationships-service-api.json",
7+
"publish": "./node_modules/.bin/openapi-generator-cli generate -i specification/validated-relationships-service-api.yaml --generator-key v3.0 -g openapi -o build && rm openapitools.json && cat build/openapi.json | poetry run python scripts/set_version.py > build/validated-relationships-service-api.json",
88
"check-licenses": "node_modules/.bin/license-checker --failOn GPL --failOn LGPL"
99
},
1010
"author": "NHS Digital",

0 commit comments

Comments
 (0)