Hacker News new | ask | show | jobs
by barefeg 1354 days ago
Thanks for the quick answer! Are the examples generated based on the types? As in if a field is set as an integer, the tests will pass arbitrary integers? But still how does it know how to produce positive examples? Do you maybe have some documentation on this functionality?
1 comments

Yes! We generate placeholder values that are based on the types defined in your schema

We don't have documentation for it at the moment, but the code for our OpenAPI integration is open-source on GitHub: https://github.com/stepci/plugin-openapi