Option | Description | Values | Default
--- | --- | --- | ---
licenseUrl | The URL of the license |  | http://localhost
licenseName | The name of the license |  | NoLicense
packageCopyright | Specifies an AssemblyCopyright for the .NET Framework global assembly attributes stored in the AssemblyInfo file. |  | No Copyright
packageAuthors | Specifies Authors property in the .NET Core project file. |  | OpenAPI
packageTitle | Specifies an AssemblyTitle for the .NET Framework global assembly attributes stored in the AssemblyInfo file. |  | OpenAPI Library
packageName | C# package name (convention: Title.Case). |  | Org.OpenAPITools
packageVersion | C# package version. |  | 1.0.0
packageGuid | The GUID that will be associated with the C# project |  | null
sourceFolder | source folder for generated code |  | src
compatibilityVersion | ASP.Net Core CompatibilityVersion |  | Version_2_2
aspnetCoreVersion | ASP.NET Core version: 3.0 (preview4 only), 2.2, 2.1, 2.0 (deprecated) |  | 2.2
swashbuckleVersion | Swashbucke version: 3.0.0, 4.0.0 |  | 3.0.0
sortParamsByRequiredFlag | Sort method arguments to place required parameters before optional parameters. |  | 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
useSwashbuckle | Uses the Swashbuckle.AspNetCore NuGet package for documentation. |  | true
isLibrary | Is the build a library |  | false
useFrameworkReference | Use frameworkReference for ASP.NET Core 3.0+ and PackageReference ASP.NET Core 2.2 or earlier. |  | false
useNewtonsoft | Uses the Newtonsoft JSON library. |  | true
newtonsoftVersion | Version for Microsoft.AspNetCore.Mvc.NewtonsoftJson for ASP.NET Core 3.0+ |  | 3.0.0-preview5-19227-01
useDefaultRouting | Use default routing for the ASP.NET Core version. For 3.0 turn off default because it is not yet supported. |  | true
enumNameSuffix | Suffix that will be appended to all enum names. |  | Enum
enumValueSuffix | Suffix that will be appended to all enum values. |  | Enum
classModifier | Class Modifier can be empty, abstract |  |
operationModifier | Operation Modifier can be virtual, abstract or partial |  | virtual
buildTarget | Target to build an application or library |  | program
generateBody | Generates method body. |  | true
operationIsAsync | Set methods to async or sync (default). |  | false
operationResultTask | Set methods result to Task<>. |  | false
modelClassModifier | Model Class Modifier can be nothing or partial |  | partial

##
IMPORT MAPPING

Type/Alias | Imports
--- | ---

##
INSTANTIATION TYPES

Type/Alias | Instantiated By
--- | ---
array | List
list | List
map | Dictionary

##
LANGUAGE PRIMITIVES

- int?
- Dictionary
- string
- bool
- DateTimeOffset?
- String
- Guid
- System.IO.Stream
- bool?
- float
- long
- DateTime
- Int32
- float?
- DateTime?
- List
- Boolean
- long?
- double
- Guid?
- DateTimeOffset
- Double
- int
- byte[]
- Float
- Int64
- double?
- ICollection
- Collection
- Object
- decimal?
- decimal

##
RESERVED WORDS

- struct
- ushort
- localVarQueryParams
- protected
- readonly
- else
- lock
- localVarPathParams
- catch
- if
- case
- localVarHttpHeaderAccepts
- using
- localVarPostBody
- in
- byte
- double
- var
- is
- params
- enum
- explicit
- as
- object
- implicit
- internal
- localVarHttpHeaderAccept
- unsafe
- long
- out
- delegate
- default
- goto
- localVarHttpContentTypes
- localVarHttpContentType
- yield
- override
- event
- typeof
- break
- abstract
- uint
- throw
- char
- sbyte
- localVarFileParams
- return
- extern
- do
- float
- while
- operator
- ref
- continue
- checked
- dynamic
- Client
- new
- static
- void
- sizeof
- localVarResponse
- sealed
- finally
- this
- unchecked
- null
- localVarPath
- true
- fixed
- try
- decimal
- private
- virtual
- bool
- const
- string
- for
- interface
- switch
- foreach
- ulong
- public
- localVarStatusCode
- stackalloc
- parameter
- await
- client
- class
- localVarFormParams
- false
- volatile
- int
- async
- localVarHeaderParams
- namespace
- short
- base

Last updated on 1/9/2020