Skip to content

Latest commit

 

History

History
34 lines (22 loc) · 969 Bytes

aspnetcore.md

File metadata and controls

34 lines (22 loc) · 969 Bytes

CONFIG OPTIONS for aspnetcore

packageName
    C# package name (convention: Title.Case). (Default: Org.OpenAPITools)

packageVersion
    C# package version. (Default: 1.0.0)

packageGuid
    The GUID that will be associated with the C# project

sourceFolder
    source folder for generated code (Default: src)

aspnetCoreVersion
    ASP.NET Core version: 2.1 (default), 2.0 (deprecated) (Default: 2.1)

sortParamsByRequiredFlag
    Sort method arguments to place required parameters before optional parameters. (Default: true)

useDateTimeOffset
    Use DateTimeOffset to model date-time properties (Default: false)

useCollection
    Deserialize array types to Collection<T> instead of List<T>. (Default: false)

returnICollection
    Return ICollection<T> instead of the concrete type. (Default: false)

useSwashbuckle
    Uses the Swashbuckle.AspNetCore NuGet package for documentation. (Default: true)

Back to the generators list