Re:Show HN: Generate JSON mock data for testing/initial app ...
by harry_1989 on Wednesday October 04, 2023 @01:01AM
(#37761018)
Is there a similar tool to generate API responses once you have an OpenAPI spec? Sort of a mock server, that can give out responses as per spec and occasionally induce errors. This will be helpful in decoupling frontend and backend during initial development.
[ Parent
| on HN ]
Re:Show HN: Generate JSON mock data for testing/initial app ...
by m13z on Wednesday October 04, 2023 @04:23AM
(#37762374)
I use https://stoplight.io/open-source/prism with x-faker properties in my OpenAPI specs to mock APIs with dynamic content.