fix(backend): Import errors
This commit is contained in:
parent
9f67e7783b
commit
5010ee3b0b
3 changed files with 8 additions and 8 deletions
|
@ -1,6 +1,6 @@
|
|||
import { RequestHandler } from 'express';
|
||||
import swaggerUi from 'swagger-ui-express';
|
||||
import swaggerDocument from '../../docs/api/swagger.json';
|
||||
import swaggerDocument from '../../docs/api/swagger.json' with { type: 'json' };
|
||||
|
||||
const swaggerMiddleware: RequestHandler = swaggerUi.setup(swaggerDocument);
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue