Reliable, scriptable and extensible mock server for REST APIs, OpenAPI (and Swagger) specifications, SOAP/WSDL Web Services, gRPC and Protobuf APIs.
This project is the CLI tool for the Imposter mock engine.
Start a live mock of an OpenAPI specification with just:
docker run -v $PWD:/mocks -p 8080:8080 impostermocks/cli up -s
Your mock will be available at http://localhost:8080.
To start a mock server using configuration in your current directory:
docker run -v $PWD:/mocks -p 8080:8080 impostermocks/cli up
Your mock will be available at http://localhost:8080.
To generate mock configuration files in your current directory:
docker run -v $PWD:/mocks impostermocks/cli scaffold
You can pass any CLI command and flags after the image name:
docker run -v $PWD:/mocks impostermocks/cli --help
Content type
Image
Digest
sha256:b464c8c79…
Size
8.6 MB
Last updated
2 months ago
docker pull impostermocks/cli