Skip to content

Commit 0e3fbd6

Browse files
CCM-11671 - Removed level0 security from sandbox
1 parent 08be1f1 commit 0e3fbd6

File tree

2 files changed

+4
-2
lines changed

2 files changed

+4
-2
lines changed

Makefile

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -57,9 +57,13 @@ construct-spec: guard-APIM_ENV
5757
$(MAKE) set-target APIM_ENV=$$APIM_ENV
5858
$(MAKE) set-access APIM_ENV=$$APIM_ENV
5959

60+
6061
build-json-oas-spec: guard-APIM_ENV
6162
$(MAKE) construct-spec APIM_ENV=$$APIM_ENV
6263
$(MAKE) publish-oas
64+
ifeq ($(APIM_ENV), sandbox)
65+
jq '.security = []' build/notify-supplier.json > tmp.json && mv tmp.json build/notify-supplier.json
66+
endif
6367

6468

6569
build-yml-oas-spec: guard-APIM_ENV

sandbox/api/openapi.yaml

Lines changed: 0 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -12,8 +12,6 @@ servers:
1212
url: http://127.0.0.1:3000
1313
- description: Public sandbox
1414
url: https://sandbox-server.nhs.uk/nhs-notify-supplier-api
15-
security:
16-
- app-level0: []
1715
tags:
1816
- description: ""
1917
name: letter

0 commit comments

Comments
 (0)