Skip to content

Commit

Permalink
Merge pull request #183 from beckn/feat/cache-spec-on-boot
Browse files Browse the repository at this point in the history
Added: Feature For load OpenAPIValidator Cache on app boot
  • Loading branch information
shreyvishal authored Jun 18, 2024
2 parents ddc57e5 + aab4737 commit 20e189c
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 20e189c

Please sign in to comment.