Skip to content

Commit

Permalink
#32 Additional properties are incorrectly removed (removeAdditional)
Browse files Browse the repository at this point in the history
  • Loading branch information
Carmine DiMascio committed Aug 17, 2019
1 parent a0c8b05 commit 1bf3eae
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/index.ts
Expand Up @@ -60,7 +60,7 @@ export class OpenApiValidator {

const aoav = new middlewares.RequestValidator(this.context.apiDoc, {
coerceTypes: true,
removeAdditional: true,
removeAdditional: false,
useDefaults: true,
});

Expand Down

0 comments on commit 1bf3eae

Please sign in to comment.