This is a fork of prism.
yarn build --clean
build docker image
cd ${rootPath}
docker image -t <image-name> .
start image
docker run --init -p 4010:4010 openprism:demo mock -h 0.0.0.0 /tmp/specification/storage/resource-manager/Microsoft.Storage/stable/2021-08-01/storage.json
or
docker run --init -p 4010:4010 openprism:demo mock -h 0.0.0.0 https://raw.githubusercontent.com/1openwindow/openprism/master/examples/petstore.oas2.yaml
in dev env, you may need to set the following parameter in env.
NODE_TLS_REJECT_UNAUTHORIZED = 0
Prism is built on top of lots of excellent packages, and here are a few we'd like to say a special thanks to.