latest--typescript.schema
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/speakeasy-generation-config-file/_shared/latest--typescript.schema.json |
| Parent schema | speakeasy-generation-config-file |
Schema for configuration specific to a typescript SDK
Properties
The name of the author of the published package. https://docs.npmjs.com/cli/v9/configuring-npm/package-json#people-fields-author-contributors
The npm package name. https://docs.npmjs.com/package-name-guidelines.
The current version of the SDK
Whether to treat 4xx and 5xx status codes as errors.
The command to use for compiling the SDK. This must be an array where the first element is the command and the rest are arguments.
The name of the default error class used to represent API errors
Allow custom code to be inserted into the generated SDK.
Generate React hooks using TanStack Query.
Determines the format to express enums in TypeScript
The environment variable prefix for security and global env variable overrides. If empty these overrides will not be possible
Flatten the global security configuration if there is only a single option in the spec
When flattening parameters and body fields, determines the ordering of generated method arguments.
The suffix to add to models with writeOnly fields that are created as input models
The maximum number of parameters a method can have before the resulting SDK endpoint is no longer 'flattened' and an input object is created instead. 0 will use input objects always. https://www.speakeasy.com/docs/customize-sdks/methods
Determines how arguments for SDK methods are generated
Specifies the module format to use when compiling the SDK.
The suffix to add to models with writeOnly fields that are created as input models
Determines the shape of the response envelope that is returned from SDK methods
The template version to use
Determine whether or not index modules (index.ts) are generated