Dummy open-source: one command to test your API before it’s even built
When our Golang developer, Alexander, was working on one of our client’s projects, he had to work on integrations with the partner’s API. During the integration, we didn’t want to pull the real API, so there was a need use mock data to test API. The partner had an openAPI specification, on the basis of which it was possible to generate a server using swagger-codegen, but such tools have a nuance — they generate stubs, meaning that if you follow the “handle” from the specification, you will get an empty response, and you will need to write it yourself.
So we created dummy, a very useful and in-demand tool that can help launch a mock server based on an API contract, which helps people see how the API will work before it’s even built. You can run it locally with the dummy server command to run your API on an HTTP server that you can interact with.