Skip to content

Commit

Permalink
Added: Feature For load OpenAPIValidator Cache on app boot
Browse files Browse the repository at this point in the history
  • Loading branch information
shreyvishal committed Jun 18, 2024
1 parent 3ce6979 commit aab4737
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
3 changes: 2 additions & 1 deletion package.json
Original file line number Diff line number Diff line change
Expand Up @@ -33,14 +33,15 @@
"dotenv": "^16.4.1",
"express": "^4.18.1",
"express-openapi-validator": "^5.1.6",
"yaml": "^2.4.2",
"ioredis": "^5.0.6",
"libsodium-wrappers": "^0.7.9",
"mongodb": "^4.7.0",
"node-mocks-http": "^1.14.1",
"request-ip": "^3.3.0",
"uuid": "^8.3.2",
"winston": "^3.7.2",
"winston-daily-rotate-file": "^4.7.1",
"yaml": "^2.4.2",
"zod": "^3.14.2"
}
}
2 changes: 1 addition & 1 deletion src/middlewares/schemaValidator.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,7 @@ import {
RequestActions,
ResponseActions
} from "../schemas/configs/actions.app.config.schema";
const httpMocks = require("node-mocks-http");
import * as httpMocks from "node-mocks-http";
import { v4 as uuid_v4 } from "uuid";
import { AppMode } from "../schemas/configs/app.config.schema";
import { GatewayMode } from "../schemas/configs/gateway.app.config.schema";
Expand Down

0 comments on commit aab4737

Please sign in to comment.