Commit 9a88ef24 authored by Daniel Perez's avatar Daniel Perez
Browse files

Adding extra option in swagger

parent 90943d55
Pipeline #35740 passed with stages
in 5 minutes and 48 seconds
......@@ -78,8 +78,7 @@ export class Server {
this.app.disable('x-powered-by');
this.app.use(cors(this.corsOptions));
this.app.options('*', cors());
this.app.use('/seistore-svc/api/v3/swagger-new-ui.html',swaggerUi.serve, swaggerUi.setup(swaggerDocument,{
explorer: false,
this.app.use('/seistore-svc/api/v3/swagger-ui.html',swaggerUi.serve, swaggerUi.setup(swaggerDocument,{
customCss: '.swagger-ui .topbar { display: none }'
}));
this.app.use((req: express.Request, res: express.Response, next: express.NextFunction) => {
......
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