latest--csharp.schema
shared| Type | object |
|---|---|
| Schema URL | https://catalog.lintel.tools/schemas/schemastore/speakeasy-generation-config-file/_shared/latest--csharp.schema.json |
| Parent schema | speakeasy-generation-config-file |
Schema for configuration specific to a csharp SDK
Properties
The NuGet package ID, also used as the root namespace. https://learn.microsoft.com/en-us/dotnet/standard/design-guidelines/names-of-namespaces.
The current version of the SDK
The name of the author of the published package. https://learn.microsoft.com/en-us/nuget/create-packages/package-authoring-best-practices#authors
Whether to treat 4xx and 5xx status codes as errors.
The name of the default exception that is thrown when an API error occurs.
Whether to disable Pascal Casing sanitization on provided packageName when setting the root namespace and NuGet package ID.
The version of .NET to target. net8.0 (default), net6.0 and net5.0 supported. https://learn.microsoft.com/en-us/dotnet/standard/frameworks
Whether to produce and publish the package with Source Link. https://github.com/dotnet/sourcelink
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. Leave empty to apply legacy ordering.
Whether to generate .pdb files and publish a .snupkg symbol package to NuGet.
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
Space-delimited list of tags and keywords used when searching for packages on NuGet.
Determines the shape of the response envelope that is return from SDK methods
The name of the source directory. Default is "src"