Skip to content
GitLab
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 Management Services
Seismic
Seismic DMS Suite
seismic-dms-service
Commits
8bba5ede
Commit
8bba5ede
authored
Apr 13, 2021
by
Daniel Perez
Browse files
Fixing swagger render issue
parent
9a88ef24
Pipeline
#35810
passed with stages
in 5 minutes and 53 seconds
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
src/server/server.ts
View file @
8bba5ede
...
...
@@ -79,7 +79,7 @@ export class Server {
this
.
app
.
use
(
cors
(
this
.
corsOptions
));
this
.
app
.
options
(
'
*
'
,
cors
());
this
.
app
.
use
(
'
/seistore-svc/api/v3/swagger-ui.html
'
,
swaggerUi
.
serve
,
swaggerUi
.
setup
(
swaggerDocument
,{
customCss
:
'
.swagger-ui
.topbar { display: none }
'
customCss
:
'
div
.topbar { display: none }
'
}));
this
.
app
.
use
((
req
:
express
.
Request
,
res
:
express
.
Response
,
next
:
express
.
NextFunction
)
=>
{
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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