Removed everything concerning the swaggerUI express middleware

ref #52
This commit is contained in:
2020-12-23 15:21:55 +01:00
parent 39ad43bbb2
commit 9fc282d858
2 changed files with 0 additions and 12 deletions

View File

@@ -45,16 +45,6 @@ export default async (app: Application) => {
},
}
);
// //Options for swaggerUiExpress
// const options = {
// explorer: true,
// };
// app.use(
// "/api/docs/swagger",
// swaggerUiExpress.serve,
// swaggerUiExpress.setup(spec, options)
// );
app.get(["/api/docs/openapi.json", "/api/docs/swagger.json"], (req, res) => {
res.json(spec);
});