Skip to content

Latest commit

 

History

History
12 lines (8 loc) · 714 Bytes

README.md

File metadata and controls

12 lines (8 loc) · 714 Bytes

⚡️ 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.