API Mock Server
IntermediatestingContexto mínimo: 16K
Generates mock API servers and stubbed responses from OpenAPI specs, sample payloads, or natural-language descriptions. Produces realistic fixture data, configurable latency and error scenarios, and ready-to-run mock servers using tools like Prism, MSW, WireMock, or json-server so frontend and integration tests can proceed without the real backend.
Casos de uso
- Spinning up a mock server from an OpenAPI spec
- Generating realistic fixture responses for endpoints
- Simulating latency, rate limits, and error responses
- Creating MSW handlers for frontend tests
- Unblocking integration tests when the backend is unavailable
Prompt de ejemplo
Generate a mock server from this OpenAPI snippet for local frontend development.
Endpoints:
- GET /products (paginated list)
- GET /products/{id}
- POST /orders
Requirements:
- Realistic sample data
- Simulate a 500 error for one product id
- Use Mock Service Worker (MSW)
Provide the handler code and setup instructions.
Modelos recomendados
Herramientas compatibles
claude-codecursorkiroany
Modalidades
Entrada: text, code
→Salida: code, text
Skills relacionadas
Autor
OpenModels Community