generators/dart


id: generator-opts-client-dart title: Config Options for dartsidebar_label: dart


OptionDescriptionValuesDefault
sortParamsByRequiredFlagSort method arguments to place required parameters before optional parameters.true
ensureUniqueParamsWhether to ensure parameter names are unique in an operation (rename parameters that are not).true
allowUnicodeIdentifiersboolean, toggles whether unicode identifiers are allowed in names or not, default is falsefalse
prependFormOrBodyParametersAdd form or body parameters to the beginning of the parameter list.false
browserClientIs the client browser based (for Dart 1.x only)null
pubNameName in generated pubspecnull
pubVersionVersion in generated pubspecnull
pubDescriptionDescription in generated pubspecnull
useEnumExtensionAllow the 'x-enum-values' extension for enumsnull
sourceFolderSource folder for generated codenull
supportDart2Support Dart 2.x (Dart 1.x support has been deprecated)true