Bhuwan.dev
Back to Projects

ApiScribe

Turn natural language intent into structured OpenAPI contracts instantly with AI.

🟢 LiveAI

Problem

API documentation usually comes after implementation, leading to drift between code and docs. Frontend teams are blocked waiting for backend implementation, and integration testing is delayed until the end of the development cycle.

Solution

ApiScribe turns natural language intent into structured OpenAPI contracts. It enables a "contract-first" workflow where teams agree on the interface before writing a single line of code.

  • Instant Mock Server: Generates a mock server from the contract immediately.
  • Validation: Ensures requests match the schema.
  • AI-Powered: Uses LLMs to suggest standard patterns and improvements.

Architecture

  • Intent → Contract: Natural language processing to define schema.
  • Validation: Schema validation before AI enrichment to ensure correctness.
  • Storage: MongoDB-backed MVP storage for fast retrieval of contracts.

Trade-offs

  • No Persistence Guarantees: Currently uses ephemeral storage, suitable for prototyping but not long-term archival.
  • Strong Schema Bias: Enforces strict OpenAPI compliance, which might be overkill for very simple internal tools.