Commit 10dd9b63 authored by FORESTIER Fabien's avatar FORESTIER Fabien
Browse files

Merge branch 'development' of...

Merge branch 'development' of https://gitlab.alpha.grandlyon.com/refonte-data/service-organizations into development
parents 654e63f8 8e12e256
Pipeline #2358 passed with stages
in 2 minutes and 28 seconds
This diff is collapsed.
{
"name": "service-organizations",
"version": "2.0.2",
"version": "2.1.0",
"description": "description",
"author": "",
"license": "MIT",
......@@ -43,7 +43,6 @@
"reflect-metadata": "^0.1.12",
"rxjs": "^6.2.2",
"serve-favicon": "^2.5.0",
"swagger-stats": "^0.95.7",
"typeorm": "^0.2.20",
"typescript": "^3.0.1",
"uuid": "^3.3.2"
......
......@@ -4,7 +4,6 @@ import { DocumentBuilder, SwaggerModule } from '@nestjs/swagger';
import * as cookieParser from 'cookie-parser';
import * as path from 'path';
import * as favicon from 'serve-favicon';
import * as swStats from 'swagger-stats';
import { AppLogger } from './app-logger';
import { AppModule } from './app.module';
......@@ -26,9 +25,6 @@ async function bootstrap() {
.build();
const document = SwaggerModule.createDocument(app, options);
// Enable stats middleware based on the generated swagger document
app.use(swStats.getMiddleware(document));
// Set endpoint serving the swagger documentation
SwaggerModule.setup('api-doc', app, document);
......
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