prism-cli

API mocking and contract testing tool for OpenAPI specifications

brewmacoslinux
Try with needOr install directly
Source

About

Set of packages for API mocking and contract testing

Commands

prism

Examples

Start a mock server for an OpenAPI specification$ prism mock openapi.yaml
Run contract validation against an API endpoint$ prism validate openapi.yaml --target http://localhost:3000
Start mock server on a specific port with verbose logging$ prism mock openapi.yaml --port 4010 --verbose