2018-08-31 16:00:27 +02:00

875 B

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)

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