Skip to content

Commit

Permalink
remove console.log
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Jul 19, 2019
1 parent dc41ae4 commit 2e6d9ad
Show file tree
Hide file tree
Showing 2 changed files with 0 additions and 2 deletions.
1 change: 0 additions & 1 deletion src/index.ts
Original file line number Diff line number Diff line change
Expand Up @@ -59,7 +59,6 @@ export class OpenApiValidator {
});
}

console.log(this.context.apiDoc)
const aoav = new middlewares.RequestValidator(this.context.apiDoc, {
coerceTypes: true,
removeAdditional: true,
Expand Down
1 change: 0 additions & 1 deletion src/middlewares/openapi.request.validator.ts
Original file line number Diff line number Diff line change
Expand Up @@ -86,7 +86,6 @@ export function validateRequest({ apiDoc, loggingKey, enableObjectCoercion }) {
if (a.$ref) {
const id = a.$ref.replace('#/components/parameters/', '');
schema.parameters[i] = componentParameters[id];
console.log();
}
}

Expand Down

0 comments on commit 2e6d9ad

Please sign in to comment.