Aligning the stars...
CT

Mock API Generator

Generate mock API responses based on schemas

Includes status code, headers, and body
Generated mock data will appear here

Example Schemas

JSON Schema Example

{
  "type": "object",
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "email": { "type": "string", "format": "email" },
    "isActive": { "type": "boolean" },
    "tags": {
      "type": "array",
      "items": { "type": "string" }
    },
    "createdAt": { "type": "string", "format": "date-time" }
  },
  "required": ["id", "name", "email"]
}

TypeScript Interface Example

interface User {
  id: number;
  name: string;
  email: string;
  isActive?: boolean;
  tags?: string[];
  createdAt?: Date;
}

© 2025 Constellation Networks

v1.0.0-1743140205 | Hosted on the swarm (⌐■_■)