RAML (1.0) web mock server implementation in golang
749
RAML (1.0) web mock server implementation in golang
docker run \
-p 4000:4000 \
-v "${PWD}/example/organisation-api.raml:/raml/organisation-api.raml" \
tsaikd/go-raml-mocker:1.0 \
go-raml-mocker -f /raml/organisation-api.raml --port 4000
curl http://localhost:4000/organisation
curl http://localhost:4000/organisation \
-XPOST \
--header "UserID: SWED-123" \
--header "Content-Type: application/json" \
-d '{"name":"Bob"}'
curl 'https://github.com/tsaikd/go-raml-mocker/releases/download/1.0.2/go-raml-mocker-Linux-x86_64' -SLo go-raml-mocker && chmod +x go-raml-mocker
go-raml-mocker -f example/organisation-api.raml --port 4000
curl http://localhost:4000/organisation
go get -u -v "github.com/tsaikd/go-raml-mocker"
go-raml-mocker -h
Content type
Image
Digest
Size
10 MB
Last updated
about 10 years ago
docker pull tsaikd/go-raml-mocker:1.0.4