Prism

An open-source mock server and validation proxy built from OpenAPI documents and Postman collections.

These buttons open the developer's own site, repository or store listing in a new tab. wares.gg does not host downloads.

About Prism

Prism turns an OpenAPI 2 or 3 document, or a Postman Collection, into a working API server. It returns mock responses based on the specification so front-end and client work can start before the real API exists.

It can also act as a proxy that validates requests and responses against the specification, flagging where an implementation drifts from its contract. It runs from the command line or as a Docker container.

Strengths

  • Mock server generated directly from an OpenAPI file
  • Validation proxy catches contract drift
  • Accepts Postman collections as well

Limitations

  • Depends on a complete, accurate specification
  • Command-line only

Details

Pricing
FreeFree and open source.
License
Open source, license not stated
Developer
Stoplight
Platforms
Command line
How it runs
Downloadable app
Account
Not required
Works offline
Yes
Best suited for
Mocking and validating APIs from an OpenAPI contract
Last verified
Added
Provenance
Facts checked against the developer's own pages and store listings, 1 sources on file.

Alternatives to Prism

Compare all

Software that can replace Prism for an important use case, and what changes if you switch.

  • Mockoon

    A desktop app and CLI for designing and running mock REST APIs locally without an account.

    Mockoon imports OpenAPI specifications into a desktop app and CLI for local mock REST APIs, adding request recording and proxying, but has no contract validation proxy.

  • WireMock

    An open-source tool for mocking HTTP APIs so you can test without real service dependencies.

    WireMock mocks HTTP APIs with flexible matching, templating, record and playback and fault simulation, but does not generate mocks from an OpenAPI contract the way Prism does.

  • MockServer

    An open-source self-hosted server for mocking, proxying and recording HTTP, HTTPS and gRPC APIs.

    MockServer is a self-hosted open-source server that mocks and proxies HTTP and gRPC with recording and fault injection, started with one Docker command rather than from a specification.

  • Stoplight

    A web platform for designing OpenAPI descriptions, generating API documentation and running mock servers.

    FreemiumProprietaryWeb

    Stoplight provides mock servers from API descriptions inside a hosted web platform with a visual OpenAPI editor and documentation, but requires an account and is closed source.

  • Beeceptor

    A web service for creating mock API servers and inspecting incoming webhook requests in real time.

    FreemiumProprietaryWeb

    Beeceptor imports OpenAPI definitions into a hosted mock server on its own subdomain with live inspection, but requests pass through a third party and advanced features are paid.

  • Mockbin

    A free web tool that creates mock API endpoints with fixed responses and logs requests to them.

    Mockbin generates mock endpoints from an OpenAPI 3.x document in a free web tool without an account, but returns fixed responses and has no validation proxy.

Prism as an alternative

Listings that name Prism as an alternative.

  • json-server

    A command-line tool that turns a JSON file into a fake REST API for prototyping.

    Prism generates a mock server directly from an OpenAPI file or Postman collection and adds a validation proxy, but depends on having a complete, accurate specification.

Similar software

Related functionality, not necessarily a direct replacement.

Report a wrong fact or a dead link on this listing