Public | Automated Build

Last pushed: 3 months ago
Short Description
Short description is empty for this repo.
Full Description

Blueprint Mock Server

The blueprint mock server enables easy and automatic mocking of an Markdown API Blueprint specification.


By default the image will look for a file called located in /usr/src/api-mock and will spin up the server on port 3000. These values are overridable by setting the PORT and MD_PATH environment variables at runtime.


docker run -p 3000:3000 -e "MD_PATH=./" -v $PWD:/usr/src/api-mock -d base2s/blueprint-mock-server:latest
Port 3000 will be exposed to the host and the server will use as its source file located in the current directory.

Advanced Functions

  • By default the mock server will use the topmost response for a given endpoint. To explicitly test a specific response code in the blueprint set the prefer=<status code> header as part of the request.
Docker Pull Command
Source Repository