Are there any server stubs that can respond with examples from the schema?
Created by: ndbroadbent
Hello,
My goal is to automatically generate an integration test for every API client, to make sure that all my API clients are working properly and don't crash. I think the easiest way to do this would be to start a mock server, and make my API clients connect to this server by setting the host. My API changes fairly regularly, so I also want this whole process to be automated and based on the openapi specification.
So I would like to generate a server stub that I can run for some automated tests, but I need it to send valid responses. Are there are any auto-generated server stubs that can respond by sending examples from the schema?
Or maybe there is a better way to do this? I'm also looking at Prism to set up a mock server.