Skip to content

Commit

Permalink
docs: change faker.js url
Browse files Browse the repository at this point in the history
  • Loading branch information
jbl428 committed Mar 4, 2022
1 parent 939f929 commit bb0363e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion docs/guides/01-mocking.md
Original file line number Diff line number Diff line change
Expand Up @@ -146,7 +146,7 @@ Testing against the exact same piece of data over and over again is not the best

Dynamic mode solves this by generating a random value for all the properties according to their type, and other information like `format` or even the all-powerful `x-faker` extension.

All the random properties are generated using [Faker.js](https://github.com/marak/Faker.js) under the hood, via [JSON Schema Faker](https://github.com/json-schema-faker/json-schema-faker). The `x-faker` keyword is optional, but when present allows for a specific Faker API method to be used (of which there [are a lot](https://github.com/marak/Faker.js#api-methods)) so you get a lot of control over the response.
All the random properties are generated using [Faker.js](https://fakerjs.dev) under the hood, via [JSON Schema Faker](https://github.com/json-schema-faker/json-schema-faker). The `x-faker` keyword is optional, but when present allows for a specific Faker API method to be used (of which there [are a lot](https://fakerjs.dev/guide)) so you get a lot of control over the response.

```yaml
Pet:
Expand Down

0 comments on commit bb0363e

Please sign in to comment.