api-mock-server

Solid

Generate and run mock API servers from OpenAPI specifications

API & Backend 814 stars 53 forks Updated today MIT

Install

View on GitHub

Quality Score: 95/100

Stars 20%
97
Recency 20%
100
Frontmatter 20%
70
Documentation 15%
100
Issue Health 10%
50
License 10%
100
Description 5%
100

Skill Content

# API Mock Server Skill ## Overview Generates and runs mock API servers from OpenAPI specifications with dynamic response generation, request validation, and Prism/Mockoon integration. ## Capabilities - Generate mock server from OpenAPI spec - Dynamic response generation based on schemas - Request validation against spec - Prism and Mockoon integration - Custom response scenarios - Callback and webhook simulation - Stateful mock behavior ## Target Processes - api-design-specification - microservices-decomposition ## Input Schema ```json { "type": "object", "required": ["specPath"], "properties": { "specPath": { "type": "string", "description": "Path to OpenAPI specification" }, "port": { "type": "number", "default": 4010 }, "engine": { "type": "string", "enum": ["prism", "mockoon", "custom"], "default": "prism" }, "options": { "type": "object", "properties": { "dynamic": { "type": "boolean", "default": true, "description": "Generate dynamic responses" }, "validateRequest": { "type": "boolean", "default": true }, "cors": { "type": "boolean", "default": true }, "scenarios": { "type": "array", "description": "Custom response scenarios" } } } } } ``` ## Output Schema ```json { "type": "object", "properties": { "s...

Details

Author
a5c-ai
Repository
a5c-ai/babysitter
Created
4 months ago
Last Updated
today
Language
JavaScript
License
MIT

Related Skills