Skip to content

Commit

Permalink
generate optional properties (#96)
Browse files Browse the repository at this point in the history
  • Loading branch information
Danielecina authored Nov 9, 2020
1 parent 5863fe8 commit da09bc0
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion packages/api-explorer/lib/generateFakeSchema.js
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,8 @@ jsf.option({
failOnInvalidTypes: false,
failOnInvalidFormat: false,
useDefaultValue: true,
useExamplesValue: true
useExamplesValue: true,
alwaysFakeOptionals: true,
})

export default function generateFakeSchema(schema) {
Expand Down

0 comments on commit da09bc0

Please sign in to comment.