rest_generate_routes
Generate ready-to-use Express/Fastify route handlers with request validation and error handling from endpoint lists.
Instructions
Generate Express/Fastify route handlers with validation and error handling
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| api_key | No | API key for authentication | |
| endpoints | Yes | List of endpoints to generate routes for (e.g. 'GET /users', 'POST /users') | |
| framework | No | Target framework | express |
| include_validation | No | Whether to include request validation |