1. Configure Your SDK Repository
Add the following to your.speakeasy/workflow.yaml file in your SDK repository:
.speakeasy/workflow.yaml
2. Set Up Your Docs Repository
The easiest way to set up your docs repository is through the Speakeasy CLI:- Set up your source OpenAPI spec
- Add the code snippet overlay
- Configure the output specification path
3. Add Your API Key
Add yourSPEAKEASY_API_KEY as a repository secret:
- Go to your Mintlify repository’s Settings > Secrets & Variables > Actions
- Add the key from your Speakeasy dashboard’s API Keys tab
Manual Setup (Alternative)
If you prefer manual setup, create these files in your docs repository:.speakeasy/workflow.yaml
.github/workflows/sdk_generation.yaml