soonPython code generator
OpenAPI to in seconds.
Production-grade API infrastructure. Typed SDKs, Zod schemas, TanStack Query hooks, and 20+ plugins. Free and open source.
7.4M downloads last week
export type Order = { id: string; symbol: string; side: 'buy' | 'sell'; type: 'market' | 'limit' | 'stop' | 'stop_limit'; quantity: number; price?: number; status: 'pending' | 'open' | 'filled' | 'partially_filled' | 'cancelled' | 'rejected'; createdAt: string;};
export type CreateOrderData = { body: Order;};
export type CreateOrderResponse = Order;import { z } from 'zod';
export const zOrder = z.object({ id: z.string().uuid(), symbol: z.string(), side: z.enum(['buy', 'sell']), type: z.enum(['market', 'limit', 'stop', 'stop_limit']), quantity: z.number(), price: z.number().optional(), status: z.enum(['pending', 'open', 'filled', 'partially_filled', 'cancelled', 'rejected']), createdAt: z