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 e29fcda commit 01b7d0c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/middlewares/schemaValidator.middleware.ts
Original file line number Diff line number Diff line change
Expand Up @@ -173,7 +173,7 @@ const initializeOpenApiValidatorCache = async (
actions = Object.keys(ResponseActions);
}

actions.slice(0, 2).forEach((action) => {
actions.forEach((action) => {
const mockRequest = (body: any) => {
const req = httpMocks.createRequest({
method: "POST",
Expand Down

0 comments on commit 01b7d0c

Please sign in to comment.