the-forgery
v1.0.1
Published
Create a mock API server from Open API documentation
Downloads
3
Maintainers
Readme
🖋 The Forgery
Create an API mock server based on the OpenAPI 3 specification.
Installation & Useage
npm -i -g the-forgery
the-forgery -s open-api-schema-example.yml -w
Using docker
docker run -v "$PWD/open-api-schema-example.yml:/app/schema.yml" -p "5000:5000" sswales/the-forgery
Or to run an specific version
docker run -v "$PWD/open-api-schema-example.yml:/app/schema.yml" -p "5000:5000" sswales/the-forgery:X.Y.Z`
You can set any parameter when running inside a docker container
docker run -v "$PWD/open-api-schema-example.yml:/app/schema.yml" -p "3000:3000" sswales/the-forgery:X.Y.Z -s /app/schema.yml -p 3000`