mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-11-19 10:03:58 +00:00
* [docs] Updating docsite outputs to be browsable on Github as well * Fix links to other files Suffix `.md` was needed to make links works * [docs] Add clarification to differences between customization and templating docs * [docs] Collapsible side bar, scroll to top, minor enhancements
1.4 KiB
1.4 KiB
| title | sidebar_label |
|---|---|
| Config Options for csharp-nancyfx | csharp-nancyfx |
| Option | Description | Values | Default |
|---|---|---|---|
| packageName | C# package name (convention: Title.Case). | Org.OpenAPITools | |
| packageVersion | C# package version. | 1.0.0 | |
| sourceFolder | source folder for generated code | src | |
| interfacePrefix | Prefix interfaces with a community standard or widely accepted prefix. | ||
| packageGuid | The GUID that will be associated with the C# project | null | |
| packageContext | Optionally overrides the PackageContext which determines the namespace (namespace=packageName.packageContext). If not set, packageContext will default to basePath. | null | |
| sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. | true | |
| optionalProjectFile | Generate {PackageName}.csproj. | true | |
| useDateTimeOffset | Use DateTimeOffset to model date-time properties | false | |
| useCollection | Deserialize array types to Collection<T> instead of List<T>. | false | |
| returnICollection | Return ICollection<T> instead of the concrete type. | false | |
| immutable | Enabled by default. If disabled generates model classes with setters | true | |
| writeModulePath | Enabled by default. If disabled, module paths will not mirror api base path | true | |
| asyncServer | Set to true to enable the generation of async routes/endpoints. | false |