hey-api /hey-api

👨‍🚀 Turn API specifications into production-ready SDKs, validators, mocks, and more. 20+ plugins. Millions of weekly npm downloads. Used by Vercel, OpenCode, PayPal, AWS, Autodesk, and many more.

★ 5,585⑂ 457👁 11⑃ 2,733● 1,604▤ 422
TypeScriptMITCreated 2024-01-10heyapi.dev
Download: Jun 22nd, 20262026-06-22 ↓222026-06-22
+3
Daily
5,585
stars
457
forks
11
watchers
2,733
prs
1,604
issues
422
releases

README

Hey API
  "OpenAPI codegen that just works."— Guillermo Rauch, CEO of Vercel



  
  
  
  
  



  Manual
   • 
  Issues
   • 
  Contribute


 About

Hey API is an ecosystem for turning API specifications into production-ready code. It's trusted by thousands of companies – from YC startups to Fortune 500 enterprises – and powers products used by millions worldwide.

This is the monorepo containing all open source Hey API packages. For package-specific documentation and quick start guides, see the individual repositories below.

 Packages


  
    Package
    Description
  
  
    
      openapi-ts
    
    
      TypeScript code generator with 20+ plugins for SDKs, Zod schemas, TanStack Query hooks, and more.
      
      Manual
       • 
      npm
    
  
  
    
      openapi-python
    
    
      Python code generator for SDKs and Pydantic models.
      
      Manual
       • 
      npm
    
  


 Highlights

- production-grade code that compiles
- runs in any Node.js 22+ environment
- accepts any OpenAPI specification
- core plugins for SDKs
- HTTP clients for Fetch API, Axios, Angular, Next.js, Nuxt, HTTPX, and more
- Zod schemas, TanStack Query hooks, Pydantic models, and 20+ plugins to reduce third-party boilerplate
- highly customizable via plugins

 Libraries


  
    Package
    Description
  
  
    
      spec-types
    
    
      TypeScript definitions for OpenAPI and JSON Schema specifications with complete inline documentation.
      
      npm
    
  




 Contributing

Want to see your code in products used by millions?

Start with our Contributing guide and release your first feature.





 Sponsors

Partners behind the future of API tooling. Become a sponsor.

Gold


  
      
        
        
          
            
              
              
            
          
          
          The open source coding agent.
          
          
            opencode.ai
          
        
        
      
    
  


Silver


  
    
      
        
          
            
            
          
        
        
        
          fastapi.tiangolo.com
        
      
      
        
          
            
            
          
        
        
        
          getunblocked.com
        
      
    
  


Bronze


  
    
      
        
          
            
            
          
        
      
      
        
          
            
            
          
        
      
    
  





 License

Released under the MIT License.

Top issues

Discussions

Latest release

Jun 22nd, 2026 2026-06-22 2026-06-22
@hey-api/openapi-ts 0.99.0

 ⚠️ Breaking

This release has 4 breaking changes. Please review the release notes carefully before upgrading.

 Updates

- parser: delete unresolvable $ref keywords (4087)
- api: replace ~ fields with $ (4086)
- client: use getBaseUrl() function to determine default value (3772)
- ⚠️ Breaking: config: merge duplicate plugin configurations

 Plugin duplicates behavior

If you specified the same plugin multiple times, only the last instance would be used. We eventually added a warning for this behavior, but that didn't treat the root issue. This releas

Snapshot: 2026-11-16T09:23:14Z · Data license Apache-2.0 · JSON