Skip to content

bfischer1121/typescript-sdk-generator

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

⚡️ Build an SDK with AI in 5 minutes

This is an SDK generator that, given just an array of endpoint urls, will create a valid OpenAPI spec (example), Node.js SDK client written in TypeScript (example), and tests for the client (example).

Getting Started

  • Run yarn to install dependencies
  • Copy .env.example to .env and add your OpenAI API key
  • Update the endpoints array in src/generator.ts with URLs of the endpoints you want to work with
  • Run yarn start to generate the SDK

🎉 Voila! You now have a well documented and fully functional OpenAPI spec and SDK client that works with the API.

About

⚡️ Build an SDK with AI in 5 minutes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published