Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fallback mock should use property example values before random values #61

Open
yoshutch opened this issue Jan 12, 2022 · 0 comments
Open

Comments

@yoshutch
Copy link

If in the OAS document there is no example response, but the response has a schema that includes properties that have an example value, then the fallback mocking mechanism should return a mocked response what includes the provided example of that property. If no example value exists for the property then return a random value as it currently is.

This isn't super important, so not high on priority, but a nice-to-have.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant