SDK Guides
Configure TypeScript, Python, and Go SDK generation — package naming, registry credentials, versioning, and custom templates.
TypeScript / JavaScript
The TypeScript SDK generates a strongly-typed client with full JSDoc, using fetch as the base transport. Configuration in your project's SDK settings:
Apistaq will publish to npm using your configured NPM_TOKEN secret.
Python
The Python SDK generates an async client using httpx with Pydantic models for request/response validation. Supports Python 3.9+.
Go
The Go SDK generates an idiomatic Go client with context support and structured error types. Published as a Go module to pkg.go.dev via your configured module path.
Versioning
SDK versions are derived from your OpenAPI info.version field. Apistaq follows these rules:
- Patch bump for non-breaking changes (new optional fields, new endpoints)
- Minor bump for additive changes (new required fields on optional bodies)
- Major bump for breaking changes (removed endpoints, renamed fields)
You can override auto-versioning and set a specific version in the SDK config. This is useful for synchronizing major versions across multiple SDKs simultaneously.