Skip to content

Commit

Permalink
First attempt to fix #894: oas3-valid-(content-)schema-example has pr…
Browse files Browse the repository at this point in the history
…oblem with nullable
  • Loading branch information
m-mohr committed Jan 14, 2020
1 parent d391292 commit ead745a
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/functions/schema.ts
Original file line number Diff line number Diff line change
Expand Up @@ -38,6 +38,7 @@ const ajv = new AJV({
schemaId: 'auto',
jsonPointers: true,
unknownFormats: 'ignore',
nullable: true,
logger,
});
ajv.addMetaSchema(jsonSpecv4);
Expand Down

0 comments on commit ead745a

Please sign in to comment.