HomeDocumentation

API Documentation

Everything you need to integrate with Spec Workbench

OpenAPI Spec

Multi-Format Support

OpenAPI 3.x, AsyncAPI 2.x, JSON Schema, and MCP specs

Instant Validation

Real-time validation with detailed error messages and suggestions

Auto-Repair

Automatically fix common spec issues like missing required fields

MCP Generation

Generate production-ready MCP servers with PlatPhorm identity

Quick Start
Get started with the Spec Workbench API in seconds
# Validate a spec
curl -X POST https://spec.platphormnews.com/api/v1/specs/validate \
  -H "Content-Type: application/json" \
  -d '{"content": "{\"openapi\": \"3.1.0\", ...}"}'
API Endpoints
All available REST API endpoints
GET
/api/health

Health check endpoint

GET
/api/docs

OpenAPI 3.1 specification

GET
/api/v1/specs

List saved specs

POST
/api/v1/specs

Create and parse a spec

POST
/api/v1/specs/validate

Validate a spec inline

POST
/api/v1/specs/repair

Auto-repair common issues

POST
/api/v1/generate/mcp

Generate MCP server scaffold

POST
/api/v1/generate/client

Generate typed client code