Files
leo-claude-mktplace/plugins/saas-api-platform
lmiranda e824b18e44 fix(schema): move domain field to metadata.json for Claude Code compatibility
BREAKING FIX: Claude Code's marketplace schema validator rejects
unrecognized keys. The 'domain' field added in v8.0.0 caused
'Failed to load marketplace' errors on all 20 plugin entries.

- Removed 'domain' from marketplace.json (all 3 profiles)
- Removed 'domain' from all 20 plugin.json files
- Added 'domain' to metadata.json for all 20 plugins
- Updated validate-marketplace.sh to read from metadata.json
- Updated docs (CANONICAL-PATHS.md, CLAUDE.md) to reference metadata.json
- 12 new metadata.json files created (plugins without mcp_servers)
- 8 existing metadata.json files updated with domain field

Version: 9.1.2

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-07 17:00:58 -05:00
..

saas-api-platform

REST and GraphQL API scaffolding, validation, and documentation for FastAPI and Express.

Overview

The saas-api-platform plugin provides a complete API development toolkit. It detects your framework, generates routes and models following RESTful conventions, validates implemented endpoints against OpenAPI specifications, and manages middleware configuration.

Supported Frameworks

  • FastAPI (Python) - Pydantic models, dependency injection, async endpoints
  • Express (Node.js/TypeScript) - Router patterns, Zod/Joi validation, middleware chains

Commands

Command Description
/api setup Setup wizard - detect framework, map project structure
/api scaffold <resource> Generate CRUD routes, models, and schemas
/api validate Validate routes against OpenAPI specification
/api docs Generate or update OpenAPI 3.x specification from code
/api test-routes Generate test cases for API endpoints
/api middleware <type> Add and configure middleware (auth, CORS, rate-limit, etc.)

Agents

Agent Model Mode Purpose
api-architect sonnet default Route design, schema generation, middleware planning
api-validator haiku plan (read-only) OpenAPI compliance validation

Installation

This plugin is part of the Leo Claude Marketplace. It is installed automatically when the marketplace is configured.

Prerequisites

  • A FastAPI or Express project to work with
  • Run /api setup before using other commands

Configuration

The /api setup command creates .api-platform.json in your project root with detected settings. All subsequent commands read this file for framework and convention configuration.