Open mahammedzkhan opened 1 year ago
And where should the fake data come from? From a library that can generate the data based on the property types? Or from the spec schema, eg.: post.requestBody.content.application/json.example: https://swagger.io/docs/specification/adding-examples/
@spaceo we use faker-js to generate fake data but we should do the same what we do for msw.
Feature Request
Cypress also has API mocking built in and it works a bit different than msw, it would be great if we could generate stubs with fake data for that: https://docs.cypress.io/guides/guides/network-requests#Stubbing