openapi-generator/docs/generators/swift2-deprecated.md
Jim Schubert 644f720db8
[docs] Sorted doc outputs and clean up duplicated CliOptions (#5046)
* [config-help] Sort all outputs

* Remove old/stale generator docs (these have been renamed previously)

* Sort config doc outputs, making it easier to find relevant info

* Fixes cliOptions duplicates

Erlang client/proper improperly set the version option as packageName
(causing duplicate for packageName).

The java and swift option removals are because the options are added in
parent classes, resulting in duplication of the options.

* Add --github-nested-index for generating docs/generators/README.md

* 📝 Regenerate generator docs
2020-01-19 20:19:11 -05:00

3.9 KiB

title sidebar_label
Config Options for swift2-deprecated swift2-deprecated
Option Description Values Default
allowUnicodeIdentifiers boolean, toggles whether unicode identifiers are allowed in names or not, default is false false
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
podAuthors Authors used for Podspec null
podDescription Description used for Podspec null
podDocsetURL Docset URL used for Podspec null
podDocumentationURL Documentation URL used for Podspec null
podHomepage Homepage used for Podspec null
podLicense License used for Podspec null
podScreenshots Screenshots used for Podspec null
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
swiftUseApiNamespace Flag to make all the API classes inner-class of {{projectName}}API null
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

IMPORT MAPPING

Type/Alias Imports

INSTANTIATION TYPES

Type/Alias Instantiated By

LANGUAGE PRIMITIVES

  • AnyObject
  • Bool
  • Character
  • Double
  • Float
  • Int
  • Int32
  • Int64
  • String
  • Void

RESERVED WORDS

  • Any
  • AnyObject
  • Bool
  • COLUMN
  • Character
  • Class
  • Data
  • Double
  • ErrorResponse
  • FILE
  • FUNCTION
  • Float
  • Int
  • Int32
  • Int64
  • LINE
  • Protocol
  • Self
  • String
  • Type
  • Void
  • as
  • associativity
  • break
  • case
  • catch
  • class
  • continue
  • convenience
  • default
  • defer
  • deinit
  • didSet
  • do
  • dynamic
  • dynamicType
  • else
  • enum
  • extension
  • fallthrough
  • false
  • fileprivate
  • final
  • for
  • func
  • get
  • guard
  • if
  • import
  • in
  • indirect
  • infix
  • init
  • inout
  • internal
  • is
  • lazy
  • left
  • let
  • mutating
  • nil
  • none
  • nonmutating
  • open
  • operator
  • optional
  • override
  • postfix
  • precedence
  • prefix
  • private
  • protocol
  • public
  • repeat
  • required
  • rethrows
  • return
  • right
  • self
  • set
  • static
  • struct
  • subscript
  • super
  • switch
  • throw
  • throws
  • true
  • try
  • typealias
  • unowned
  • var
  • weak
  • where
  • while
  • willSet