mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-06 10:35:25 +00:00
e8a83dfe1f
* Beta server stub generator for F#/Giraffe (#2705) * first commit for F#/Giraffe use CLI generator work on handlers add binding to url params add parameter declaration to handler & fix array types order models by dependency and add tests add oauth handlers add service generation add service implementation return json for map types and add all return types to service implementation pare down record types for readability move implementations to impl folder fix additional handler invocation remove logging remove open api type provider package reference add sane defaults for OAuth add readme and reorganize files for easier ignore fix oauth checks and move login to default template typedef operation body params as model add API test templates fix test templates set project & other folders when packageName is set add ignore to test pipes add ignore for oauth to hide compile warnings escape model types for generic dictionaries remove Boolean object from primitives fix handler and param templates for multiple path params remove "Model" from model module names and fix import mapping for dictionary add package name to model imports change model templates to use imports move login to CustomHandlers raise exception where oauth not properly configured allow webhost configuration from CustomHandlers remove explicit support for nullable types and render option in template instead move Cookie options to CustomHandlers add header params integrate api key provider add nullable to datetime types fix test generation and pretty up model folder add context path to handler test template dont copy spec file remove superseded copyright notices remove superseded copyright notices * remove carriage return in fsharp template * remove superseded sample output directory * fix bash build script * update generated sample * update documentation * add new file * fix compile issues
1.5 KiB
1.5 KiB
id: generator-opts-server-fsharp-giraffe title: Config Options for fsharp-giraffe sidebar_label: fsharp-giraffe
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 | F# module name (convention: Title.Case). | OpenAPI | |
packageVersion | F# package version. | 1.0.0 | |
packageGuid | The GUID that will be associated with the C# project | null | |
sourceFolder | source folder for generated code | OpenAPI/src | |
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. | false | |
generateBody | Generates method body. | true | |
buildTarget | Target the build for a program or library. | program |