Skip to content

wilcotomassen/docker-stoplight-prism

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 

Repository files navigation

A minimal container for running Stoplight.io Prism, which can mock an API from a Swagger/OpenAPI Specification file

Show version

docker run wilcotomassen/docker-stoplight-prism run version

Create a mocking server from a Swagger/OpenAPI Specification file

docker run -d \
    --name=my-mock-server \
    -p 4010:4010 \
    -v $(pwd)/api-specification.yaml:/app/api-specification.yaml \
    wilcotomassen/docker-stoplight-prism run --mock --list --spec /app/api-specification.yaml

Show all log lines

docker logs my-mock-server

Show last 10 lines

docker logs --tail=10 my-mock-server

About

Lightweight Docker container for the Stoplight.io Prism proxy.

Resources

Stars

Watchers

Forks

Packages

No packages published