Backend Type Bridger

Syncs FastAPI OpenAPI schema to TypeScript types and reads Firestore schema hints. Use when writing Vue composables against FastAPI or Firebase backends.

HeyEddi-com 8acc4ff 10 files · 15.5 KB Updated

File contents

Backend Type Bridger

When to use

  • Frontend agent needs accurate API payload shapes
  • openapi.json or FastAPI server available locally
  • Firestore rules or schema file exists for Firebase projects

Instructions

  1. FastAPI: python scripts/sync_openapi.py --project-root <root> — writes src/types/api.ts from openapi.json or --url
  2. Firebase: python scripts/fetch_firestore_schema.py --project-root <root>
  3. Import generated types in composables — never guess field names. Refine generated interfaces if OpenAPI uses $ref heavily.

HeyEddi-com/heyeddi-skills/tree/main/evals/runs/2026-07-04T22-58-59Z/full-product-integration/.agents/skills/backend-type-bridger commit 8acc4ffef4

Frequently asked questions

npx skillmds@latest add heyeddi-com/backend-type-bridger-3