This skill enables developers to quickly spin up functional mock servers based on OpenAPI 3.0+ definitions, bridging the gap between frontend and backend teams. It goes beyond static JSON by incorporating Faker.js for realistic data, simulating network latency, and supporting stateful CRUD operations to mimic actual backend behavior. Whether you need to test error scenarios, record requests for contract testing, or provide a stable environment for integration tests, this skill automates the setup of tools like Prism, MSW, and WireMock, ensuring your development environment remains isolated and efficient.
主要功能
010 GitHub stars
02OpenAPI-to-Mock generation with schema-compliant response data
03Request recording and logging for contract testing validation
04Configurable network latency and error scenario simulation (4xx, 5xx)
05Dynamic data generation using Faker.js for names, emails, and dates
06Stateful CRUD behavior for realistic integration testing flows
使用场景
01Creating isolated environments for integration and E2E testing without external dependencies
02Validating client-side error handling by simulating various HTTP failure codes
03Unblocking frontend development while backend APIs are still under construction