Signed-off-by: ale <ale@manalejandro.com>
Este commit está contenido en:
ale
2025-10-09 03:14:57 +02:00
padre bd95c72b24
commit b26a2d2e61

Ver fichero

@@ -20,8 +20,8 @@ app.use(cors());
app.use(express.json());
// Swagger Documentation
app.use('/api-docs', swaggerUi.serve);
app.get('/api-docs', swaggerUi.setup(swaggerSpec));
app.use('/api-docs', ...swaggerUi.serve as any);
app.get('/api-docs', swaggerUi.setup(swaggerSpec) as any);
// Health check
app.get('/health', (req: Request, res: Response) => {