From 25d80a43f248b9c909678e86452252346814963e Mon Sep 17 00:00:00 2001 From: Matthew Dean Date: Thu, 21 Jul 2022 12:11:37 +0100 Subject: [PATCH] Try setting an explicit api-docs path --- app/server.js | 1 + helm/dscp-api/Chart.yaml | 4 ++-- helm/dscp-api/values.yaml | 2 +- package-lock.json | 4 ++-- package.json | 2 +- 5 files changed, 7 insertions(+), 6 deletions(-) diff --git a/app/server.js b/app/server.js index 78aba23..fc75434 100644 --- a/app/server.js +++ b/app/server.js @@ -69,6 +69,7 @@ async function createHttpServer() { initialize({ app, apiDoc: apiDoc, + docsPath: '/v3/api-docs', consumesMiddleware: { 'multipart/form-data': function (req, res, next) { multer({ storage: multerStorage }).any()(req, res, function (err) { diff --git a/helm/dscp-api/Chart.yaml b/helm/dscp-api/Chart.yaml index afbbab3..580a8fd 100644 --- a/helm/dscp-api/Chart.yaml +++ b/helm/dscp-api/Chart.yaml @@ -1,8 +1,8 @@ apiVersion: v2 name: dscp-api -appVersion: '4.6.3' +appVersion: '4.6.4' description: A Helm chart for dscp-api -version: '4.6.3' +version: '4.6.4' type: application dependencies: - name: dscp-node diff --git a/helm/dscp-api/values.yaml b/helm/dscp-api/values.yaml index f19a68c..6359f0b 100644 --- a/helm/dscp-api/values.yaml +++ b/helm/dscp-api/values.yaml @@ -37,7 +37,7 @@ service: image: repository: digicatapult/dscp-api pullPolicy: IfNotPresent - tag: 'v4.6.3' + tag: 'v4.6.4' dscpNode: enabled: false diff --git a/package-lock.json b/package-lock.json index 6f9daa4..d64907d 100644 --- a/package-lock.json +++ b/package-lock.json @@ -1,12 +1,12 @@ { "name": "dscp-api", - "version": "4.6.3", + "version": "4.6.4", "lockfileVersion": 2, "requires": true, "packages": { "": { "name": "dscp-api", - "version": "4.6.3", + "version": "4.6.4", "license": "Apache-2.0", "dependencies": { "@digicatapult/dscp-node": "^4.2.1", diff --git a/package.json b/package.json index 08f1c2b..7b35e56 100644 --- a/package.json +++ b/package.json @@ -1,6 +1,6 @@ { "name": "dscp-api", - "version": "4.6.3", + "version": "4.6.4", "description": "DSCP API", "repository": { "type": "git",