Generate Developer-Friendly SDKs in Minutes
Transform your APIs into beautiful, customizable SDKs and documentation that developers will love
# Generate an SDK in two simple steps
liblab init --spec https://petstore.swagger.io/v2/swagger.json
liblab build
1. Generate Your SDK
Start by generating SDKs for multiple programming languages from your OpenAPI specification with one command
2. Integrate with Docs
Next, generate SDK code examples that integrate with API Documentation, including native support for Redocly, Mintlify, and ReadMe.
3. Automate with CI/CD
Finally, integrate SDK generation and API Doc integrations into your CI/CD pipeline so your API, SDK, and Documentation are always in sync.
Quick Start
Install liblab CLI
Start by installing our command-line tool globally on your system
- npm
- pnpm
- Homebrew
npm install -g liblab
pnpm add -g liblab
brew tap liblaber/homebrew-liblab && brew install liblab
Initialize your project
Set up your project and generate a config file. Read more about it here.
liblab init --spec https://petstore.swagger.io/v2/swagger.json
Generate your SDK
Transform your API specification into a fully-featured SDK
liblab build
SDK Generation Requirements
1API Specification
We support multiple API specification formats:• OpenAPI 2.0 (Swagger), 3.0 or 3.1 • Postman Collections
2Configuration File
The liblab.config.json file defines how your SDK is generated. Use this to customize:• SDK naming and structure• Authentication methods• Error handling• And more
Learn more about customizations