I am trying to start a prism mock server to work with my swagger.json file.
I’ve tried to use a docker-compose file to do that and that looks like this:
The output from the “docker-compose up” command is the following:
mock-server | prism
mock-server | Commands:
mock-server | prism mock Start a mock server with the given spec file
mock-server | Options:
mock-server | --version Show version number [boolean]
mock-server | --help Show help [boolean]
mock-server | Unknown argument: mock swagger.json
mock-server exited with code 1
If i try to use the output format "prism " i get the following error:
Unknown argument: prism mock swagger.json
Any ideas what i’ve done wrong?