Skip to content
GitLab
Menu
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in / Register
Toggle navigation
Menu
Open sidebar
Open Subsurface Data Universe Software
Platform
Domain Data Mgmt Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
c72ca9d9
Commit
c72ca9d9
authored
Apr 01, 2021
by
Daniel Perez
Browse files
Changing config to use proper swagger file
parent
48a67a52
Pipeline
#34331
failed with stages
in 10 minutes and 34 seconds
Changes
2
Pipelines
2
Hide whitespace changes
Inline
Side-by-side
package.json
View file @
c72ca9d9
...
...
@@ -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"
:
{
...
...
src/server/server.ts
View file @
c72ca9d9
...
...
@@ -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
}));
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment