latest--go.schema
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/speakeasy-generation-config-file/_shared/latest--go.schema.json |
| Parent schema | speakeasy-generation-config-file |
Schema for configuration specific to a go SDK
Properties
The current version of the SDK
Allow unknown fields in weak (undiscriminated) unions
Whether to treat 4xx and 5xx status codes as errors.
The name of the default error type used to represent API errors
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
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
The suffix to add to models with writeOnly fields that are created as input models
The go module package name. https://go.dev/ref/mod#module-path.
Determines the shape of the response envelope that is returned from SDK methods