openapi-generator/docs/generators/dart.md
William Cheng 1b2f3fbfb6
Fix alias to map response (#1067)
* fix response reference to map

* update samples

* add null check for openapi
2018-09-20 19:29:33 +08:00

955 B

CONFIG OPTIONS for dart

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

ensureUniqueParams
    Whether to ensure parameter names are unique in an operation (rename parameters that are not). (Default: true)

allowUnicodeIdentifiers
    boolean, toggles whether unicode identifiers are allowed in names or not, default is false (Default: false)

prependFormOrBodyParameters
    Add form or body parameters to the beginning of the parameter list. (Default: false)

browserClient
    Is the client browser based

pubName
    Name in generated pubspec

pubVersion
    Version in generated pubspec

pubDescription
    Description in generated pubspec

useEnumExtension
    Allow the 'x-enum-values' extension for enums

sourceFolder
    source folder for generated code

supportDart2
    support dart2 (Default: true)

Back to the generators list