generators/swift3-deprecated


id: generator-opts-client-swift3-deprecated title: Config Options for swift3-deprecatedsidebar_label: swift3-deprecated


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
projectNameProject name in Xcodenull
responseAsOptionally use libraries to manage response. Currently PromiseKit, RxSwift are available.null
unwrapRequiredTreat 'required' properties in response as non-optional (which would crash the app if api returns null as opposed to required option specified in json schemanull
objcCompatibleAdd additional properties and methods for Objective-C compatibility (default: false)null
podSourceSource information used for Podspecnull
podVersionVersion used for Podspecnull
podAuthorsAuthors used for Podspecnull
podSocialMediaURLSocial Media URL used for Podspecnull
podDocsetURLDocset URL used for Podspecnull
podLicenseLicense used for Podspecnull
podHomepageHomepage used for Podspecnull
podSummarySummary used for Podspecnull
podDescriptionDescription used for Podspecnull
podScreenshotsScreenshots used for Podspecnull
podDocumentationURLDocumentation URL used for Podspecnull
swiftUseApiNamespaceFlag to make all the API classes inner-class of {{projectName}}APInull
hideGenerationTimestampHides the generation timestamp when files are generated.true
lenientTypeCastAccept and cast values for simple types (string->bool, string->int, int->string)false