Learn how to automatically generate type-safe API clients from curl commands using three tools: curl-to-json-schema converts curl commands into OpenAPI schemas, massimo-cli generates type-safe client code from those schemas, and massimo provides the runtime library. The guide covers the complete workflow from capturing network

12m read timeFrom blog.platformatic.dev
Post cover image
Table of contents
Permalink The Problem: APIs Without TypesPermalink The Solution: A Three-Step PipelinePermalink Step 1: Generate OpenAPI Schema from curl CommandsPermalink Step 2: Generate Type-Safe Client with massimo-cliPermalink Frontend Client UsagePermalink Real-World WorkflowsPermalink Advanced: Custom Client ConfigurationPermalink Comparison: Before and AfterPermalink Best PracticesPermalink TroubleshootingPermalink ConclusionPermalink ResourcesPermalink Try It Now

Sort: