also serving at docs

This commit is contained in:
Miodec 2022-04-28 12:22:26 +02:00
parent 6c7930d18f
commit 0b24ec2afb

View file

@ -39,7 +39,7 @@ function addSwaggerMiddlewares(app: Application): void {
);
app.use(
"/documentation",
["/documentation", "/docs"],
swaggerUi.serve,
swaggerUi.setup(publicSwaggerSpec, SWAGGER_UI_OPTIONS)
);