Skip to content

axs sdk generate

Open in ChatGPTOpen in Claude

axs sdk generate emits a typed client SDK from your static config — REST via OpenAPI 3.1, GraphQL via one operation per root field — into your project with a drift banner. --target is rest | graphql | all (default all"); —eject` materialises the codegen config. See SDK Generation.

Terminal window
axs sdk generate --target all --out ./sdk

The full option surface is generated from the CLI itself:

Usage: axs sdk generate
Generate a typed client SDK (REST + GraphQL) from project config
Options:
-o, --out <dir> Output directory (default: "./sdk")
--target <target> Surfaces to emit: rest | graphql | all (default: "all")
--no-client Emit spec artifacts only (skip the typed-client codegen)
--config <path> Explicit codegen/OpenAPI config override (highest precedence)
--eject Materialise the built-in codegen config into the project, then stop
--sdk-version <ver> Override the emitted client package.json version
--local Local mode — skips auth check

© 2026 Axis Tech. Powered by axis-tech.co.