diff --git a/Makefile b/Makefile index b190f7b5..69922f07 100644 --- a/Makefile +++ b/Makefile @@ -57,6 +57,7 @@ construct-spec: guard-APIM_ENV $(MAKE) set-target APIM_ENV=$$APIM_ENV $(MAKE) set-access APIM_ENV=$$APIM_ENV + build-json-oas-spec: guard-APIM_ENV $(MAKE) construct-spec APIM_ENV=$$APIM_ENV $(MAKE) publish-oas @@ -75,6 +76,7 @@ bundle-oas: generate-sandbox: $(MAKE) build-json-oas-spec APIM_ENV=sandbox jq --slurpfile status sandbox/HealthcheckEndpoint.json '.paths += $$status[0]' build/notify-supplier.json > tmp.json && mv tmp.json build/notify-supplier.json + jq '.security = []' build/notify-supplier.json > tmp.json && mv tmp.json build/notify-supplier.json npm run generate-sandbox serve-swagger: diff --git a/sandbox/api/openapi.yaml b/sandbox/api/openapi.yaml index d09ecfb6..7a0742a2 100644 --- a/sandbox/api/openapi.yaml +++ b/sandbox/api/openapi.yaml @@ -12,8 +12,6 @@ servers: url: http://127.0.0.1:3000 - description: Public sandbox url: https://sandbox-server.nhs.uk/nhs-notify-supplier-api -security: -- app-level0: [] tags: - description: "" name: letter