forked from loafle/openapi-generator-original
* Add ability control out put generation and support to generate a library * Roll back pom version - it seems to break the CI/CD checks * Roll back pom version - it seems to break the CI/CD checks * Match with genrators - no changes from new code * Fix inadvertent changes * No idea why the names of params have changed pet to body for instance * Match generated document * Clarify logic as per PR review * Remove the generatewwwroot option and use the buildtarget option * Remove ar artifactVerson (not used), update docs and TODO notes * Add ability control out put generation and support to generate a library * Roll back pom version - it seems to break the CI/CD checks * Roll back pom version - it seems to break the CI/CD checks * Fix inadvertent changes * Match generated document * Add ability control out put generation and support to generate a library * Roll back pom version - it seems to break the CI/CD checks * Roll back pom version - it seems to break the CI/CD checks * Fix inadvertent changes * Match generated document * Clarify logic as per PR review * Remove the generatewwwroot option and use the buildtarget option * Remove ar artifactVerson (not used), update docs and TODO notes
1.7 KiB
1.7 KiB
id: generator-opts-server-aspnetcore title: Config Options for aspnetcore sidebar_label: aspnetcore
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 | |
aspnetCoreVersion | ASP.NET Core version: 2.1 (default), 2.0 (deprecated) | 2.1 | |
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 | |
classModifier | Class modifiers such as abstract or partial | ||
operationModifier | Operation modifiers such as virtual or abstract. | virtual | |
generateBody | Generates method body. | true | |
buildTarget | Target the build for a program or library. | program |