openapi-generator/docs/generators/csharp-nancyfx.md
Jim Schubert 0e1ce6bb63
[docs] Custom template clarifications and other minor enhancements (#4167)
* [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
2019-10-16 18:04:44 -04:00

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