Run mock server based off an API contract with one command
go install github.com/neotoolkit/dummy/cmd/[email protected]
Dummy can help you run mock server based off an API contract, which helps people see how your API will work before you even have it built. Run it locally with the
dummy s command to run your API on a HTTP server you can interact with.
dummy s openapi.yml
dummy s https://raw.githubusercontent.com/neotoolkit/dummy/main/examples/docker/openapi.yml
More usage examples
See these docs.