How to Import
Provide Specification
Choose one:
- URL - Provide OpenAPI spec URL
- File - Upload JSON/YAML spec file
- Paste - Paste spec content directly
Configure
- Review base URL
- Select operations to include (or include all)
- Verify authentication detection
What Gets Imported
From your OpenAPI spec:- ✓ Base URL
- ✓ All endpoints as operations
- ✓ Parameter definitions (path, query, body)
- ✓ Request/response schemas
- ✓ Authentication schemes
- ✓ Operation descriptions
- ✓ Content types
Supported Formats
- OpenAPI 3.0+ (latest recommended)
- Swagger 2.0 (legacy)
- JSON or YAML format
- Local files or URLs
Public API Specs
Many services publish OpenAPI specs:
Find more at OpenAPI Directory.
Import Example
Import Petstore API:- Connectors > Create > REST API > Import from OpenAPI
- Paste:
https://petstore.swagger.io/v2/swagger.json - Review operations (GET /pets, POST /pets, etc.)
- Configure authentication if needed
- Test operations
- Save
Editing After Import
Auto-generated connectors can be edited:- Open connector
- Click Edit
- Modify operations, add new ones, remove unused
- Update authentication
- Test changes
- Save
Authentication Mapping
OpenAPI specs may include auth schemes. Verify import detected them:- Open connector
- Click Authentication
- Check detected auth method
- Provide credentials if needed
- Bearer Token - API key in Authorization header
- OAuth 2.0 - OAuth2 flow
- API Key - Custom header or query param
Partial Imports
Don’t need all operations? Select subset:- During import, under “Select Operations”
- Uncheck operations you don’t need
- Click Generate
Common Issues
”Invalid OpenAPI Spec”
- Ensure JSON/YAML is valid
- Check OpenAPI version compatibility
- Verify all required fields present
”Authentication Not Detected”
- Manually configure in Authentication tab
- Check spec has security schemes defined
- Update credentials
”Operations Missing Parameters”
- Verify spec has full parameter definitions
- Some specs may be incomplete
- Edit operations to add missing params
Best Practices
Start Simple
Import just operations you need. Reduce complexity.Test After Import
Test each operation before attaching to agents/gateways.Document Changes
If you edit auto-generated connector, note changes.Keep Sync
If API updates its spec, re-import and update connector.API-Specific Notes
GitHub
- Base URL auto-detected
- Requires personal access token
- Provides comprehensive API
Stripe
- Extensive OpenAPI spec
- Uses Bearer auth
- Includes most endpoints
Cloud APIs
- Extremely large specs
- Consider importing partial APIs
- May need custom configuration