Prism is a command-line tool that turns an OpenAPI 2 or 3 specification, or a Postman Collection file, into a running API server. It is aimed at developers who need a stand-in backend while the real service is still being built, or who want to test client code against a predictable set of responses.
The server supports mocking, transformations and validations. It is released under the Apache-2.0 license, its source is public on GitHub, and it runs from the command line.
Alternatives to Prism
Products that do a similar job in Developer Tools.
mitmproxy
Interactive proxy for inspecting and modifying HTTP and HTTPS traffic
Insomnia
API client for testing GraphQL, REST, WebSocket, SSE and gRPC endpoints
Bruno
Desktop client for exploring and testing APIs
Proxyman
HTTP debugging proxy for inspecting and modifying web traffic on macOS
Reqable
API debugging proxy for capturing and inspecting HTTP and HTTPS traffic
Postman CLI
command-line tool for managing APIs on Postman
Hoppscotch
Open-source API client for REST, GraphQL and other HTTP requests
Hurl
Command-line tool that runs and tests HTTP requests written as plain text