Open API Mocker
An API mocker based in the Open API 3.0 specification.
Installation
Using npm
npm i -g open-api-mocker
Using docker
docker run -v "$PWD/myschema.json:/app/schema.json" -p "5000:5000" jormaechea/open-api-mocker
Or to run an specific version
docker run -v "$PWD/myschema.json:/app/schema.json" -p "5000:5000" jormaechea/open-api-mocker:X.Y.Z`
You can set any parameter when running inside a docker container
docker run -v "$PWD/myschema.json:/app/schema.json" -p "3000:3000" jormaechea/open-api-mocker:X.Y.Z -s /app/schema.json -p 3000`
Usage
Just run open-api-mocker --help
in your console, and every available setting will be prompted.
Capabilities
Tests
Simply run npm t
Contributing
Issues and PRs are welcome.