--- name: api description: API development toolkit — route scaffolding, OpenAPI validation, middleware management --- # /api REST and GraphQL API scaffolding, validation, and documentation for FastAPI and Express. ## Sub-commands | Sub-command | Description | |-------------|-------------| | `/api setup` | Setup wizard for saas-api-platform | | `/api scaffold` | Generate routes, models, and schemas | | `/api validate` | Validate routes against OpenAPI spec | | `/api docs` | Generate or update OpenAPI specification | | `/api test-routes` | Generate test cases for API endpoints | | `/api middleware` | Add and configure middleware |