Commit c72ca9d9 authored by Daniel Perez's avatar Daniel Perez
Browse files

Changing config to use proper swagger file

parent 48a67a52
Pipeline #34331 failed with stages
in 10 minutes and 34 seconds
......@@ -16,7 +16,7 @@
"test-coverage": "env UTEST=true nyc mocha -r ts-node/register --reporter mocha-junit-reporter tests/utest/test.ts",
"test-automation": "npm run clean && npm install && npm run build && npm run test-coverage",
"test-e2e-parallel": "node ./tests/e2e/parallel/run_e2e_tests_parallel.js",
"copyStaticFiles": "copyfiles --error --up 1 ./docs/api/seismic_dms_seistore_openapi.yaml ./dist/docs",
"copyStaticFiles": "copyfiles --error --up 1 ./docs/api/openapi.osdu.yaml ./dist/docs",
"postbuild": "npm run copyStaticFiles"
},
"nyc": {
......
......@@ -70,7 +70,7 @@ export class Server {
}
constructor() {
const swaggerDocument = YAML.load('./dist/docs/api/seismic_dms_seistore_openapi.yaml');
const swaggerDocument = YAML.load('./dist/docs/api/openapi.osdu.yaml');
this.app = express();
this.app.use(bodyparser.urlencoded({ extended: false }));
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment