Design APIs together, build separately

Stop waiting for backend APIs to build frontend features. Generate TypeScript types and realistic mock servers from OpenAPI contracts. Integrate seamlessly when ready.

npm install -g specjet
rocket_launchMock server in seconds boltFull TypeScript types gps_fixedPerfect integration
// Perfect TypeScript types generated
import { User, CreateUserRequest } from './types/api'
import { ApiClient } from './api/client'
// Switch from mock to production
const api = new ApiClient(
'http://localhost:3001' // Mock
// 'https://api.prod.com' // Production
)

Everything you need for smooth API development

From OpenAPI contracts to production-ready code in minutes, not days

bolt

Instant TypeScript Generation

Generate perfect TypeScript types and API clients from OpenAPI contracts. Fully typed, IDE-friendly code that feels hand-written.

dns

Realistic Mock Server

Intelligent mock server with realistic data scenarios. Demo data, large datasets, error conditions - test every path.

sync

Seamless Integration

Switch from mock to production with a single line change. Perfect contract compliance guarantees smooth integration.

visibility

Watch Mode

Automatically regenerate types when contracts change. Keep your frontend code in sync with API updates in real-time.

terminal

Developer-First CLI

Simple commands for every workflow. Initialize, generate, mock, and validate with intuitive CLI tools that just work.

description

OpenAPI Standard

Built on the industry-standard OpenAPI specification. Use existing contracts or create new ones with any OpenAPI-compatible tool.

From Contract to Code in Minutes

Simple workflow that eliminates API development bottlenecks

1

Initialize Project

Create a new project with example OpenAPI contract

specjet init my-api
2

Design Contract

Edit your OpenAPI contract to define endpoints and data models

edit api-contract.yaml
3

Generate Types

Create TypeScript types and API client from your contract

specjet generate
4

Start Mock Server

Launch realistic mock server with test data scenarios

specjet mock
5

Build Features

Develop with full type safety and realistic mock data

const users = await api.getUsers()
6

Switch to Production

When backend is ready, change the API URL seamlessly

// Just change the base URL