Skip to content
Snippets Groups Projects
user avatar
Alvaro Cabrera Durán authored
* Basic impl for dependencies; fix #409

* Fixed tasks

* Lock deps

* Unskip pending tests

* Enable fixedProbabilities if alwaysFakeOptionals is enabled too

* Skip on CI

* Skip issue-345 from tests due networking issues on CI

* Remove trailing zeros from generate dates; fix #483

* Merge matching props too; fix #498

* Not used anymore? cleanup

* Fixed tests

* Lock deps

* Do not swallow errors; see #493

* Lint code; unit passes

* Print out whole stack; fix

* Prepend date-prefix for proper parsing, fix: #493

* Fixed bad object generation due additionalProperties

* Remove unwanted decimals; fix

* Upgrade specs; fix

* Try fast clone() to avoid schema mutations; fix

* Properly handle additionalProperties; fix

* This test eventually fails; fix later?

* Normalize bad minItems values; fix

* Debug random seeds; cleanup

* Upgrade bili; setup build

* Handle .required booleans; fix #494

* Add notEmpty matcher

* Add tests for 494; WIP

* Lock deps

* Skip failing tests for CI; WIP

* Build development branch for NPM

* Skip NaN due bad array-items generation; fix #494

* Allow option(key, value) usage; fix #496

* Add regression for alwaysFakeOptionals; fix #502

* Add initial schema from original issue; fix #489

* Add spec for failOnInvalidFormat; fix #498

* Ignore todo files

* Dist for RC

* Omit exclusive/required props from omitted sub-schemas; fix #443

* Re-enable test for #345

* Update build for RC

* Just test jsf.option(K, V); cleanup

* Add snyk badge [skip ci]

* Use given pattern to fill holes during type-casting; fix #486

* Dist RC

* Add hard-to-achieve spec for #486

* Fixed uniqueItems generation; see #506

* Dist RC

* Fixes #508

* Improve min/max properties handling; fixes #504

* Keep at least one zero while formatting date-time values; fix
c0a1e4c1
History

JSON Schema Faker logo

Donate Build Status NPM version Bower version Coverage Status

Gitter Dependency Status devDependency Status

Inline docs Typedoc Known Vulnerabilities

Use JSON Schema along with fake generators to provide consistent and meaningful fake data for your system.

What's next?

The latest RC16 comes with some deprecations and breaking-changes towards v0.5.x API:

  • deprecated — You will not longer be able to call jsf() and get a fully-dereferenced result. It will just generate given refs and inline ones, nothing else.
    • jsf.generate() is the sync-version, with partial dereferencing through given refs, etc.
    • jsf.resolve() is the async-version, with full dereferencing, given refs are also supported.
  • deprecated — TypeScript sources are not longer used, however d.ts definitions will be updated on time.

Usage info from README.md was moved to docs/, read more.

Contributors

We are more than happy to welcome new contributors, our project is still being developed, but we need more feedback!

Please see our contribution guide to learn how.

We are looking for your help!

We have a gitter room for this project, if you want to contribute, talk about specific issues from the library, or you need help on json-schema topics just reach out to us!

Please take a look at the technical documentation page.

If you think json-schema-faker is adding value on what you're doing please consider buying me a coffee.

Also, you can support the project via Open Collective.