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
c21dc052
Commit
c21dc052
authored
Mar 29, 2021
by
Daniel Perez
Browse files
Moving swagger document to proper folder
parent
e008f314
Pipeline
#33819
passed with stages
in 5 minutes and 52 seconds
Changes
4
Pipelines
1
Expand all
Hide whitespace changes
Inline
Side-by-side
docs/api/seismic_dms_seistore_openapi.yaml
View file @
c21dc052
...
...
@@ -24,9 +24,15 @@ info:
title
:
"
Seismic
Store
Service"
version
:
"
2.0.0"
description
:
"
Seismic
Domain
Data
Management
APIs
to
store
and
manage
seismic
datasets
."
license
:
name
:
"
Apache
2.0"
url
:
"
https://www.apache.org/licenses/LICENSE-2.0.html"
host
:
"
api.evq.csp.slb.com"
basePath
:
"
/seistore-svc/api/v3"
securityDefinitions
:
authentication
:
type
:
"
apiKey"
name
:
"
Authorization"
in
:
"
header"
consumes
:
-
application/json
...
...
package.json
View file @
c21dc052
...
...
@@ -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 ./
src/swagger/swagger
.yaml ./dist/"
,
"copyStaticFiles"
:
"copyfiles --error --up 1 ./
docs/api/seismic_dms_seistore_openapi
.yaml ./dist/
docs
"
,
"postbuild"
:
"npm run copyStaticFiles"
},
"nyc"
:
{
...
...
src/server/server.ts
View file @
c21dc052
...
...
@@ -70,7 +70,7 @@ export class Server {
}
constructor
()
{
const
swaggerDocument
=
YAML
.
load
(
'
./dist/
swagger/swagger
.yaml
'
);
const
swaggerDocument
=
YAML
.
load
(
'
./dist/
docs/api/seismic_dms_seistore_openapi
.yaml
'
);
this
.
app
=
express
();
this
.
app
.
use
(
bodyparser
.
urlencoded
({
extended
:
false
}));
...
...
src/swagger/swagger.yaml
deleted
100644 → 0
View file @
e008f314
This diff is collapsed.
Click to expand it.
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