GitHub

Mock Servers

Fake servers that take description document as input, then route incoming HTTP requests to example responses or dynamically generates examples.

20 Mock Servers

NameOpenAPI VersionsLinks
APIGit the native Git based collaboration platform for API design, document, mock, testing and share.v3.1, v3, v2
Apitive Studio A platform for Digital Product Managers and API Consultants to design REST APIs with in-built mock and documentation. v3, v2
Connexion OpenAPI First framework for Python on top of Flask with automatic endpoint validation & OAuth2 supportv3, v2
Counterfact Counterfact is a revolutionary free and open source mock server. If you have Node installed, all you have to do is run `npx counterfact@latest path-or-url-to-your-openapi-document`. Out of the box, you'll get a mock server that returns random data. With a TypeScript API that's optimized for mocking, you can add more realistic behavior. It supports mix and matching mocks with calls to the real API (sans CORS headaches). With hot reloading and a REPL, you can change things up on the fly.v3.1, v3, v2
Fakeit Create mock server from OpenAPI 3 specification with random response generation and request validation.v3
Falcon Heavy The framework for building app backends and microservices via the API design-first workflow. v3
Karate-IDE Generates KarateDSL Tests and Mocks from OpenAPI 3.0 documents and so you can quickly test/explore your API.v3
Kusk Gateway Kusk-Gateway is an OpenAPI-driven API Gateway for Kubernetes. It empowers you to develop, validate, mock and deploy your APIs in a matter of minutes using both manual and automated GitOps/APIOps workflows.v3, v2
Meeshkan Meeshkan is an automated testing and mocking tool. It offers first-class support for GraphQL APIs, but Meeshkan is also built to handle REST APIs and third-party dependencies.v3
Microcks Open source Kubernetes-native tool for API Mocking and Testing. Turn your OAI contract examples into ready-to-use mocks. Use examples to test and validate implementations according to spec and schema elements. Microcks is a Cloud Native Computing Sandbox project 🚀v3.1, v3, v2
Mockintosh Mocks for CloudNative Environments - Converts OpenAPI files to Mocks and use them to develop in isolated environments and test edge cases, Async call to queues such as Kafka or RabbitMQ or simulate performance & chaos testing v3.1, v3, v2
MockLab SaaS platform to upload your spec to create a mock serverv3, v2
OpenAPI Mocker Standalone nodejs based OpenAPI 3 mock server, docker-friendly with request validation and autoreload.v3
openapi-data-mocker Tiny library to generate basic OpenAPI Data Types. Consider it as extended Faker package. First version able to mock most of the data formats. It doesn't support polymorphism yet, but work in progress. May be useful for writing custom unit tests. v3
orval orval is able to generate client with appropriate type-signatures (TypeScript) from any valid OpenAPI v3 or Swagger v2 specification, either in yaml or json formats. Generate, valid, cache and mock in your frontend applications all with your OpenAPI specification. 🍺v3, v2
Prism Turn any OAI file into an API server with mocking, transformations, validations, and more.v3.1, v3, v2
Sandbox SaaS, self-hosted, or CLI tool for turning OpenAPI (and other) descriptions into a mock server, where you can modify behaviour, simulate downtime, and any other nonsense you can think of thanks to a built-in code editor!v3, v2
Specmatic Specmatic enables teams to practice Contract-Driven Development by leveraging OpenAPI specifications as Executable Contracts to reduce time-to-market by allowing teams to build, test and deploy their MicroServices and MicroFrontends independently and Shift-Left the identification of compatibility issues between Components / Services in complex interdependent systems such as those built with MicroServices architecture. In the process it reduces / removes the need for Integration Testing.v3
Unmock API integration testing library that intercepts outgoing requests and serves back mock data based on the OpenAPI descriptions.v3
yii2-app-api Generate Server side API code with routing, models, data validation and database schema from an OpenAPI description. Based on Yii Framework. v3
***