2019-01-18 09:39:33 +00:00
---
title: Config Options for swift2-deprecated
sidebar_label: swift2-deprecated
---
| Option | Description | Values | Default |
| ------ | ----------- | ------ | ------- |
|allowUnicodeIdentifiers|boolean, toggles whether unicode identifiers are allowed in names or not, default is false| |false|
2020-01-20 01:19:11 +00:00
|ensureUniqueParams|Whether to ensure parameter names are unique in an operation (rename parameters that are not).| |true|
|hideGenerationTimestamp|Hides the generation timestamp when files are generated.| |true|
2019-01-18 09:39:33 +00:00
|podAuthors|Authors used for Podspec| |null|
2020-01-20 01:19:11 +00:00
|podDescription|Description used for Podspec| |null|
2019-01-18 09:39:33 +00:00
|podDocsetURL|Docset URL used for Podspec| |null|
2020-01-20 01:19:11 +00:00
|podDocumentationURL|Documentation URL used for Podspec| |null|
2019-01-18 09:39:33 +00:00
|podHomepage|Homepage used for Podspec| |null|
2020-01-20 01:19:11 +00:00
|podLicense|License used for Podspec| |null|
2019-01-18 09:39:33 +00:00
|podScreenshots|Screenshots used for Podspec| |null|
2020-01-20 01:19:11 +00:00
|podSocialMediaURL|Social Media URL used for Podspec| |null|
|podSource|Source information used for Podspec| |null|
|podSummary|Summary used for Podspec| |null|
|podVersion|Version used for Podspec| |null|
|prependFormOrBodyParameters|Add form or body parameters to the beginning of the parameter list.| |false|
|projectName|Project name in Xcode| |null|
|responseAs|Optionally use libraries to manage response. Currently PromiseKit, RxSwift are available.| |null|
|sortModelPropertiesByRequiredFlag|Sort model properties to place required parameters before optional parameters.| |true|
|sortParamsByRequiredFlag|Sort method arguments to place required parameters before optional parameters.| |true|
2019-01-18 09:39:33 +00:00
|swiftUseApiNamespace|Flag to make all the API classes inner-class of {{projectName}}API| |null|
2020-01-20 01:19:11 +00:00
|unwrapRequired|Treat 'required' properties in response as non-optional (which would crash the app if api returns null as opposed to required option specified in json schema| |null|
2020-01-09 02:54:05 +00:00
## IMPORT MAPPING
| Type/Alias | Imports |
| ---------- | ------- |
## INSTANTIATION TYPES
| Type/Alias | Instantiated By |
| ---------- | --------------- |
## LANGUAGE PRIMITIVES
2020-01-20 01:19:11 +00:00
< ul data-columns = "2" style = "list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto" > < li > AnyObject< / li >
2020-01-09 02:54:05 +00:00
< li > Bool< / li >
2020-01-20 01:19:11 +00:00
< li > Character< / li >
< li > Double< / li >
< li > Float< / li >
< li > Int< / li >
2020-01-09 02:54:05 +00:00
< li > Int32< / li >
2020-01-20 01:19:11 +00:00
< li > Int64< / li >
2020-01-09 02:54:05 +00:00
< li > String< / li >
< li > Void< / li >
< / ul >
## RESERVED WORDS
2020-01-20 01:19:11 +00:00
< ul data-columns = "2" style = "list-style-type: disc;-webkit-columns:2;-moz-columns:2;columns:2;-moz-column-fill:auto;column-fill:auto" > < li > Any< / li >
< li > AnyObject< / li >
2020-01-09 02:54:05 +00:00
< li > Bool< / li >
2020-01-20 01:19:11 +00:00
< li > COLUMN< / li >
< li > Character< / li >
< li > Class< / li >
< li > Data< / li >
< li > Double< / li >
< li > ErrorResponse< / li >
< li > FILE< / li >
2020-01-09 02:54:05 +00:00
< li > FUNCTION< / li >
< li > Float< / li >
2020-01-20 01:19:11 +00:00
< li > Int< / li >
2020-01-09 02:54:05 +00:00
< li > Int32< / li >
2020-01-20 01:19:11 +00:00
< li > Int64< / li >
< li > LINE< / li >
2020-01-09 02:54:05 +00:00
< li > Protocol< / li >
2020-01-20 01:19:11 +00:00
< li > Self< / li >
< li > String< / li >
2020-01-09 02:54:05 +00:00
< li > Type< / li >
2020-01-20 01:19:11 +00:00
< li > Void< / li >
< li > as< / li >
< li > associativity< / li >
< li > break< / li >
< li > case< / li >
< li > catch< / li >
< li > class< / li >
< li > continue< / li >
< li > convenience< / li >
< li > default< / li >
< li > defer< / li >
2020-01-09 02:54:05 +00:00
< li > deinit< / li >
2020-01-20 01:19:11 +00:00
< li > didSet< / li >
2020-01-09 02:54:05 +00:00
< li > do< / li >
2020-01-20 01:19:11 +00:00
< li > dynamic< / li >
2020-01-09 02:54:05 +00:00
< li > dynamicType< / li >
2020-01-20 01:19:11 +00:00
< li > else< / li >
< li > enum< / li >
< li > extension< / li >
< li > fallthrough< / li >
< li > false< / li >
< li > fileprivate< / li >
< li > final< / li >
< li > for< / li >
< li > func< / li >
< li > get< / li >
< li > guard< / li >
< li > if< / li >
< li > import< / li >
< li > in< / li >
< li > indirect< / li >
< li > infix< / li >
< li > init< / li >
< li > inout< / li >
< li > internal< / li >
< li > is< / li >
< li > lazy< / li >
< li > left< / li >
< li > let< / li >
< li > mutating< / li >
< li > nil< / li >
< li > none< / li >
< li > nonmutating< / li >
< li > open< / li >
2020-01-09 02:54:05 +00:00
< li > operator< / li >
2020-01-20 01:19:11 +00:00
< li > optional< / li >
< li > override< / li >
< li > postfix< / li >
2020-01-09 02:54:05 +00:00
< li > precedence< / li >
2020-01-20 01:19:11 +00:00
< li > prefix< / li >
< li > private< / li >
2020-01-09 02:54:05 +00:00
< li > protocol< / li >
2020-01-20 01:19:11 +00:00
< li > public< / li >
< li > repeat< / li >
< li > required< / li >
< li > rethrows< / li >
< li > return< / li >
< li > right< / li >
< li > self< / li >
< li > set< / li >
2020-01-09 02:54:05 +00:00
< li > static< / li >
2020-01-20 01:19:11 +00:00
< li > struct< / li >
2020-01-09 02:54:05 +00:00
< li > subscript< / li >
2020-01-20 01:19:11 +00:00
< li > super< / li >
< li > switch< / li >
< li > throw< / li >
2020-01-09 02:54:05 +00:00
< li > throws< / li >
< li > true< / li >
< li > try< / li >
2020-01-20 01:19:11 +00:00
< li > typealias< / li >
2020-01-09 02:54:05 +00:00
< li > unowned< / li >
2020-01-20 01:19:11 +00:00
< li > var< / li >
< li > weak< / li >
< li > where< / li >
< li > while< / li >
< li > willSet< / li >
2020-01-09 02:54:05 +00:00
< / ul >