From 02279e913c5a556be95ec13c8a8de3d568d2992a Mon Sep 17 00:00:00 2001
From: William Cheng <wing328hk@gmail.com>
Date: Sat, 16 May 2020 00:20:51 +0800
Subject: [PATCH 1/2] decomission swift, swift3

---
 bin/swift-petstore-all.sh                     |    5 -
 bin/swift-petstore-promisekit.json            |    7 -
 bin/swift-petstore-promisekit.sh              |   32 -
 bin/swift-petstore-rxswift.json               |    7 -
 bin/swift-petstore-rxswift.sh                 |   32 -
 bin/swift-petstore.json                       |    6 -
 bin/swift-petstore.sh                         |   32 -
 bin/swift3-petstore-all.sh                    |   16 -
 bin/swift3-petstore-objcCompatible.json       |    7 -
 bin/swift3-petstore-objcCompatible.sh         |   32 -
 bin/swift3-petstore-promisekit.json           |    7 -
 bin/swift3-petstore-promisekit.sh             |   32 -
 bin/swift3-petstore-rxswift.json              |    7 -
 bin/swift3-petstore-rxswift.sh                |   32 -
 bin/swift3-petstore-unwraprequired.json       |    7 -
 bin/swift3-petstore-unwraprequired.sh         |   32 -
 bin/swift3-petstore.json                      |    6 -
 bin/swift3-petstore.sh                        |   32 -
 .../codegen/languages/Swift3Codegen.java      |  745 -------
 .../codegen/languages/SwiftClientCodegen.java |  657 ------
 .../org.openapitools.codegen.CodegenConfig    |    4 +-
 .../main/resources/swift/APIHelper.mustache   |   50 -
 .../src/main/resources/swift/APIs.mustache    |   77 -
 .../swift/AlamofireImplementations.mustache   |  207 --
 .../main/resources/swift/Cartfile.mustache    |    3 -
 .../main/resources/swift/Extensions.mustache  |  192 --
 .../src/main/resources/swift/Models.mustache  |  182 --
 .../src/main/resources/swift/Podspec.mustache |   37 -
 .../src/main/resources/swift/_param.mustache  |    1 -
 .../src/main/resources/swift/api.mustache     |  148 --
 .../main/resources/swift/git_push.sh.mustache |   58 -
 .../main/resources/swift/gitignore.mustache   |   63 -
 .../src/main/resources/swift/model.mustache   |   56 -
 .../main/resources/swift3/APIHelper.mustache  |   75 -
 .../src/main/resources/swift3/APIs.mustache   |   77 -
 .../swift3/AlamofireImplementations.mustache  |  374 ----
 .../main/resources/swift3/Cartfile.mustache   |    3 -
 .../resources/swift3/Configuration.mustache   |   15 -
 .../main/resources/swift3/Extensions.mustache |  200 --
 .../src/main/resources/swift3/Models.mustache |  402 ----
 .../main/resources/swift3/Podspec.mustache    |   38 -
 .../src/main/resources/swift3/_param.mustache |    1 -
 .../src/main/resources/swift3/api.mustache    |  177 --
 .../resources/swift3/git_push.sh.mustache     |   58 -
 .../main/resources/swift3/gitignore.mustache  |   63 -
 .../src/main/resources/swift3/model.mustache  |  105 -
 .../options/Swift3OptionsProvider.java        |   90 -
 .../codegen/swift3/Swift3CodegenTest.java     |  144 --
 .../codegen/swift3/Swift3ModelTest.java       |  133 --
 .../codegen/swift3/Swift3OptionsTest.java     |   51 -
 samples/client/petstore/swift/.gitignore      |   63 -
 .../petstore/swift/.openapi-generator-ignore  |   23 -
 .../client/petstore/swift/default/.gitignore  |   63 -
 .../swift/default/.openapi-generator-ignore   |   23 -
 .../swift/default/.openapi-generator/VERSION  |    1 -
 .../client/petstore/swift/default/Cartfile    |    1 -
 .../swift/default/PetstoreClient.podspec      |   14 -
 .../Classes/OpenAPIs/APIHelper.swift          |   50 -
 .../Classes/OpenAPIs/APIs.swift               |   76 -
 .../Classes/OpenAPIs/APIs/PetAPI.swift        |  483 ----
 .../Classes/OpenAPIs/APIs/StoreAPI.swift      |  206 --
 .../Classes/OpenAPIs/APIs/UserAPI.swift       |  312 ---
 .../OpenAPIs/AlamofireImplementations.swift   |  207 --
 .../Classes/OpenAPIs/Extensions.swift         |  177 --
 .../Classes/OpenAPIs/Models.swift             |  234 --
 .../Classes/OpenAPIs/Models/Category.swift    |   24 -
 .../Classes/OpenAPIs/Models/Order.swift       |   38 -
 .../Classes/OpenAPIs/Models/Pet.swift         |   38 -
 .../Classes/OpenAPIs/Models/Tag.swift         |   24 -
 .../Classes/OpenAPIs/Models/User.swift        |   37 -
 .../swift/default/SwaggerClientTests/Podfile  |   11 -
 .../SwaggerClient.xcodeproj/project.pbxproj   |  529 -----
 .../xcschemes/SwaggerClient.xcscheme          |  102 -
 .../contents.xcworkspacedata                  |   10 -
 .../SwaggerClient/AppDelegate.swift           |   43 -
 .../AppIcon.appiconset/Contents.json          |   73 -
 .../Base.lproj/LaunchScreen.storyboard        |   27 -
 .../SwaggerClient/Base.lproj/Main.storyboard  |   25 -
 .../SwaggerClient/Info.plist                  |   59 -
 .../SwaggerClient/ViewController.swift        |   23 -
 .../SwaggerClientTests/ISOFullDateTests.swift |   83 -
 .../SwaggerClientTests/Info.plist             |   36 -
 .../SwaggerClientTests/PetAPITests.swift      |   86 -
 .../SwaggerClientTests/StoreAPITests.swift    |  122 -
 .../SwaggerClientTests/UserAPITests.swift     |  119 -
 .../swift/default/SwaggerClientTests/pom.xml  |   43 -
 .../SwaggerClientTests/run_xcodebuild.sh      |    5 -
 .../client/petstore/swift/default/git_push.sh |   52 -
 .../petstore/swift/promisekit/.gitignore      |   63 -
 .../promisekit/.openapi-generator-ignore      |   23 -
 .../promisekit/.openapi-generator/VERSION     |    1 -
 .../client/petstore/swift/promisekit/Cartfile |    2 -
 .../swift/promisekit/PetstoreClient.podspec   |   15 -
 .../Classes/OpenAPIs/APIHelper.swift          |   50 -
 .../Classes/OpenAPIs/APIs.swift               |   76 -
 .../Classes/OpenAPIs/APIs/PetAPI.swift        |  633 ------
 .../Classes/OpenAPIs/APIs/StoreAPI.swift      |  278 ---
 .../Classes/OpenAPIs/APIs/UserAPI.swift       |  458 ----
 .../OpenAPIs/AlamofireImplementations.swift   |  207 --
 .../Classes/OpenAPIs/Extensions.swift         |  192 --
 .../Classes/OpenAPIs/Models.swift             |  234 --
 .../Classes/OpenAPIs/Models/Category.swift    |   24 -
 .../Classes/OpenAPIs/Models/Order.swift       |   38 -
 .../Classes/OpenAPIs/Models/Pet.swift         |   38 -
 .../Classes/OpenAPIs/Models/Tag.swift         |   24 -
 .../Classes/OpenAPIs/Models/User.swift        |   37 -
 .../promisekit/SwaggerClientTests/Podfile     |   11 -
 .../Pods/Alamofire/README.md                  | 1297 -----------
 .../Pods/Alamofire/Source/Alamofire.swift     |  361 ---
 .../Pods/Alamofire/Source/Download.swift      |  243 --
 .../Pods/Alamofire/Source/Manager.swift       |  765 -------
 .../Alamofire/Source/MultipartFormData.swift  |  652 ------
 .../Source/NetworkReachabilityManager.swift   |  242 --
 .../Pods/Alamofire/Source/Notifications.swift |   47 -
 .../Alamofire/Source/ParameterEncoding.swift  |  259 ---
 .../Pods/Alamofire/Source/Request.swift       |  556 -----
 .../Pods/Alamofire/Source/Response.swift      |   96 -
 .../Source/ResponseSerialization.swift        |  369 ----
 .../Pods/Alamofire/Source/Result.swift        |  103 -
 .../Alamofire/Source/ServerTrustPolicy.swift  |  302 ---
 .../Pods/Alamofire/Source/Stream.swift        |  181 --
 .../Pods/Alamofire/Source/Timeline.swift      |  137 --
 .../Pods/Alamofire/Source/Upload.swift        |  370 ----
 .../Pods/Alamofire/Source/Validation.swift    |  211 --
 .../PetstoreClient.podspec.json               |   25 -
 .../SwaggerClientTests/Pods/Manifest.lock     |   41 -
 .../Pods/Pods.xcodeproj/project.pbxproj       | 1662 --------------
 .../Alamofire/Alamofire-umbrella.h            |    8 -
 .../Target Support Files/Alamofire/Info.plist |   26 -
 .../OMGHTTPURLRQ/OMGHTTPURLRQ-umbrella.h      |   11 -
 .../PetstoreClient/PetstoreClient-umbrella.h  |    8 -
 ...ds-SwaggerClient-acknowledgements.markdown |   11 -
 .../Pods-SwaggerClient-acknowledgements.plist |   49 -
 .../Pods-SwaggerClient-resources.sh           |   96 -
 .../Pods-SwaggerClient-umbrella.h             |    8 -
 .../Pods-SwaggerClient.debug.xcconfig         |   12 -
 .../Pods-SwaggerClient.release.xcconfig       |   12 -
 .../Pods-SwaggerClientTests-resources.sh      |   96 -
 .../Pods-SwaggerClientTests-umbrella.h        |    8 -
 .../Pods-SwaggerClientTests.debug.xcconfig    |    8 -
 .../Pods-SwaggerClientTests.release.xcconfig  |    8 -
 .../SwaggerClient.xcodeproj/project.pbxproj   |  550 -----
 .../xcschemes/SwaggerClient.xcscheme          |  102 -
 .../contents.xcworkspacedata                  |   10 -
 .../SwaggerClient/AppDelegate.swift           |   43 -
 .../AppIcon.appiconset/Contents.json          |   73 -
 .../Base.lproj/LaunchScreen.storyboard        |   27 -
 .../SwaggerClient/Base.lproj/Main.storyboard  |   25 -
 .../SwaggerClient/Info.plist                  |   59 -
 .../SwaggerClient/ViewController.swift        |   23 -
 .../SwaggerClientTests/Info.plist             |   36 -
 .../SwaggerClientTests/PetAPITests.swift      |   69 -
 .../SwaggerClientTests/StoreAPITests.swift    |   88 -
 .../SwaggerClientTests/UserAPITests.swift     |   77 -
 .../promisekit/SwaggerClientTests/pom.xml     |   43 -
 .../SwaggerClientTests/run_xcodebuild.sh      |    5 -
 .../petstore/swift/promisekit/git_push.sh     |   52 -
 .../client/petstore/swift/rxswift/.gitignore  |   63 -
 .../swift/rxswift/.openapi-generator-ignore   |   23 -
 .../swift/rxswift/.openapi-generator/VERSION  |    1 -
 .../client/petstore/swift/rxswift/Cartfile    |    2 -
 .../swift/rxswift/PetstoreClient.podspec      |   15 -
 .../Classes/OpenAPIs/APIHelper.swift          |   50 -
 .../Classes/OpenAPIs/APIs.swift               |   76 -
 .../Classes/OpenAPIs/APIs/PetAPI.swift        |  649 ------
 .../Classes/OpenAPIs/APIs/StoreAPI.swift      |  286 ---
 .../Classes/OpenAPIs/APIs/UserAPI.swift       |  474 ----
 .../OpenAPIs/AlamofireImplementations.swift   |  207 --
 .../Classes/OpenAPIs/Extensions.swift         |  177 --
 .../Classes/OpenAPIs/Models.swift             |  234 --
 .../Classes/OpenAPIs/Models/Category.swift    |   24 -
 .../Classes/OpenAPIs/Models/Order.swift       |   38 -
 .../Classes/OpenAPIs/Models/Pet.swift         |   38 -
 .../Classes/OpenAPIs/Models/Tag.swift         |   24 -
 .../Classes/OpenAPIs/Models/User.swift        |   37 -
 .../swift/rxswift/SwaggerClientTests/Podfile  |   10 -
 .../SwaggerClient.xcodeproj/project.pbxproj   |  649 ------
 .../contents.xcworkspacedata                  |    7 -
 .../xcschemes/SwaggerClient.xcscheme          |  101 -
 .../contents.xcworkspacedata                  |   10 -
 .../SwaggerClient/AppDelegate.swift           |   43 -
 .../AppIcon.appiconset/Contents.json          |   38 -
 .../Base.lproj/LaunchScreen.storyboard        |   27 -
 .../SwaggerClient/Base.lproj/Main.storyboard  |   25 -
 .../SwaggerClient/Info.plist                  |   58 -
 .../SwaggerClient/ViewController.swift        |   23 -
 .../SwaggerClientTests/Info.plist             |   35 -
 .../SwaggerClientTests/PetAPITests.swift      |   78 -
 .../SwaggerClientTests/StoreAPITests.swift    |   97 -
 .../SwaggerClientTests/UserAPITests.swift     |  133 --
 .../swift/rxswift/SwaggerClientTests/pom.xml  |   43 -
 .../SwaggerClientTests/run_xcodebuild.sh      |    5 -
 .../client/petstore/swift/rxswift/git_push.sh |   52 -
 samples/client/petstore/swift3/.gitignore     |   63 -
 .../petstore/swift3/.openapi-generator-ignore |   23 -
 .../client/petstore/swift3/default/.gitignore |   63 -
 .../swift3/default/.openapi-generator-ignore  |   23 -
 .../swift3/default/.openapi-generator/VERSION |    1 -
 .../client/petstore/swift3/default/Cartfile   |    1 -
 .../swift3/default/PetstoreClient.podspec     |   14 -
 .../Classes/OpenAPIs/APIHelper.swift          |   75 -
 .../Classes/OpenAPIs/APIs.swift               |   77 -
 .../OpenAPIs/APIs/AnotherFakeAPI.swift        |   44 -
 .../Classes/OpenAPIs/APIs/FakeAPI.swift       |  405 ----
 .../APIs/FakeClassnameTags123API.swift        |   47 -
 .../Classes/OpenAPIs/APIs/PetAPI.swift        |  333 ---
 .../Classes/OpenAPIs/APIs/StoreAPI.swift      |  143 --
 .../Classes/OpenAPIs/APIs/UserAPI.swift       |  272 ---
 .../OpenAPIs/AlamofireImplementations.swift   |  374 ----
 .../Classes/OpenAPIs/Configuration.swift      |   15 -
 .../Classes/OpenAPIs/Extensions.swift         |  187 --
 .../Classes/OpenAPIs/Models.swift             | 1292 -----------
 .../Models/AdditionalPropertiesClass.swift    |   28 -
 .../Classes/OpenAPIs/Models/Animal.swift      |   28 -
 .../Classes/OpenAPIs/Models/AnimalFarm.swift  |   10 -
 .../Classes/OpenAPIs/Models/ApiResponse.swift |   30 -
 .../Models/ArrayOfArrayOfNumberOnly.swift     |   26 -
 .../OpenAPIs/Models/ArrayOfNumberOnly.swift   |   26 -
 .../Classes/OpenAPIs/Models/ArrayTest.swift   |   30 -
 .../OpenAPIs/Models/Capitalization.swift      |   37 -
 .../Classes/OpenAPIs/Models/Cat.swift         |   26 -
 .../Classes/OpenAPIs/Models/Category.swift    |   28 -
 .../Classes/OpenAPIs/Models/ClassModel.swift  |   27 -
 .../Classes/OpenAPIs/Models/Client.swift      |   26 -
 .../Classes/OpenAPIs/Models/Dog.swift         |   26 -
 .../Classes/OpenAPIs/Models/EnumArrays.swift  |   36 -
 .../Classes/OpenAPIs/Models/EnumClass.swift   |   17 -
 .../Classes/OpenAPIs/Models/EnumTest.swift    |   45 -
 .../Classes/OpenAPIs/Models/FormatTest.swift  |   50 -
 .../OpenAPIs/Models/HasOnlyReadOnly.swift     |   28 -
 .../Classes/OpenAPIs/Models/List.swift        |   26 -
 .../Classes/OpenAPIs/Models/MapTest.swift     |   31 -
 ...opertiesAndAdditionalPropertiesClass.swift |   30 -
 .../OpenAPIs/Models/Model200Response.swift    |   29 -
 .../Classes/OpenAPIs/Models/Name.swift        |   33 -
 .../Classes/OpenAPIs/Models/NumberOnly.swift  |   26 -
 .../Classes/OpenAPIs/Models/Order.swift       |   42 -
 .../OpenAPIs/Models/OuterComposite.swift      |   30 -
 .../Classes/OpenAPIs/Models/OuterEnum.swift   |   17 -
 .../Classes/OpenAPIs/Models/Pet.swift         |   42 -
 .../OpenAPIs/Models/ReadOnlyFirst.swift       |   28 -
 .../Classes/OpenAPIs/Models/Return.swift      |   27 -
 .../OpenAPIs/Models/SpecialModelName.swift    |   26 -
 .../Classes/OpenAPIs/Models/Tag.swift         |   28 -
 .../Classes/OpenAPIs/Models/User.swift        |   41 -
 .../swift3/default/SwaggerClientTests/Podfile |   18 -
 .../default/SwaggerClientTests/Podfile.lock   |   23 -
 .../SwaggerClientTests/Pods/Alamofire/LICENSE |   19 -
 .../Pods/Alamofire/README.md                  | 1857 ----------------
 .../Pods/Alamofire/Source/AFError.swift       |  460 ----
 .../Pods/Alamofire/Source/Alamofire.swift     |  465 ----
 .../Source/DispatchQueue+Alamofire.swift      |   37 -
 .../Alamofire/Source/MultipartFormData.swift  |  580 -----
 .../Source/NetworkReachabilityManager.swift   |  233 --
 .../Pods/Alamofire/Source/Notifications.swift |   52 -
 .../Alamofire/Source/ParameterEncoding.swift  |  436 ----
 .../Pods/Alamofire/Source/Request.swift       |  647 ------
 .../Pods/Alamofire/Source/Response.swift      |  465 ----
 .../Source/ResponseSerialization.swift        |  715 ------
 .../Pods/Alamofire/Source/Result.swift        |  300 ---
 .../Alamofire/Source/ServerTrustPolicy.swift  |  307 ---
 .../Alamofire/Source/SessionDelegate.swift    |  719 ------
 .../Alamofire/Source/SessionManager.swift     |  899 --------
 .../Pods/Alamofire/Source/TaskDelegate.swift  |  453 ----
 .../Pods/Alamofire/Source/Timeline.swift      |  136 --
 .../Pods/Alamofire/Source/Validation.swift    |  309 ---
 .../PetstoreClient.podspec.json               |   23 -
 .../SwaggerClientTests/Pods/Manifest.lock     |   23 -
 .../Pods/Pods.xcodeproj/project.pbxproj       | 1203 ----------
 .../Alamofire/Alamofire.xcconfig              |    9 -
 .../PetstoreClient/PetstoreClient.xcconfig    |   10 -
 ...ds-SwaggerClient-acknowledgements.markdown |   26 -
 .../Pods-SwaggerClient-acknowledgements.plist |   58 -
 .../Pods-SwaggerClient-frameworks.sh          |  155 --
 .../Pods-SwaggerClient.debug.xcconfig         |   11 -
 .../Pods-SwaggerClient.release.xcconfig       |   11 -
 .../Pods-SwaggerClientTests.debug.xcconfig    |    8 -
 .../Pods-SwaggerClientTests.release.xcconfig  |    8 -
 .../SwaggerClient.xcodeproj/project.pbxproj   |  615 ------
 .../xcschemes/SwaggerClient.xcscheme          |  102 -
 .../contents.xcworkspacedata                  |   10 -
 .../SwaggerClient/AppDelegate.swift           |   46 -
 .../AppIcon.appiconset/Contents.json          |   93 -
 .../Base.lproj/LaunchScreen.storyboard        |   27 -
 .../SwaggerClient/Base.lproj/Main.storyboard  |   25 -
 .../SwaggerClient/Info.plist                  |   59 -
 .../SwaggerClient/ViewController.swift        |   25 -
 .../SwaggerClientTests/Info.plist             |   36 -
 .../SwaggerClientTests/PetAPITests.swift      |   86 -
 .../SwaggerClientTests/StoreAPITests.swift    |  122 -
 .../SwaggerClientTests/UserAPITests.swift     |  164 --
 .../swift3/default/SwaggerClientTests/pom.xml |   43 -
 .../SwaggerClientTests/run_xcodebuild.sh      |    3 -
 .../petstore/swift3/default/git_push.sh       |   52 -
 .../petstore/swift3/objcCompatible/.gitignore |   63 -
 .../objcCompatible/.openapi-generator-ignore  |   23 -
 .../objcCompatible/.openapi-generator/VERSION |    1 -
 .../petstore/swift3/objcCompatible/Cartfile   |    1 -
 .../objcCompatible/PetstoreClient.podspec     |   14 -
 .../Classes/OpenAPIs/APIHelper.swift          |   75 -
 .../Classes/OpenAPIs/APIs.swift               |   77 -
 .../OpenAPIs/APIs/AnotherFakeAPI.swift        |   44 -
 .../Classes/OpenAPIs/APIs/FakeAPI.swift       |  405 ----
 .../APIs/FakeClassnameTags123API.swift        |   47 -
 .../Classes/OpenAPIs/APIs/PetAPI.swift        |  333 ---
 .../Classes/OpenAPIs/APIs/StoreAPI.swift      |  143 --
 .../Classes/OpenAPIs/APIs/UserAPI.swift       |  272 ---
 .../OpenAPIs/AlamofireImplementations.swift   |  374 ----
 .../Classes/OpenAPIs/Configuration.swift      |   15 -
 .../Classes/OpenAPIs/Extensions.swift         |  187 --
 .../Classes/OpenAPIs/Models.swift             | 1292 -----------
 .../Models/AdditionalPropertiesClass.swift    |   28 -
 .../Classes/OpenAPIs/Models/Animal.swift      |   28 -
 .../Classes/OpenAPIs/Models/AnimalFarm.swift  |   10 -
 .../Classes/OpenAPIs/Models/ApiResponse.swift |   35 -
 .../Models/ArrayOfArrayOfNumberOnly.swift     |   26 -
 .../OpenAPIs/Models/ArrayOfNumberOnly.swift   |   26 -
 .../Classes/OpenAPIs/Models/ArrayTest.swift   |   30 -
 .../OpenAPIs/Models/Capitalization.swift      |   37 -
 .../Classes/OpenAPIs/Models/Cat.swift         |   31 -
 .../Classes/OpenAPIs/Models/Category.swift    |   33 -
 .../Classes/OpenAPIs/Models/ClassModel.swift  |   27 -
 .../Classes/OpenAPIs/Models/Client.swift      |   26 -
 .../Classes/OpenAPIs/Models/Dog.swift         |   26 -
 .../Classes/OpenAPIs/Models/EnumArrays.swift  |   36 -
 .../Classes/OpenAPIs/Models/EnumClass.swift   |   17 -
 .../Classes/OpenAPIs/Models/EnumTest.swift    |   45 -
 .../Classes/OpenAPIs/Models/FormatTest.swift  |   80 -
 .../OpenAPIs/Models/HasOnlyReadOnly.swift     |   28 -
 .../Classes/OpenAPIs/Models/List.swift        |   26 -
 .../Classes/OpenAPIs/Models/MapTest.swift     |   31 -
 ...opertiesAndAdditionalPropertiesClass.swift |   30 -
 .../OpenAPIs/Models/Model200Response.swift    |   34 -
 .../Classes/OpenAPIs/Models/Name.swift        |   48 -
 .../Classes/OpenAPIs/Models/NumberOnly.swift  |   31 -
 .../Classes/OpenAPIs/Models/Order.swift       |   62 -
 .../OpenAPIs/Models/OuterComposite.swift      |   40 -
 .../Classes/OpenAPIs/Models/OuterEnum.swift   |   17 -
 .../Classes/OpenAPIs/Models/Pet.swift         |   47 -
 .../OpenAPIs/Models/ReadOnlyFirst.swift       |   28 -
 .../Classes/OpenAPIs/Models/Return.swift      |   32 -
 .../OpenAPIs/Models/SpecialModelName.swift    |   31 -
 .../Classes/OpenAPIs/Models/Tag.swift         |   33 -
 .../Classes/OpenAPIs/Models/User.swift        |   51 -
 .../swift3/objcCompatible/git_push.sh         |   52 -
 .../petstore/swift3/promisekit/.gitignore     |   63 -
 .../promisekit/.openapi-generator-ignore      |   23 -
 .../promisekit/.openapi-generator/VERSION     |    1 -
 .../petstore/swift3/promisekit/Cartfile       |    2 -
 .../swift3/promisekit/PetstoreClient.podspec  |   15 -
 .../Classes/OpenAPIs/APIHelper.swift          |   75 -
 .../Classes/OpenAPIs/APIs.swift               |   77 -
 .../OpenAPIs/APIs/AnotherFakeAPI.swift        |   61 -
 .../Classes/OpenAPIs/APIs/FakeAPI.swift       |  551 -----
 .../APIs/FakeClassnameTags123API.swift        |   64 -
 .../Classes/OpenAPIs/APIs/PetAPI.swift        |  467 ----
 .../Classes/OpenAPIs/APIs/StoreAPI.swift      |  207 --
 .../Classes/OpenAPIs/APIs/UserAPI.swift       |  402 ----
 .../OpenAPIs/AlamofireImplementations.swift   |  374 ----
 .../Classes/OpenAPIs/Configuration.swift      |   15 -
 .../Classes/OpenAPIs/Extensions.swift         |  200 --
 .../Classes/OpenAPIs/Models.swift             | 1292 -----------
 .../Models/AdditionalPropertiesClass.swift    |   28 -
 .../Classes/OpenAPIs/Models/Animal.swift      |   28 -
 .../Classes/OpenAPIs/Models/AnimalFarm.swift  |   11 -
 .../Classes/OpenAPIs/Models/ApiResponse.swift |   30 -
 .../Models/ArrayOfArrayOfNumberOnly.swift     |   26 -
 .../OpenAPIs/Models/ArrayOfNumberOnly.swift   |   26 -
 .../Classes/OpenAPIs/Models/ArrayTest.swift   |   30 -
 .../OpenAPIs/Models/Capitalization.swift      |   37 -
 .../Classes/OpenAPIs/Models/Cat.swift         |   26 -
 .../Classes/OpenAPIs/Models/Category.swift    |   28 -
 .../Classes/OpenAPIs/Models/ClassModel.swift  |   27 -
 .../Classes/OpenAPIs/Models/Client.swift      |   26 -
 .../Classes/OpenAPIs/Models/Dog.swift         |   26 -
 .../Classes/OpenAPIs/Models/EnumArrays.swift  |   36 -
 .../Classes/OpenAPIs/Models/EnumClass.swift   |   17 -
 .../Classes/OpenAPIs/Models/EnumTest.swift    |   45 -
 .../Classes/OpenAPIs/Models/FormatTest.swift  |   50 -
 .../OpenAPIs/Models/HasOnlyReadOnly.swift     |   28 -
 .../Classes/OpenAPIs/Models/List.swift        |   26 -
 .../Classes/OpenAPIs/Models/MapTest.swift     |   31 -
 ...opertiesAndAdditionalPropertiesClass.swift |   30 -
 .../OpenAPIs/Models/Model200Response.swift    |   29 -
 .../Classes/OpenAPIs/Models/Name.swift        |   33 -
 .../Classes/OpenAPIs/Models/NumberOnly.swift  |   26 -
 .../Classes/OpenAPIs/Models/Order.swift       |   42 -
 .../OpenAPIs/Models/OuterComposite.swift      |   30 -
 .../Classes/OpenAPIs/Models/OuterEnum.swift   |   17 -
 .../Classes/OpenAPIs/Models/Pet.swift         |   42 -
 .../OpenAPIs/Models/ReadOnlyFirst.swift       |   28 -
 .../Classes/OpenAPIs/Models/Return.swift      |   27 -
 .../OpenAPIs/Models/SpecialModelName.swift    |   26 -
 .../Classes/OpenAPIs/Models/Tag.swift         |   28 -
 .../Classes/OpenAPIs/Models/User.swift        |   41 -
 .../promisekit/SwaggerClientTests/Podfile     |   18 -
 .../SwaggerClientTests/Podfile.lock           |   27 -
 .../SwaggerClientTests/Pods/Alamofire/LICENSE |   19 -
 .../Pods/Alamofire/README.md                  | 1857 ----------------
 .../Pods/Alamofire/Source/AFError.swift       |  460 ----
 .../Pods/Alamofire/Source/Alamofire.swift     |  465 ----
 .../Source/DispatchQueue+Alamofire.swift      |   37 -
 .../Alamofire/Source/MultipartFormData.swift  |  580 -----
 .../Source/NetworkReachabilityManager.swift   |  233 --
 .../Pods/Alamofire/Source/Notifications.swift |   52 -
 .../Alamofire/Source/ParameterEncoding.swift  |  436 ----
 .../Pods/Alamofire/Source/Request.swift       |  647 ------
 .../Pods/Alamofire/Source/Response.swift      |  465 ----
 .../Source/ResponseSerialization.swift        |  715 ------
 .../Pods/Alamofire/Source/Result.swift        |  300 ---
 .../Alamofire/Source/ServerTrustPolicy.swift  |  307 ---
 .../Alamofire/Source/SessionDelegate.swift    |  719 ------
 .../Alamofire/Source/SessionManager.swift     |  899 --------
 .../Pods/Alamofire/Source/TaskDelegate.swift  |  453 ----
 .../Pods/Alamofire/Source/Timeline.swift      |  136 --
 .../Pods/Alamofire/Source/Validation.swift    |  309 ---
 .../PetstoreClient.podspec.json               |   26 -
 .../SwaggerClientTests/Pods/Manifest.lock     |   27 -
 .../Pods/Pods.xcodeproj/project.pbxproj       | 1486 -------------
 .../Pods/PromiseKit/README.md                 |  132 --
 .../Pods/PromiseKit/Sources/AnyPromise.h      |  289 ---
 .../Pods/PromiseKit/Sources/AnyPromise.swift  |  279 ---
 .../Pods/PromiseKit/Sources/Error.swift       |  172 --
 .../Pods/PromiseKit/Sources/Promise.swift     |  637 ------
 .../Pods/PromiseKit/Sources/State.swift       |  219 --
 .../Pods/PromiseKit/Sources/Zalgo.swift       |   80 -
 .../Pods/PromiseKit/Sources/fwd.h             |  240 --
 .../Pods/PromiseKit/Sources/join.swift        |   60 -
 .../Pods/PromiseKit/Sources/when.swift        |  257 ---
 .../Pods/PromiseKit/Sources/wrap.swift        |   79 -
 .../Alamofire/Alamofire.xcconfig              |    9 -
 .../Target Support Files/Alamofire/Info.plist |   26 -
 .../PetstoreClient/PetstoreClient.xcconfig    |   10 -
 ...ds-SwaggerClient-acknowledgements.markdown |   50 -
 .../Pods-SwaggerClient-acknowledgements.plist |   88 -
 .../Pods-SwaggerClient-frameworks.sh          |  157 --
 .../Pods-SwaggerClient.debug.xcconfig         |   11 -
 .../Pods-SwaggerClient.release.xcconfig       |   11 -
 .../Pods-SwaggerClientTests.debug.xcconfig    |    8 -
 .../Pods-SwaggerClientTests.release.xcconfig  |    8 -
 .../PromiseKit/PromiseKit-umbrella.h          |   19 -
 .../PromiseKit/PromiseKit.xcconfig            |   10 -
 .../SwaggerClient.xcodeproj/project.pbxproj   |  528 -----
 .../xcschemes/SwaggerClient.xcscheme          |  101 -
 .../contents.xcworkspacedata                  |   10 -
 .../SwaggerClient/AppDelegate.swift           |   46 -
 .../AppIcon.appiconset/Contents.json          |   93 -
 .../Base.lproj/LaunchScreen.storyboard        |   27 -
 .../SwaggerClient/Base.lproj/Main.storyboard  |   25 -
 .../SwaggerClient/Info.plist                  |   59 -
 .../SwaggerClient/ViewController.swift        |   25 -
 .../SwaggerClientTests/Info.plist             |   36 -
 .../SwaggerClientTests/PetAPITests.swift      |   69 -
 .../SwaggerClientTests/StoreAPITests.swift    |   88 -
 .../SwaggerClientTests/UserAPITests.swift     |  115 -
 .../promisekit/SwaggerClientTests/pom.xml     |   43 -
 .../SwaggerClientTests/run_xcodebuild.sh      |    3 -
 .../petstore/swift3/promisekit/git_push.sh    |   52 -
 .../client/petstore/swift3/rxswift/.gitignore |   63 -
 .../swift3/rxswift/.openapi-generator-ignore  |   23 -
 .../swift3/rxswift/.openapi-generator/VERSION |    1 -
 .../client/petstore/swift3/rxswift/Cartfile   |    2 -
 .../swift3/rxswift/PetstoreClient.podspec     |   15 -
 .../Classes/OpenAPIs/APIHelper.swift          |   75 -
 .../Classes/OpenAPIs/APIs.swift               |   77 -
 .../OpenAPIs/APIs/AnotherFakeAPI.swift        |   63 -
 .../Classes/OpenAPIs/APIs/FakeAPI.swift       |  567 -----
 .../APIs/FakeClassnameTags123API.swift        |   66 -
 .../Classes/OpenAPIs/APIs/PetAPI.swift        |  483 ----
 .../Classes/OpenAPIs/APIs/StoreAPI.swift      |  215 --
 .../Classes/OpenAPIs/APIs/UserAPI.swift       |  418 ----
 .../OpenAPIs/AlamofireImplementations.swift   |  374 ----
 .../Classes/OpenAPIs/Configuration.swift      |   15 -
 .../Classes/OpenAPIs/Extensions.swift         |  187 --
 .../Classes/OpenAPIs/Models.swift             | 1292 -----------
 .../Models/AdditionalPropertiesClass.swift    |   28 -
 .../Classes/OpenAPIs/Models/Animal.swift      |   28 -
 .../Classes/OpenAPIs/Models/AnimalFarm.swift  |   11 -
 .../Classes/OpenAPIs/Models/ApiResponse.swift |   30 -
 .../Models/ArrayOfArrayOfNumberOnly.swift     |   26 -
 .../OpenAPIs/Models/ArrayOfNumberOnly.swift   |   26 -
 .../Classes/OpenAPIs/Models/ArrayTest.swift   |   30 -
 .../OpenAPIs/Models/Capitalization.swift      |   37 -
 .../Classes/OpenAPIs/Models/Cat.swift         |   26 -
 .../Classes/OpenAPIs/Models/Category.swift    |   28 -
 .../Classes/OpenAPIs/Models/ClassModel.swift  |   27 -
 .../Classes/OpenAPIs/Models/Client.swift      |   26 -
 .../Classes/OpenAPIs/Models/Dog.swift         |   26 -
 .../Classes/OpenAPIs/Models/EnumArrays.swift  |   36 -
 .../Classes/OpenAPIs/Models/EnumClass.swift   |   17 -
 .../Classes/OpenAPIs/Models/EnumTest.swift    |   45 -
 .../Classes/OpenAPIs/Models/FormatTest.swift  |   50 -
 .../OpenAPIs/Models/HasOnlyReadOnly.swift     |   28 -
 .../Classes/OpenAPIs/Models/List.swift        |   26 -
 .../Classes/OpenAPIs/Models/MapTest.swift     |   31 -
 ...opertiesAndAdditionalPropertiesClass.swift |   30 -
 .../OpenAPIs/Models/Model200Response.swift    |   29 -
 .../Classes/OpenAPIs/Models/Name.swift        |   33 -
 .../Classes/OpenAPIs/Models/NumberOnly.swift  |   26 -
 .../Classes/OpenAPIs/Models/Order.swift       |   42 -
 .../OpenAPIs/Models/OuterComposite.swift      |   30 -
 .../Classes/OpenAPIs/Models/OuterEnum.swift   |   17 -
 .../Classes/OpenAPIs/Models/Pet.swift         |   42 -
 .../OpenAPIs/Models/ReadOnlyFirst.swift       |   28 -
 .../Classes/OpenAPIs/Models/Return.swift      |   27 -
 .../OpenAPIs/Models/SpecialModelName.swift    |   26 -
 .../Classes/OpenAPIs/Models/Tag.swift         |   28 -
 .../Classes/OpenAPIs/Models/User.swift        |   41 -
 .../swift3/rxswift/SwaggerClientTests/Podfile |   18 -
 .../rxswift/SwaggerClientTests/Podfile.lock   |   27 -
 .../SwaggerClientTests/Pods/Alamofire/LICENSE |   19 -
 .../Pods/Alamofire/README.md                  | 1857 ----------------
 .../Pods/Alamofire/Source/AFError.swift       |  460 ----
 .../Pods/Alamofire/Source/Alamofire.swift     |  465 ----
 .../Source/DispatchQueue+Alamofire.swift      |   37 -
 .../Alamofire/Source/MultipartFormData.swift  |  580 -----
 .../Source/NetworkReachabilityManager.swift   |  233 --
 .../Pods/Alamofire/Source/Notifications.swift |   52 -
 .../Alamofire/Source/ParameterEncoding.swift  |  436 ----
 .../Pods/Alamofire/Source/Request.swift       |  647 ------
 .../Pods/Alamofire/Source/Response.swift      |  465 ----
 .../Source/ResponseSerialization.swift        |  715 ------
 .../Pods/Alamofire/Source/Result.swift        |  300 ---
 .../Alamofire/Source/ServerTrustPolicy.swift  |  307 ---
 .../Alamofire/Source/SessionDelegate.swift    |  719 ------
 .../Alamofire/Source/SessionManager.swift     |  899 --------
 .../Pods/Alamofire/Source/TaskDelegate.swift  |  453 ----
 .../Pods/Alamofire/Source/Timeline.swift      |  136 --
 .../Pods/Alamofire/Source/Validation.swift    |  309 ---
 .../PetstoreClient.podspec.json               |   26 -
 .../SwaggerClientTests/Pods/Manifest.lock     |   27 -
 .../Pods/Pods.xcodeproj/project.pbxproj       | 1966 -----------------
 .../RxSwift/Platform/DataStructures/Bag.swift |  187 --
 .../DataStructures/InfiniteSequence.swift     |   26 -
 .../DataStructures/PriorityQueue.swift        |  112 -
 .../Platform/DataStructures/Queue.swift       |  152 --
 .../RxSwift/Platform/Platform.Darwin.swift    |   66 -
 .../RxSwift/Platform/Platform.Linux.swift     |  105 -
 .../SwaggerClientTests/Pods/RxSwift/README.md |  210 --
 .../Pods/RxSwift/RxSwift/AnyObserver.swift    |   72 -
 .../Pods/RxSwift/RxSwift/Cancelable.swift     |   13 -
 .../RxSwift/Concurrency/AsyncLock.swift       |  102 -
 .../RxSwift/RxSwift/Concurrency/Lock.swift    |   36 -
 .../RxSwift/Concurrency/LockOwnerType.swift   |   21 -
 .../Concurrency/SynchronizedDisposeType.swift |   18 -
 .../Concurrency/SynchronizedOnType.swift      |   18 -
 .../SynchronizedSubscribeType.swift           |   18 -
 .../SynchronizedUnsubscribeType.swift         |   13 -
 .../RxSwift/ConnectableObservableType.swift   |   19 -
 .../Pods/RxSwift/RxSwift/Deprecated.swift     |   49 -
 .../Pods/RxSwift/RxSwift/Disposable.swift     |   13 -
 .../Disposables/AnonymousDisposable.swift     |   61 -
 .../Disposables/BinaryDisposable.swift        |   53 -
 .../Disposables/BooleanDisposable.swift       |   33 -
 .../Disposables/CompositeDisposable.swift     |  151 --
 .../RxSwift/Disposables/Disposables.swift     |   12 -
 .../RxSwift/Disposables/DisposeBag.swift      |   84 -
 .../RxSwift/Disposables/DisposeBase.swift     |   22 -
 .../RxSwift/Disposables/NopDisposable.swift   |   32 -
 .../Disposables/RefCountDisposable.swift      |  117 -
 .../Disposables/ScheduledDisposable.swift     |   50 -
 .../Disposables/SerialDisposable.swift        |   75 -
 .../SingleAssignmentDisposable.swift          |   76 -
 .../Disposables/SubscriptionDisposable.swift  |   21 -
 .../Pods/RxSwift/RxSwift/Errors.swift         |   50 -
 .../Pods/RxSwift/RxSwift/Event.swift          |  106 -
 .../RxSwift/RxSwift/Extensions/Bag+Rx.swift   |   62 -
 .../RxSwift/Extensions/String+Rx.swift        |   22 -
 .../RxSwift/RxSwift/GroupedObservable.swift   |   37 -
 .../RxSwift/ImmediateSchedulerType.swift      |   36 -
 .../Pods/RxSwift/RxSwift/Observable.swift     |   44 -
 .../RxSwift/ObservableType+Extensions.swift   |  126 --
 .../Pods/RxSwift/RxSwift/ObservableType.swift |   50 -
 .../RxSwift/RxSwift/Observables/AddRef.swift  |   45 -
 .../RxSwift/RxSwift/Observables/Amb.swift     |  157 --
 .../RxSwift/RxSwift/Observables/AsMaybe.swift |   49 -
 .../RxSwift/Observables/AsSingle.swift        |   52 -
 .../RxSwift/RxSwift/Observables/Buffer.swift  |  139 --
 .../RxSwift/RxSwift/Observables/Catch.swift   |  235 --
 .../CombineLatest+Collection.swift            |  157 --
 .../Observables/CombineLatest+arity.swift     |  843 -------
 .../RxSwift/Observables/CombineLatest.swift   |  132 --
 .../RxSwift/RxSwift/Observables/Concat.swift  |  131 --
 .../RxSwift/RxSwift/Observables/Create.swift  |   78 -
 .../RxSwift/Observables/Debounce.swift        |  119 -
 .../RxSwift/RxSwift/Observables/Debug.swift   |  103 -
 .../RxSwift/Observables/DefaultIfEmpty.swift  |   66 -
 .../RxSwift/Observables/Deferred.swift        |   74 -
 .../RxSwift/RxSwift/Observables/Delay.swift   |  181 --
 .../Observables/DelaySubscription.swift       |   66 -
 .../RxSwift/Observables/Dematerialize.swift   |   51 -
 .../Observables/DistinctUntilChanged.swift    |  125 --
 .../Pods/RxSwift/RxSwift/Observables/Do.swift |   93 -
 .../RxSwift/Observables/ElementAt.swift       |   93 -
 .../RxSwift/RxSwift/Observables/Empty.swift   |   27 -
 .../RxSwift/RxSwift/Observables/Error.swift   |   33 -
 .../RxSwift/RxSwift/Observables/Filter.swift  |   89 -
 .../RxSwift/Observables/Generate.swift        |   87 -
 .../RxSwift/RxSwift/Observables/GroupBy.swift |  134 --
 .../RxSwift/RxSwift/Observables/Just.swift    |   87 -
 .../RxSwift/RxSwift/Observables/Map.swift     |  177 --
 .../RxSwift/Observables/Materialize.swift     |   44 -
 .../RxSwift/RxSwift/Observables/Merge.swift   |  648 ------
 .../RxSwift/Observables/Multicast.swift       |  424 ----
 .../RxSwift/RxSwift/Observables/Never.swift   |   27 -
 .../RxSwift/Observables/ObserveOn.swift       |  229 --
 .../RxSwift/Observables/Optional.swift        |   95 -
 .../RxSwift/Observables/Producer.swift        |   98 -
 .../RxSwift/RxSwift/Observables/Range.swift   |   73 -
 .../RxSwift/RxSwift/Observables/Reduce.swift  |  109 -
 .../RxSwift/RxSwift/Observables/Repeat.swift  |   57 -
 .../RxSwift/Observables/RetryWhen.swift       |  182 --
 .../RxSwift/RxSwift/Observables/Sample.swift  |  142 --
 .../RxSwift/RxSwift/Observables/Scan.swift    |   82 -
 .../RxSwift/Observables/Sequence.swift        |   89 -
 .../Observables/ShareReplayScope.swift        |  496 -----
 .../RxSwift/Observables/SingleAsync.swift     |  105 -
 .../RxSwift/RxSwift/Observables/Sink.swift    |   76 -
 .../RxSwift/RxSwift/Observables/Skip.swift    |  159 --
 .../RxSwift/Observables/SkipUntil.swift       |  139 --
 .../RxSwift/Observables/SkipWhile.swift       |  143 --
 .../RxSwift/Observables/StartWith.swift       |   42 -
 .../RxSwift/Observables/SubscribeOn.swift     |   83 -
 .../RxSwift/RxSwift/Observables/Switch.swift  |  233 --
 .../RxSwift/Observables/SwitchIfEmpty.swift   |  104 -
 .../RxSwift/RxSwift/Observables/Take.swift    |  180 --
 .../RxSwift/Observables/TakeLast.swift        |   78 -
 .../RxSwift/Observables/TakeUntil.swift       |  131 --
 .../RxSwift/Observables/TakeWhile.swift       |  161 --
 .../RxSwift/Observables/Throttle.swift        |  163 --
 .../RxSwift/RxSwift/Observables/Timeout.swift |  152 --
 .../RxSwift/RxSwift/Observables/Timer.swift   |  111 -
 .../RxSwift/RxSwift/Observables/ToArray.swift |   66 -
 .../RxSwift/RxSwift/Observables/Using.swift   |   90 -
 .../RxSwift/RxSwift/Observables/Window.swift  |  170 --
 .../RxSwift/Observables/WithLatestFrom.swift  |  149 --
 .../RxSwift/Observables/Zip+Collection.swift  |  169 --
 .../RxSwift/Observables/Zip+arity.swift       |  948 --------
 .../RxSwift/RxSwift/Observables/Zip.swift     |  155 --
 .../Pods/RxSwift/RxSwift/ObserverType.swift   |   40 -
 .../RxSwift/Observers/AnonymousObserver.swift |   32 -
 .../RxSwift/Observers/ObserverBase.swift      |   34 -
 .../RxSwift/Observers/TailRecursiveSink.swift |  150 --
 .../Pods/RxSwift/RxSwift/Rx.swift             |  134 --
 .../Pods/RxSwift/RxSwift/RxMutableBox.swift   |   27 -
 .../Pods/RxSwift/RxSwift/SchedulerType.swift  |   71 -
 .../ConcurrentDispatchQueueScheduler.swift    |   82 -
 .../Schedulers/ConcurrentMainScheduler.swift  |   88 -
 .../Schedulers/CurrentThreadScheduler.swift   |  136 --
 .../Schedulers/HistoricalScheduler.swift      |   22 -
 .../HistoricalSchedulerTimeConverter.swift    |   67 -
 .../Schedulers/ImmediateScheduler.swift       |   35 -
 .../Internal/AnonymousInvocable.swift         |   19 -
 .../Internal/DispatchQueueConfiguration.swift |  104 -
 .../Internal/InvocableScheduledItem.swift     |   22 -
 .../Schedulers/Internal/ScheduledItem.swift   |   35 -
 .../Internal/ScheduledItemType.swift          |   11 -
 .../RxSwift/Schedulers/MainScheduler.swift    |   68 -
 .../Schedulers/OperationQueueScheduler.swift  |   50 -
 .../Schedulers/RecursiveScheduler.swift       |  226 --
 .../SchedulerServices+Emulation.swift         |   61 -
 .../SerialDispatchQueueScheduler.swift        |  123 --
 .../Schedulers/VirtualTimeConverterType.swift |   95 -
 .../Schedulers/VirtualTimeScheduler.swift     |  269 ---
 .../RxSwift/Subjects/AsyncSubject.swift       |  155 --
 .../RxSwift/Subjects/BehaviorSubject.swift    |  166 --
 .../RxSwift/Subjects/PublishSubject.swift     |  150 --
 .../RxSwift/Subjects/ReplaySubject.swift      |  281 ---
 .../RxSwift/Subjects/SubjectType.swift        |   21 -
 .../RxSwift/RxSwift/Subjects/Variable.swift   |   67 -
 .../RxSwift/Traits/Completable+AndThen.swift  |  132 --
 .../Traits/PrimitiveSequence+Zip+arity.swift  |  276 ---
 .../RxSwift/Traits/PrimitiveSequence.swift    |  796 -------
 .../Alamofire/Alamofire.xcconfig              |    9 -
 .../Target Support Files/Alamofire/Info.plist |   26 -
 .../PetstoreClient/PetstoreClient.xcconfig    |   10 -
 ...ds-SwaggerClient-acknowledgements.markdown |   38 -
 .../Pods-SwaggerClient-acknowledgements.plist |   76 -
 .../Pods-SwaggerClient-frameworks.sh          |  157 --
 .../Pods-SwaggerClient.debug.xcconfig         |   11 -
 .../Pods-SwaggerClient.release.xcconfig       |   11 -
 .../Pods-SwaggerClientTests.debug.xcconfig    |    8 -
 .../Pods-SwaggerClientTests.release.xcconfig  |    8 -
 .../Target Support Files/RxSwift/Info.plist   |   26 -
 .../RxSwift/RxSwift.xcconfig                  |    9 -
 .../SwaggerClient.xcodeproj/project.pbxproj   |  531 -----
 .../contents.xcworkspacedata                  |    7 -
 .../xcschemes/SwaggerClient.xcscheme          |  101 -
 .../contents.xcworkspacedata                  |   10 -
 .../SwaggerClient/AppDelegate.swift           |   45 -
 .../AppIcon.appiconset/Contents.json          |   48 -
 .../Base.lproj/LaunchScreen.storyboard        |   27 -
 .../SwaggerClient/Base.lproj/Main.storyboard  |   25 -
 .../SwaggerClient/Info.plist                  |   58 -
 .../SwaggerClient/ViewController.swift        |   24 -
 .../SwaggerClientTests/Info.plist             |   35 -
 .../SwaggerClientTests/PetAPITests.swift      |   78 -
 .../SwaggerClientTests/StoreAPITests.swift    |   97 -
 .../SwaggerClientTests/UserAPITests.swift     |  173 --
 .../swift3/rxswift/SwaggerClientTests/pom.xml |   43 -
 .../SwaggerClientTests/run_xcodebuild.sh      |    3 -
 .../petstore/swift3/rxswift/git_push.sh       |   52 -
 .../petstore/swift3/unwraprequired/.gitignore |   63 -
 .../unwraprequired/.openapi-generator-ignore  |   23 -
 .../unwraprequired/.openapi-generator/VERSION |    1 -
 .../petstore/swift3/unwraprequired/Cartfile   |    1 -
 .../unwraprequired/PetstoreClient.podspec     |   14 -
 .../Classes/OpenAPIs/APIHelper.swift          |   75 -
 .../Classes/OpenAPIs/APIs.swift               |   77 -
 .../OpenAPIs/APIs/AnotherFakeAPI.swift        |   44 -
 .../Classes/OpenAPIs/APIs/FakeAPI.swift       |  405 ----
 .../APIs/FakeClassnameTags123API.swift        |   47 -
 .../Classes/OpenAPIs/APIs/PetAPI.swift        |  333 ---
 .../Classes/OpenAPIs/APIs/StoreAPI.swift      |  143 --
 .../Classes/OpenAPIs/APIs/UserAPI.swift       |  272 ---
 .../OpenAPIs/AlamofireImplementations.swift   |  374 ----
 .../Classes/OpenAPIs/Configuration.swift      |   15 -
 .../Classes/OpenAPIs/Extensions.swift         |  187 --
 .../Classes/OpenAPIs/Models.swift             | 1124 ----------
 .../Models/AdditionalPropertiesClass.swift    |   31 -
 .../Classes/OpenAPIs/Models/Animal.swift      |   31 -
 .../Classes/OpenAPIs/Models/AnimalFarm.swift  |   11 -
 .../Classes/OpenAPIs/Models/ApiResponse.swift |   34 -
 .../Models/ArrayOfArrayOfNumberOnly.swift     |   28 -
 .../OpenAPIs/Models/ArrayOfNumberOnly.swift   |   28 -
 .../Classes/OpenAPIs/Models/ArrayTest.swift   |   34 -
 .../OpenAPIs/Models/Capitalization.swift      |   44 -
 .../Classes/OpenAPIs/Models/Cat.swift         |   28 -
 .../Classes/OpenAPIs/Models/Category.swift    |   31 -
 .../Classes/OpenAPIs/Models/ClassModel.swift  |   29 -
 .../Classes/OpenAPIs/Models/Client.swift      |   28 -
 .../Classes/OpenAPIs/Models/Dog.swift         |   28 -
 .../Classes/OpenAPIs/Models/EnumArrays.swift  |   39 -
 .../Classes/OpenAPIs/Models/EnumClass.swift   |   17 -
 .../Classes/OpenAPIs/Models/EnumTest.swift    |   50 -
 .../Classes/OpenAPIs/Models/FormatTest.swift  |   64 -
 .../OpenAPIs/Models/HasOnlyReadOnly.swift     |   31 -
 .../Classes/OpenAPIs/Models/List.swift        |   28 -
 .../Classes/OpenAPIs/Models/MapTest.swift     |   34 -
 ...opertiesAndAdditionalPropertiesClass.swift |   34 -
 .../OpenAPIs/Models/Model200Response.swift    |   32 -
 .../Classes/OpenAPIs/Models/Name.swift        |   38 -
 .../Classes/OpenAPIs/Models/NumberOnly.swift  |   28 -
 .../Classes/OpenAPIs/Models/Order.swift       |   49 -
 .../OpenAPIs/Models/OuterComposite.swift      |   34 -
 .../Classes/OpenAPIs/Models/OuterEnum.swift   |   17 -
 .../Classes/OpenAPIs/Models/Pet.swift         |   49 -
 .../OpenAPIs/Models/ReadOnlyFirst.swift       |   31 -
 .../Classes/OpenAPIs/Models/Return.swift      |   29 -
 .../OpenAPIs/Models/SpecialModelName.swift    |   28 -
 .../Classes/OpenAPIs/Models/Tag.swift         |   31 -
 .../Classes/OpenAPIs/Models/User.swift        |   50 -
 .../swift3/unwraprequired/git_push.sh         |   52 -
 753 files changed, 1 insertion(+), 104037 deletions(-)
 delete mode 100755 bin/swift-petstore-all.sh
 delete mode 100644 bin/swift-petstore-promisekit.json
 delete mode 100755 bin/swift-petstore-promisekit.sh
 delete mode 100644 bin/swift-petstore-rxswift.json
 delete mode 100755 bin/swift-petstore-rxswift.sh
 delete mode 100644 bin/swift-petstore.json
 delete mode 100755 bin/swift-petstore.sh
 delete mode 100755 bin/swift3-petstore-all.sh
 delete mode 100644 bin/swift3-petstore-objcCompatible.json
 delete mode 100755 bin/swift3-petstore-objcCompatible.sh
 delete mode 100644 bin/swift3-petstore-promisekit.json
 delete mode 100755 bin/swift3-petstore-promisekit.sh
 delete mode 100644 bin/swift3-petstore-rxswift.json
 delete mode 100755 bin/swift3-petstore-rxswift.sh
 delete mode 100644 bin/swift3-petstore-unwraprequired.json
 delete mode 100755 bin/swift3-petstore-unwraprequired.sh
 delete mode 100644 bin/swift3-petstore.json
 delete mode 100755 bin/swift3-petstore.sh
 delete mode 100644 modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/Swift3Codegen.java
 delete mode 100644 modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SwiftClientCodegen.java
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/APIHelper.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/APIs.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/AlamofireImplementations.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/Cartfile.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/Extensions.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/Models.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/Podspec.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/_param.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/api.mustache
 delete mode 100755 modules/openapi-generator/src/main/resources/swift/git_push.sh.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/gitignore.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift/model.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/APIHelper.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/APIs.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/AlamofireImplementations.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/Cartfile.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/Configuration.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/Extensions.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/Models.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/Podspec.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/_param.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/api.mustache
 delete mode 100755 modules/openapi-generator/src/main/resources/swift3/git_push.sh.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/gitignore.mustache
 delete mode 100644 modules/openapi-generator/src/main/resources/swift3/model.mustache
 delete mode 100644 modules/openapi-generator/src/test/java/org/openapitools/codegen/options/Swift3OptionsProvider.java
 delete mode 100644 modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3CodegenTest.java
 delete mode 100644 modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3ModelTest.java
 delete mode 100644 modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3OptionsTest.java
 delete mode 100644 samples/client/petstore/swift/.gitignore
 delete mode 100644 samples/client/petstore/swift/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift/default/.gitignore
 delete mode 100644 samples/client/petstore/swift/default/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift/default/.openapi-generator/VERSION
 delete mode 100644 samples/client/petstore/swift/default/Cartfile
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient.podspec
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Extensions.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
 delete mode 100644 samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/User.swift
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/Podfile
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/AppDelegate.swift
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Info.plist
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/ViewController.swift
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/ISOFullDateTests.swift
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/Info.plist
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
 delete mode 100644 samples/client/petstore/swift/default/SwaggerClientTests/pom.xml
 delete mode 100755 samples/client/petstore/swift/default/SwaggerClientTests/run_xcodebuild.sh
 delete mode 100644 samples/client/petstore/swift/default/git_push.sh
 delete mode 100644 samples/client/petstore/swift/promisekit/.gitignore
 delete mode 100644 samples/client/petstore/swift/promisekit/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift/promisekit/.openapi-generator/VERSION
 delete mode 100644 samples/client/petstore/swift/promisekit/Cartfile
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient.podspec
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Extensions.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/User.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Podfile
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/README.md
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Download.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Manager.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Stream.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Upload.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Manifest.lock
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/OMGHTTPURLRQ/OMGHTTPURLRQ-umbrella.h
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient-umbrella.h
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist
 delete mode 100755 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-resources.sh
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-umbrella.h
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig
 delete mode 100755 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-resources.sh
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-umbrella.h
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/AppDelegate.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Info.plist
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/ViewController.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/Info.plist
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
 delete mode 100644 samples/client/petstore/swift/promisekit/SwaggerClientTests/pom.xml
 delete mode 100755 samples/client/petstore/swift/promisekit/SwaggerClientTests/run_xcodebuild.sh
 delete mode 100644 samples/client/petstore/swift/promisekit/git_push.sh
 delete mode 100644 samples/client/petstore/swift/rxswift/.gitignore
 delete mode 100644 samples/client/petstore/swift/rxswift/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift/rxswift/.openapi-generator/VERSION
 delete mode 100644 samples/client/petstore/swift/rxswift/Cartfile
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient.podspec
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Extensions.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/User.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/Podfile
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/AppDelegate.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Info.plist
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/ViewController.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/Info.plist
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
 delete mode 100644 samples/client/petstore/swift/rxswift/SwaggerClientTests/pom.xml
 delete mode 100755 samples/client/petstore/swift/rxswift/SwaggerClientTests/run_xcodebuild.sh
 delete mode 100644 samples/client/petstore/swift/rxswift/git_push.sh
 delete mode 100644 samples/client/petstore/swift3/.gitignore
 delete mode 100644 samples/client/petstore/swift3/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift3/default/.gitignore
 delete mode 100644 samples/client/petstore/swift3/default/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift3/default/.openapi-generator/VERSION
 delete mode 100644 samples/client/petstore/swift3/default/Cartfile
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient.podspec
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Configuration.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Extensions.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/List.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
 delete mode 100644 samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/User.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Podfile
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Podfile.lock
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/LICENSE
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/README.md
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Manifest.lock
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist
 delete mode 100755 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/AppDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Info.plist
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/ViewController.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/Info.plist
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/default/SwaggerClientTests/pom.xml
 delete mode 100755 samples/client/petstore/swift3/default/SwaggerClientTests/run_xcodebuild.sh
 delete mode 100644 samples/client/petstore/swift3/default/git_push.sh
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/.gitignore
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/.openapi-generator/VERSION
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/Cartfile
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient.podspec
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Configuration.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Extensions.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/List.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/User.swift
 delete mode 100644 samples/client/petstore/swift3/objcCompatible/git_push.sh
 delete mode 100644 samples/client/petstore/swift3/promisekit/.gitignore
 delete mode 100644 samples/client/petstore/swift3/promisekit/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift3/promisekit/.openapi-generator/VERSION
 delete mode 100644 samples/client/petstore/swift3/promisekit/Cartfile
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient.podspec
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Configuration.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Extensions.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/List.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/User.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Podfile
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Podfile.lock
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/LICENSE
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/README.md
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Manifest.lock
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/README.md
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/AnyPromise.h
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/AnyPromise.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Error.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Promise.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/State.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Zalgo.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/fwd.h
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/join.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/when.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/wrap.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist
 delete mode 100755 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PromiseKit/PromiseKit-umbrella.h
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PromiseKit/PromiseKit.xcconfig
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/AppDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Info.plist
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/ViewController.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/Info.plist
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/promisekit/SwaggerClientTests/pom.xml
 delete mode 100755 samples/client/petstore/swift3/promisekit/SwaggerClientTests/run_xcodebuild.sh
 delete mode 100644 samples/client/petstore/swift3/promisekit/git_push.sh
 delete mode 100644 samples/client/petstore/swift3/rxswift/.gitignore
 delete mode 100644 samples/client/petstore/swift3/rxswift/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift3/rxswift/.openapi-generator/VERSION
 delete mode 100644 samples/client/petstore/swift3/rxswift/Cartfile
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient.podspec
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Configuration.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Extensions.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/List.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/User.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Podfile
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Podfile.lock
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/LICENSE
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/README.md
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Manifest.lock
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/Bag.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/Queue.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/Platform.Darwin.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/Platform.Linux.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/README.md
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/AnyObserver.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Cancelable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/Lock.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ConnectableObservableType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Deprecated.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/Disposables.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Errors.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Event.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/GroupedObservable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObservableType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AddRef.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Amb.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AsSingle.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Buffer.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Catch.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Concat.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Create.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Debounce.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Debug.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Deferred.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Delay.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Do.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ElementAt.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Empty.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Error.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Filter.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Generate.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/GroupBy.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Just.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Map.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Materialize.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Merge.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Multicast.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Never.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Optional.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Producer.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Range.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Reduce.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Repeat.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sample.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Scan.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sequence.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sink.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Skip.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/StartWith.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Switch.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Take.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeLast.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Throttle.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Timeout.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Timer.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ToArray.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Using.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Window.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObserverType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Rx.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/RxMutableBox.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/SchedulerType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/Variable.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist
 delete mode 100755 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/RxSwift/Info.plist
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/RxSwift/RxSwift.xcconfig
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/AppDelegate.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Info.plist
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/ViewController.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/Info.plist
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
 delete mode 100644 samples/client/petstore/swift3/rxswift/SwaggerClientTests/pom.xml
 delete mode 100755 samples/client/petstore/swift3/rxswift/SwaggerClientTests/run_xcodebuild.sh
 delete mode 100644 samples/client/petstore/swift3/rxswift/git_push.sh
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/.gitignore
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/.openapi-generator-ignore
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/.openapi-generator/VERSION
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/Cartfile
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient.podspec
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Configuration.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Extensions.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/List.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/User.swift
 delete mode 100644 samples/client/petstore/swift3/unwraprequired/git_push.sh

diff --git a/bin/swift-petstore-all.sh b/bin/swift-petstore-all.sh
deleted file mode 100755
index c2b1f61ef83..00000000000
--- a/bin/swift-petstore-all.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-./bin/swift-petstore.sh
-./bin/swift-petstore-promisekit.sh
-./bin/swift-petstore-rxswift.sh
diff --git a/bin/swift-petstore-promisekit.json b/bin/swift-petstore-promisekit.json
deleted file mode 100644
index 48137f1f280..00000000000
--- a/bin/swift-petstore-promisekit.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "podSummary": "PetstoreClient",
-  "podHomepage": "https://github.com/openapitools/openapi-generator",
-  "podAuthors": "",
-  "projectName": "PetstoreClient",
-  "responseAs": "PromiseKit"
-}
diff --git a/bin/swift-petstore-promisekit.sh b/bin/swift-petstore-promisekit.sh
deleted file mode 100755
index 10d3ed6c916..00000000000
--- a/bin/swift-petstore-promisekit.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-SCRIPT="$0"
-echo "# START SCRIPT: $SCRIPT"
-
-while [ -h "$SCRIPT" ] ; do
-  ls=`ls -ld "$SCRIPT"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    SCRIPT="$link"
-  else
-    SCRIPT=`dirname "$SCRIPT"`/"$link"
-  fi
-done
-
-if [ ! -d "${APP_DIR}" ]; then
-  APP_DIR=`dirname "$SCRIPT"`/..
-  APP_DIR=`cd "${APP_DIR}"; pwd`
-fi
-
-executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
-
-if [ ! -f "$executable" ]
-then
-  mvn -B clean package
-fi
-
-# if you've executed sbt assembly previously it will use that instead.
-export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
-ags="generate -t modules/openapi-generator/src/main/resources/swift -i modules/openapi-generator/src/test/resources/2_0/petstore.json -g swift2-deprecated -c ./bin/swift-petstore-promisekit.json -o samples/client/petstore/swift/promisekit $@"
-
-java $JAVA_OPTS -jar $executable $ags
diff --git a/bin/swift-petstore-rxswift.json b/bin/swift-petstore-rxswift.json
deleted file mode 100644
index eb8b11dde55..00000000000
--- a/bin/swift-petstore-rxswift.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "podSummary": "PetstoreClient",
-  "podHomepage": "https://github.com/openapitools/openapi-generator",
-  "podAuthors": "",
-  "projectName": "PetstoreClient",
-  "responseAs": "RxSwift"
-}
diff --git a/bin/swift-petstore-rxswift.sh b/bin/swift-petstore-rxswift.sh
deleted file mode 100755
index c1909d37a0d..00000000000
--- a/bin/swift-petstore-rxswift.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-SCRIPT="$0"
-echo "# START SCRIPT: $SCRIPT"
-
-while [ -h "$SCRIPT" ] ; do
-  ls=`ls -ld "$SCRIPT"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    SCRIPT="$link"
-  else
-    SCRIPT=`dirname "$SCRIPT"`/"$link"
-  fi
-done
-
-if [ ! -d "${APP_DIR}" ]; then
-  APP_DIR=`dirname "$SCRIPT"`/..
-  APP_DIR=`cd "${APP_DIR}"; pwd`
-fi
-
-executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
-
-if [ ! -f "$executable" ]
-then
-  mvn -B clean package
-fi
-
-# if you've executed sbt assembly previously it will use that instead.
-export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
-ags="generate -t modules/openapi-generator/src/main/resources/swift -i modules/openapi-generator/src/test/resources/2_0/petstore.json -g swift2-deprecated -c ./bin/swift-petstore-rxswift.json -o samples/client/petstore/swift/rxswift $@"
-
-java $JAVA_OPTS -jar $executable $ags
diff --git a/bin/swift-petstore.json b/bin/swift-petstore.json
deleted file mode 100644
index 3d9ecfd5d0a..00000000000
--- a/bin/swift-petstore.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  "podSummary": "PetstoreClient",
-  "podHomepage": "https://github.com/swagger-api/swagger-codegen",
-  "podAuthors": "",
-  "projectName": "PetstoreClient"
-}
\ No newline at end of file
diff --git a/bin/swift-petstore.sh b/bin/swift-petstore.sh
deleted file mode 100755
index 0313fed0a47..00000000000
--- a/bin/swift-petstore.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-SCRIPT="$0"
-echo "# START SCRIPT: $SCRIPT"
-
-while [ -h "$SCRIPT" ] ; do
-  ls=`ls -ld "$SCRIPT"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    SCRIPT="$link"
-  else
-    SCRIPT=`dirname "$SCRIPT"`/"$link"
-  fi
-done
-
-if [ ! -d "${APP_DIR}" ]; then
-  APP_DIR=`dirname "$SCRIPT"`/..
-  APP_DIR=`cd "${APP_DIR}"; pwd`
-fi
-
-executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
-
-if [ ! -f "$executable" ]
-then
-  mvn -B clean package
-fi
-
-# if you've executed sbt assembly previously it will use that instead.
-export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
-ags="generate -t modules/openapi-generator/src/main/resources/swift -i modules/openapi-generator/src/test/resources/2_0/petstore.json -g swift2-deprecated -c ./bin/swift-petstore.json -o samples/client/petstore/swift/default $@"
-
-java $JAVA_OPTS -jar $executable $ags
diff --git a/bin/swift3-petstore-all.sh b/bin/swift3-petstore-all.sh
deleted file mode 100755
index eeaf29df012..00000000000
--- a/bin/swift3-petstore-all.sh
+++ /dev/null
@@ -1,16 +0,0 @@
-#!/bin/sh
-
-echo "#### Petstore Swift API client (default) ####"
-./bin/swift3-petstore.sh
-
-echo "#### Petstore Swift API client (promisekit) ####"
-./bin/swift3-petstore-promisekit.sh
-
-echo "#### Petstore Swift API client (rxswift) ####"
-./bin/swift3-petstore-rxswift.sh
-
-echo "#### Petstore Swift API client (unwraprequired) ####"
-./bin/swift3-petstore-unwraprequired.sh
-
-echo "#### Petstore Swift API client (objcCompatible) ####"
-./bin/swift3-petstore-objcCompatible.sh
diff --git a/bin/swift3-petstore-objcCompatible.json b/bin/swift3-petstore-objcCompatible.json
deleted file mode 100644
index c24c7abf69c..00000000000
--- a/bin/swift3-petstore-objcCompatible.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "podSummary": "PetstoreClient",
-  "podHomepage": "https://github.com/openapitools/openapi-generator",
-  "podAuthors": "",
-  "projectName": "PetstoreClient",
-  "objcCompatible": true
-}
diff --git a/bin/swift3-petstore-objcCompatible.sh b/bin/swift3-petstore-objcCompatible.sh
deleted file mode 100755
index 7f8cab24cdf..00000000000
--- a/bin/swift3-petstore-objcCompatible.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-SCRIPT="$0"
-echo "# START SCRIPT: $SCRIPT"
-
-while [ -h "$SCRIPT" ] ; do
-  ls=`ls -ld "$SCRIPT"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    SCRIPT="$link"
-  else
-    SCRIPT=`dirname "$SCRIPT"`/"$link"
-  fi
-done
-
-if [ ! -d "${APP_DIR}" ]; then
-  APP_DIR=`dirname "$SCRIPT"`/..
-  APP_DIR=`cd "${APP_DIR}"; pwd`
-fi
-
-executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
-
-if [ ! -f "$executable" ]
-then
-  mvn -B clean package
-fi
-
-# if you've executed sbt assembly previously it will use that instead.
-export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
-ags="generate -t modules/openapi-generator/src/main/resources/swift3 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift3-deprecated -c ./bin/swift3-petstore-objcCompatible.json -o samples/client/petstore/swift3/objcCompatible $@"
-
-java $JAVA_OPTS -jar $executable $ags
diff --git a/bin/swift3-petstore-promisekit.json b/bin/swift3-petstore-promisekit.json
deleted file mode 100644
index 48137f1f280..00000000000
--- a/bin/swift3-petstore-promisekit.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "podSummary": "PetstoreClient",
-  "podHomepage": "https://github.com/openapitools/openapi-generator",
-  "podAuthors": "",
-  "projectName": "PetstoreClient",
-  "responseAs": "PromiseKit"
-}
diff --git a/bin/swift3-petstore-promisekit.sh b/bin/swift3-petstore-promisekit.sh
deleted file mode 100755
index 5e4783955c8..00000000000
--- a/bin/swift3-petstore-promisekit.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-SCRIPT="$0"
-echo "# START SCRIPT: $SCRIPT"
-
-while [ -h "$SCRIPT" ] ; do
-  ls=`ls -ld "$SCRIPT"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    SCRIPT="$link"
-  else
-    SCRIPT=`dirname "$SCRIPT"`/"$link"
-  fi
-done
-
-if [ ! -d "${APP_DIR}" ]; then
-  APP_DIR=`dirname "$SCRIPT"`/..
-  APP_DIR=`cd "${APP_DIR}"; pwd`
-fi
-
-executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
-
-if [ ! -f "$executable" ]
-then
-  mvn -B clean package
-fi
-
-# if you've executed sbt assembly previously it will use that instead.
-export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
-ags="generate -t modules/openapi-generator/src/main/resources/swift3 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift3-deprecated -c ./bin/swift3-petstore-promisekit.json -o samples/client/petstore/swift3/promisekit $@"
-
-java $JAVA_OPTS -jar $executable $ags
diff --git a/bin/swift3-petstore-rxswift.json b/bin/swift3-petstore-rxswift.json
deleted file mode 100644
index eb8b11dde55..00000000000
--- a/bin/swift3-petstore-rxswift.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "podSummary": "PetstoreClient",
-  "podHomepage": "https://github.com/openapitools/openapi-generator",
-  "podAuthors": "",
-  "projectName": "PetstoreClient",
-  "responseAs": "RxSwift"
-}
diff --git a/bin/swift3-petstore-rxswift.sh b/bin/swift3-petstore-rxswift.sh
deleted file mode 100755
index b5ac09c0d84..00000000000
--- a/bin/swift3-petstore-rxswift.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-SCRIPT="$0"
-echo "# START SCRIPT: $SCRIPT"
-
-while [ -h "$SCRIPT" ] ; do
-  ls=`ls -ld "$SCRIPT"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    SCRIPT="$link"
-  else
-    SCRIPT=`dirname "$SCRIPT"`/"$link"
-  fi
-done
-
-if [ ! -d "${APP_DIR}" ]; then
-  APP_DIR=`dirname "$SCRIPT"`/..
-  APP_DIR=`cd "${APP_DIR}"; pwd`
-fi
-
-executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
-
-if [ ! -f "$executable" ]
-then
-  mvn -B clean package
-fi
-
-# if you've executed sbt assembly previously it will use that instead.
-export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
-ags="generate -t modules/openapi-generator/src/main/resources/swift3 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift3-deprecated -c ./bin/swift3-petstore-rxswift.json -o samples/client/petstore/swift3/rxswift $@"
-
-java $JAVA_OPTS -jar $executable $ags
diff --git a/bin/swift3-petstore-unwraprequired.json b/bin/swift3-petstore-unwraprequired.json
deleted file mode 100644
index 3d3152c52a2..00000000000
--- a/bin/swift3-petstore-unwraprequired.json
+++ /dev/null
@@ -1,7 +0,0 @@
-{
-  "podSummary": "PetstoreClient",
-  "podHomepage": "https://github.com/openapitools/openapi-generator",
-  "podAuthors": "",
-  "projectName": "PetstoreClient",
-  "unwrapRequired": true
-}
diff --git a/bin/swift3-petstore-unwraprequired.sh b/bin/swift3-petstore-unwraprequired.sh
deleted file mode 100755
index 519104f6f34..00000000000
--- a/bin/swift3-petstore-unwraprequired.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-SCRIPT="$0"
-echo "# START SCRIPT: $SCRIPT"
-
-while [ -h "$SCRIPT" ] ; do
-  ls=`ls -ld "$SCRIPT"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    SCRIPT="$link"
-  else
-    SCRIPT=`dirname "$SCRIPT"`/"$link"
-  fi
-done
-
-if [ ! -d "${APP_DIR}" ]; then
-  APP_DIR=`dirname "$SCRIPT"`/..
-  APP_DIR=`cd "${APP_DIR}"; pwd`
-fi
-
-executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
-
-if [ ! -f "$executable" ]
-then
-  mvn -B clean package
-fi
-
-# if you've executed sbt assembly previously it will use that instead.
-export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
-ags="generate -t modules/openapi-generator/src/main/resources/swift3 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift3-deprecated -c ./bin/swift3-petstore-unwraprequired.json -o samples/client/petstore/swift3/unwraprequired $@"
-
-java $JAVA_OPTS -jar $executable $ags
diff --git a/bin/swift3-petstore.json b/bin/swift3-petstore.json
deleted file mode 100644
index 59bd94f43ef..00000000000
--- a/bin/swift3-petstore.json
+++ /dev/null
@@ -1,6 +0,0 @@
-{
-  "podSummary": "PetstoreClient",
-  "podHomepage": "https://github.com/openapitools/openapi-generator",
-  "podAuthors": "",
-  "projectName": "PetstoreClient"
-}
diff --git a/bin/swift3-petstore.sh b/bin/swift3-petstore.sh
deleted file mode 100755
index 90ce5dee96c..00000000000
--- a/bin/swift3-petstore.sh
+++ /dev/null
@@ -1,32 +0,0 @@
-#!/bin/sh
-
-SCRIPT="$0"
-echo "# START SCRIPT: $SCRIPT"
-
-while [ -h "$SCRIPT" ] ; do
-  ls=`ls -ld "$SCRIPT"`
-  link=`expr "$ls" : '.*-> \(.*\)$'`
-  if expr "$link" : '/.*' > /dev/null; then
-    SCRIPT="$link"
-  else
-    SCRIPT=`dirname "$SCRIPT"`/"$link"
-  fi
-done
-
-if [ ! -d "${APP_DIR}" ]; then
-  APP_DIR=`dirname "$SCRIPT"`/..
-  APP_DIR=`cd "${APP_DIR}"; pwd`
-fi
-
-executable="./modules/openapi-generator-cli/target/openapi-generator-cli.jar"
-
-if [ ! -f "$executable" ]
-then
-  mvn -B clean package
-fi
-
-# if you've executed sbt assembly previously it will use that instead.
-export JAVA_OPTS="${JAVA_OPTS} -Xmx1024M -DloggerPath=conf/log4j.properties"
-ags="generate -t modules/openapi-generator/src/main/resources/swift3 -i modules/openapi-generator/src/test/resources/2_0/swift/petstore-with-fake-endpoints-models-for-testing.yaml -g swift3-deprecated -c ./bin/swift3-petstore.json -o samples/client/petstore/swift3/default $@"
-
-java $JAVA_OPTS -jar $executable $ags
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/Swift3Codegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/Swift3Codegen.java
deleted file mode 100644
index e2f798df5dc..00000000000
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/Swift3Codegen.java
+++ /dev/null
@@ -1,745 +0,0 @@
-/*
- * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
- * Copyright 2018 SmartBear Software
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.openapitools.codegen.languages;
-
-import io.swagger.v3.oas.models.media.ArraySchema;
-import io.swagger.v3.oas.models.media.Schema;
-import org.apache.commons.io.FilenameUtils;
-import org.apache.commons.lang3.ArrayUtils;
-import org.apache.commons.lang3.StringUtils;
-import org.apache.commons.lang3.text.WordUtils;
-import org.openapitools.codegen.*;
-import org.openapitools.codegen.meta.GeneratorMetadata;
-import org.openapitools.codegen.meta.Stability;
-import org.openapitools.codegen.meta.features.*;
-import org.openapitools.codegen.utils.ModelUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.io.File;
-import java.util.*;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import static org.openapitools.codegen.utils.StringUtils.camelize;
-
-public class Swift3Codegen extends DefaultCodegen implements CodegenConfig {
-    private static final Logger LOGGER = LoggerFactory.getLogger(Swift3Codegen.class);
-
-    public static final String PROJECT_NAME = "projectName";
-    public static final String RESPONSE_AS = "responseAs";
-    public static final String UNWRAP_REQUIRED = "unwrapRequired";
-    public static final String OBJC_COMPATIBLE = "objcCompatible";
-    public static final String POD_SOURCE = "podSource";
-    public static final String POD_AUTHORS = "podAuthors";
-    public static final String POD_SOCIAL_MEDIA_URL = "podSocialMediaURL";
-    public static final String POD_DOCSET_URL = "podDocsetURL";
-    public static final String POD_LICENSE = "podLicense";
-    public static final String POD_HOMEPAGE = "podHomepage";
-    public static final String POD_SUMMARY = "podSummary";
-    public static final String POD_DESCRIPTION = "podDescription";
-    public static final String POD_SCREENSHOTS = "podScreenshots";
-    public static final String POD_DOCUMENTATION_URL = "podDocumentationURL";
-    public static final String SWIFT_USE_API_NAMESPACE = "swiftUseApiNamespace";
-    public static final String DEFAULT_POD_AUTHORS = "OpenAPI Generator";
-    public static final String LENIENT_TYPE_CAST = "lenientTypeCast";
-    protected static final String LIBRARY_PROMISE_KIT = "PromiseKit";
-    protected static final String LIBRARY_RX_SWIFT = "RxSwift";
-    protected static final String[] RESPONSE_LIBRARIES = {LIBRARY_PROMISE_KIT, LIBRARY_RX_SWIFT};
-    protected String projectName = "OpenAPIClient";
-    protected boolean unwrapRequired;
-    protected boolean objcCompatible = false;
-    protected boolean lenientTypeCast = false;
-    protected boolean swiftUseApiNamespace;
-    protected String[] responseAs = new String[0];
-    protected String sourceFolder = "Classes" + File.separator + "OpenAPIs";
-
-    public Swift3Codegen() {
-        super();
-
-        generatorMetadata = GeneratorMetadata.newBuilder(generatorMetadata)
-                .stability(Stability.DEPRECATED)
-                .build();
-
-        modifyFeatureSet(features -> features
-                .wireFormatFeatures(EnumSet.of(WireFormatFeature.JSON))
-                .securityFeatures(EnumSet.noneOf(SecurityFeature.class))
-                .excludeGlobalFeatures(
-                        GlobalFeature.XMLStructureDefinitions,
-                        GlobalFeature.Callbacks,
-                        GlobalFeature.LinkObjects,
-                        GlobalFeature.ParameterStyling
-                )
-                .excludeSchemaSupportFeatures(
-                        SchemaSupportFeature.Polymorphism
-                )
-                .excludeParameterFeatures(
-                        ParameterFeature.Cookie
-                )
-        );
-
-        outputFolder = "generated-code" + File.separator + "swift";
-        modelTemplateFiles.put("model.mustache", ".swift");
-        apiTemplateFiles.put("api.mustache", ".swift");
-        embeddedTemplateDir = templateDir = "swift3";
-        apiPackage = File.separator + "APIs";
-        modelPackage = File.separator + "Models";
-
-        // default HIDE_GENERATION_TIMESTAMP to true
-        hideGenerationTimestamp = Boolean.TRUE;
-
-        languageSpecificPrimitives = new HashSet<>(
-                Arrays.asList(
-                        "Int",
-                        "Int32",
-                        "Int64",
-                        "Float",
-                        "Double",
-                        "Bool",
-                        "Void",
-                        "String",
-                        "Character",
-                        "AnyObject",
-                        "Any")
-        );
-        defaultIncludes = new HashSet<>(
-                Arrays.asList(
-                        "Data",
-                        "Date",
-                        "URL", // for file
-                        "UUID",
-                        "Array",
-                        "Dictionary",
-                        "Set",
-                        "Any",
-                        "Empty",
-                        "AnyObject",
-                        "Any")
-        );
-        reservedWords = new HashSet<>(
-                Arrays.asList(
-                        // name used by swift client
-                        "ErrorResponse", "Response",
-
-                        // swift keywords
-                        "Int", "Int32", "Int64", "Int64", "Float", "Double", "Bool", "Void", "String", "Character", "AnyObject", "Any", "Error", "URL",
-                        "class", "Class", "break", "as", "associativity", "deinit", "case", "dynamicType", "convenience", "enum", "continue",
-                        "false", "dynamic", "extension", "default", "is", "didSet", "func", "do", "nil", "final", "import", "else",
-                        "self", "get", "init", "fallthrough", "Self", "infix", "internal", "for", "super", "inout", "let", "if",
-                        "true", "lazy", "operator", "in", "COLUMN", "left", "private", "return", "FILE", "mutating", "protocol",
-                        "switch", "FUNCTION", "none", "public", "where", "LINE", "nonmutating", "static", "while", "optional",
-                        "struct", "override", "subscript", "postfix", "typealias", "precedence", "var", "prefix", "Protocol",
-                        "required", "right", "set", "Type", "unowned", "weak", "Data")
-        );
-
-        typeMapping = new HashMap<>();
-        typeMapping.put("array", "Array");
-        typeMapping.put("List", "Array");
-        typeMapping.put("map", "Dictionary");
-        typeMapping.put("date", "ISOFullDate");
-        typeMapping.put("DateTime", "Date");
-        typeMapping.put("boolean", "Bool");
-        typeMapping.put("string", "String");
-        typeMapping.put("char", "Character");
-        typeMapping.put("short", "Int");
-        typeMapping.put("int", "Int32");
-        typeMapping.put("long", "Int64");
-        typeMapping.put("integer", "Int32");
-        typeMapping.put("Integer", "Int32");
-        typeMapping.put("float", "Float");
-        typeMapping.put("number", "Double");
-        typeMapping.put("double", "Double");
-        typeMapping.put("object", "Any");
-        typeMapping.put("file", "URL");
-        typeMapping.put("binary", "Data");
-        typeMapping.put("ByteArray", "Data");
-        typeMapping.put("UUID", "UUID");
-        typeMapping.put("URI", "String");
-
-        importMapping = new HashMap<>();
-
-        cliOptions.add(new CliOption(PROJECT_NAME, "Project name in Xcode"));
-        cliOptions.add(new CliOption(RESPONSE_AS, "Optionally use libraries to manage response.  Currently " +
-                StringUtils.join(RESPONSE_LIBRARIES, ", ") + " are available."));
-        cliOptions.add(new CliOption(UNWRAP_REQUIRED, "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"));
-        cliOptions.add(new CliOption(OBJC_COMPATIBLE, "Add additional properties and methods for Objective-C compatibility (default: false)"));
-        cliOptions.add(new CliOption(POD_SOURCE, "Source information used for Podspec"));
-        cliOptions.add(new CliOption(CodegenConstants.POD_VERSION, "Version used for Podspec"));
-        cliOptions.add(new CliOption(POD_AUTHORS, "Authors used for Podspec"));
-        cliOptions.add(new CliOption(POD_SOCIAL_MEDIA_URL, "Social Media URL used for Podspec"));
-        cliOptions.add(new CliOption(POD_DOCSET_URL, "Docset URL used for Podspec"));
-        cliOptions.add(new CliOption(POD_LICENSE, "License used for Podspec"));
-        cliOptions.add(new CliOption(POD_HOMEPAGE, "Homepage used for Podspec"));
-        cliOptions.add(new CliOption(POD_SUMMARY, "Summary used for Podspec"));
-        cliOptions.add(new CliOption(POD_DESCRIPTION, "Description used for Podspec"));
-        cliOptions.add(new CliOption(POD_SCREENSHOTS, "Screenshots used for Podspec"));
-        cliOptions.add(new CliOption(POD_DOCUMENTATION_URL, "Documentation URL used for Podspec"));
-        cliOptions.add(new CliOption(SWIFT_USE_API_NAMESPACE, "Flag to make all the API classes inner-class of {{projectName}}API"));
-        cliOptions.add(new CliOption(CodegenConstants.HIDE_GENERATION_TIMESTAMP, CodegenConstants.HIDE_GENERATION_TIMESTAMP_DESC)
-                .defaultValue(Boolean.TRUE.toString()));
-        cliOptions.add(new CliOption(LENIENT_TYPE_CAST, "Accept and cast values for simple types (string->bool, string->int, int->string)")
-                .defaultValue(Boolean.FALSE.toString()));
-    }
-
-    private static CodegenModel reconcileProperties(CodegenModel codegenModel, CodegenModel parentCodegenModel) {
-        // To support inheritance in this generator, we will analyze
-        // the parent and child models, look for properties that match, and remove
-        // them from the child models and leave them in the parent.
-        // Because the child models extend the parents, the properties will be available via the parent.
-
-        // Get the properties for the parent and child models
-        final List<CodegenProperty> parentModelCodegenProperties = parentCodegenModel.vars;
-        List<CodegenProperty> codegenProperties = codegenModel.vars;
-        codegenModel.allVars = new ArrayList<CodegenProperty>(codegenProperties);
-        codegenModel.parentVars = parentCodegenModel.allVars;
-
-        // Iterate over all of the parent model properties
-        boolean removedChildProperty = false;
-
-        for (CodegenProperty parentModelCodegenProperty : parentModelCodegenProperties) {
-            // Now that we have found a prop in the parent class,
-            // and search the child class for the same prop.
-            Iterator<CodegenProperty> iterator = codegenProperties.iterator();
-            while (iterator.hasNext()) {
-                CodegenProperty codegenProperty = iterator.next();
-                if (codegenProperty.baseName.equals(parentModelCodegenProperty.baseName)) {
-                    // We found a property in the child class that is
-                    // a duplicate of the one in the parent, so remove it.
-                    iterator.remove();
-                    removedChildProperty = true;
-                }
-            }
-        }
-
-        if (removedChildProperty) {
-            // If we removed an entry from this model's vars, we need to ensure hasMore is updated
-            int count = 0, numVars = codegenProperties.size();
-            for (CodegenProperty codegenProperty : codegenProperties) {
-                count += 1;
-                codegenProperty.hasMore = count < numVars;
-            }
-            codegenModel.vars = codegenProperties;
-        }
-
-
-        return codegenModel;
-    }
-
-    @Override
-    public CodegenType getTag() {
-        return CodegenType.CLIENT;
-    }
-
-    @Override
-    public String getName() {
-        return "swift3-deprecated";
-    }
-
-    @Override
-    public String getHelp() {
-        return "Generates a Swift 3.x client library. IMPORTANT NOTE: this generator (swfit 3.x)  is no longer actively maintained so please use 'swift4' generator instead.";
-    }
-
-    @Override
-    protected void addAdditionPropertiesToCodeGenModel(CodegenModel codegenModel, Schema schema) {
-
-        final Schema additionalProperties = ModelUtils.getAdditionalProperties(schema);
-
-        if (additionalProperties != null) {
-            codegenModel.additionalPropertiesType = getSchemaType(additionalProperties);
-        }
-    }
-
-    @Override
-    public void processOpts() {
-        super.processOpts();
-
-        if (StringUtils.isEmpty(System.getenv("SWIFT_POST_PROCESS_FILE"))) {
-            LOGGER.info("Environment variable SWIFT_POST_PROCESS_FILE not defined so the Swift code may not be properly formatted. To define it, try 'export SWIFT_POST_PROCESS_FILE=/usr/local/bin/swiftformat' (Linux/Mac)");
-            LOGGER.info("NOTE: To enable file post-processing, 'enablePostProcessFile' must be set to `true` (--enable-post-process-file for CLI).");
-        }
-
-        // Setup project name
-        if (additionalProperties.containsKey(PROJECT_NAME)) {
-            setProjectName((String) additionalProperties.get(PROJECT_NAME));
-        } else {
-            additionalProperties.put(PROJECT_NAME, projectName);
-        }
-        sourceFolder = projectName + File.separator + sourceFolder;
-
-        // Setup unwrapRequired option, which makes all the properties with "required" non-optional
-        if (additionalProperties.containsKey(UNWRAP_REQUIRED)) {
-            setUnwrapRequired(convertPropertyToBooleanAndWriteBack(UNWRAP_REQUIRED));
-        }
-        additionalProperties.put(UNWRAP_REQUIRED, unwrapRequired);
-
-        // Setup objcCompatible option, which adds additional properties and methods for Objective-C compatibility
-        if (additionalProperties.containsKey(OBJC_COMPATIBLE)) {
-            setObjcCompatible(convertPropertyToBooleanAndWriteBack(OBJC_COMPATIBLE));
-        }
-        additionalProperties.put(OBJC_COMPATIBLE, objcCompatible);
-
-        // Setup unwrapRequired option, which makes all the properties with "required" non-optional
-        if (additionalProperties.containsKey(RESPONSE_AS)) {
-            Object responseAsObject = additionalProperties.get(RESPONSE_AS);
-            if (responseAsObject instanceof String) {
-                setResponseAs(((String) responseAsObject).split(","));
-            } else {
-                setResponseAs((String[]) responseAsObject);
-            }
-        }
-        additionalProperties.put(RESPONSE_AS, responseAs);
-        if (ArrayUtils.contains(responseAs, LIBRARY_PROMISE_KIT)) {
-            additionalProperties.put("usePromiseKit", true);
-        }
-        if (ArrayUtils.contains(responseAs, LIBRARY_RX_SWIFT)) {
-            additionalProperties.put("useRxSwift", true);
-        }
-
-        // Setup swiftUseApiNamespace option, which makes all the API classes inner-class of {{projectName}}API
-        if (additionalProperties.containsKey(SWIFT_USE_API_NAMESPACE)) {
-            setSwiftUseApiNamespace(convertPropertyToBooleanAndWriteBack(SWIFT_USE_API_NAMESPACE));
-        }
-
-        if (!additionalProperties.containsKey(POD_AUTHORS)) {
-            additionalProperties.put(POD_AUTHORS, DEFAULT_POD_AUTHORS);
-        }
-
-        setLenientTypeCast(convertPropertyToBooleanAndWriteBack(LENIENT_TYPE_CAST));
-
-        supportingFiles.add(new SupportingFile("Podspec.mustache", "", projectName + ".podspec"));
-        supportingFiles.add(new SupportingFile("Cartfile.mustache", "", "Cartfile"));
-        supportingFiles.add(new SupportingFile("APIHelper.mustache", sourceFolder, "APIHelper.swift"));
-        supportingFiles.add(new SupportingFile("AlamofireImplementations.mustache", sourceFolder,
-                "AlamofireImplementations.swift"));
-        supportingFiles.add(new SupportingFile("Configuration.mustache", sourceFolder, "Configuration.swift"));
-        supportingFiles.add(new SupportingFile("Extensions.mustache", sourceFolder, "Extensions.swift"));
-        supportingFiles.add(new SupportingFile("Models.mustache", sourceFolder, "Models.swift"));
-        supportingFiles.add(new SupportingFile("APIs.mustache", sourceFolder, "APIs.swift"));
-        supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
-        supportingFiles.add(new SupportingFile("gitignore.mustache", "", ".gitignore"));
-
-    }
-
-    @Override
-    protected boolean isReservedWord(String word) {
-        return word != null && reservedWords.contains(word); //don't lowercase as super does
-    }
-
-    @Override
-    public String escapeReservedWord(String name) {
-        if (this.reservedWordsMappings().containsKey(name)) {
-            return this.reservedWordsMappings().get(name);
-        }
-        return "_" + name;  // add an underscore to the name
-    }
-
-    @Override
-    public String modelFileFolder() {
-        return outputFolder + File.separator + sourceFolder + modelPackage().replace('.', File.separatorChar);
-    }
-
-    @Override
-    public String apiFileFolder() {
-        return outputFolder + File.separator + sourceFolder + apiPackage().replace('.', File.separatorChar);
-    }
-
-    @Override
-    public String getTypeDeclaration(Schema p) {
-        if (ModelUtils.isArraySchema(p)) {
-            ArraySchema ap = (ArraySchema) p;
-            Schema inner = ap.getItems();
-            return "[" + getTypeDeclaration(inner) + "]";
-        } else if (ModelUtils.isMapSchema(p)) {
-            Schema inner = ModelUtils.getAdditionalProperties(p);
-            return "[String:" + getTypeDeclaration(inner) + "]";
-        }
-        return super.getTypeDeclaration(p);
-    }
-
-    @Override
-    public String getSchemaType(Schema p) {
-        String openAPIType = super.getSchemaType(p);
-        String type;
-        if (typeMapping.containsKey(openAPIType)) {
-            type = typeMapping.get(openAPIType);
-            if (languageSpecificPrimitives.contains(type) || defaultIncludes.contains(type))
-                return type;
-        } else
-            type = openAPIType;
-        return toModelName(type);
-    }
-
-    @Override
-    public boolean isDataTypeFile(String dataType) {
-        return dataType != null && dataType.equals("URL");
-    }
-
-    @Override
-    public boolean isDataTypeBinary(final String dataType) {
-        return dataType != null && dataType.equals("Data");
-    }
-
-    /**
-     * Output the proper model name (capitalized)
-     *
-     * @param name the name of the model
-     * @return capitalized model name
-     */
-    @Override
-    public String toModelName(String name) {
-        name = sanitizeName(name);  // FIXME parameter should not be assigned. Also declare it as "final"
-
-        if (!StringUtils.isEmpty(modelNameSuffix)) { // set model suffix
-            name = name + "_" + modelNameSuffix;
-        }
-
-        if (!StringUtils.isEmpty(modelNamePrefix)) { // set model prefix
-            name = modelNamePrefix + "_" + name;
-        }
-
-        // camelize the model name
-        // phone_number => PhoneNumber
-        name = camelize(name);
-
-        // model name cannot use reserved keyword, e.g. return
-        if (isReservedWord(name)) {
-            String modelName = "Model" + name;
-            LOGGER.warn(name + " (reserved word) cannot be used as model name. Renamed to " + modelName);
-            return modelName;
-        }
-
-        // model name starts with number
-        if (name.matches("^\\d.*")) {
-            String modelName = "Model" + name; // e.g. 200Response => Model200Response (after camelize)
-            LOGGER.warn(name + " (model name starts with number) cannot be used as model name. Renamed to " + modelName);
-            return modelName;
-        }
-
-        return name;
-    }
-
-    /**
-     * Return the capitalized file name of the model
-     *
-     * @param name the model name
-     * @return the file name of the model
-     */
-    @Override
-    public String toModelFilename(String name) {
-        // should be the same as the model name
-        return toModelName(name);
-    }
-
-    @Override
-    public String toDefaultValue(Schema p) {
-        // nil
-        return null;
-    }
-
-    @Override
-    public String toInstantiationType(Schema p) {
-        if (ModelUtils.isMapSchema(p)) {
-            return getSchemaType(ModelUtils.getAdditionalProperties(p));
-        } else if (ModelUtils.isArraySchema(p)) {
-            ArraySchema ap = (ArraySchema) p;
-            String inner = getSchemaType(ap.getItems());
-            return "[" + inner + "]";
-        }
-        return null;
-    }
-
-    @Override
-    public String toApiName(String name) {
-        if (name.length() == 0)
-            return "DefaultAPI";
-        return camelize(name) + "API";
-    }
-
-    @Override
-    public String toOperationId(String operationId) {
-        operationId = camelize(sanitizeName(operationId), true);
-
-        // throw exception if method name is empty. This should not happen but keep the check just in case
-        if (StringUtils.isEmpty(operationId)) {
-            throw new RuntimeException("Empty method name (operationId) not allowed");
-        }
-
-        // method name cannot use reserved keyword, e.g. return
-        if (isReservedWord(operationId)) {
-            String newOperationId = camelize(("call_" + operationId), true);
-            LOGGER.warn(operationId + " (reserved word) cannot be used as method name. Renamed to " + newOperationId);
-            return newOperationId;
-        }
-
-        // operationId starts with a number
-        if (operationId.matches("^\\d.*")) {
-            LOGGER.warn(operationId + " (starting with a number) cannot be used as method name. Renamed to " + camelize(sanitizeName("call_" + operationId), true));
-            operationId = camelize(sanitizeName("call_" + operationId), true);
-        }
-
-        return operationId;
-    }
-
-    @Override
-    public String toVarName(String name) {
-        // sanitize name
-        name = sanitizeName(name);
-
-        // if it's all uppper case, do nothing
-        if (name.matches("^[A-Z_]*$")) {
-            return name;
-        }
-
-        // camelize the variable name
-        // pet_id => petId
-        name = camelize(name, true);
-
-        // for reserved word or word starting with number, append _
-        if (isReservedWord(name) || name.matches("^\\d.*")) {
-            name = escapeReservedWord(name);
-        }
-
-        return name;
-    }
-
-    @Override
-    public String toParamName(String name) {
-        // sanitize name
-        name = sanitizeName(name);
-
-        // replace - with _ e.g. created-at => created_at
-        name = name.replaceAll("-", "_");
-
-        // if it's all uppper case, do nothing
-        if (name.matches("^[A-Z_]*$")) {
-            return name;
-        }
-
-        // camelize(lower) the variable name
-        // pet_id => petId
-        name = camelize(name, true);
-
-        // for reserved word or word starting with number, append _
-        if (isReservedWord(name) || name.matches("^\\d.*")) {
-            name = escapeReservedWord(name);
-        }
-
-        return name;
-    }
-
-    @Override
-    public CodegenModel fromModel(String name, Schema schema) {
-        Map<String, Schema> allDefinitions = ModelUtils.getSchemas(this.openAPI);
-        CodegenModel codegenModel = super.fromModel(name, schema);
-        if (codegenModel.description != null) {
-            codegenModel.imports.add("ApiModel");
-        }
-        if (allDefinitions != null) {
-            String parentSchema = codegenModel.parentSchema;
-
-            // multilevel inheritance: reconcile properties of all the parents
-            while (parentSchema != null) {
-                final Schema parentModel = allDefinitions.get(parentSchema);
-                final CodegenModel parentCodegenModel = super.fromModel(codegenModel.parent, parentModel);
-                codegenModel = Swift3Codegen.reconcileProperties(codegenModel, parentCodegenModel);
-
-                // get the next parent
-                parentSchema = parentCodegenModel.parentSchema;
-            }
-        }
-
-        return codegenModel;
-    }
-
-    public void setProjectName(String projectName) {
-        this.projectName = projectName;
-    }
-
-    public void setUnwrapRequired(boolean unwrapRequired) {
-        this.unwrapRequired = unwrapRequired;
-    }
-
-    public void setObjcCompatible(boolean objcCompatible) {
-        this.objcCompatible = objcCompatible;
-    }
-
-    public void setLenientTypeCast(boolean lenientTypeCast) {
-        this.lenientTypeCast = lenientTypeCast;
-    }
-
-    public void setResponseAs(String[] responseAs) {
-        this.responseAs = responseAs;
-    }
-
-    public void setSwiftUseApiNamespace(boolean swiftUseApiNamespace) {
-        this.swiftUseApiNamespace = swiftUseApiNamespace;
-    }
-
-    @Override
-    public String toEnumValue(String value, String datatype) {
-        return String.valueOf(value);
-    }
-
-    @Override
-    public String toEnumDefaultValue(String value, String datatype) {
-        return datatype + "_" + value;
-    }
-
-    @Override
-    public String toEnumVarName(String name, String datatype) {
-        if (name.length() == 0) {
-            return "empty";
-        }
-
-        Pattern startWithNumberPattern = Pattern.compile("^\\d+");
-        Matcher startWithNumberMatcher = startWithNumberPattern.matcher(name);
-        if (startWithNumberMatcher.find()) {
-            String startingNumbers = startWithNumberMatcher.group(0);
-            String nameWithoutStartingNumbers = name.substring(startingNumbers.length());
-
-            return "_" + startingNumbers + camelize(nameWithoutStartingNumbers, true);
-        }
-
-        // for symbol, e.g. $, #
-        if (getSymbolName(name) != null) {
-            return camelize(WordUtils.capitalizeFully(getSymbolName(name).toUpperCase(Locale.ROOT)), true);
-        }
-
-        // Camelize only when we have a structure defined below
-        Boolean camelized = false;
-        if (name.matches("[A-Z][a-z0-9]+[a-zA-Z0-9]*")) {
-            name = camelize(name, true);
-            camelized = true;
-        }
-
-        // Reserved Name
-        String nameLowercase = StringUtils.lowerCase(name);
-        if (isReservedWord(nameLowercase)) {
-            return escapeReservedWord(nameLowercase);
-        }
-
-        // Check for numerical conversions
-        if ("Int".equals(datatype) || "Int32".equals(datatype) || "Int64".equals(datatype) ||
-                "Float".equals(datatype) || "Double".equals(datatype)) {
-            String varName = "number" + camelize(name);
-            varName = varName.replaceAll("-", "minus");
-            varName = varName.replaceAll("\\+", "plus");
-            varName = varName.replaceAll("\\.", "dot");
-            return varName;
-        }
-
-        // If we have already camelized the word, don't progress
-        // any further
-        if (camelized) {
-            return name;
-        }
-
-        char[] separators = {'-', '_', ' ', ':', '(', ')'};
-        return camelize(WordUtils.capitalizeFully(StringUtils.lowerCase(name), separators).replaceAll("[-_ :\\(\\)]", ""), true);
-    }
-
-    @Override
-    public String toEnumName(CodegenProperty property) {
-        String enumName = toModelName(property.name);
-
-        // Ensure that the enum type doesn't match a reserved word or
-        // the variable name doesn't match the generated enum type or the
-        // Swift compiler will generate an error
-        if (isReservedWord(property.datatypeWithEnum) || toVarName(property.name).equals(property.datatypeWithEnum)) {
-            enumName = property.datatypeWithEnum + "Enum";
-        }
-
-        // TODO: toModelName already does something for names starting with number, so this code is probably never called
-        if (enumName.matches("\\d.*")) { // starts with number
-            return "_" + enumName;
-        } else {
-            return enumName;
-        }
-    }
-
-    @Override
-    public Map<String, Object> postProcessModels(Map<String, Object> objs) {
-        // process enum in models
-        return postProcessModelsEnum(objs);
-    }
-
-    @Override
-    public void postProcessModelProperty(CodegenModel model, CodegenProperty property) {
-        super.postProcessModelProperty(model, property);
-
-        // The default template code has the following logic for assigning a type as Swift Optional:
-        //
-        // {{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}
-        //
-        // which means:
-        //
-        // boolean isSwiftOptional = !unwrapRequired || (unwrapRequired && !property.required);
-        //
-        // We can drop the check for unwrapRequired in (unwrapRequired && !property.required)
-        // due to short-circuit evaluation of the || operator.
-        boolean isSwiftOptional = !unwrapRequired || !property.required;
-        boolean isSwiftScalarType = property.isInteger || property.isLong || property.isFloat || property.isDouble || property.isBoolean;
-        if (isSwiftOptional && isSwiftScalarType) {
-            // Optional scalar types like Int?, Int64?, Float?, Double?, and Bool?
-            // do not translate to Objective-C. So we want to flag those
-            // properties in case we want to put special code in the templates
-            // which provide Objective-C compatibility.
-            property.vendorExtensions.put("x-swift-optional-scalar", true);
-        }
-    }
-
-    @Override
-    public String escapeQuotationMark(String input) {
-        // remove " to avoid code injection
-        return input.replace("\"", "");
-    }
-
-    @Override
-    public String escapeUnsafeCharacters(String input) {
-        return input.replace("*/", "*_/").replace("/*", "/_*");
-    }
-
-    @Override
-    public void postProcessFile(File file, String fileType) {
-        if (file == null) {
-            return;
-        }
-        String swiftPostProcessFile = System.getenv("SWIFT_POST_PROCESS_FILE");
-        if (StringUtils.isEmpty(swiftPostProcessFile)) {
-            return; // skip if SWIFT_POST_PROCESS_FILE env variable is not defined
-        }
-
-        // only process files with swift extension
-        if ("swift".equals(FilenameUtils.getExtension(file.toString()))) {
-            String command = swiftPostProcessFile + " " + file.toString();
-            try {
-                Process p = Runtime.getRuntime().exec(command);
-                int exitValue = p.waitFor();
-                if (exitValue != 0) {
-                    LOGGER.error("Error running the command ({}). Exit value: {}", command, exitValue);
-                } else {
-                    LOGGER.info("Successfully executed: " + command);
-                }
-            } catch (Exception e) {
-                LOGGER.error("Error running the command ({}). Exception: {}", command, e.getMessage());
-            }
-        }
-    }
-}
diff --git a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SwiftClientCodegen.java b/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SwiftClientCodegen.java
deleted file mode 100644
index 039d271fa05..00000000000
--- a/modules/openapi-generator/src/main/java/org/openapitools/codegen/languages/SwiftClientCodegen.java
+++ /dev/null
@@ -1,657 +0,0 @@
-/*
- * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
- * Copyright 2018 SmartBear Software
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.openapitools.codegen.languages;
-
-import io.swagger.v3.oas.models.Operation;
-import io.swagger.v3.oas.models.media.ArraySchema;
-import io.swagger.v3.oas.models.media.Schema;
-import io.swagger.v3.oas.models.servers.Server;
-import org.apache.commons.lang3.ArrayUtils;
-import org.apache.commons.lang3.StringUtils;
-import org.apache.commons.lang3.text.WordUtils;
-import org.openapitools.codegen.*;
-import org.openapitools.codegen.meta.GeneratorMetadata;
-import org.openapitools.codegen.meta.Stability;
-import org.openapitools.codegen.meta.features.*;
-import org.openapitools.codegen.utils.ModelUtils;
-import org.slf4j.Logger;
-import org.slf4j.LoggerFactory;
-
-import java.io.File;
-import java.util.*;
-import java.util.regex.Matcher;
-import java.util.regex.Pattern;
-
-import static org.openapitools.codegen.utils.StringUtils.camelize;
-import static org.openapitools.codegen.utils.StringUtils.underscore;
-
-/**
- * Swift (2.x) generator is no longer actively maintained. Please use
- * 'swift3' or 'swift4' generator instead.
- */
-
-public class SwiftClientCodegen extends DefaultCodegen implements CodegenConfig {
-    private static final Logger LOGGER = LoggerFactory.getLogger(SwiftClientCodegen.class);
-
-    public static final String PROJECT_NAME = "projectName";
-    public static final String RESPONSE_AS = "responseAs";
-    public static final String UNWRAP_REQUIRED = "unwrapRequired";
-    public static final String POD_SOURCE = "podSource";
-    public static final String POD_AUTHORS = "podAuthors";
-    public static final String POD_SOCIAL_MEDIA_URL = "podSocialMediaURL";
-    public static final String POD_DOCSET_URL = "podDocsetURL";
-    public static final String POD_LICENSE = "podLicense";
-    public static final String POD_HOMEPAGE = "podHomepage";
-    public static final String POD_SUMMARY = "podSummary";
-    public static final String POD_DESCRIPTION = "podDescription";
-    public static final String POD_SCREENSHOTS = "podScreenshots";
-    public static final String POD_DOCUMENTATION_URL = "podDocumentationURL";
-    public static final String SWIFT_USE_API_NAMESPACE = "swiftUseApiNamespace";
-    public static final String DEFAULT_POD_AUTHORS = "OpenAPI Generator";
-    protected static final String LIBRARY_PROMISE_KIT = "PromiseKit";
-    protected static final String LIBRARY_RX_SWIFT = "RxSwift";
-    protected static final String[] RESPONSE_LIBRARIES = {LIBRARY_PROMISE_KIT, LIBRARY_RX_SWIFT};
-    protected String projectName = "OpenAPIClient";
-    protected boolean unwrapRequired;
-    protected boolean swiftUseApiNamespace;
-    protected String[] responseAs = new String[0];
-    protected String sourceFolder = "Classes" + File.separator + "OpenAPIs";
-    private static final Pattern PATH_PARAM_PATTERN = Pattern.compile("\\{[a-zA-Z_]+\\}");
-
-    @Override
-    public CodegenType getTag() {
-        return CodegenType.CLIENT;
-    }
-
-    @Override
-    public String getName() {
-        return "swift2-deprecated";
-    }
-
-    @Override
-    public String getHelp() {
-        return "Generates a Swift (2.x) client library. IMPORTANT NOTE: this generator (swfit 2.x)  is no longer actively maintained so please use 'swift4' generator instead.";
-    }
-
-    public SwiftClientCodegen() {
-        super();
-
-        generatorMetadata = GeneratorMetadata.newBuilder(generatorMetadata)
-                .stability(Stability.DEPRECATED)
-                .build();
-
-        modifyFeatureSet(features -> features
-                .wireFormatFeatures(EnumSet.of(WireFormatFeature.JSON))
-                .securityFeatures(EnumSet.noneOf(SecurityFeature.class))
-                .excludeGlobalFeatures(
-                        GlobalFeature.XMLStructureDefinitions,
-                        GlobalFeature.Callbacks,
-                        GlobalFeature.LinkObjects,
-                        GlobalFeature.ParameterStyling
-                )
-                .excludeSchemaSupportFeatures(
-                        SchemaSupportFeature.Polymorphism
-                )
-                .excludeParameterFeatures(
-                        ParameterFeature.Cookie
-                )
-        );
-
-        outputFolder = "generated-code" + File.separator + "swift";
-        modelTemplateFiles.put("model.mustache", ".swift");
-        apiTemplateFiles.put("api.mustache", ".swift");
-        embeddedTemplateDir = templateDir = "swift";
-        apiPackage = File.separator + "APIs";
-        modelPackage = File.separator + "Models";
-
-        // default HIDE_GENERATION_TIMESTAMP to true
-        hideGenerationTimestamp = Boolean.TRUE;
-
-        languageSpecificPrimitives = new HashSet<String>(
-                Arrays.asList(
-                        "Int",
-                        "Int32",
-                        "Int64",
-                        "Float",
-                        "Double",
-                        "Bool",
-                        "Void",
-                        "String",
-                        "Character",
-                        "AnyObject")
-        );
-        defaultIncludes = new HashSet<String>(
-                Arrays.asList(
-                        "NSData",
-                        "NSDate",
-                        "NSURL", // for file
-                        "NSUUID",
-                        "Array",
-                        "Dictionary",
-                        "Set",
-                        "Any",
-                        "Empty",
-                        "AnyObject")
-        );
-        reservedWords = new HashSet<String>(
-                Arrays.asList(
-                        // name used by swift client
-                        "ErrorResponse",
-
-                        // swift keywords
-                        // https://docs.swift.org/swift-book/ReferenceManual/LexicalStructure.html Section: Keywords and Punctuation
-                        "Int", "Int32", "Int64", "Int64", "Float", "Double", "Bool", "Void", "String", "Character", "AnyObject",
-                        "class", "Class", "break", "as", "associativity", "deinit", "case", "dynamicType", "convenience", "enum", "continue",
-                        "false", "dynamic", "extension", "default", "is", "didSet", "func", "do", "nil", "final", "import", "else",
-                        "self", "get", "init", "fallthrough", "Self", "infix", "internal", "for", "super", "inout", "let", "if",
-                        "true", "lazy", "operator", "in", "COLUMN", "left", "private", "return", "FILE", "mutating", "protocol",
-                        "switch", "FUNCTION", "none", "public", "where", "LINE", "nonmutating", "static", "while", "optional",
-                        "struct", "override", "subscript", "postfix", "typealias", "precedence", "var", "prefix", "Protocol",
-                        "required", "right", "set", "Type", "unowned", "weak", "Data","fileprivate", "open", "rethrows", "defer",
-                        "guard", "repeat", "Any", "catch", "throw", "throws", "try", "indirect", "willSet")
-        );
-
-        typeMapping = new HashMap<String, String>();
-        typeMapping.put("array", "Array");
-        typeMapping.put("List", "Array");
-        typeMapping.put("map", "Dictionary");
-        typeMapping.put("date", "ISOFullDate");
-        typeMapping.put("Date", "ISOFullDate");
-        typeMapping.put("DateTime", "NSDate");
-        typeMapping.put("boolean", "Bool");
-        typeMapping.put("string", "String");
-        typeMapping.put("char", "Character");
-        typeMapping.put("short", "Int");
-        typeMapping.put("int", "Int32");
-        typeMapping.put("long", "Int64");
-        typeMapping.put("integer", "Int32");
-        typeMapping.put("Integer", "Int32");
-        typeMapping.put("float", "Float");
-        typeMapping.put("number", "Double");
-        typeMapping.put("double", "Double");
-        typeMapping.put("object", "AnyObject");
-        typeMapping.put("file", "NSURL");
-        typeMapping.put("binary", "NSURL");
-        typeMapping.put("ByteArray", "NSData");
-        typeMapping.put("UUID", "NSUUID");
-        typeMapping.put("URI", "String");
-
-        importMapping = new HashMap<String, String>();
-
-        cliOptions.add(new CliOption(PROJECT_NAME, "Project name in Xcode"));
-        cliOptions.add(new CliOption(RESPONSE_AS, "Optionally use libraries to manage response.  Currently " +
-                StringUtils.join(RESPONSE_LIBRARIES, ", ") + " are available."));
-        cliOptions.add(new CliOption(UNWRAP_REQUIRED, "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"));
-        cliOptions.add(new CliOption(POD_SOURCE, "Source information used for Podspec"));
-        cliOptions.add(new CliOption(CodegenConstants.POD_VERSION, "Version used for Podspec"));
-        cliOptions.add(new CliOption(POD_AUTHORS, "Authors used for Podspec"));
-        cliOptions.add(new CliOption(POD_SOCIAL_MEDIA_URL, "Social Media URL used for Podspec"));
-        cliOptions.add(new CliOption(POD_DOCSET_URL, "Docset URL used for Podspec"));
-        cliOptions.add(new CliOption(POD_LICENSE, "License used for Podspec"));
-        cliOptions.add(new CliOption(POD_HOMEPAGE, "Homepage used for Podspec"));
-        cliOptions.add(new CliOption(POD_SUMMARY, "Summary used for Podspec"));
-        cliOptions.add(new CliOption(POD_DESCRIPTION, "Description used for Podspec"));
-        cliOptions.add(new CliOption(POD_SCREENSHOTS, "Screenshots used for Podspec"));
-        cliOptions.add(new CliOption(POD_DOCUMENTATION_URL, "Documentation URL used for Podspec"));
-        cliOptions.add(new CliOption(SWIFT_USE_API_NAMESPACE, "Flag to make all the API classes inner-class of {{projectName}}API"));
-        cliOptions.add(new CliOption(CodegenConstants.HIDE_GENERATION_TIMESTAMP, CodegenConstants.HIDE_GENERATION_TIMESTAMP_DESC)
-                .defaultValue(Boolean.TRUE.toString()));
-
-    }
-
-    @Override
-    public void processOpts() {
-        super.processOpts();
-
-        // Setup project name
-        if (additionalProperties.containsKey(PROJECT_NAME)) {
-            setProjectName((String) additionalProperties.get(PROJECT_NAME));
-        } else {
-            additionalProperties.put(PROJECT_NAME, projectName);
-        }
-        sourceFolder = projectName + File.separator + sourceFolder;
-
-        // Setup unwrapRequired option, which makes all the properties with "required" non-optional
-        if (additionalProperties.containsKey(UNWRAP_REQUIRED)) {
-            setUnwrapRequired(convertPropertyToBooleanAndWriteBack(UNWRAP_REQUIRED));
-        }
-
-        // Setup unwrapRequired option, which makes all the properties with "required" non-optional
-        if (additionalProperties.containsKey(RESPONSE_AS)) {
-            Object responseAsObject = additionalProperties.get(RESPONSE_AS);
-            if (responseAsObject instanceof String) {
-                setResponseAs(((String) responseAsObject).split(","));
-            } else {
-                setResponseAs((String[]) responseAsObject);
-            }
-        }
-        additionalProperties.put(RESPONSE_AS, responseAs);
-        if (ArrayUtils.contains(responseAs, LIBRARY_PROMISE_KIT)) {
-            additionalProperties.put("usePromiseKit", true);
-        }
-        if (ArrayUtils.contains(responseAs, LIBRARY_RX_SWIFT)) {
-            additionalProperties.put("useRxSwift", true);
-        }
-
-        // Setup swiftUseApiNamespace option, which makes all the API classes inner-class of {{projectName}}API
-        if (additionalProperties.containsKey(SWIFT_USE_API_NAMESPACE)) {
-            setSwiftUseApiNamespace(convertPropertyToBooleanAndWriteBack(SWIFT_USE_API_NAMESPACE));
-        }
-
-        if (!additionalProperties.containsKey(POD_AUTHORS)) {
-            additionalProperties.put(POD_AUTHORS, DEFAULT_POD_AUTHORS);
-        }
-
-        supportingFiles.add(new SupportingFile("Podspec.mustache", "", projectName + ".podspec"));
-        supportingFiles.add(new SupportingFile("Cartfile.mustache", "", "Cartfile"));
-        supportingFiles.add(new SupportingFile("APIHelper.mustache", sourceFolder, "APIHelper.swift"));
-        supportingFiles.add(new SupportingFile("AlamofireImplementations.mustache", sourceFolder,
-                "AlamofireImplementations.swift"));
-        supportingFiles.add(new SupportingFile("Extensions.mustache", sourceFolder, "Extensions.swift"));
-        supportingFiles.add(new SupportingFile("Models.mustache", sourceFolder, "Models.swift"));
-        supportingFiles.add(new SupportingFile("APIs.mustache", sourceFolder, "APIs.swift"));
-        supportingFiles.add(new SupportingFile("git_push.sh.mustache", "", "git_push.sh"));
-        supportingFiles.add(new SupportingFile("gitignore.mustache", "", ".gitignore"));
-
-    }
-
-    @Override
-    protected boolean isReservedWord(String word) {
-        return word != null && reservedWords.contains(word); //don't lowercase as super does
-    }
-
-    @Override
-    public String escapeReservedWord(String name) {
-        if (this.reservedWordsMappings().containsKey(name)) {
-            return this.reservedWordsMappings().get(name);
-        }
-        return "_" + name; // add an underscore to the name
-    }
-
-    @Override
-    public String modelFileFolder() {
-        return outputFolder + File.separator + sourceFolder + modelPackage().replace('.', File.separatorChar);
-    }
-
-    @Override
-    public String apiFileFolder() {
-        return outputFolder + File.separator + sourceFolder + apiPackage().replace('.', File.separatorChar);
-    }
-
-    @Override
-    public String getTypeDeclaration(Schema p) {
-        if (ModelUtils.isArraySchema(p)) {
-            ArraySchema ap = (ArraySchema) p;
-            Schema inner = ap.getItems();
-            return "[" + getTypeDeclaration(inner) + "]";
-        } else if (ModelUtils.isMapSchema(p)) {
-            Schema inner = ModelUtils.getAdditionalProperties(p);
-            return "[String:" + getTypeDeclaration(inner) + "]";
-        }
-        return super.getTypeDeclaration(p);
-    }
-
-    @Override
-    public String getSchemaType(Schema p) {
-        String schemaType = super.getSchemaType(p);
-        String type = null;
-        if (typeMapping.containsKey(schemaType)) {
-            type = typeMapping.get(schemaType);
-            if (languageSpecificPrimitives.contains(type) || defaultIncludes.contains(type))
-                return type;
-        } else
-            type = schemaType;
-        return toModelName(type);
-    }
-
-    @Override
-    public boolean isDataTypeFile(String dataType) {
-        return dataType != null && dataType.equals("NSURL");
-    }
-
-    @Override
-    public boolean isDataTypeBinary(final String dataType) {
-        return dataType != null && dataType.equals("NSData");
-    }
-
-    /**
-     * Output the proper model name (capitalized)
-     *
-     * @param name the name of the model
-     * @return capitalized model name
-     */
-    @Override
-    public String toModelName(String name) {
-        name = sanitizeName(name);  // FIXME parameter should not be assigned. Also declare it as "final"
-
-        if (!StringUtils.isEmpty(modelNameSuffix)) { // set model suffix
-            name = name + "_" + modelNameSuffix;
-        }
-
-        if (!StringUtils.isEmpty(modelNamePrefix)) { // set model prefix
-            name = modelNamePrefix + "_" + name;
-        }
-
-        // camelize the model name
-        // phone_number => PhoneNumber
-        name = camelize(name);
-
-        // model name cannot use reserved keyword, e.g. return
-        if (isReservedWord(name)) {
-            String modelName = "Model" + name;
-            LOGGER.warn(name + " (reserved word) cannot be used as model name. Renamed to " + modelName);
-            return modelName;
-        }
-
-        // model name starts with number
-        if (name.matches("^\\d.*")) {
-            String modelName = "Model" + name; // e.g. 200Response => Model200Response (after camelize)
-            LOGGER.warn(name + " (model name starts with number) cannot be used as model name. Renamed to " + modelName);
-            return modelName;
-        }
-
-        return name;
-    }
-
-    /**
-     * Return the capitalized file name of the model
-     *
-     * @param name the model name
-     * @return the file name of the model
-     */
-    @Override
-    public String toModelFilename(String name) {
-        // should be the same as the model name
-        return toModelName(name);
-    }
-
-    @Override
-    public String toDefaultValue(Schema p) {
-        // nil
-        return null;
-    }
-
-    @Override
-    public String toInstantiationType(Schema p) {
-        if (ModelUtils.isMapSchema(p)) {
-            String inner = getSchemaType(ModelUtils.getAdditionalProperties(p));
-            return "[String:" + inner + "]";
-        } else if (ModelUtils.isArraySchema(p)) {
-            ArraySchema ap = (ArraySchema) p;
-            String inner = getSchemaType(ap.getItems());
-            return "[" + inner + "]";
-        }
-        return null;
-    }
-
-    @Override
-    public CodegenProperty fromProperty(String name, Schema p) {
-        CodegenProperty codegenProperty = super.fromProperty(name, p);
-        // TODO skip array/map of enum for the time being,
-        // we need to add logic here to handle array/map of enum for any
-        // dimensions
-        if (Boolean.TRUE.equals(codegenProperty.isContainer)) {
-            return codegenProperty;
-        }
-
-        if (codegenProperty.isEnum) {
-            List<Map<String, String>> swiftEnums = new ArrayList<Map<String, String>>();
-            List<String> values = (List<String>) codegenProperty.allowableValues.get("values");
-
-            for (Object value : values) {
-                Map<String, String> map = new HashMap<String, String>();
-                map.put("enum", toSwiftyEnumName(String.valueOf(value)));
-                map.put("raw", String.valueOf(value));
-                swiftEnums.add(map);
-            }
-            codegenProperty.allowableValues.put("values", swiftEnums);
-            codegenProperty.datatypeWithEnum = toEnumName(codegenProperty);
-            //codegenProperty.datatypeWithEnum =
-            //    StringUtils.left(codegenProperty.datatypeWithEnum, codegenProperty.datatypeWithEnum.length() - "Enum".length());
-
-            // Ensure that the enum type doesn't match a reserved word or
-            // the variable name doesn't match the generated enum type or the
-            // Swift compiler will generate an error
-            if (isReservedWord(codegenProperty.datatypeWithEnum) || toVarName(name).equals(codegenProperty.datatypeWithEnum)) {
-                codegenProperty.datatypeWithEnum = codegenProperty.datatypeWithEnum + "Enum";
-            }
-        }
-        return codegenProperty;
-    }
-
-    @SuppressWarnings("static-method")
-    public String toSwiftyEnumName(String value) {
-        if (value.length() == 0) {
-            return "Empty";
-        }
-
-        if (value.matches("^-?\\d*\\.{0,1}\\d+.*")) { // starts with number
-            value = "Number" + value;
-            value = value.replaceAll("-", "Minus");
-            value = value.replaceAll("\\+", "Plus");
-            value = value.replaceAll("\\.", "Dot");
-        }
-
-        // Prevent from breaking properly cased identifier
-        if (value.matches("[A-Z][a-z0-9]+[a-zA-Z0-9]*")) {
-            return value;
-        }
-
-        char[] separators = {'-', '_', ' ', ':', '/'};
-        return WordUtils.capitalizeFully(StringUtils.lowerCase(value), separators).replaceAll("[-_  :/]", "");
-    }
-
-
-    @Override
-    public String toApiName(String name) {
-        if (name.length() == 0)
-            return "DefaultAPI";
-        return camelize(name) + "API";
-    }
-
-    @Override
-    public String toOperationId(String operationId) {
-        operationId = camelize(sanitizeName(operationId), true);
-
-        // throw exception if method name is empty. This should not happen but keep the check just in case
-        if (StringUtils.isEmpty(operationId)) {
-            throw new RuntimeException("Empty method name (operationId) not allowed");
-        }
-
-        // method name cannot use reserved keyword, e.g. return
-        if (isReservedWord(operationId)) {
-            String newOperationId = camelize(("call_" + operationId), true);
-            LOGGER.warn(operationId + " (reserved word) cannot be used as method name. Renamed to " + newOperationId);
-            return newOperationId;
-        }
-
-        // operationId starts with a number
-        if (operationId.matches("^\\d.*")) {
-            LOGGER.warn(operationId + " (starting with a number) cannot be used as method name. Renamed to " + camelize(sanitizeName("call_" + operationId), true));
-            operationId = camelize(sanitizeName("call_" + operationId), true);
-        }
-
-        return operationId;
-    }
-
-    @Override
-    public String toVarName(String name) {
-        // sanitize name
-        name = sanitizeName(name);
-
-        // if it's all uppper case, do nothing
-        if (name.matches("^[A-Z_]*$")) {
-            return name;
-        }
-
-        // camelize the variable name
-        // pet_id => petId
-        name = camelize(name, true);
-
-        // for reserved word or word starting with number, append _
-        if (isReservedWord(name) || name.matches("^\\d.*")) {
-            name = escapeReservedWord(name);
-        }
-
-        return name;
-    }
-
-    @Override
-    public String toParamName(String name) {
-        // sanitize name
-        name = sanitizeName(name);
-
-        // replace - with _ e.g. created-at => created_at
-        name = name.replaceAll("-", "_");
-
-        // if it's all uppper case, do nothing
-        if (name.matches("^[A-Z_]*$")) {
-            return name;
-        }
-
-        // camelize(lower) the variable name
-        // pet_id => petId
-        name = camelize(name, true);
-
-        // for reserved word or word starting with number, append _
-        if (isReservedWord(name) || name.matches("^\\d.*")) {
-            name = escapeReservedWord(name);
-        }
-
-        return name;
-    }
-
-    @Override
-    public CodegenOperation fromOperation(String path, String httpMethod, Operation operation, List<Server> servers) {
-        path = normalizePath(path); // FIXME: a parameter should not be assigned. Also declare the methods parameters as 'final'.
-        // issue 3914 - removed logic designed to remove any parameter of type HeaderParameter
-        return super.fromOperation(path, httpMethod, operation, servers);
-    }
-
-    private static String normalizePath(String path) {
-        StringBuilder builder = new StringBuilder();
-
-        int cursor = 0;
-        Matcher matcher = PATH_PARAM_PATTERN.matcher(path);
-        boolean found = matcher.find();
-        while (found) {
-            String stringBeforeMatch = path.substring(cursor, matcher.start());
-            builder.append(stringBeforeMatch);
-
-            String group = matcher.group().substring(1, matcher.group().length() - 1);
-            group = camelize(group, true);
-            builder
-                    .append("{")
-                    .append(group)
-                    .append("}");
-
-            cursor = matcher.end();
-            found = matcher.find();
-        }
-
-        String stringAfterMatch = path.substring(cursor);
-        builder.append(stringAfterMatch);
-
-        return builder.toString();
-    }
-
-    public void setProjectName(String projectName) {
-        this.projectName = projectName;
-    }
-
-    public void setUnwrapRequired(boolean unwrapRequired) {
-        this.unwrapRequired = unwrapRequired;
-    }
-
-    public void setResponseAs(String[] responseAs) {
-        this.responseAs = responseAs;
-    }
-
-    public void setSwiftUseApiNamespace(boolean swiftUseApiNamespace) {
-        this.swiftUseApiNamespace = swiftUseApiNamespace;
-    }
-
-    @Override
-    public String toEnumValue(String value, String datatype) {
-        if ("int".equals(datatype) || "double".equals(datatype) || "float".equals(datatype)) {
-            return value;
-        } else {
-            return "\'" + escapeText(value) + "\'";
-        }
-    }
-
-    @Override
-    public String toEnumDefaultValue(String value, String datatype) {
-        return datatype + "_" + value;
-    }
-
-    @Override
-    public String toEnumVarName(String name, String datatype) {
-        // TODO: this code is probably useless, because the var name is computed from the value in map.put("enum", toSwiftyEnumName(value));
-        // number
-        if ("int".equals(datatype) || "double".equals(datatype) || "float".equals(datatype)) {
-            String varName = name;
-            varName = varName.replaceAll("-", "MINUS_");
-            varName = varName.replaceAll("\\+", "PLUS_");
-            varName = varName.replaceAll("\\.", "_DOT_");
-            return varName;
-        }
-
-        // string
-        String enumName = sanitizeName(underscore(name).toUpperCase(Locale.ROOT));
-        enumName = enumName.replaceFirst("^_", "");
-        enumName = enumName.replaceFirst("_$", "");
-
-        if (enumName.matches("\\d.*")) { // starts with number
-            return "_" + enumName;
-        } else {
-            return enumName;
-        }
-    }
-
-    @Override
-    public String toEnumName(CodegenProperty property) {
-        String enumName = toModelName(property.name);
-
-        // TODO: toModelName already does something for names starting with number, so this code is probably never called
-        if (enumName.matches("\\d.*")) { // starts with number
-            return "_" + enumName;
-        } else {
-            return enumName;
-        }
-    }
-
-    @Override
-    public Map<String, Object> postProcessModels(Map<String, Object> objs) {
-        // process enum in models
-        return postProcessModelsEnum(objs);
-    }
-
-    @Override
-    public String escapeQuotationMark(String input) {
-        // remove " to avoid code injection
-        return input.replace("\"", "");
-    }
-
-    @Override
-    public String escapeUnsafeCharacters(String input) {
-        return input.replace("*/", "*_/").replace("/*", "/_*");
-    }
-
-}
diff --git a/modules/openapi-generator/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig b/modules/openapi-generator/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig
index 4af3596d0b7..50334b820b3 100644
--- a/modules/openapi-generator/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig
+++ b/modules/openapi-generator/src/main/resources/META-INF/services/org.openapitools.codegen.CodegenConfig
@@ -114,8 +114,6 @@ org.openapitools.codegen.languages.SpringCodegen
 org.openapitools.codegen.languages.StaticDocCodegen
 org.openapitools.codegen.languages.StaticHtmlGenerator
 org.openapitools.codegen.languages.StaticHtml2Generator
-org.openapitools.codegen.languages.SwiftClientCodegen
-org.openapitools.codegen.languages.Swift3Codegen
 org.openapitools.codegen.languages.Swift4Codegen
 org.openapitools.codegen.languages.Swift5ClientCodegen
 org.openapitools.codegen.languages.TypeScriptAngularClientCodegen
@@ -127,4 +125,4 @@ org.openapitools.codegen.languages.TypeScriptInversifyClientCodegen
 org.openapitools.codegen.languages.TypeScriptJqueryClientCodegen
 org.openapitools.codegen.languages.TypeScriptNodeClientCodegen
 org.openapitools.codegen.languages.TypeScriptReduxQueryClientCodegen
-org.openapitools.codegen.languages.TypeScriptRxjsClientCodegen
\ No newline at end of file
+org.openapitools.codegen.languages.TypeScriptRxjsClientCodegen
diff --git a/modules/openapi-generator/src/main/resources/swift/APIHelper.mustache b/modules/openapi-generator/src/main/resources/swift/APIHelper.mustache
deleted file mode 100644
index 2e354e54181..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/APIHelper.mustache
+++ /dev/null
@@ -1,50 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-class APIHelper {
-    static func rejectNil(source: [String:AnyObject?]) -> [String:AnyObject]? {
-        var destination = [String:AnyObject]()
-        for (key, nillableValue) in source {
-            if let value: AnyObject = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(source: [String:AnyObject?]) -> [String:String] {
-        var destination = [String:String]()
-        for (key, nillableValue) in source {
-            if let value: AnyObject = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(source: [String: AnyObject]?) -> [String:AnyObject]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String:AnyObject]()
-        let theTrue = NSNumber(bool: true)
-        let theFalse = NSNumber(bool: false)
-        for (key, value) in source {
-            switch value {
-            case let x where x === theTrue || x === theFalse:
-                destination[key] = "\(value as! Bool)"
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-}
diff --git a/modules/openapi-generator/src/main/resources/swift/APIs.mustache b/modules/openapi-generator/src/main/resources/swift/APIs.mustache
deleted file mode 100644
index 327752277de..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/APIs.mustache
+++ /dev/null
@@ -1,77 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class {{projectName}}API {
-    public static var basePath = "{{{basePath}}}"
-    public static var credential: NSURLCredential?
-    public static var customHeaders: [String:String] = [:]  
-    static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-public class APIBase {
-    func toParameters(encodable: JSONEncodable?) -> [String: AnyObject]? {
-        let encoded: AnyObject? = encodable?.encodeToJSON()
-
-        if encoded! is [AnyObject] {
-            var dictionary = [String:AnyObject]()
-            for (index, item) in (encoded as! [AnyObject]).enumerate() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String:AnyObject]
-        }
-    }
-}
-
-public class RequestBuilder<T> {
-    var credential: NSURLCredential?
-    var headers: [String:String]
-    let parameters: [String:AnyObject]?
-    let isBody: Bool
-    let method: String
-    let URLString: String
-    
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((NSProgress) -> ())?
-
-    required public init(method: String, URLString: String, parameters: [String:AnyObject]?, isBody: Bool, headers: [String:String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-        
-        addHeaders({{projectName}}API.customHeaders)
-    }
-    
-    public func addHeaders(aHeaders:[String:String]) {
-        for (header, value) in aHeaders {
-            headers[header] = value
-        }
-    }
-    
-    public func execute(completion: (response: Response<T>?, error: ErrorType?) -> Void) { }
-
-    public func addHeader(name name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-    
-    public func addCredential() -> Self {
-        self.credential = {{projectName}}API.credential
-        return self
-    }
-}
-
-protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
-
diff --git a/modules/openapi-generator/src/main/resources/swift/AlamofireImplementations.mustache b/modules/openapi-generator/src/main/resources/swift/AlamofireImplementations.mustache
deleted file mode 100644
index 6752df2dfc0..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/AlamofireImplementations.mustache
+++ /dev/null
@@ -1,207 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-public struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = dispatch_queue_create("SynchronizedDictionary", DISPATCH_QUEUE_CONCURRENT)
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            dispatch_sync(queue) {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-
-        set {
-            dispatch_barrier_sync(queue) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.Manager>()
-
-class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required init(method: String, URLString: String, parameters: [String : AnyObject]?, isBody: Bool, headers: [String : String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    override func execute(completion: (response: Response<T>?, error: ErrorType?) -> Void) {
-        let managerId = NSUUID().UUIDString
-        // Create a new manager for each request to customize its request header
-        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-        configuration.HTTPAdditionalHeaders = buildHeaders()
-        let manager = Alamofire.Manager(configuration: configuration)
-        managerStore[managerId] = manager
-
-        let encoding = isBody ? Alamofire.ParameterEncoding.JSON : Alamofire.ParameterEncoding.URL
-        let xMethod = Alamofire.Method(rawValue: method)
-        let fileKeys = parameters == nil ? [] : parameters!.filter { $1.isKindOfClass(NSURL) }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(
-                xMethod!, URLString, headers: nil,
-                multipartFormData: { mpForm in
-                    for (k, v) in self.parameters! {
-                        switch v {
-                        case let fileURL as NSURL:
-                            mpForm.appendBodyPart(fileURL: fileURL, name: k)
-                        case let string as NSString:
-                            mpForm.appendBodyPart(data: string.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
-                        case let number as NSNumber:
-                            mpForm.appendBodyPart(data: number.stringValue.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
-                        default:
-                            fatalError("Unprocessable value \(v) with key \(k)")
-                        }
-                    }
-                },
-                encodingMemoryThreshold: Manager.MultipartFormDataEncodingMemoryThreshold,
-                encodingCompletion: { encodingResult in
-                    switch encodingResult {
-                    case .Success(let uploadRequest, _, _):
-                        if let onProgressReady = self.onProgressReady {
-                            onProgressReady(uploadRequest.progress)
-                        }
-                        self.processRequest(uploadRequest, managerId, completion)
-                    case .Failure(let encodingError):
-                        completion(response: nil, error: ErrorResponse.error(415, nil, encodingError))
-                    }
-                }
-            )
-        } else {
-            let request = manager.request(xMethod!, URLString, parameters: parameters, encoding: encoding)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: Request, _ managerId: String, _ completion: (response: Response<T>?, error: ErrorType?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(stringResponse.response?.statusCode ?? 500, stringResponse.data, stringResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: stringResponse.response!,
-                        body: (stringResponse.result.value ?? "") as! T
-                    ),
-                    error: nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(voidResponse.response?.statusCode ?? 500, voidResponse.data, voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: voidResponse.response!,
-                        body: nil
-                    ),
-                    error: nil
-                )
-            })
-        case is NSData.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(dataResponse.response?.statusCode ?? 500, dataResponse.data, dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: dataResponse.response!,
-                        body: dataResponse.data as! T
-                    ),
-                    error: nil
-                )
-            })
-        default:
-            validatedRequest.responseJSON(options: .AllowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(response: nil, error: ErrorResponse.error(response.response?.statusCode ?? 500, response.data, response.result.error!))
-                    return
-                }
-
-                if () is T {
-                    completion(response: Response(response: response.response!, body: () as! T), error: nil)
-                    return
-                }
-                if let json: AnyObject = response.result.value {
-                    let body = Decoders.decode(clazz: T.self, source: json)
-                    completion(response: Response(response: response.response!, body: body), error: nil)
-                    return
-                } else if "" is T {
-                    completion(response: Response(response: response.response!, body: "" as! T), error: nil)
-                    return
-                }
-
-                completion(response: nil, error: ErrorResponse.error(500, nil, NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    private func buildHeaders() -> [String: AnyObject] {
-        var httpHeaders = Manager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-}
diff --git a/modules/openapi-generator/src/main/resources/swift/Cartfile.mustache b/modules/openapi-generator/src/main/resources/swift/Cartfile.mustache
deleted file mode 100644
index 101df9a7e04..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/Cartfile.mustache
+++ /dev/null
@@ -1,3 +0,0 @@
-github "Alamofire/Alamofire" >= 3.1.0{{#usePromiseKit}}
-github "mxcl/PromiseKit" >=1.5.3{{/usePromiseKit}}{{#useRxSwift}}
-github "ReactiveX/RxSwift" ~> 2.0{{/useRxSwift}}
diff --git a/modules/openapi-generator/src/main/resources/swift/Extensions.mustache b/modules/openapi-generator/src/main/resources/swift/Extensions.mustache
deleted file mode 100644
index 786154ee1bb..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/Extensions.mustache
+++ /dev/null
@@ -1,192 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire{{#usePromiseKit}}
-import PromiseKit{{/usePromiseKit}}
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return NSNumber(int: self) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return NSNumber(longLong: self) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-private func encodeIfPossible<T>(object: T) -> AnyObject {
-    if object is JSONEncodable {
-        return (object as! JSONEncodable).encodeToJSON()
-    } else {
-        return object as! AnyObject
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        var dictionary = [NSObject:AnyObject]()
-        for (key, value) in self {
-            dictionary[key as! NSObject] = encodeIfPossible(value)
-        }
-        return dictionary
-    }
-}
-
-extension NSData: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.base64EncodedStringWithOptions(NSDataBase64EncodingOptions())
-    }
-}
-
-private let dateFormatter: NSDateFormatter = {
-    let fmt = NSDateFormatter()
-    fmt.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-    fmt.locale = NSLocale(localeIdentifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension NSDate: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return dateFormatter.stringFromDate(self)
-    }
-}
-
-extension NSUUID: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.UUIDString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts an NSDate to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date date: NSDate) -> ISOFullDate? {
-        guard let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian) else {
-            return nil
-        }
-
-        let components = calendar.components(
-            [
-                .Year,
-                .Month,
-                .Day,
-            ],
-            fromDate: date
-        )
-        return ISOFullDate(
-            year: components.year,
-            month: components.month,
-            day: components.day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split("-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to an NSDate, in the default time zone.
-
-     - returns: An NSDate from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> NSDate? {
-        let components = NSDateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = NSTimeZone.defaultTimeZone()
-        let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian)
-        return calendar?.dateFromComponents(components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> AnyObject {
-        return "\(year)-\(month)-\(day)"
-    }
-}
-
-{{#usePromiseKit}}extension RequestBuilder {
-    public func execute() -> Promise<Response<T>>  {
-        let deferred = Promise<Response<T>>.pendingPromise()
-        self.execute { (response: Response<T>?, error: ErrorType?) in
-            if let response = response {
-                deferred.fulfill(response)
-            } else {
-                deferred.reject(error!)
-            }
-        }
-        return deferred.promise
-    }
-}{{/usePromiseKit}}
diff --git a/modules/openapi-generator/src/main/resources/swift/Models.mustache b/modules/openapi-generator/src/main/resources/swift/Models.mustache
deleted file mode 100644
index ea3ee57c49b..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/Models.mustache
+++ /dev/null
@@ -1,182 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> AnyObject
-}
-
-public enum ErrorResponse : ErrorType {
-    case Error(Int, NSData?, ErrorType)
-}
-
-public class Response<T> {
-    public let statusCode: Int
-    public let header: [String: String]
-    public let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: NSHTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String:String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-private var once = dispatch_once_t()
-class Decoders {
-    static private var decoders = Dictionary<String, ((AnyObject) -> AnyObject)>()
-
-    static func addDecoder<T>(clazz clazz: T.Type, decoder: ((AnyObject) -> T)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0) as! AnyObject }
-    }
-
-    static func decode<T>(clazz clazz: [T].Type, source: AnyObject) -> [T] {
-        let array = source as! [AnyObject]
-        return array.map { Decoders.decode(clazz: T.self, source: $0) }
-    }
-
-    static func decode<T, Key: Hashable>(clazz clazz: [Key:T].Type, source: AnyObject) -> [Key:T] {
-        let sourceDictionary = source as! [Key: AnyObject]
-        var dictionary = [Key:T]()
-        for (key, value) in sourceDictionary {
-            dictionary[key] = Decoders.decode(clazz: T.self, source: value)
-        }
-        return dictionary
-    }
-
-    static func decode<T>(clazz clazz: T.Type, source: AnyObject) -> T {
-        initialize()
-        if T.self is Int32.Type && source is NSNumber {
-            return source.intValue as! T;
-        }
-        if T.self is Int64.Type && source is NSNumber {
-            return source.longLongValue as! T;
-        }
-        if T.self is NSUUID.Type && source is String {
-            return NSUUID(UUIDString: source as! String) as! T
-        }
-        if source is T {
-            return source as! T
-        }
-        if T.self is NSData.Type && source is String {
-            return NSData(base64EncodedString: source as! String, options: NSDataBase64DecodingOptions()) as! T
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key] {
-           return decoder(source) as! T
-        } else {
-            fatalError("Source \(source) is not convertible to type \(clazz): Maybe OpenAPI spec file is insufficient")
-        }
-    }
-
-    static func decodeOptional<T>(clazz clazz: T.Type, source: AnyObject?) -> T? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (source: AnyObject) -> T in
-            Decoders.decode(clazz: clazz, source: source)
-        }
-    }
-
-    static func decodeOptional<T>(clazz clazz: [T].Type, source: AnyObject?) -> [T]? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (someSource: AnyObject) -> [T] in
-            Decoders.decode(clazz: clazz, source: someSource)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz clazz: [Key:T].Type, source: AnyObject?) -> [Key:T]? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (someSource: AnyObject) -> [Key:T] in
-            Decoders.decode(clazz: clazz, source: someSource)
-        }
-    }
-
-    static private func initialize() {
-        dispatch_once(&once) {
-            let formatters = [
-                "yyyy-MM-dd",
-                "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-                "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-                "yyyy-MM-dd'T'HH:mm:ss'Z'",
-                "yyyy-MM-dd'T'HH:mm:ss.SSS"
-            ].map { (format: String) -> NSDateFormatter in
-                let formatter = NSDateFormatter()
-                formatter.locale = NSLocale(localeIdentifier:"en_US_POSIX")
-                formatter.dateFormat = format
-                return formatter
-            }
-            // Decoder for NSDate
-            Decoders.addDecoder(clazz: NSDate.self) { (source: AnyObject) -> NSDate in
-               if let sourceString = source as? String {
-                    for formatter in formatters {
-                        if let date = formatter.dateFromString(sourceString) {
-                            return date
-                        }
-                    }
-
-                }
-                if let sourceInt = source as? Int {
-                    // treat as a java date
-                    return NSDate(timeIntervalSince1970: Double(sourceInt / 1000) )
-                }
-                fatalError("formatter failed to parse \(source)")
-            }
-
-            // Decoder for ISOFullDate
-            Decoders.addDecoder(clazz: ISOFullDate.self, decoder: { (source: AnyObject) -> ISOFullDate in
-                if let string = source as? String,
-                   let isoDate = ISOFullDate.from(string: string) {
-                    return isoDate
-                }
-                fatalError("formatter failed to parse \(source)")
-            }) {{#models}}{{#model}}
-
-            // Decoder for [{{{classname}}}]
-            Decoders.addDecoder(clazz: [{{{classname}}}].self) { (source: AnyObject) -> [{{{classname}}}] in
-                return Decoders.decode(clazz: [{{{classname}}}].self, source: source)
-            }
-            // Decoder for {{{classname}}}
-            Decoders.addDecoder(clazz: {{{classname}}}.self) { (source: AnyObject) -> {{{classname}}} in
-                let sourceDictionary = source as! [NSObject:AnyObject]
-                {{#unwrapRequired}}
-                let instance = {{classname}}({{#requiredVars}}{{^-first}}, {{/-first}}{{#isEnum}}{{name}}: {{classname}}.{{datatypeWithEnum}}(rawValue: (sourceDictionary["{{baseName}}"] as? String) ?? "")! {{/isEnum}}{{^isEnum}}{{name}}: Decoders.decode(clazz: {{{baseType}}}.self, source: sourceDictionary["{{baseName}}"]!){{/isEnum}}{{/requiredVars}})
-                {{#optionalVars}}
-                {{#isEnum}}
-                instance.{{name}} = {{classname}}.{{datatypeWithEnum}}(rawValue: (sourceDictionary["{{baseName}}"] as? String) ?? "")
-                {{/isEnum}}
-                {{^isEnum}}
-                instance.{{name}} = Decoders.decodeOptional(clazz: {{{baseType}}}.self, source: sourceDictionary["{{baseName}}"])
-                {{/isEnum}}
-                {{/optionalVars}}
-                {{/unwrapRequired}}
-                {{^unwrapRequired}}
-                let instance = {{classname}}(){{#vars}}{{#isEnum}}
-                instance.{{name}} = {{classname}}.{{datatypeWithEnum}}(rawValue: (sourceDictionary["{{baseName}}"] as? String) ?? "") {{/isEnum}}{{^isEnum}}
-                instance.{{name}} = Decoders.decodeOptional(clazz: {{{baseType}}}.self, source: sourceDictionary["{{baseName}}"]){{/isEnum}}{{/vars}}
-                {{/unwrapRequired}}
-                return instance
-            }{{/model}}
-			{{/models}}
-        }
-    }
-}
diff --git a/modules/openapi-generator/src/main/resources/swift/Podspec.mustache b/modules/openapi-generator/src/main/resources/swift/Podspec.mustache
deleted file mode 100644
index 3f0ae6c07c3..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/Podspec.mustache
+++ /dev/null
@@ -1,37 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = '{{projectName}}'
-  s.ios.deployment_target = '8.0'
-  s.osx.deployment_target = '10.9'
-  s.tvos.deployment_target = '9.0'
-  s.version = '{{#podVersion}}{{podVersion}}{{/podVersion}}{{^podVersion}}0.0.1{{/podVersion}}'
-  s.source = {{#podSource}}{{& podSource}}{{/podSource}}{{^podSource}}{ :git => 'git@github.com:openapitools/openapi-generator.git', :tag => 'v1.0.0' }{{/podSource}}
-  {{#podAuthors}}
-  s.authors = '{{podAuthors}}'
-  {{/podAuthors}}
-  {{#podSocialMediaURL}}
-  s.social_media_url = '{{podSocialMediaURL}}'
-  {{/podSocialMediaURL}}
-  {{#podDocsetURL}}
-  s.docset_url = '{{podDocsetURL}}'
-  {{/podDocsetURL}}
-  s.license = {{#podLicense}}{{& podLicense}}{{/podLicense}}{{^podLicense}}'Proprietary'{{/podLicense}}
-  s.homepage = '{{podHomepage}}{{^podHomepage}}https://openapi-generator.tech{{/podHomepage}}'
-  s.summary = '{{podSummary}}{{^podSummary}}{{projectName}} Swift SDK{{/podSummary}}'
-  {{#podDescription}}
-  s.description = '{{podDescription}}'
-  {{/podDescription}}
-  {{#podScreenshots}}
-  s.screenshots = {{& podScreenshots}}
-  {{/podScreenshots}}
-  {{#podDocumentationURL}}
-  s.documentation_url = '{{podDocumentationURL}}'
-  {{/podDocumentationURL}}
-  s.source_files = '{{projectName}}/Classes/**/*.swift'
-  {{#usePromiseKit}}
-  s.dependency 'PromiseKit', '~> 3.5.3'
-  {{/usePromiseKit}}
-  {{#useRxSwift}}
-  s.dependency 'RxSwift', '~> 2.6.1'
-  {{/useRxSwift}}
-  s.dependency 'Alamofire', '~> 3.5.1'
-end
diff --git a/modules/openapi-generator/src/main/resources/swift/_param.mustache b/modules/openapi-generator/src/main/resources/swift/_param.mustache
deleted file mode 100644
index 6d2de20a655..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/_param.mustache
+++ /dev/null
@@ -1 +0,0 @@
-"{{baseName}}": {{paramName}}{{#isInteger}}{{^required}}?{{/required}}.encodeToJSON(){{/isInteger}}{{#isLong}}{{^required}}?{{/required}}.encodeToJSON(){{/isLong}}{{#isEnum}}{{^isContainer}}{{^required}}?{{/required}}.rawValue{{/isContainer}}{{/isEnum}}{{#isDate}}{{^required}}?{{/required}}.encodeToJSON(){{/isDate}}{{#isDateTime}}{{^required}}?{{/required}}.encodeToJSON(){{/isDateTime}}
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/swift/api.mustache b/modules/openapi-generator/src/main/resources/swift/api.mustache
deleted file mode 100644
index db95b539791..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/api.mustache
+++ /dev/null
@@ -1,148 +0,0 @@
-{{#operations}}//
-// {{classname}}.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire{{#usePromiseKit}}
-import PromiseKit{{/usePromiseKit}}{{#useRxSwift}}
-import RxSwift{{/useRxSwift}}
-
-{{#swiftUseApiNamespace}}
-extension {{projectName}}API {
-{{/swiftUseApiNamespace}}
-
-{{#description}}
-/** {{description}} */{{/description}}
-public class {{classname}}: APIBase {
-{{#operation}}
-    {{#allParams}}
-    {{#isEnum}}
-    {{^isContainer}}
-    /**
-     * enum for parameter {{paramName}}
-     */
-    public enum {{{datatypeWithEnum}}}_{{operationId}}: String { {{#allowableValues}}{{#values}}
-        case {{enum}} = "{{raw}}"{{/values}}{{/allowableValues}}
-    }
-
-    {{/isContainer}}
-    {{/isEnum}}
-    {{/allParams}}
-    /**
-     {{#summary}}
-     {{{summary}}}
-     {{/summary}}{{#allParams}}
-     - parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}}
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func {{operationId}}({{#allParams}}{{^secondaryParam}}{{paramName}} {{/secondaryParam}}{{paramName}}: {{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}{{{datatypeWithEnum}}}_{{operationId}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{^required}}? = nil{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#hasParams}}, {{/hasParams}}completion: (({{#returnType}}data: {{{returnType}}}?, {{/returnType}}error: ErrorType?) -> Void)) {
-        {{operationId}}WithRequestBuilder({{#allParams}}{{paramName}}: {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}).execute { (response, error) -> Void in
-            completion({{#returnType}}data: response?.body, {{/returnType}}error: error);
-        }
-    }
-
-{{#usePromiseKit}}
-    /**
-     {{#summary}}
-     {{{summary}}}
-     {{/summary}}{{#allParams}}
-     - parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}}
-     - returns: Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
-     */
-    public class func {{operationId}}({{#allParams}}{{^secondaryParam}}{{paramName}} {{/secondaryParam}}{{paramName}}: {{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}{{{datatypeWithEnum}}}_{{operationId}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{^required}}? = nil{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) -> Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {
-        let deferred = Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>.pendingPromise()
-        {{operationId}}({{#allParams}}{{paramName}}: {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) { {{#returnType}}data, {{/returnType}}error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill({{#returnType}}data!{{/returnType}})
-            }
-        }
-        return deferred.promise
-    }
-{{/usePromiseKit}}
-{{#useRxSwift}}
-    /**
-     {{#summary}}
-     {{{summary}}}
-     {{/summary}}{{#allParams}}
-     - parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}{{/allParams}}
-     - returns: Observable<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
-     */
-    public class func {{operationId}}({{#allParams}}{{^secondaryParam}}{{paramName}} {{/secondaryParam}}{{paramName}}: {{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}{{{datatypeWithEnum}}}_{{operationId}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{^required}}? = nil{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) -> Observable<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {
-        return Observable.create { observer -> Disposable in
-            {{operationId}}({{#allParams}}{{paramName}}: {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) { {{#returnType}}data, {{/returnType}}error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next({{#returnType}}data!{{/returnType}}))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-{{/useRxSwift}}
-
-    /**
-     {{#summary}}
-     {{{summary}}}
-     {{/summary}}
-     - {{httpMethod}} {{{path}}}{{#notes}}
-     - {{{notes}}}{{/notes}}{{#subresourceOperation}}
-     - subresourceOperation: {{subresourceOperation}}{{/subresourceOperation}}{{#defaultResponse}}
-     - defaultResponse: {{defaultResponse}}
-     {{/defaultResponse}}
-     {{#authMethods}}
-     - {{#isBasic}}BASIC{{/isBasic}}{{#isOAuth}}OAuth{{/isOAuth}}{{#isApiKey}}API Key{{/isApiKey}}:
-       - type: {{type}}{{#keyParamName}} {{keyParamName}} {{#isKeyInQuery}}(QUERY){{/isKeyInQuery}}{{#isKeyInHeaer}}(HEADER){{/isKeyInHeaer}}{{/keyParamName}}
-       - name: {{name}}
-     {{/authMethods}}
-     {{#hasResponseHeaders}}
-     - responseHeaders: [{{#responseHeaders}}{{{baseName}}}({{{dataType}}}){{^-last}}, {{/-last}}{{/responseHeaders}}]
-     {{/hasResponseHeaders}}
-     {{#examples}}
-     - examples: {{{examples}}}
-     {{/examples}}
-     {{#externalDocs}}
-     - externalDocs: {{externalDocs}}
-     {{/externalDocs}}
-     {{#allParams}}
-     - parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
-     {{/allParams}}
-
-     - returns: RequestBuilder<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{description}}
-     */
-    public class func {{operationId}}WithRequestBuilder({{#allParams}}{{^secondaryParam}}{{paramName}} {{/secondaryParam}}{{paramName}}: {{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}{{{datatypeWithEnum}}}_{{operationId}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{^required}}? = nil{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) -> RequestBuilder<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {
-        {{^pathParams}}let{{/pathParams}}{{#pathParams}}{{^secondaryParam}}var{{/secondaryParam}}{{/pathParams}} path = "{{{path}}}"{{#pathParams}}
-        path = path.stringByReplacingOccurrencesOfString("{{=<% %>=}}{<%baseName%>}<%={{ }}=%>", withString: "\({{paramName}}{{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}.rawValue{{/isContainer}}{{/isEnum}})", options: .LiteralSearch, range: nil){{/pathParams}}
-        let URLString = {{projectName}}API.basePath + path
-        {{#bodyParam}}
-        let parameters = {{paramName}}{{^required}}?{{/required}}.encodeToJSON() as? [String:AnyObject]{{/bodyParam}}{{^bodyParam}}
-        let nillableParameters: [String:AnyObject?] = {{^queryParams}}{{^formParams}}[:]{{/formParams}}{{#formParams}}{{^secondaryParam}}[{{/secondaryParam}}
-            {{> _param}}{{#hasMore}},{{/hasMore}}{{^hasMore}}
-        ]{{/hasMore}}{{/formParams}}{{/queryParams}}{{#queryParams}}{{^secondaryParam}}[{{/secondaryParam}}
-            {{> _param}}{{#hasMore}},{{/hasMore}}{{^hasMore}}
-        ]{{/hasMore}}{{/queryParams}}
- 
-        let parameters = APIHelper.rejectNil(nillableParameters){{/bodyParam}}
- 
-        let convertedParameters = APIHelper.convertBoolToString(parameters){{#headerParams}}{{^secondaryParam}}
-        let nillableHeaders: [String: AnyObject?] = [{{/secondaryParam}}
-            {{> _param}}{{#hasMore}},{{/hasMore}}{{^hasMore}}
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders){{/hasMore}}{{/headerParams}}
- 
-        let requestBuilder: RequestBuilder<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>.Type = {{projectName}}API.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "{{httpMethod}}", URLString: URLString, parameters: convertedParameters, isBody: {{^queryParams}}{{^formParams}}true{{/formParams}}{{/queryParams}}{{#queryParams}}{{^secondaryParam}}false{{/secondaryParam}}{{/queryParams}}{{#formParams}}{{^secondaryParam}}false{{/secondaryParam}}{{/formParams}}{{#headerParams}}{{^secondaryParam}}, headers: headerParameters{{/secondaryParam}}{{/headerParams}})
-    }
-
-{{/operation}}
-}
-{{#swiftUseApiNamespace}}
-}
-{{/swiftUseApiNamespace}}
-{{/operations}}
diff --git a/modules/openapi-generator/src/main/resources/swift/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/swift/git_push.sh.mustache
deleted file mode 100755
index 8b3f689c912..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/git_push.sh.mustache
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-git_host=$4
-
-if [ "$git_host" = "" ]; then
-    git_host="{{{gitHost}}}"
-    echo "[INFO] No command line input provided. Set \$git_host to $git_host"
-fi
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="{{{gitUserId}}}"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="{{{gitRepoId}}}"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="{{{releaseNote}}}"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/modules/openapi-generator/src/main/resources/swift/gitignore.mustache b/modules/openapi-generator/src/main/resources/swift/gitignore.mustache
deleted file mode 100644
index 5e5d5cebcf4..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/gitignore.mustache
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/modules/openapi-generator/src/main/resources/swift/model.mustache b/modules/openapi-generator/src/main/resources/swift/model.mustache
deleted file mode 100644
index 91e2f977019..00000000000
--- a/modules/openapi-generator/src/main/resources/swift/model.mustache
+++ /dev/null
@@ -1,56 +0,0 @@
-{{#models}}{{#model}}//
-// {{classname}}.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-{{#description}}
-
-/** {{description}} */{{/description}}
-public class {{classname}}: JSONEncodable {
-{{#vars}}
-{{#isEnum}}
-    public enum {{datatypeWithEnum}}: String { {{#allowableValues}}{{#values}}
-        case {{enum}} = "{{raw}}"{{/values}}{{/allowableValues}}
-    }
-{{/isEnum}}
-{{/vars}}
-{{#vars}}
-{{#isEnum}}
-    {{#description}}/** {{description}} */
-    {{/description}}public var {{name}}: {{{datatypeWithEnum}}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}{{#defaultValue}} = {{{defaultValue}}}{{/defaultValue}}
-{{/isEnum}}
-{{^isEnum}}
-    {{#description}}/** {{description}} */
-    {{/description}}public var {{name}}: {{{dataType}}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}{{#defaultValue}} = {{{defaultValue}}}{{/defaultValue}}
-{{/isEnum}}
-{{/vars}}
-
-{{^unwrapRequired}}
-    public init() {}
-{{/unwrapRequired}}
-{{#unwrapRequired}}
-    public init({{#allVars}}{{^-first}}, {{/-first}}{{name}}: {{#isEnum}}{{datatypeWithEnum}}{{/isEnum}}{{^isEnum}}{{dataType}}{{/isEnum}}{{^required}}?=nil{{/required}}{{/allVars}}) {
-        {{#allVars}}
-        self.{{name}} = {{name}}
-        {{/allVars}}
-    }
-{{/unwrapRequired}}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String:AnyObject?](){{#vars}}{{^isContainer}}{{#isPrimitiveType}}{{^isEnum}}{{#isInteger}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.encodeToJSON(){{/isInteger}}{{#isLong}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.encodeToJSON(){{/isLong}}{{^isLong}}{{^isInteger}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{/isInteger}}{{/isLong}}{{/isEnum}}{{/isPrimitiveType}}{{#isEnum}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.rawValue{{/isEnum}}{{^isPrimitiveType}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.encodeToJSON(){{/isPrimitiveType}}{{/isContainer}}{{#isContainer}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.encodeToJSON(){{/isContainer}}{{/vars}}
-        let dictionary: [String:AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}{{/model}}
-{{/models}}
diff --git a/modules/openapi-generator/src/main/resources/swift3/APIHelper.mustache b/modules/openapi-generator/src/main/resources/swift3/APIHelper.mustache
deleted file mode 100644
index d99d4858ff8..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/APIHelper.mustache
+++ /dev/null
@@ -1,75 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-class APIHelper {
-    static func rejectNil(_ source: [String:Any?]) -> [String:Any]? {
-        var destination = [String:Any]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(_ source: [String:Any?]) -> [String:String] {
-        var destination = [String:String]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(_ source: [String: Any]?) -> [String:Any]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String:Any]()
-        let theTrue = NSNumber(value: true as Bool)
-        let theFalse = NSNumber(value: false as Bool)
-        for (key, value) in source {
-            switch value {
-            case let x where x as? NSNumber === theTrue || x as? NSNumber === theFalse:
-                destination[key] = "\(value as! Bool)" as Any?
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-    static func mapValuesToQueryItems(values: [String:Any?]) -> [URLQueryItem]? {
-        let returnValues = values
-            .filter { $0.1 != nil }
-            .map { (item: (_key: String, _value: Any?)) -> [URLQueryItem] in
-                if let value = item._value as? Array<String> {
-                    return value.map { (v) -> URLQueryItem in
-                        URLQueryItem(
-                            name: item._key,
-                            value: v
-                        )
-                    }
-                } else {
-                    return [URLQueryItem(
-                        name: item._key,
-                        value: "\(item._value!)"
-                    )]
-                }
-            }
-            .flatMap { $0 }
-
-        if returnValues.isEmpty { return nil }
-        return returnValues
-    }
-}
diff --git a/modules/openapi-generator/src/main/resources/swift3/APIs.mustache b/modules/openapi-generator/src/main/resources/swift3/APIs.mustache
deleted file mode 100644
index be0d9b9a86e..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/APIs.mustache
+++ /dev/null
@@ -1,77 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class {{projectName}}API {
-    open static var basePath = "{{{basePath}}}"
-    open static var credential: URLCredential?
-    open static var customHeaders: [String:String] = [:]
-    open static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-open class APIBase {
-    func toParameters(_ encodable: JSONEncodable?) -> [String: Any]? {
-        let encoded: Any? = encodable?.encodeToJSON()
-
-        if encoded! is [Any] {
-            var dictionary = [String:Any]()
-            for (index, item) in (encoded as! [Any]).enumerated() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String:Any]
-        }
-    }
-}
-
-open class RequestBuilder<T> {
-    var credential: URLCredential?
-    var headers: [String:String]
-    public let parameters: Any?
-    public let isBody: Bool
-    public let method: String
-    public let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((Progress) -> ())?
-
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String:String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders({{projectName}}API.customHeaders)
-    }
-
-    open func addHeaders(_ aHeaders:[String:String]) {
-        for (header, value) in aHeaders {
-            addHeader(name: header, value: value)
-        }
-    }
-
-    open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) { }
-
-    @discardableResult public func addHeader(name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    open func addCredential() -> Self {
-        self.credential = {{projectName}}API.credential
-        return self
-    }
-}
-
-public protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
-
diff --git a/modules/openapi-generator/src/main/resources/swift3/AlamofireImplementations.mustache b/modules/openapi-generator/src/main/resources/swift3/AlamofireImplementations.mustache
deleted file mode 100644
index 5be6b2b08cf..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/AlamofireImplementations.mustache
+++ /dev/null
@@ -1,374 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-private struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = DispatchQueue(
-        label: "SynchronizedDictionary",
-        qos: DispatchQoS.userInitiated,
-        attributes: [DispatchQueue.Attributes.concurrent],
-        autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit,
-        target: nil
-    )
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            queue.sync {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-        set {
-            queue.sync(flags: DispatchWorkItemFlags.barrier) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-class JSONEncodingWrapper: ParameterEncoding {
-    var bodyParameters: Any?
-    var encoding: JSONEncoding = JSONEncoding()
-
-    public init(parameters: Any?) {
-        self.bodyParameters = parameters
-    }
-
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        return try encoding.encode(urlRequest, withJSONObject: bodyParameters)
-    }
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.SessionManager>()
-
-open class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String : String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the session
-     configuration.
-     */
-    open func createSessionManager() -> Alamofire.SessionManager {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = buildHeaders()
-        return Alamofire.SessionManager(configuration: configuration)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the Content-Type
-     that is given to an uploaded form part.
-
-     Return nil to use the default behavior (inferring the Content-Type from
-     the file extension).  Return the desired Content-Type otherwise.
-     */
-    open func contentTypeForFormPart(fileURL: URL) -> String? {
-        return nil
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the request
-     configuration (e.g. to override the cache policy).
-     */
-    open func makeRequest(manager: SessionManager, method: HTTPMethod, encoding: ParameterEncoding, headers: [String:String]) -> DataRequest {
-        return manager.request(URLString, method: method, parameters: parameters as? Parameters, encoding: encoding, headers: headers)
-    }
-
-    override open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        let managerId:String = UUID().uuidString
-        // Create a new manager for each request to customize its request header
-        let manager = createSessionManager()
-        managerStore[managerId] = manager
-
-        let encoding:ParameterEncoding = isBody ? JSONEncodingWrapper(parameters: parameters) : URLEncoding()
-
-        let xMethod = Alamofire.HTTPMethod(rawValue: method)
-
-        let param = parameters as? Parameters
-        let fileKeys = param == nil ? [] : param!.filter { $1 is NSURL }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(multipartFormData: { mpForm in
-                for (k, v) in param! {
-                    switch v {
-                    case let fileURL as URL:
-                        if let mimeType = self.contentTypeForFormPart(fileURL: fileURL) {
-                            mpForm.append(fileURL, withName: k, fileName: fileURL.lastPathComponent, mimeType: mimeType)
-                        }
-                        else {
-                            mpForm.append(fileURL, withName: k)
-                        }
-                    case let string as String:
-                        mpForm.append(string.data(using: String.Encoding.utf8)!, withName: k)
-                    case let number as NSNumber:
-                        mpForm.append(number.stringValue.data(using: String.Encoding.utf8)!, withName: k)
-                    default:
-                        fatalError("Unprocessable value \(v) with key \(k)")
-                    }
-                }
-                }, to: URLString, method: xMethod!, headers: nil, encodingCompletion: { encodingResult in
-                switch encodingResult {
-                case .success(let upload, _, _):
-                    if let onProgressReady = self.onProgressReady {
-                        onProgressReady(upload.uploadProgress)
-                    }
-                    self.processRequest(request: upload, managerId, completion)
-                case .failure(let encodingError):
-                    completion(nil, ErrorResponse.HttpError(statusCode: 415, data: nil, error: encodingError))
-                }
-            })
-        } else {
-            let request = makeRequest(manager: manager, method: xMethod!, encoding: encoding, headers: headers)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request: request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: DataRequest, _ managerId: String, _ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: stringResponse.response?.statusCode ?? 500, data: stringResponse.data, error: stringResponse.result.error as Error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: stringResponse.response!,
-                        body: ((stringResponse.result.value ?? "") as! T)
-                    ),
-                    nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: voidResponse.response?.statusCode ?? 500, data: voidResponse.data, error: voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: voidResponse.response!,
-                        body: nil),
-                    nil
-                )
-            })
-        case is Data.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: dataResponse.response?.statusCode ?? 500, data: dataResponse.data, error: dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: dataResponse.response!,
-                        body: (dataResponse.data as! T)
-                    ),
-                    nil
-                )
-            })
-        case is URL.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                do {
-
-                    guard !dataResponse.result.isFailure else {
-                        throw DownloadException.responseFailed
-                    }
-
-                    guard let data = dataResponse.data else {
-                        throw DownloadException.responseDataMissing
-                    }
-
-                    guard let request = request.request else {
-                        throw DownloadException.requestMissing
-                    }
-
-                    let fileManager = FileManager.default
-                    let urlRequest = try request.asURLRequest()
-                    let documentsDirectory = fileManager.urls(for: .documentDirectory, in: .userDomainMask)[0]
-                    let requestURL = try self.getURL(from: urlRequest)
-
-                    var requestPath = try self.getPath(from: requestURL)
-
-                    if let headerFileName = self.getFileName(fromContentDisposition: dataResponse.response?.allHeaderFields["Content-Disposition"] as? String) {
-                        requestPath = requestPath.appending("/\(headerFileName)")
-                    }
-
-                    let filePath = documentsDirectory.appendingPathComponent(requestPath)
-                    let directoryPath = filePath.deletingLastPathComponent().path
-
-                    try fileManager.createDirectory(atPath: directoryPath, withIntermediateDirectories: true, attributes: nil)
-                    try data.write(to: filePath, options: .atomic)
-
-                    completion(
-                        Response(
-                            response: dataResponse.response!,
-                            body: (filePath as! T)
-                        ),
-                        nil
-                    )
-
-                } catch let requestParserError as DownloadException {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data:  dataResponse.data, error: requestParserError))
-                } catch let error {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data: dataResponse.data, error: error))
-                }
-                return
-            })
-        default:
-            validatedRequest.responseJSON(options: .allowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(nil, ErrorResponse.HttpError(statusCode: response.response?.statusCode ?? 500, data: response.data, error: response.result.error!))
-                    return
-                }
-
-                // handle HTTP 204 No Content
-                // NSNull would crash decoders
-                if response.response?.statusCode == 204 && response.result.value is NSNull{
-                    completion(nil, nil)
-                    return
-                }
-
-                if () is T {
-                    completion(Response(response: response.response!, body: (() as! T)), nil)
-                    return
-                }
-                if let json: Any = response.result.value {
-                    let decoded = Decoders.decode(clazz: T.self, source: json as AnyObject, instance: nil)
-                    switch decoded {
-                    case let .success(object): completion(Response(response: response.response!, body: object), nil)
-                    case let .failure(error): completion(nil, ErrorResponse.DecodeError(response: response.data, decodeError: error))
-                    }
-                    return
-                } else if "" is T {
-                    completion(Response(response: response.response!, body: ("" as! T)), nil)
-                    return
-                }
-
-                completion(nil, ErrorResponse.HttpError(statusCode: 500, data: nil, error: NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    open func buildHeaders() -> [String: String] {
-        var httpHeaders = SessionManager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-
-    fileprivate func getFileName(fromContentDisposition contentDisposition : String?) -> String? {
-
-        guard let contentDisposition = contentDisposition else {
-            return nil
-        }
-
-        let items = contentDisposition.components(separatedBy: ";")
-
-        var filename : String? = nil
-
-        for contentItem in items {
-
-            let filenameKey = "filename="
-            guard let range = contentItem.range(of: filenameKey) else {
-                break
-            }
-
-            filename = contentItem
-            return filename?
-                .replacingCharacters(in: range, with:"")
-                .replacingOccurrences(of: "\"", with: "")
-                .trimmingCharacters(in: .whitespacesAndNewlines)
-        }
-
-        return filename
-
-    }
-
-    fileprivate func getPath(from url : URL) throws -> String {
-
-        guard var path = URLComponents(url: url, resolvingAgainstBaseURL: true)?.path else {
-            throw DownloadException.requestMissingPath
-        }
-
-        if path.hasPrefix("/") {
-            path.remove(at: path.startIndex)
-        }
-
-        return path
-
-    }
-
-    fileprivate func getURL(from urlRequest : URLRequest) throws -> URL {
-
-        guard let url = urlRequest.url else {
-            throw DownloadException.requestMissingURL
-        }
-
-        return url
-    }
-}
-
-fileprivate enum DownloadException : Error {
-    case responseDataMissing
-    case responseFailed
-    case requestMissing
-    case requestMissingPath
-    case requestMissingURL
-}
diff --git a/modules/openapi-generator/src/main/resources/swift3/Cartfile.mustache b/modules/openapi-generator/src/main/resources/swift3/Cartfile.mustache
deleted file mode 100644
index 523ab5db209..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/Cartfile.mustache
+++ /dev/null
@@ -1,3 +0,0 @@
-github "Alamofire/Alamofire" ~> 4.5{{#usePromiseKit}}
-github "mxcl/PromiseKit" ~> 4.4{{/usePromiseKit}}{{#useRxSwift}}
-github "ReactiveX/RxSwift" "rxswift-3.0"{{/useRxSwift}}
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/swift3/Configuration.mustache b/modules/openapi-generator/src/main/resources/swift3/Configuration.mustache
deleted file mode 100644
index b9e2e497683..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/Configuration.mustache
+++ /dev/null
@@ -1,15 +0,0 @@
-// Configuration.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class Configuration {
-
-	// This value is used to configure the date formatter that is used to serialize dates into JSON format.
-	// You must set it prior to encoding any dates, and it will only be read once.
-    open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-}
diff --git a/modules/openapi-generator/src/main/resources/swift3/Extensions.mustache b/modules/openapi-generator/src/main/resources/swift3/Extensions.mustache
deleted file mode 100644
index 59bdf93b21d..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/Extensions.mustache
+++ /dev/null
@@ -1,200 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire{{#usePromiseKit}}
-import PromiseKit{{/usePromiseKit}}
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int32) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int64) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-private func encodeIfPossible<T>(_ object: T) -> Any {
-    if let encodableObject = object as? JSONEncodable {
-        return encodableObject.encodeToJSON()
-    } else {
-        return object as Any
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> Any {
-        var dictionary = [AnyHashable: Any]()
-        for (key, value) in self {
-            dictionary[key] = encodeIfPossible(value)
-        }
-        return dictionary as Any
-    }
-}
-
-extension Data: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.base64EncodedString(options: Data.Base64EncodingOptions())
-    }
-}
-
-private let dateFormatter: DateFormatter = {
-    let fmt = DateFormatter()
-    fmt.dateFormat = Configuration.dateFormat
-    fmt.locale = Locale(identifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension Date: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return dateFormatter.string(from: self) as Any
-    }
-}
-
-extension UUID: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.uuidString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts a Date to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date: Date) -> ISOFullDate? {
-        let calendar = Calendar(identifier: .gregorian)
-
-        let components = calendar.dateComponents(
-            [
-                .year,
-                .month,
-                .day,
-            ],
-            from: date
-        )
-
-        guard
-            let year = components.year,
-            let month = components.month,
-            let day = components.day
-        else {
-            return nil
-        }
-
-        return ISOFullDate(
-            year: year,
-            month: month,
-            day: day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split(separator: "-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to a Date, in the default time zone.
-
-     - returns: A Date from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> Date? {
-        var components = DateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = TimeZone.ReferenceType.default
-        let calendar = Calendar(identifier: .gregorian)
-        return calendar.date(from: components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> Any {
-        return "\(year)-\(month)-\(day)"
-    }
-}
-
-{{#usePromiseKit}}extension RequestBuilder {
-    public func execute() -> Promise<Response<T>>  {
-        let deferred = Promise<Response<T>>.pending()
-        self.execute { (response: Response<T>?, error: Error?) in
-            if let response = response {
-                deferred.fulfill(response)
-            } else {
-                deferred.reject(error!)
-            }
-        }
-        return deferred.promise
-    }
-}{{/usePromiseKit}}
diff --git a/modules/openapi-generator/src/main/resources/swift3/Models.mustache b/modules/openapi-generator/src/main/resources/swift3/Models.mustache
deleted file mode 100644
index 5793d214aa9..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/Models.mustache
+++ /dev/null
@@ -1,402 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> Any
-}
-
-public enum ErrorResponse : Error {
-    case HttpError(statusCode: Int, data: Data?, error: Error)
-    case DecodeError(response: Data?, decodeError: DecodeError)
-}
-
-open class Response<T> {
-    open let statusCode: Int
-    open let header: [String: String]
-    open let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: HTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String:String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-public enum Decoded<ValueType> {
-    case success(ValueType)
-    case failure(DecodeError)
-}
-
-public extension Decoded {
-    var value: ValueType? {
-        switch self {
-        case let .success(value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-}
-
-public enum DecodeError {
-    case typeMismatch(expected: String, actual: String)
-    case missingKey(key: String)
-    case parseError(message: String)
-}
-
-private var once = Int()
-class Decoders {
-    static fileprivate var decoders = Dictionary<String, ((AnyObject, AnyObject?) -> AnyObject)>()
-
-    static func addDecoder<T>(clazz: T.Type, decoder: @escaping ((AnyObject, AnyObject?) -> Decoded<T>)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0, $1) as AnyObject }
-    }
-
-    static func decode<T>(clazz: T.Type, discriminator: String, source: AnyObject) -> Decoded<T> {
-        let key = discriminator
-        if let decoder = decoders[key], let value = decoder(source, nil) as? Decoded<T> {
-            return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: [T].Type, source: AnyObject) -> Decoded<[T]> {
-        if let sourceArray = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in sourceArray {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value):
-                    values.append(value)
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        switch Decoders.decode(clazz: T.self, source: source, instance: nil) {
-    	    case let .success(value):
-                return .success(value)
-            case let .failure(error):
-                return .failure(error)
-        }
-    }
-
-    static open func decode<T: RawRepresentable>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject) -> Decoded<[Key:T]> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value):
-                    dictionary[key] = value
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        guard !(source is NSNull), source != nil else { return .success(nil) }
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject, instance: AnyObject?) -> Decoded<T> {
-        initialize()
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int32.Type {
-            return .success(value)
-        }
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int64.Type {
-     	    return .success(value)
-        }
-        if let intermediate = source as? String, let value = UUID(uuidString: intermediate) as? T, source is String, T.self is UUID.Type {
-            return .success(value)
-        }
-        if let value = source as? T {
-            return .success(value)
-        }
-        if let intermediate = source as? String, let value = Data(base64Encoded: intermediate) as? T {
-            return .success(value)
-        }
-        {{#lenientTypeCast}}
-        if T.self is Int32.Type && source is String {
-            return (source as! NSString).intValue as! T
-        }
-        if T.self is Int64.Type && source is String {
-            return (source as! NSString).intValue as! T
-        }
-        if T.self is Bool.Type && source is String {
-            return (source as! NSString).boolValue as! T
-        }
-        if T.self is String.Type && source is NSNumber {
-            return String(describing: source) as! T
-        }
-        {{/lenientTypeCast}}
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key], let value = decoder(source, instance) as? Decoded<T> {
-           return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    //Convert a Decoded so that its value is optional. DO WE STILL NEED THIS?
-    static func toOptional<T>(decoded: Decoded<T>) -> Decoded<T?> {
-        return .success(decoded.value)
-    }
-
-    static func decodeOptional<T>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        if let source = source, !(source is NSNull) {
-            switch Decoders.decode(clazz: clazz, source: source, instance: nil) {
-            case let .success(value): return .success(value)
-            case let .failure(error): return .failure(error)
-            }
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> where T: RawRepresentable {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decodeOptional(clazz: T.self, source: sourceValue) {
-                case let .success(value): if let value = value { values.append(value) }
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value): values.append(value)
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject?) -> Decoded<[Key:T]?> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value): dictionary[key] = value
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable, U: AnyObject>(clazz: T, source: AnyObject) -> Decoded<T?> where T.RawValue == U {
-        if let value = source as? U {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "String", actual: String(describing: type(of: source))))
-        }
-    }
-
-
-    private static var __once: () = {
-        let formatters = [
-            "yyyy-MM-dd",
-            "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss'Z'",
-            "yyyy-MM-dd'T'HH:mm:ss.SSS",
-            "yyyy-MM-dd HH:mm:ss"
-        ].map { (format: String) -> DateFormatter in
-            let formatter = DateFormatter()
-            formatter.locale = Locale(identifier: "en_US_POSIX")
-            formatter.dateFormat = format
-            return formatter
-        }
-        // Decoder for Date
-        Decoders.addDecoder(clazz: Date.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Date> in
-           if let sourceString = source as? String {
-                for formatter in formatters {
-                    if let date = formatter.date(from: sourceString) {
-                        return .success(date)
-                    }
-                }
-            }
-            if let sourceInt = source as? Int {
-                // treat as a java date
-                return .success(Date(timeIntervalSince1970: Double(sourceInt / 1000) ))
-            }
-            if source is String || source is Int {
-                return .failure(.parseError(message: "Could not decode date"))
-            } else {
-                return .failure(.typeMismatch(expected: "String or Int", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for ISOFullDate
-        Decoders.addDecoder(clazz: ISOFullDate.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ISOFullDate> in
-            if let string = source as? String,
-               let isoDate = ISOFullDate.from(string: string) {
-                return .success(isoDate)
-            } else {
-            	return .failure(.typeMismatch(expected: "ISO date", actual: "\(source)"))
-            }
-        }
-
-        {{#models}}
-        {{#model}}
-        {{^isArrayModel}}
-        // Decoder for [{{{classname}}}]
-        Decoders.addDecoder(clazz: [{{{classname}}}].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[{{{classname}}}]> in
-            return Decoders.decode(clazz: [{{{classname}}}].self, source: source)
-        }
-
-        // Decoder for {{{classname}}}
-        Decoders.addDecoder(clazz: {{{classname}}}.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<{{{classname}}}> in
-{{#isEnum}}
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: {{{classname}}}.self, source: source, instance: instance)
-{{/isEnum}}
-{{^isEnum}}
-{{#allVars.isEmpty}}
-            if let source = source as? {{classname}} {
-                return .success(source)
-            } else {
-                return .failure(.typeMismatch(expected: "Typealias {{classname}}", actual: "\(source)"))
-            }
-{{/allVars.isEmpty}}
-{{^allVars.isEmpty}}
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-            {{#discriminator}}
-                // Check discriminator to support inheritance
-                if let discriminator = sourceDictionary["{{{discriminatorName}}}"] as? String, instance == nil && discriminator != "{{classname}}"{
-                    return Decoders.decode(clazz: {{classname}}.self, discriminator: discriminator, source: source)
-                }
-            {{/discriminator}}
-            {{#additionalPropertiesType}}
-            var propsDictionary = sourceDictionary
-            let keys : [AnyHashable] = [{{#allVars}}{{^-last}}"{{baseName}}", {{/-last}}{{#-last}}"{{baseName}}"{{/-last}}{{/allVars}}]
-            {{/additionalPropertiesType}}
-            {{#unwrapRequired}}
-                {{#requiredVars}}
-                guard let {{name}}Source = sourceDictionary["{{baseName}}"] as AnyObject? else {
-                    return .failure(.missingKey(key: "{{baseName}}"))
-                }
-                guard let {{name}} = Decoders.decode(clazz: {{#isEnum}}{{^isListContainer}}{{classname}}.{{enumName}}.self{{/isListContainer}}{{#isListContainer}}Array<{{classname}}.{{enumName}}>.self{{/isListContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}.self{{/isEnum}}.self, source: {{name}}Source).value else {
-                    return .failure(.typeMismatch(expected: "{{classname}}", actual: "\({{name}}Source)"))
-                }
-                {{/requiredVars}}
-                let _result = {{classname}}({{#requiredVars}}{{^-first}}, {{/-first}}{{name}}: {{name}}{{/requiredVars}})
-                {{#optionalVars}}
-                switch Decoders.decodeOptional(clazz: {{#isEnum}}{{^isListContainer}}{{classname}}.{{enumName}}.self{{/isListContainer}}{{#isListContainer}}Array<{{classname}}.{{enumName}}>.self{{/isListContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}.self{{/isEnum}}, source: sourceDictionary["{{baseName}}"] as AnyObject?) {
-                case let .success(value): _result.{{name}} = value
-                case let .failure(error): break
-                }
-                {{/optionalVars}}
-            {{/unwrapRequired}}
-            {{^unwrapRequired}}
-                let _result = instance == nil ? {{classname}}() : instance as! {{classname}}
-                {{#parent}}
-                if decoders["\({{parent}}.self)"] != nil {
-                  _ = Decoders.decode(clazz: {{parent}}.self, source: source, instance: _result)
-                }
-                {{/parent}}
-                {{#allVars}}
-                switch Decoders.decodeOptional(clazz: {{#isEnum}}{{^isListContainer}}{{classname}}.{{enumName}}.self{{/isListContainer}}{{#isListContainer}}Array<{{classname}}.{{enumName}}>.self{{/isListContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}.self{{/isEnum}}, source: sourceDictionary["{{baseName}}"] as AnyObject?) {
-                {{#isEnum}}{{#isMapContainer}}/*{{/isMapContainer}}{{/isEnum}}
-                case let .success(value): _result.{{name}} = value
-                case let .failure(error): break
-                {{#isEnum}}{{#isMapContainer}}*/ default: break //TODO: handle enum map scenario{{/isMapContainer}}{{/isEnum}}
-                }
-                {{/allVars}}
-            {{/unwrapRequired}}
-            {{#additionalPropertiesType}}
-
-                for key in keys {
-                    propsDictionary.removeValue(forKey: key)
-                }
-
-                for key in propsDictionary.keys {
-                    switch  Decoders.decodeOptional(clazz: String.self, source: propsDictionary[key] as AnyObject?) {
-
-                    case let .success(value): _result[key] = value
-                    default: continue
-
-                    }
-                }
-            {{/additionalPropertiesType}}
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "{{classname}}", actual: "\(source)"))
-            }
-{{/allVars.isEmpty}}
-{{/isEnum}}
-        }
-        {{/isArrayModel}}
-        {{/model}}
-        {{/models}}
-    }()
-
-    static fileprivate func initialize() {
-        _ = Decoders.__once
-    }
-}
diff --git a/modules/openapi-generator/src/main/resources/swift3/Podspec.mustache b/modules/openapi-generator/src/main/resources/swift3/Podspec.mustache
deleted file mode 100644
index 958c6459daf..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/Podspec.mustache
+++ /dev/null
@@ -1,38 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = '{{projectName}}'{{#projectDescription}}
-  s.summary = '{{projectDescription}}'{{/projectDescription}}
-  s.ios.deployment_target = '9.0'
-  s.osx.deployment_target = '10.11'
-  s.tvos.deployment_target = '9.0'
-  s.version = '{{#podVersion}}{{podVersion}}{{/podVersion}}{{^podVersion}}0.0.1{{/podVersion}}'
-  s.source = {{#podSource}}{{& podSource}}{{/podSource}}{{^podSource}}{ :git => 'git@github.com:OpenAPITools/openapi-generator.git', :tag => 'v1.0.0' }{{/podSource}}
-  {{#podAuthors}}
-  s.authors = '{{podAuthors}}'
-  {{/podAuthors}}
-  {{#podSocialMediaURL}}
-  s.social_media_url = '{{podSocialMediaURL}}'
-  {{/podSocialMediaURL}}
-  {{#podDocsetURL}}
-  s.docset_url = '{{podDocsetURL}}'
-  {{/podDocsetURL}}
-  s.license = {{#podLicense}}{{& podLicense}}{{/podLicense}}{{^podLicense}}'Proprietary'{{/podLicense}}
-  s.homepage = '{{podHomepage}}{{^podHomepage}}https://github.com/OpenAPITools/openapi-generator{{/podHomepage}}'
-  s.summary = '{{podSummary}}{{^podSummary}}{{projectName}} Swift SDK{{/podSummary}}'
-  {{#podDescription}}
-  s.description = '{{podDescription}}'
-  {{/podDescription}}
-  {{#podScreenshots}}
-  s.screenshots = {{& podScreenshots}}
-  {{/podScreenshots}}
-  {{#podDocumentationURL}}
-  s.documentation_url = '{{podDocumentationURL}}'
-  {{/podDocumentationURL}}
-  s.source_files = '{{projectName}}/Classes/**/*.swift'
-  {{#usePromiseKit}}
-  s.dependency 'PromiseKit/CorePromise', '~> 4.4.0'
-  {{/usePromiseKit}}
-  {{#useRxSwift}}
-  s.dependency 'RxSwift', '3.6.1'
-  {{/useRxSwift}}
-  s.dependency 'Alamofire', '~> 4.5.0'
-end
diff --git a/modules/openapi-generator/src/main/resources/swift3/_param.mustache b/modules/openapi-generator/src/main/resources/swift3/_param.mustache
deleted file mode 100644
index 5caacbc6005..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/_param.mustache
+++ /dev/null
@@ -1 +0,0 @@
-"{{baseName}}": {{paramName}}{{^isEnum}}{{#isInteger}}{{^required}}?{{/required}}.encodeToJSON(){{/isInteger}}{{#isLong}}{{^required}}?{{/required}}.encodeToJSON(){{/isLong}}{{/isEnum}}{{#isEnum}}{{^isContainer}}{{^required}}?{{/required}}.rawValue{{/isContainer}}{{/isEnum}}{{#isDate}}{{^required}}?{{/required}}.encodeToJSON(){{/isDate}}{{#isDateTime}}{{^required}}?{{/required}}.encodeToJSON(){{/isDateTime}}
\ No newline at end of file
diff --git a/modules/openapi-generator/src/main/resources/swift3/api.mustache b/modules/openapi-generator/src/main/resources/swift3/api.mustache
deleted file mode 100644
index 4cdd9dc70d5..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/api.mustache
+++ /dev/null
@@ -1,177 +0,0 @@
-{{#operations}}//
-// {{classname}}.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire{{#usePromiseKit}}
-import PromiseKit{{/usePromiseKit}}{{#useRxSwift}}
-import RxSwift{{/useRxSwift}}
-
-{{#swiftUseApiNamespace}}
-extension {{projectName}}API {
-{{/swiftUseApiNamespace}}
-
-{{#description}}
-/** {{description}} */
-{{/description}}
-open class {{classname}}: APIBase {
-{{#operation}}
-    {{#allParams}}
-    {{#isEnum}}
-    /**
-     * enum for parameter {{paramName}}
-     */
-    public enum {{enumName}}_{{operationId}}: {{^isContainer}}{{{dataType}}}{{/isContainer}}{{#isContainer}}String{{/isContainer}} { {{#allowableValues}}{{#enumVars}}
-        case {{name}} = {{#isContainer}}"{{/isContainer}}{{#isString}}"{{/isString}}{{{value}}}{{#isString}}"{{/isString}}{{#isContainer}}"{{/isContainer}}{{/enumVars}}{{/allowableValues}}
-    }
-
-    {{/isEnum}}
-    {{/allParams}}
-    /**
-     {{#summary}}
-     {{{summary}}}
-     {{/summary}}
-     {{#allParams}}
-     - parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
-     {{/allParams}}
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func {{operationId}}({{#allParams}}{{paramName}}: {{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}{{{datatypeWithEnum}}}_{{operationId}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{^required}}? = nil{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}{{#hasParams}}, {{/hasParams}}completion: @escaping ((_ {{#returnType}}data: {{{returnType}}}?, _ {{/returnType}}error: ErrorResponse?) -> Void)) {
-        {{operationId}}WithRequestBuilder({{#allParams}}{{paramName}}: {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}).execute { (response, error) -> Void in
-            completion({{#returnType}}response?.body, {{/returnType}}error)
-        }
-    }
-
-{{#usePromiseKit}}
-    /**
-     {{#summary}}
-     {{{summary}}}
-     {{/summary}}
-     {{#allParams}}
-     - parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
-     {{/allParams}}
-     - returns: Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
-     */
-    open class func {{operationId}}({{#allParams}} {{paramName}}: {{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}{{{datatypeWithEnum}}}_{{operationId}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{^required}}? = nil{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) -> Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {
-        let deferred = Promise<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>.pending()
-        {{operationId}}({{#allParams}}{{paramName}}: {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) { {{#returnType}}data, {{/returnType}}error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill({{#returnType}}data!{{/returnType}})
-            }
-        }
-        return deferred.promise
-    }
-{{/usePromiseKit}}
-{{#useRxSwift}}
-    /**
-     {{#summary}}
-     {{{summary}}}
-     {{/summary}}
-     {{#allParams}}
-     - parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
-     {{/allParams}}
-     - returns: Observable<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>
-     */
-    open class func {{operationId}}({{#allParams}}{{paramName}}: {{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}{{{datatypeWithEnum}}}_{{operationId}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{^required}}? = nil{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) -> Observable<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {
-        return Observable.create { observer -> Disposable in
-            {{operationId}}({{#allParams}}{{paramName}}: {{paramName}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) { {{#returnType}}data, {{/returnType}}error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next({{#returnType}}data!{{/returnType}}))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-{{/useRxSwift}}
-
-    /**
-     {{#summary}}
-     {{{summary}}}
-     {{/summary}}
-     - {{httpMethod}} {{{path}}}
-     {{#notes}}
-     - {{{notes}}}
-     {{/notes}}
-     {{#subresourceOperation}}
-     - subresourceOperation: {{subresourceOperation}}
-     {{/subresourceOperation}}
-     {{#defaultResponse}}
-     - defaultResponse: {{defaultResponse}}
-     {{/defaultResponse}}
-     {{#authMethods}}
-     - {{#isBasic}}BASIC{{/isBasic}}{{#isOAuth}}OAuth{{/isOAuth}}{{#isApiKey}}API Key{{/isApiKey}}:
-       - type: {{type}}{{#keyParamName}} {{keyParamName}} {{#isKeyInQuery}}(QUERY){{/isKeyInQuery}}{{#isKeyInHeaer}}(HEADER){{/isKeyInHeaer}}{{/keyParamName}}
-       - name: {{name}}
-     {{/authMethods}}
-     {{#hasResponseHeaders}}
-     - responseHeaders: [{{#responseHeaders}}{{{baseName}}}({{{dataType}}}){{^-last}}, {{/-last}}{{/responseHeaders}}]
-     {{/hasResponseHeaders}}
-     {{#externalDocs}}
-     - externalDocs: {{externalDocs}}
-     {{/externalDocs}}
-     {{#allParams}}
-     - parameter {{paramName}}: ({{#isFormParam}}form{{/isFormParam}}{{#isQueryParam}}query{{/isQueryParam}}{{#isPathParam}}path{{/isPathParam}}{{#isHeaderParam}}header{{/isHeaderParam}}{{#isBodyParam}}body{{/isBodyParam}}) {{description}} {{^required}}(optional{{#defaultValue}}, default to {{{.}}}{{/defaultValue}}){{/required}}
-     {{/allParams}}
-     - returns: RequestBuilder<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {{description}}
-     */
-    open class func {{operationId}}WithRequestBuilder({{#allParams}}{{paramName}}: {{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}{{{datatypeWithEnum}}}_{{operationId}}{{/isContainer}}{{/isEnum}}{{^isEnum}}{{{dataType}}}{{/isEnum}}{{^required}}? = nil{{/required}}{{#hasMore}}, {{/hasMore}}{{/allParams}}) -> RequestBuilder<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}> {
-        {{^pathParams}}let{{/pathParams}}{{#pathParams}}{{^secondaryParam}}var{{/secondaryParam}}{{/pathParams}} path = "{{{path}}}"{{#pathParams}}
-        let {{paramName}}PreEscape = "\({{paramName}}{{#isEnum}}{{#isContainer}}{{{dataType}}}{{/isContainer}}{{^isContainer}}.rawValue{{/isContainer}}{{/isEnum}})"
-        let {{paramName}}PostEscape = {{paramName}}PreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{{=<% %>=}}{<%baseName%>}<%={{ }}=%>", with: {{paramName}}PostEscape, options: .literal, range: nil){{/pathParams}}
-        let URLString = {{projectName}}API.basePath + path
-        {{#bodyParam}}
-        let parameters = {{paramName}}{{^required}}?{{/required}}.encodeToJSON()
-        {{/bodyParam}}
-        {{^bodyParam}}
-            {{#hasFormParams}}
-        let formParams: [String:Any?] = [
-                {{#formParams}}
-            {{> _param}}{{#hasMore}},{{/hasMore}}
-                {{/formParams}}
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-            {{/hasFormParams}}
-            {{^hasFormParams}}
-        let parameters: [String:Any]? = nil
-            {{/hasFormParams}}
-        {{/bodyParam}}{{#hasQueryParams}}
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            {{#queryParams}}
-            {{> _param}}{{#hasMore}},{{/hasMore}}
-            {{/queryParams}}
-        ]){{/hasQueryParams}}{{^hasQueryParams}}
-        let url = URLComponents(string: URLString){{/hasQueryParams}}
-        {{#headerParams}}
-        {{^secondaryParam}}
-        let nillableHeaders: [String: Any?] = [
-        {{/secondaryParam}}
-            {{> _param}}{{#hasMore}},{{/hasMore}}
-        {{^hasMore}}
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-        {{/hasMore}}
-        {{/headerParams}}
-
-        let requestBuilder: RequestBuilder<{{#returnType}}{{{returnType}}}{{/returnType}}{{^returnType}}Void{{/returnType}}>.Type = {{projectName}}API.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "{{httpMethod}}", URLString: (url?.string ?? URLString), parameters: parameters, isBody: {{hasBodyParam}}{{#headerParams}}{{^secondaryParam}}, headers: headerParameters{{/secondaryParam}}{{/headerParams}})
-    }
-
-{{/operation}}
-}
-{{#swiftUseApiNamespace}}
-}
-{{/swiftUseApiNamespace}}
-{{/operations}}
diff --git a/modules/openapi-generator/src/main/resources/swift3/git_push.sh.mustache b/modules/openapi-generator/src/main/resources/swift3/git_push.sh.mustache
deleted file mode 100755
index 8b3f689c912..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/git_push.sh.mustache
+++ /dev/null
@@ -1,58 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update" "gitlab.com"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-git_host=$4
-
-if [ "$git_host" = "" ]; then
-    git_host="{{{gitHost}}}"
-    echo "[INFO] No command line input provided. Set \$git_host to $git_host"
-fi
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="{{{gitUserId}}}"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="{{{gitRepoId}}}"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="{{{releaseNote}}}"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://${git_host}/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@${git_host}/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://${git_host}/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/modules/openapi-generator/src/main/resources/swift3/gitignore.mustache b/modules/openapi-generator/src/main/resources/swift3/gitignore.mustache
deleted file mode 100644
index fc4e330f8fa..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/gitignore.mustache
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/modules/openapi-generator/src/main/resources/swift3/model.mustache b/modules/openapi-generator/src/main/resources/swift3/model.mustache
deleted file mode 100644
index 313530bac53..00000000000
--- a/modules/openapi-generator/src/main/resources/swift3/model.mustache
+++ /dev/null
@@ -1,105 +0,0 @@
-{{#models}}
-{{#model}}
-//
-// {{classname}}.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-{{#description}}
-
-/** {{description}} */{{/description}}
-{{#isArrayModel}}
-public typealias {{classname}} = [{{arrayModelType}}]
-{{/isArrayModel}}
-{{^isArrayModel}}
-{{#isEnum}}
-public enum {{classname}}: {{dataType}} {
-{{#allowableValues}}{{#enumVars}}    case {{name}} = "{{{value}}}"
-{{/enumVars}}{{/allowableValues}}
-    func encodeToJSON() -> Any { return self.rawValue }
-}
-{{/isEnum}}
-{{^isEnum}}
-open class {{classname}}: {{#parent}}{{{parent}}}{{/parent}}{{^parent}}JSONEncodable{{/parent}} {
-
-{{#vars}}
-{{#isEnum}}
-    public enum {{enumName}}: {{^isContainer}}{{dataType}}{{/isContainer}}{{#isContainer}}String{{/isContainer}} { {{#allowableValues}}{{#enumVars}}
-        case {{name}} = {{#isContainer}}"{{/isContainer}}{{#isString}}"{{/isString}}{{{value}}}{{#isString}}"{{/isString}}{{#isContainer}}"{{/isContainer}}{{/enumVars}}{{/allowableValues}}
-    }
-{{/isEnum}}
-{{/vars}}
-{{#vars}}
-{{#isEnum}}
-    {{#description}}/** {{description}} */
-    {{/description}}public var {{name}}: {{{datatypeWithEnum}}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}{{#defaultValue}} = {{{defaultValue}}}{{/defaultValue}}
-{{/isEnum}}
-{{^isEnum}}
-    {{#description}}/** {{description}} */
-    {{/description}}public var {{name}}: {{{dataType}}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}{{#defaultValue}} = {{{defaultValue}}}{{/defaultValue}}{{#objcCompatible}}{{#vendorExtensions.x-swift-optional-scalar}}
-    public var {{name}}Num: NSNumber? {
-        get {
-            return {{name}}.map({ return NSNumber(value: $0) })
-        }
-    }{{/vendorExtensions.x-swift-optional-scalar}}{{/objcCompatible}}
-{{/isEnum}}
-{{/vars}}
-
-{{#additionalPropertiesType}}
-    public var additionalProperties: [AnyHashable:{{{additionalPropertiesType}}}] = [:]
-
-{{/additionalPropertiesType}}
-{{^unwrapRequired}}
-    {{^parent}}public init() {}{{/parent}}{{/unwrapRequired}}
-{{#unwrapRequired}}
-    public init({{#allVars}}{{^-first}}, {{/-first}}{{name}}: {{#isEnum}}{{datatypeWithEnum}}{{/isEnum}}{{^isEnum}}{{dataType}}{{/isEnum}}{{^required}}?=nil{{/required}}{{/allVars}}) {
-        {{#vars}}
-        self.{{name}} = {{name}}
-        {{/vars}}
-    }{{/unwrapRequired}}
-{{#additionalPropertiesType}}
-    public subscript(key: AnyHashable) -> {{{additionalPropertiesType}}}? {
-        get {
-            if let value = additionalProperties[key] {
-                return value
-            }
-            return nil
-        }
-
-        set {
-            additionalProperties[key] = newValue
-        }
-    }
-{{/additionalPropertiesType}}
-    // MARK: JSONEncodable
-    {{#parent}}override {{/parent}}open func encodeToJSON() -> Any {
-        var nillableDictionary = {{#parent}}super.encodeToJSON() as? [String:Any?] ?? {{/parent}}[String:Any?](){{#vars}}{{^isContainer}}{{#isPrimitiveType}}{{^isEnum}}{{#isInteger}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.encodeToJSON(){{/isInteger}}{{#isLong}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.encodeToJSON(){{/isLong}}{{^isLong}}{{^isInteger}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{/isInteger}}{{/isLong}}{{/isEnum}}{{/isPrimitiveType}}{{#isEnum}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.rawValue{{/isEnum}}{{^isPrimitiveType}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.encodeToJSON(){{/isPrimitiveType}}{{/isContainer}}{{#isContainer}}{{^isEnum}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.encodeToJSON(){{/isEnum}}{{#isEnum}}{{#isListContainer}}
-        nillableDictionary["{{baseName}}"] = self.{{name}}{{^unwrapRequired}}?{{/unwrapRequired}}{{#unwrapRequired}}{{^required}}?{{/required}}{{/unwrapRequired}}.map({$0.rawValue}).encodeToJSON(){{/isListContainer}}{{#isMapContainer}}//TODO: handle enum map scenario{{/isMapContainer}}{{/isEnum}}{{/isContainer}}{{/vars}}
-
-        {{#additionalPropertiesType}}
-        for (key, value) in additionalProperties {
-            if let key = key as? String {
-               nillableDictionary[key] = value
-            }
-        }
-
-        {{/additionalPropertiesType}}
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
-{{/isEnum}}
-{{/isArrayModel}}
-{{/model}}
-{{/models}}
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/options/Swift3OptionsProvider.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/options/Swift3OptionsProvider.java
deleted file mode 100644
index d83863cd739..00000000000
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/options/Swift3OptionsProvider.java
+++ /dev/null
@@ -1,90 +0,0 @@
-/*
- * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
- * Copyright 2018 SmartBear Software
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.openapitools.codegen.options;
-
-import com.google.common.collect.ImmutableMap;
-import org.openapitools.codegen.CodegenConstants;
-import org.openapitools.codegen.languages.Swift3Codegen;
-
-import java.util.Map;
-
-public class Swift3OptionsProvider implements OptionsProvider {
-    public static final String SORT_PARAMS_VALUE = "false";
-    public static final String SORT_MODEL_PROPERTIES_VALUE = "false";
-    public static final String ENSURE_UNIQUE_PARAMS_VALUE = "true";
-    public static final String PROJECT_NAME_VALUE = "Swagger";
-    public static final String RESPONSE_AS_VALUE = "test";
-    public static final String UNWRAP_REQUIRED_VALUE = "true";
-    public static final String OBJC_COMPATIBLE_VALUE = "false";
-    public static final String LENIENT_TYPE_CAST_VALUE = "false";
-    public static final String POD_SOURCE_VALUE = "{ :git => 'git@github.com:swagger-api/swagger-mustache.git'," +
-            " :tag => 'v1.0.0-SNAPSHOT' }";
-    public static final String POD_VERSION_VALUE = "v1.0.0-SNAPSHOT";
-    public static final String POD_AUTHORS_VALUE = "podAuthors";
-    public static final String POD_SOCIAL_MEDIA_URL_VALUE = "podSocialMediaURL";
-    public static final String POD_DOCSET_URL_VALUE = "podDocsetURL";
-    public static final String POD_LICENSE_VALUE = "'Apache License, Version 2.0'";
-    public static final String POD_HOMEPAGE_VALUE = "podHomepage";
-    public static final String POD_SUMMARY_VALUE = "podSummary";
-    public static final String POD_DESCRIPTION_VALUE = "podDescription";
-    public static final String POD_SCREENSHOTS_VALUE = "podScreenshots";
-    public static final String POD_DOCUMENTATION_URL_VALUE = "podDocumentationURL";
-    public static final String SWIFT_USE_API_NAMESPACE_VALUE = "swiftUseApiNamespace";
-    public static final String ALLOW_UNICODE_IDENTIFIERS_VALUE = "false";
-    public static final String PREPEND_FORM_OR_BODY_PARAMETERS_VALUE = "true";
-
-    @Override
-    public String getLanguage() {
-        return "swift3";
-    }
-
-    @Override
-    public Map<String, String> createOptions() {
-        ImmutableMap.Builder<String, String> builder = new ImmutableMap.Builder<String, String>();
-        return builder.put(CodegenConstants.SORT_PARAMS_BY_REQUIRED_FLAG, SORT_PARAMS_VALUE)
-                .put(CodegenConstants.SORT_MODEL_PROPERTIES_BY_REQUIRED_FLAG, SORT_MODEL_PROPERTIES_VALUE)
-                .put(CodegenConstants.ENSURE_UNIQUE_PARAMS, ENSURE_UNIQUE_PARAMS_VALUE)
-                .put(Swift3Codegen.PROJECT_NAME, PROJECT_NAME_VALUE)
-                .put(Swift3Codegen.RESPONSE_AS, RESPONSE_AS_VALUE)
-                .put(Swift3Codegen.UNWRAP_REQUIRED, UNWRAP_REQUIRED_VALUE)
-                .put(Swift3Codegen.OBJC_COMPATIBLE, OBJC_COMPATIBLE_VALUE)
-                .put(Swift3Codegen.LENIENT_TYPE_CAST, LENIENT_TYPE_CAST_VALUE)
-                .put(Swift3Codegen.POD_SOURCE, POD_SOURCE_VALUE)
-                .put(CodegenConstants.POD_VERSION, POD_VERSION_VALUE)
-                .put(Swift3Codegen.POD_AUTHORS, POD_AUTHORS_VALUE)
-                .put(Swift3Codegen.POD_SOCIAL_MEDIA_URL, POD_SOCIAL_MEDIA_URL_VALUE)
-                .put(Swift3Codegen.POD_DOCSET_URL, POD_DOCSET_URL_VALUE)
-                .put(Swift3Codegen.POD_LICENSE, POD_LICENSE_VALUE)
-                .put(Swift3Codegen.POD_HOMEPAGE, POD_HOMEPAGE_VALUE)
-                .put(Swift3Codegen.POD_SUMMARY, POD_SUMMARY_VALUE)
-                .put(Swift3Codegen.POD_DESCRIPTION, POD_DESCRIPTION_VALUE)
-                .put(Swift3Codegen.POD_SCREENSHOTS, POD_SCREENSHOTS_VALUE)
-                .put(Swift3Codegen.POD_DOCUMENTATION_URL, POD_DOCUMENTATION_URL_VALUE)
-                .put(Swift3Codegen.SWIFT_USE_API_NAMESPACE, SWIFT_USE_API_NAMESPACE_VALUE)
-                .put(CodegenConstants.HIDE_GENERATION_TIMESTAMP, "true")
-                .put(CodegenConstants.ALLOW_UNICODE_IDENTIFIERS, ALLOW_UNICODE_IDENTIFIERS_VALUE)
-                .put(CodegenConstants.PREPEND_FORM_OR_BODY_PARAMETERS, PREPEND_FORM_OR_BODY_PARAMETERS_VALUE)
-                .put(CodegenConstants.LEGACY_DISCRIMINATOR_BEHAVIOR, "true")
-                .build();
-    }
-
-    @Override
-    public boolean isServer() {
-        return false;
-    }
-}
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3CodegenTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3CodegenTest.java
deleted file mode 100644
index 1b5b2fa272c..00000000000
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3CodegenTest.java
+++ /dev/null
@@ -1,144 +0,0 @@
-/*
- * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
- * Copyright 2018 SmartBear Software
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.openapitools.codegen.swift3;
-
-import io.swagger.v3.oas.models.OpenAPI;
-import io.swagger.v3.oas.models.Operation;
-import org.openapitools.codegen.CodegenOperation;
-import org.openapitools.codegen.DefaultCodegen;
-import org.openapitools.codegen.TestUtils;
-import org.openapitools.codegen.languages.Swift3Codegen;
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-public class Swift3CodegenTest {
-
-    Swift3Codegen swiftCodegen = new Swift3Codegen();
-
-    @Test(enabled = false)
-    public void testCapitalizedReservedWord() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("AS", null), "_as");
-    }
-
-    @Test(enabled = false)
-    public void testReservedWord() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("Public", null), "_public");
-    }
-
-    @Test(enabled = false)
-    public void shouldNotBreakNonReservedWord() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("Error", null), "error");
-    }
-
-    @Test(enabled = false)
-    public void shouldNotBreakCorrectName() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("EntryName", null), "entryName");
-    }
-
-    @Test(enabled = false)
-    public void testSingleWordAllCaps() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("VALUE", null), "value");
-    }
-
-    @Test(enabled = false)
-    public void testSingleWordLowercase() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("value", null), "value");
-    }
-
-    @Test(enabled = false)
-    public void testCapitalsWithUnderscore() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("ENTRY_NAME", null), "entryName");
-    }
-
-    @Test(enabled = false)
-    public void testCapitalsWithDash() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("ENTRY-NAME", null), "entryName");
-    }
-
-    @Test(enabled = false)
-    public void testCapitalsWithSpace() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("ENTRY NAME", null), "entryName");
-    }
-
-    @Test(enabled = false)
-    public void testLowercaseWithUnderscore() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("entry_name", null), "entryName");
-    }
-
-    @Test(enabled = false)
-    public void testStartingWithNumber() throws Exception {
-        Assert.assertEquals(swiftCodegen.toEnumVarName("123EntryName", null), "_123entryName");
-        Assert.assertEquals(swiftCodegen.toEnumVarName("123Entry_name", null), "_123entryName");
-        Assert.assertEquals(swiftCodegen.toEnumVarName("123EntryName123", null), "_123entryName123");
-    }
-
-    @Test(description = "returns NSData when response format is binary", enabled = false)
-    public void binaryDataTest() {
-        final OpenAPI openAPI = TestUtils.parseFlattenSpec("src/test/resources/2_0/binaryDataTest.json");
-        final DefaultCodegen codegen = new Swift3Codegen();
-        codegen.setOpenAPI(openAPI);
-        final String path = "/tests/binaryResponse";
-        final Operation p = openAPI.getPaths().get(path).getPost();
-        final CodegenOperation op = codegen.fromOperation(path, "post", p, null);
-
-        Assert.assertEquals(op.returnType, "Data");
-        Assert.assertEquals(op.bodyParam.dataType, "Data");
-        Assert.assertTrue(op.bodyParam.isBinary);
-        Assert.assertTrue(op.responses.get(0).isBinary);
-    }
-
-    @Test(description = "returns ISOFullDate when response format is date", enabled = false)
-    public void dateTest() {
-        final OpenAPI openAPI = TestUtils.parseFlattenSpec("src/test/resources/2_0/datePropertyTest.json");
-        final DefaultCodegen codegen = new Swift3Codegen();
-        codegen.setOpenAPI(openAPI);
-        final String path = "/tests/dateResponse";
-        final Operation p = openAPI.getPaths().get(path).getPost();
-        final CodegenOperation op = codegen.fromOperation(path, "post", p, null);
-
-        Assert.assertEquals(op.returnType, "ISOFullDate");
-        Assert.assertEquals(op.bodyParam.dataType, "ISOFullDate");
-    }
-
-    @Test(enabled = false)
-    public void testDefaultPodAuthors() throws Exception {
-        // Given
-
-        // When
-        swiftCodegen.processOpts();
-
-        // Then
-        final String podAuthors = (String) swiftCodegen.additionalProperties().get(Swift3Codegen.POD_AUTHORS);
-        Assert.assertEquals(podAuthors, Swift3Codegen.DEFAULT_POD_AUTHORS);
-    }
-
-    @Test(enabled = false)
-    public void testPodAuthors() throws Exception {
-        // Given
-        final String swaggerDevs = "Swagger Devs";
-        swiftCodegen.additionalProperties().put(Swift3Codegen.POD_AUTHORS, swaggerDevs);
-
-        // When
-        swiftCodegen.processOpts();
-
-        // Then
-        final String podAuthors = (String) swiftCodegen.additionalProperties().get(Swift3Codegen.POD_AUTHORS);
-        Assert.assertEquals(podAuthors, swaggerDevs);
-    }
-
-}
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3ModelTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3ModelTest.java
deleted file mode 100644
index 671ffc08176..00000000000
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3ModelTest.java
+++ /dev/null
@@ -1,133 +0,0 @@
-/*
- * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
- * Copyright 2018 SmartBear Software
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.openapitools.codegen.swift3;
-
-import io.swagger.v3.oas.models.OpenAPI;
-import io.swagger.v3.oas.models.media.*;
-import io.swagger.v3.parser.util.SchemaTypeUtil;
-import org.openapitools.codegen.CodegenModel;
-import org.openapitools.codegen.CodegenProperty;
-import org.openapitools.codegen.DefaultCodegen;
-import org.openapitools.codegen.TestUtils;
-import org.openapitools.codegen.languages.Swift3Codegen;
-import org.testng.Assert;
-import org.testng.annotations.Test;
-
-@SuppressWarnings("static-method")
-public class Swift3ModelTest {
-
-    @Test(description = "convert a simple java model")
-    public void simpleModelTest() {
-        final Schema schema = new Schema()
-                .description("a sample model")
-                .addProperties("id", new IntegerSchema().format(SchemaTypeUtil.INTEGER64_FORMAT))
-                .addProperties("name", new StringSchema())
-                .addProperties("createdAt", new DateTimeSchema())
-                .addProperties("binary", new BinarySchema())
-                .addProperties("byte", new ByteArraySchema())
-                .addProperties("uuid", new UUIDSchema())
-                .addProperties("dateOfBirth", new DateSchema())
-                .addRequiredItem("id")
-                .addRequiredItem("name")
-                .discriminator(new Discriminator().propertyName("test"));
-
-        final DefaultCodegen codegen = new Swift3Codegen();
-        OpenAPI openAPI = TestUtils.createOpenAPIWithOneSchema("sample", schema);
-        codegen.setOpenAPI(openAPI);
-        final CodegenModel cm = codegen.fromModel("sample", schema);
-
-        Assert.assertEquals(cm.name, "sample");
-        Assert.assertEquals(cm.classname, "Sample");
-        Assert.assertEquals(cm.description, "a sample model");
-        Assert.assertEquals(cm.vars.size(), 7);
-        Assert.assertEquals(cm.getDiscriminatorName(),"test");
-
-        final CodegenProperty property1 = cm.vars.get(0);
-        Assert.assertEquals(property1.baseName, "id");
-        Assert.assertEquals(property1.dataType, "Int64");
-        Assert.assertEquals(property1.name, "id");
-        Assert.assertNull(property1.defaultValue);
-        Assert.assertEquals(property1.baseType, "Int64");
-        Assert.assertTrue(property1.hasMore);
-        Assert.assertTrue(property1.required);
-        Assert.assertTrue(property1.isPrimitiveType);
-        Assert.assertFalse(property1.isContainer);
-
-        final CodegenProperty property2 = cm.vars.get(1);
-        Assert.assertEquals(property2.baseName, "name");
-        Assert.assertEquals(property2.dataType, "String");
-        Assert.assertEquals(property2.name, "name");
-        Assert.assertNull(property2.defaultValue);
-        Assert.assertEquals(property2.baseType, "String");
-        Assert.assertTrue(property2.hasMore);
-        Assert.assertTrue(property2.required);
-        Assert.assertTrue(property2.isPrimitiveType);
-        Assert.assertFalse(property2.isContainer);
-
-        final CodegenProperty property3 = cm.vars.get(2);
-        Assert.assertEquals(property3.baseName, "createdAt");
-        Assert.assertEquals(property3.dataType, "Date");
-        Assert.assertEquals(property3.name, "createdAt");
-        Assert.assertNull(property3.defaultValue);
-        Assert.assertEquals(property3.baseType, "Date");
-        Assert.assertTrue(property3.hasMore);
-        Assert.assertFalse(property3.required);
-        Assert.assertFalse(property3.isContainer);
-
-        final CodegenProperty property4 = cm.vars.get(3);
-        Assert.assertEquals(property4.baseName, "binary");
-        Assert.assertEquals(property4.dataType, "URL");
-        Assert.assertEquals(property4.name, "binary");
-        Assert.assertNull(property4.defaultValue);
-        Assert.assertEquals(property4.baseType, "URL");
-        Assert.assertTrue(property4.hasMore);
-        Assert.assertFalse(property4.required);
-        Assert.assertFalse(property4.isContainer);
-
-        final CodegenProperty property5 = cm.vars.get(4);
-        Assert.assertEquals(property5.baseName, "byte");
-        Assert.assertEquals(property5.dataType, "Data");
-        Assert.assertEquals(property5.name, "byte");
-        Assert.assertNull(property5.defaultValue);
-        Assert.assertEquals(property5.baseType, "Data");
-        Assert.assertTrue(property5.hasMore);
-        Assert.assertFalse(property5.required);
-        Assert.assertFalse(property5.isContainer);
-
-        final CodegenProperty property6 = cm.vars.get(5);
-        Assert.assertEquals(property6.baseName, "uuid");
-        Assert.assertEquals(property6.dataType, "UUID");
-        Assert.assertEquals(property6.name, "uuid");
-        Assert.assertNull(property6.defaultValue);
-        Assert.assertEquals(property6.baseType, "UUID");
-        Assert.assertTrue(property6.hasMore);
-        Assert.assertFalse(property6.required);
-        Assert.assertFalse(property6.isContainer);
-
-        final CodegenProperty property7 = cm.vars.get(6);
-        Assert.assertEquals(property7.baseName, "dateOfBirth");
-        Assert.assertEquals(property7.dataType, "ISOFullDate");
-        Assert.assertEquals(property7.name, "dateOfBirth");
-        Assert.assertNull(property7.defaultValue);
-        Assert.assertEquals(property7.baseType, "ISOFullDate");
-        Assert.assertFalse(property7.hasMore);
-        Assert.assertFalse(property7.required);
-        Assert.assertFalse(property7.isContainer);
-    }
-
-}
diff --git a/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3OptionsTest.java b/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3OptionsTest.java
deleted file mode 100644
index 9d13950613e..00000000000
--- a/modules/openapi-generator/src/test/java/org/openapitools/codegen/swift3/Swift3OptionsTest.java
+++ /dev/null
@@ -1,51 +0,0 @@
-/*
- * Copyright 2018 OpenAPI-Generator Contributors (https://openapi-generator.tech)
- * Copyright 2018 SmartBear Software
- *
- * Licensed under the Apache License, Version 2.0 (the "License");
- * you may not use this file except in compliance with the License.
- * You may obtain a copy of the License at
- *
- *     https://www.apache.org/licenses/LICENSE-2.0
- *
- * Unless required by applicable law or agreed to in writing, software
- * distributed under the License is distributed on an "AS IS" BASIS,
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
- * See the License for the specific language governing permissions and
- * limitations under the License.
- */
-
-package org.openapitools.codegen.swift3;
-
-import org.openapitools.codegen.AbstractOptionsTest;
-import org.openapitools.codegen.CodegenConfig;
-import org.openapitools.codegen.languages.Swift3Codegen;
-import org.openapitools.codegen.options.Swift3OptionsProvider;
-
-import static org.mockito.Mockito.mock;
-import static org.mockito.Mockito.verify;
-
-public class Swift3OptionsTest extends AbstractOptionsTest {
-    private Swift3Codegen clientCodegen = mock(Swift3Codegen.class, mockSettings);
-
-    public Swift3OptionsTest() {
-        super(new Swift3OptionsProvider());
-    }
-
-    @Override
-    protected CodegenConfig getCodegenConfig() {
-        return clientCodegen;
-    }
-
-    @SuppressWarnings("unused")
-    @Override
-    protected void verifyOptions() {
-        verify(clientCodegen).setSortParamsByRequiredFlag(Boolean.parseBoolean(Swift3OptionsProvider.SORT_PARAMS_VALUE));
-        verify(clientCodegen).setProjectName(Swift3OptionsProvider.PROJECT_NAME_VALUE);
-        verify(clientCodegen).setResponseAs(Swift3OptionsProvider.RESPONSE_AS_VALUE.split(","));
-        verify(clientCodegen).setUnwrapRequired(Boolean.parseBoolean(Swift3OptionsProvider.UNWRAP_REQUIRED_VALUE));
-        verify(clientCodegen).setObjcCompatible(Boolean.parseBoolean(Swift3OptionsProvider.OBJC_COMPATIBLE_VALUE));
-        verify(clientCodegen).setLenientTypeCast(Boolean.parseBoolean(Swift3OptionsProvider.LENIENT_TYPE_CAST_VALUE));
-        verify(clientCodegen).setPrependFormOrBodyParameters(Boolean.parseBoolean(Swift3OptionsProvider.PREPEND_FORM_OR_BODY_PARAMETERS_VALUE));
-    }
-}
diff --git a/samples/client/petstore/swift/.gitignore b/samples/client/petstore/swift/.gitignore
deleted file mode 100644
index 5e5d5cebcf4..00000000000
--- a/samples/client/petstore/swift/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift/.openapi-generator-ignore b/samples/client/petstore/swift/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift/default/.gitignore b/samples/client/petstore/swift/default/.gitignore
deleted file mode 100644
index 5e5d5cebcf4..00000000000
--- a/samples/client/petstore/swift/default/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift/default/.openapi-generator-ignore b/samples/client/petstore/swift/default/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift/default/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift/default/.openapi-generator/VERSION b/samples/client/petstore/swift/default/.openapi-generator/VERSION
deleted file mode 100644
index 6d94c9c2e12..00000000000
--- a/samples/client/petstore/swift/default/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/swift/default/Cartfile b/samples/client/petstore/swift/default/Cartfile
deleted file mode 100644
index 3d90db16891..00000000000
--- a/samples/client/petstore/swift/default/Cartfile
+++ /dev/null
@@ -1 +0,0 @@
-github "Alamofire/Alamofire" >= 3.1.0
diff --git a/samples/client/petstore/swift/default/PetstoreClient.podspec b/samples/client/petstore/swift/default/PetstoreClient.podspec
deleted file mode 100644
index acf5565947c..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient.podspec
+++ /dev/null
@@ -1,14 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = 'PetstoreClient'
-  s.ios.deployment_target = '8.0'
-  s.osx.deployment_target = '10.9'
-  s.tvos.deployment_target = '9.0'
-  s.version = '0.0.1'
-  s.source = { :git => 'git@github.com:openapitools/openapi-generator.git', :tag => 'v1.0.0' }
-  s.authors = ''
-  s.license = 'Proprietary'
-  s.homepage = 'https://github.com/swagger-api/swagger-codegen'
-  s.summary = 'PetstoreClient'
-  s.source_files = 'PetstoreClient/Classes/**/*.swift'
-  s.dependency 'Alamofire', '~> 3.5.1'
-end
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIHelper.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
deleted file mode 100644
index bff5744506d..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-class APIHelper {
-    static func rejectNil(source: [String: AnyObject?]) -> [String: AnyObject]? {
-        var destination = [String: AnyObject]()
-        for (key, nillableValue) in source {
-            if let value: AnyObject = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(source: [String: AnyObject?]) -> [String: String] {
-        var destination = [String: String]()
-        for (key, nillableValue) in source {
-            if let value: AnyObject = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(source: [String: AnyObject]?) -> [String: AnyObject]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String: AnyObject]()
-        let theTrue = NSNumber(bool: true)
-        let theFalse = NSNumber(bool: false)
-        for (key, value) in source {
-            switch value {
-            case let x where x === theTrue || x === theFalse:
-                destination[key] = "\(value as! Bool)"
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs.swift
deleted file mode 100644
index 676a325d49a..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs.swift
+++ /dev/null
@@ -1,76 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class PetstoreClientAPI {
-    public static var basePath = "http://petstore.swagger.io/v2"
-    public static var credential: NSURLCredential?
-    public static var customHeaders: [String: String] = [:]
-    static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-public class APIBase {
-    func toParameters(encodable: JSONEncodable?) -> [String: AnyObject]? {
-        let encoded: AnyObject? = encodable?.encodeToJSON()
-
-        if encoded! is [AnyObject] {
-            var dictionary = [String: AnyObject]()
-            for (index, item) in (encoded as! [AnyObject]).enumerate() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String: AnyObject]
-        }
-    }
-}
-
-public class RequestBuilder<T> {
-    var credential: NSURLCredential?
-    var headers: [String: String]
-    let parameters: [String: AnyObject]?
-    let isBody: Bool
-    let method: String
-    let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((NSProgress) -> Void)?
-
-    required public init(method: String, URLString: String, parameters: [String: AnyObject]?, isBody: Bool, headers: [String: String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders(PetstoreClientAPI.customHeaders)
-    }
-
-    public func addHeaders(aHeaders: [String: String]) {
-        for (header, value) in aHeaders {
-            headers[header] = value
-        }
-    }
-
-    public func execute(completion: (response: Response<T>?, error: ErrorType?) -> Void) { }
-
-    public func addHeader(name name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    public func addCredential() -> Self {
-        self.credential = PetstoreClientAPI.credential
-        return self
-    }
-}
-
-protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
deleted file mode 100644
index 9c663a5fabe..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
+++ /dev/null
@@ -1,483 +0,0 @@
-//
-// PetAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-public class PetAPI: APIBase {
-    /**
-     Add a new pet to the store
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func addPet(pet pet: Pet? = nil, completion: ((error: ErrorType?) -> Void)) {
-        addPetWithRequestBuilder(pet: pet).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Add a new pet to the store
-     - POST /pet     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func addPetWithRequestBuilder(pet pet: Pet? = nil) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Deletes a pet
-     
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deletePet(petId petId: Int64, apiKey: String? = nil, completion: ((error: ErrorType?) -> Void)) {
-        deletePetWithRequestBuilder(petId: petId, apiKey: apiKey).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Deletes a pet
-     - DELETE /pet/{petId}     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deletePetWithRequestBuilder(petId petId: Int64, apiKey: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-        let nillableHeaders: [String: AnyObject?] = [
-            "api_key": apiKey
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true, headers: headerParameters)
-    }
-
-    /**
-     Finds Pets by status
-     
-     - parameter status: (query) Status values that need to be considered for filter (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func findPetsByStatus(status status: [String]? = nil, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
-        findPetsByStatusWithRequestBuilder(status: status).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Finds Pets by status
-     - GET /pet/findByStatus
-     - Multiple status values can be provided with comma separated strings     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter status: (query) Status values that need to be considered for filter (optional)
-
-     - returns: RequestBuilder<[Pet]> 
-     */
-    public class func findPetsByStatusWithRequestBuilder(status status: [String]? = nil) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByStatus"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "status": status
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Finds Pets by tags
-     
-     - parameter tags: (query) Tags to filter by (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func findPetsByTags(tags tags: [String]? = nil, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
-        findPetsByTagsWithRequestBuilder(tags: tags).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Finds Pets by tags
-     - GET /pet/findByTags
-     - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter tags: (query) Tags to filter by (optional)
-
-     - returns: RequestBuilder<[Pet]> 
-     */
-    public class func findPetsByTagsWithRequestBuilder(tags tags: [String]? = nil) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByTags"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "tags": tags
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Find pet by ID
-     
-     - parameter petId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getPetById(petId petId: Int64, completion: ((data: Pet?, error: ErrorType?) -> Void)) {
-        getPetByIdWithRequestBuilder(petId: petId).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Find pet by ID
-     - GET /pet/{petId}
-     - Returns a pet when ID < 10.  ID > 10 or nonintegers will simulate API error conditions     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter petId: (path) ID of pet that needs to be fetched 
-
-     - returns: RequestBuilder<Pet> 
-     */
-    public class func getPetByIdWithRequestBuilder(petId petId: Int64) -> RequestBuilder<Pet> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Pet>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Update an existing pet
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updatePet(pet pet: Pet? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updatePetWithRequestBuilder(pet: pet).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Update an existing pet
-     - PUT /pet     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updatePetWithRequestBuilder(pet pet: Pet? = nil) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Updates a pet in the store with form data
-     
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updatePetWithForm(petId petId: String, name: String? = nil, status: String? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updatePetWithFormWithRequestBuilder(petId: petId, name: name, status: status).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - POST /pet/{petId}     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updatePetWithFormWithRequestBuilder(petId petId: String, name: String? = nil, status: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "name": name,
-            "status": status
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     uploads an image
-     
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func uploadFile(petId petId: Int64, additionalMetadata: String? = nil, file: NSURL? = nil, completion: ((error: ErrorType?) -> Void)) {
-        uploadFileWithRequestBuilder(petId: petId, additionalMetadata: additionalMetadata, file: file).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     uploads an image
-     - POST /pet/{petId}/uploadImage     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func uploadFileWithRequestBuilder(petId petId: Int64, additionalMetadata: String? = nil, file: NSURL? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}/uploadImage"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "additionalMetadata": additionalMetadata,
-            "file": file
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
deleted file mode 100644
index b745aad140b..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
+++ /dev/null
@@ -1,206 +0,0 @@
-//
-// StoreAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-public class StoreAPI: APIBase {
-    /**
-     Delete purchase order by ID
-     
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deleteOrder(orderId orderId: String, completion: ((error: ErrorType?) -> Void)) {
-        deleteOrderWithRequestBuilder(orderId: orderId).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Delete purchase order by ID
-     - DELETE /store/order/{orderId}
-     - For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors     - parameter orderId: (path) ID of the order that needs to be deleted 
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deleteOrderWithRequestBuilder(orderId orderId: String) -> RequestBuilder<Void> {
-        var path = "/store/order/{orderId}"
-        path = path.stringByReplacingOccurrencesOfString("{orderId}", withString: "\(orderId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Returns pet inventories by status
-     
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getInventory(completion: ((data: [String: Int32]?, error: ErrorType?) -> Void)) {
-        getInventoryWithRequestBuilder().execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Returns pet inventories by status
-     - GET /store/inventory
-     - Returns a map of status codes to quantities     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-
-     - returns: RequestBuilder<[String:Int32]> 
-     */
-    public class func getInventoryWithRequestBuilder() -> RequestBuilder<[String: Int32]> {
-        let path = "/store/inventory"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[String: Int32]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Find purchase order by ID
-     
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getOrderById(orderId orderId: String, completion: ((data: Order?, error: ErrorType?) -> Void)) {
-        getOrderByIdWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Find purchase order by ID
-     - GET /store/order/{orderId}
-     - For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-
-     - returns: RequestBuilder<Order> 
-     */
-    public class func getOrderByIdWithRequestBuilder(orderId orderId: String) -> RequestBuilder<Order> {
-        var path = "/store/order/{orderId}"
-        path = path.stringByReplacingOccurrencesOfString("{orderId}", withString: "\(orderId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Place an order for a pet
-     
-     - parameter order: (body) order placed for purchasing the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func placeOrder(order order: Order? = nil, completion: ((data: Order?, error: ErrorType?) -> Void)) {
-        placeOrderWithRequestBuilder(order: order).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Place an order for a pet
-     - POST /store/order     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - parameter order: (body) order placed for purchasing the pet (optional)
-
-     - returns: RequestBuilder<Order> 
-     */
-    public class func placeOrderWithRequestBuilder(order order: Order? = nil) -> RequestBuilder<Order> {
-        let path = "/store/order"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = order?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
deleted file mode 100644
index 0f5a31fee5e..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
+++ /dev/null
@@ -1,312 +0,0 @@
-//
-// UserAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-public class UserAPI: APIBase {
-    /**
-     Create user
-     
-     - parameter user: (body) Created user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUser(user user: User? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUserWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Create user
-     - POST /user
-     - This can only be done by the logged in user.     - parameter user: (body) Created user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUserWithRequestBuilder(user user: User? = nil) -> RequestBuilder<Void> {
-        let path = "/user"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUsersWithArrayInput(user user: [User]? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUsersWithArrayInputWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithArray     - parameter user: (body) List of user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUsersWithArrayInputWithRequestBuilder(user user: [User]? = nil) -> RequestBuilder<Void> {
-        let path = "/user/createWithArray"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUsersWithListInput(user user: [User]? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUsersWithListInputWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithList     - parameter user: (body) List of user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUsersWithListInputWithRequestBuilder(user user: [User]? = nil) -> RequestBuilder<Void> {
-        let path = "/user/createWithList"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Delete user
-     
-     - parameter username: (path) The name that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deleteUser(username username: String, completion: ((error: ErrorType?) -> Void)) {
-        deleteUserWithRequestBuilder(username: username).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Delete user
-     - DELETE /user/{username}
-     - This can only be done by the logged in user.     - parameter username: (path) The name that needs to be deleted 
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deleteUserWithRequestBuilder(username username: String) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Get user by user name
-     
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getUserByName(username username: String, completion: ((data: User?, error: ErrorType?) -> Void)) {
-        getUserByNameWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Get user by user name
-     - GET /user/{username}     - examples: [{contentType=application/json, example={
-  "firstName" : "firstName",
-  "lastName" : "lastName",
-  "password" : "password",
-  "userStatus" : 6,
-  "phone" : "phone",
-  "id" : 0,
-  "email" : "email",
-  "username" : "username"
-}}, {contentType=application/xml, example=<User>
-  <id>123456789</id>
-  <username>aeiou</username>
-  <firstName>aeiou</firstName>
-  <lastName>aeiou</lastName>
-  <email>aeiou</email>
-  <password>aeiou</password>
-  <phone>aeiou</phone>
-  <userStatus>123</userStatus>
-</User>}]
-     - examples: [{contentType=application/json, example={
-  "firstName" : "firstName",
-  "lastName" : "lastName",
-  "password" : "password",
-  "userStatus" : 6,
-  "phone" : "phone",
-  "id" : 0,
-  "email" : "email",
-  "username" : "username"
-}}, {contentType=application/xml, example=<User>
-  <id>123456789</id>
-  <username>aeiou</username>
-  <firstName>aeiou</firstName>
-  <lastName>aeiou</lastName>
-  <email>aeiou</email>
-  <password>aeiou</password>
-  <phone>aeiou</phone>
-  <userStatus>123</userStatus>
-</User>}]
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-
-     - returns: RequestBuilder<User> 
-     */
-    public class func getUserByNameWithRequestBuilder(username username: String) -> RequestBuilder<User> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<User>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Logs user into the system
-     
-     - parameter username: (query) The user name for login (optional)
-     - parameter password: (query) The password for login in clear text (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func loginUser(username username: String? = nil, password: String? = nil, completion: ((data: String?, error: ErrorType?) -> Void)) {
-        loginUserWithRequestBuilder(username: username, password: password).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Logs user into the system
-     - GET /user/login     - parameter username: (query) The user name for login (optional)
-     - parameter password: (query) The password for login in clear text (optional)
-
-     - returns: RequestBuilder<String> 
-     */
-    public class func loginUserWithRequestBuilder(username username: String? = nil, password: String? = nil) -> RequestBuilder<String> {
-        let path = "/user/login"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "username": username,
-            "password": password
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Logs out current logged in user session
-     
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func logoutUser(completion: ((error: ErrorType?) -> Void)) {
-        logoutUserWithRequestBuilder().execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Logs out current logged in user session
-     - GET /user/logout
-     - returns: RequestBuilder<Void> 
-     */
-    public class func logoutUserWithRequestBuilder() -> RequestBuilder<Void> {
-        let path = "/user/logout"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Updated user
-     
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updateUser(username username: String, user: User? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updateUserWithRequestBuilder(username: username, user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Updated user
-     - PUT /user/{username}
-     - This can only be done by the logged in user.     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updateUserWithRequestBuilder(username username: String, user: User? = nil) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
deleted file mode 100644
index 38e0a086d73..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
+++ /dev/null
@@ -1,207 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-public struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = dispatch_queue_create("SynchronizedDictionary", DISPATCH_QUEUE_CONCURRENT)
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            dispatch_sync(queue) {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-
-        set {
-            dispatch_barrier_sync(queue) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.Manager>()
-
-class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required init(method: String, URLString: String, parameters: [String: AnyObject]?, isBody: Bool, headers: [String: String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    override func execute(completion: (response: Response<T>?, error: ErrorType?) -> Void) {
-        let managerId = NSUUID().UUIDString
-        // Create a new manager for each request to customize its request header
-        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-        configuration.HTTPAdditionalHeaders = buildHeaders()
-        let manager = Alamofire.Manager(configuration: configuration)
-        managerStore[managerId] = manager
-
-        let encoding = isBody ? Alamofire.ParameterEncoding.JSON : Alamofire.ParameterEncoding.URL
-        let xMethod = Alamofire.Method(rawValue: method)
-        let fileKeys = parameters == nil ? [] : parameters!.filter { $1.isKindOfClass(NSURL) }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(
-                xMethod!, URLString, headers: nil,
-                multipartFormData: { mpForm in
-                    for (k, v) in self.parameters! {
-                        switch v {
-                        case let fileURL as NSURL:
-                            mpForm.appendBodyPart(fileURL: fileURL, name: k)
-                        case let string as NSString:
-                            mpForm.appendBodyPart(data: string.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
-                        case let number as NSNumber:
-                            mpForm.appendBodyPart(data: number.stringValue.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
-                        default:
-                            fatalError("Unprocessable value \(v) with key \(k)")
-                        }
-                    }
-                },
-                encodingMemoryThreshold: Manager.MultipartFormDataEncodingMemoryThreshold,
-                encodingCompletion: { encodingResult in
-                    switch encodingResult {
-                    case .Success(let uploadRequest, _, _):
-                        if let onProgressReady = self.onProgressReady {
-                            onProgressReady(uploadRequest.progress)
-                        }
-                        self.processRequest(uploadRequest, managerId, completion)
-                    case .Failure(let encodingError):
-                        completion(response: nil, error: ErrorResponse.error(415, nil, encodingError))
-                    }
-                }
-            )
-        } else {
-            let request = manager.request(xMethod!, URLString, parameters: parameters, encoding: encoding)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: Request, _ managerId: String, _ completion: (response: Response<T>?, error: ErrorType?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(stringResponse.response?.statusCode ?? 500, stringResponse.data, stringResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: stringResponse.response!,
-                        body: (stringResponse.result.value ?? "") as! T
-                    ),
-                    error: nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(voidResponse.response?.statusCode ?? 500, voidResponse.data, voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: voidResponse.response!,
-                        body: nil
-                    ),
-                    error: nil
-                )
-            })
-        case is NSData.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(dataResponse.response?.statusCode ?? 500, dataResponse.data, dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: dataResponse.response!,
-                        body: dataResponse.data as! T
-                    ),
-                    error: nil
-                )
-            })
-        default:
-            validatedRequest.responseJSON(options: .AllowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(response: nil, error: ErrorResponse.error(response.response?.statusCode ?? 500, response.data, response.result.error!))
-                    return
-                }
-
-                if () is T {
-                    completion(response: Response(response: response.response!, body: () as! T), error: nil)
-                    return
-                }
-                if let json: AnyObject = response.result.value {
-                    let body = Decoders.decode(clazz: T.self, source: json)
-                    completion(response: Response(response: response.response!, body: body), error: nil)
-                    return
-                } else if "" is T {
-                    completion(response: Response(response: response.response!, body: "" as! T), error: nil)
-                    return
-                }
-
-                completion(response: nil, error: ErrorResponse.error(500, nil, NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    private func buildHeaders() -> [String: AnyObject] {
-        var httpHeaders = Manager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Extensions.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Extensions.swift
deleted file mode 100644
index 603983e248a..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Extensions.swift
+++ /dev/null
@@ -1,177 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return NSNumber(int: self) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return NSNumber(longLong: self) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-private func encodeIfPossible<T>(object: T) -> AnyObject {
-    if object is JSONEncodable {
-        return (object as! JSONEncodable).encodeToJSON()
-    } else {
-        return object as! AnyObject
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        var dictionary = [NSObject: AnyObject]()
-        for (key, value) in self {
-            dictionary[key as! NSObject] = encodeIfPossible(value)
-        }
-        return dictionary
-    }
-}
-
-extension NSData: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.base64EncodedStringWithOptions(NSDataBase64EncodingOptions())
-    }
-}
-
-private let dateFormatter: NSDateFormatter = {
-    let fmt = NSDateFormatter()
-    fmt.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-    fmt.locale = NSLocale(localeIdentifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension NSDate: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return dateFormatter.stringFromDate(self)
-    }
-}
-
-extension NSUUID: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.UUIDString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts an NSDate to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date date: NSDate) -> ISOFullDate? {
-        guard let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian) else {
-            return nil
-        }
-
-        let components = calendar.components(
-            [
-                .Year,
-                .Month,
-                .Day
-            ],
-            fromDate: date
-        )
-        return ISOFullDate(
-            year: components.year,
-            month: components.month,
-            day: components.day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split("-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to an NSDate, in the default time zone.
-
-     - returns: An NSDate from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> NSDate? {
-        let components = NSDateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = NSTimeZone.defaultTimeZone()
-        let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian)
-        return calendar?.dateFromComponents(components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> AnyObject {
-        return "\(year)-\(month)-\(day)"
-    }
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models.swift
deleted file mode 100644
index 774bb1737b7..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models.swift
+++ /dev/null
@@ -1,234 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> AnyObject
-}
-
-public enum ErrorResponse: ErrorType {
-    case Error(Int, NSData?, ErrorType)
-}
-
-public class Response<T> {
-    public let statusCode: Int
-    public let header: [String: String]
-    public let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: NSHTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String: String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-private var once = dispatch_once_t()
-class Decoders {
-    static private var decoders = [String: ((AnyObject) -] AnyObject)>()
-
-    static func addDecoder<T>(clazz clazz: T.Type, decoder: ((AnyObject) -> T)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0) as! AnyObject }
-    }
-
-    static func decode<T>(clazz clazz: [T].Type, source: AnyObject) -> [T] {
-        let array = source as! [AnyObject]
-        return array.map { Decoders.decode(clazz: T.self, source: $0) }
-    }
-
-    static func decode<T, Key: Hashable>(clazz clazz: [Key: T].Type, source: AnyObject) -> [Key: T] {
-        let sourceDictionary = source as! [Key: AnyObject]
-        var dictionary = [Key: T]()
-        for (key, value) in sourceDictionary {
-            dictionary[key] = Decoders.decode(clazz: T.self, source: value)
-        }
-        return dictionary
-    }
-
-    static func decode<T>(clazz clazz: T.Type, source: AnyObject) -> T {
-        initialize()
-        if T.self is Int32.Type && source is NSNumber {
-            return source.intValue as! T
-        }
-        if T.self is Int64.Type && source is NSNumber {
-            return source.longLongValue as! T
-        }
-        if T.self is NSUUID.Type && source is String {
-            return NSUUID(UUIDString: source as! String) as! T
-        }
-        if source is T {
-            return source as! T
-        }
-        if T.self is NSData.Type && source is String {
-            return NSData(base64EncodedString: source as! String, options: NSDataBase64DecodingOptions()) as! T
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key] {
-           return decoder(source) as! T
-        } else {
-            fatalError("Source \(source) is not convertible to type \(clazz): Maybe OpenAPI spec file is insufficient")
-        }
-    }
-
-    static func decodeOptional<T>(clazz clazz: T.Type, source: AnyObject?) -> T? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (source: AnyObject) -> T in
-            Decoders.decode(clazz: clazz, source: source)
-        }
-    }
-
-    static func decodeOptional<T>(clazz clazz: [T].Type, source: AnyObject?) -> [T]? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (someSource: AnyObject) -> [T] in
-            Decoders.decode(clazz: clazz, source: someSource)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz clazz: [Key: T].Type, source: AnyObject?) -> [Key: T]? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (someSource: AnyObject) -> [Key: T] in
-            Decoders.decode(clazz: clazz, source: someSource)
-        }
-    }
-
-    static private func initialize() {
-        dispatch_once(&once) {
-            let formatters = [
-                "yyyy-MM-dd",
-                "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-                "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-                "yyyy-MM-dd'T'HH:mm:ss'Z'",
-                "yyyy-MM-dd'T'HH:mm:ss.SSS"
-            ].map { (format: String) -> NSDateFormatter in
-                let formatter = NSDateFormatter()
-                formatter.locale = NSLocale(localeIdentifier: "en_US_POSIX")
-                formatter.dateFormat = format
-                return formatter
-            }
-            // Decoder for NSDate
-            Decoders.addDecoder(clazz: NSDate.self) { (source: AnyObject) -> NSDate in
-               if let sourceString = source as? String {
-                    for formatter in formatters {
-                        if let date = formatter.dateFromString(sourceString) {
-                            return date
-                        }
-                    }
-
-                }
-                if let sourceInt = source as? Int {
-                    // treat as a java date
-                    return NSDate(timeIntervalSince1970: Double(sourceInt / 1000) )
-                }
-                fatalError("formatter failed to parse \(source)")
-            }
-
-            // Decoder for ISOFullDate
-            Decoders.addDecoder(clazz: ISOFullDate.self, decoder: { (source: AnyObject) -> ISOFullDate in
-                if let string = source as? String,
-                   let isoDate = ISOFullDate.from(string: string) {
-                    return isoDate
-                }
-                fatalError("formatter failed to parse \(source)")
-            })
-
-            // Decoder for [Category]
-            Decoders.addDecoder(clazz: [Category].self) { (source: AnyObject) -> [Category] in
-                return Decoders.decode(clazz: [Category].self, source: source)
-            }
-            // Decoder for Category
-            Decoders.addDecoder(clazz: Category.self) { (source: AnyObject) -> Category in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Category()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                return instance
-            }
-
-            // Decoder for [Order]
-            Decoders.addDecoder(clazz: [Order].self) { (source: AnyObject) -> [Order] in
-                return Decoders.decode(clazz: [Order].self, source: source)
-            }
-            // Decoder for Order
-            Decoders.addDecoder(clazz: Order.self) { (source: AnyObject) -> Order in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Order()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.petId = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["petId"])
-                instance.quantity = Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["quantity"])
-                instance.shipDate = Decoders.decodeOptional(clazz: NSDate.self, source: sourceDictionary["shipDate"])
-                instance.status = Order.Status(rawValue: (sourceDictionary["status"] as? String) ?? "")
-                instance.complete = Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["complete"])
-                return instance
-            }
-
-            // Decoder for [Pet]
-            Decoders.addDecoder(clazz: [Pet].self) { (source: AnyObject) -> [Pet] in
-                return Decoders.decode(clazz: [Pet].self, source: source)
-            }
-            // Decoder for Pet
-            Decoders.addDecoder(clazz: Pet.self) { (source: AnyObject) -> Pet in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Pet()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.category = Decoders.decodeOptional(clazz: Category.self, source: sourceDictionary["category"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                instance.photoUrls = Decoders.decodeOptional(clazz: Array.self, source: sourceDictionary["photoUrls"])
-                instance.tags = Decoders.decodeOptional(clazz: Array.self, source: sourceDictionary["tags"])
-                instance.status = Pet.Status(rawValue: (sourceDictionary["status"] as? String) ?? "")
-                return instance
-            }
-
-            // Decoder for [Tag]
-            Decoders.addDecoder(clazz: [Tag].self) { (source: AnyObject) -> [Tag] in
-                return Decoders.decode(clazz: [Tag].self, source: source)
-            }
-            // Decoder for Tag
-            Decoders.addDecoder(clazz: Tag.self) { (source: AnyObject) -> Tag in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Tag()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                return instance
-            }
-
-            // Decoder for [User]
-            Decoders.addDecoder(clazz: [User].self) { (source: AnyObject) -> [User] in
-                return Decoders.decode(clazz: [User].self, source: source)
-            }
-            // Decoder for User
-            Decoders.addDecoder(clazz: User.self) { (source: AnyObject) -> User in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = User()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.username = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["username"])
-                instance.firstName = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["firstName"])
-                instance.lastName = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["lastName"])
-                instance.email = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["email"])
-                instance.password = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"])
-                instance.phone = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["phone"])
-                instance.userStatus = Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["userStatus"])
-                return instance
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Category.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
deleted file mode 100644
index b3cbea28b69..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Category.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Category: JSONEncodable {
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
deleted file mode 100644
index bb7860b9483..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Order.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Order: JSONEncodable {
-    public enum Status: String {
-        case Placed = "placed"
-        case Approved = "approved"
-        case Delivered = "delivered"
-    }
-    public var id: Int64?
-    public var petId: Int64?
-    public var quantity: Int32?
-    public var shipDate: NSDate?
-    /** Order Status */
-    public var status: Status?
-    public var complete: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["petId"] = self.petId?.encodeToJSON()
-        nillableDictionary["quantity"] = self.quantity?.encodeToJSON()
-        nillableDictionary["shipDate"] = self.shipDate?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        nillableDictionary["complete"] = self.complete
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
deleted file mode 100644
index 5fa39ec431a..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Pet.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Pet: JSONEncodable {
-    public enum Status: String {
-        case Available = "available"
-        case Pending = "pending"
-        case Sold = "sold"
-    }
-    public var id: Int64?
-    public var category: Category?
-    public var name: String?
-    public var photoUrls: [String]?
-    public var tags: [Tag]?
-    /** pet status in the store */
-    public var status: Status?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["category"] = self.category?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        nillableDictionary["photoUrls"] = self.photoUrls?.encodeToJSON()
-        nillableDictionary["tags"] = self.tags?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
deleted file mode 100644
index df2d12e84fc..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Tag.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Tag: JSONEncodable {
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/User.swift b/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/User.swift
deleted file mode 100644
index d24a2154417..00000000000
--- a/samples/client/petstore/swift/default/PetstoreClient/Classes/OpenAPIs/Models/User.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// User.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class User: JSONEncodable {
-    public var id: Int64?
-    public var username: String?
-    public var firstName: String?
-    public var lastName: String?
-    public var email: String?
-    public var password: String?
-    public var phone: String?
-    /** User Status */
-    public var userStatus: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["username"] = self.username
-        nillableDictionary["firstName"] = self.firstName
-        nillableDictionary["lastName"] = self.lastName
-        nillableDictionary["email"] = self.email
-        nillableDictionary["password"] = self.password
-        nillableDictionary["phone"] = self.phone
-        nillableDictionary["userStatus"] = self.userStatus?.encodeToJSON()
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/Podfile b/samples/client/petstore/swift/default/SwaggerClientTests/Podfile
deleted file mode 100644
index 218aae4920f..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/Podfile
+++ /dev/null
@@ -1,11 +0,0 @@
-use_frameworks!
-source 'https://github.com/CocoaPods/Specs.git'
-
-target 'SwaggerClient' do
-    pod "PetstoreClient", :path => "../"
-
-    target 'SwaggerClientTests' do
-        inherit! :search_paths
-    end
-end
-
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
deleted file mode 100644
index d8ae490623c..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,529 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		6D4EFB951C692C6300B96B06 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFB941C692C6300B96B06 /* AppDelegate.swift */; };
-		6D4EFB971C692C6300B96B06 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFB961C692C6300B96B06 /* ViewController.swift */; };
-		6D4EFB9A1C692C6300B96B06 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB981C692C6300B96B06 /* Main.storyboard */; };
-		6D4EFB9C1C692C6300B96B06 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */; };
-		6D4EFB9F1C692C6300B96B06 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */; };
-		6D4EFBB51C693BE200B96B06 /* PetAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */; };
-		6D4EFBB71C693BED00B96B06 /* StoreAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */; };
-		6D4EFBB91C693BFC00B96B06 /* UserAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */; };
-		A77F0668DAC6BFAB9DBB7D37 /* Pods_SwaggerClient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = E9AE2FEF8E8F914C1D2F168B /* Pods_SwaggerClient.framework */; };
-		C6AAAD211D8718D00016A515 /* ISOFullDateTests.swift in Sources */ = {isa = PBXBuildFile; fileRef = C6AAAD201D8718D00016A515 /* ISOFullDateTests.swift */; };
-		F3FCC41175F14274266B53FA /* Pods_SwaggerClientTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A3C56BADD08FA3D474DBDF71 /* Pods_SwaggerClientTests.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		6D4EFBA61C692C6300B96B06 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 6D4EFB891C692C6300B96B06 /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 6D4EFB901C692C6300B96B06;
-			remoteInfo = SwaggerClient;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		6D4EFB911C692C6300B96B06 /* SwaggerClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwaggerClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
-		6D4EFB941C692C6300B96B06 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
-		6D4EFB961C692C6300B96B06 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
-		6D4EFB991C692C6300B96B06 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
-		6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		6D4EFB9E1C692C6300B96B06 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		6D4EFBA01C692C6300B96B06 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwaggerClientTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
-		6D4EFBAB1C692C6300B96B06 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PetAPITests.swift; sourceTree = "<group>"; };
-		6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoreAPITests.swift; sourceTree = "<group>"; };
-		6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserAPITests.swift; sourceTree = "<group>"; };
-		78ED7EF301CC6DF958B4BFAB /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		A3C56BADD08FA3D474DBDF71 /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClientTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		C07EC0A94AA0F86D60668B32 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		C6AAAD201D8718D00016A515 /* ISOFullDateTests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = ISOFullDateTests.swift; sourceTree = "<group>"; };
-		E9AE2FEF8E8F914C1D2F168B /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		EA2BED756A4C5389B0F46BC4 /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		EA32712FFC62EA5F96CC006F /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-		F18FDCB0CAAA15B973147EED /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		6D4EFB8E1C692C6300B96B06 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				A77F0668DAC6BFAB9DBB7D37 /* Pods_SwaggerClient.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA21C692C6300B96B06 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				F3FCC41175F14274266B53FA /* Pods_SwaggerClientTests.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		3FABC56EC0BA84CBF4F99564 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				C07EC0A94AA0F86D60668B32 /* Pods.framework */,
-				E9AE2FEF8E8F914C1D2F168B /* Pods_SwaggerClient.framework */,
-				A3C56BADD08FA3D474DBDF71 /* Pods_SwaggerClientTests.framework */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		6D4EFB881C692C6300B96B06 = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB931C692C6300B96B06 /* SwaggerClient */,
-				6D4EFBA81C692C6300B96B06 /* SwaggerClientTests */,
-				6D4EFB921C692C6300B96B06 /* Products */,
-				3FABC56EC0BA84CBF4F99564 /* Frameworks */,
-				D598C75400476D9194EADBAA /* Pods */,
-			);
-			sourceTree = "<group>";
-		};
-		6D4EFB921C692C6300B96B06 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB911C692C6300B96B06 /* SwaggerClient.app */,
-				6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		6D4EFB931C692C6300B96B06 /* SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB941C692C6300B96B06 /* AppDelegate.swift */,
-				6D4EFB961C692C6300B96B06 /* ViewController.swift */,
-				6D4EFB981C692C6300B96B06 /* Main.storyboard */,
-				6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */,
-				6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */,
-				6D4EFBA01C692C6300B96B06 /* Info.plist */,
-			);
-			path = SwaggerClient;
-			sourceTree = "<group>";
-		};
-		6D4EFBA81C692C6300B96B06 /* SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFBAB1C692C6300B96B06 /* Info.plist */,
-				C6AAAD201D8718D00016A515 /* ISOFullDateTests.swift */,
-				6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */,
-				6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */,
-				6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */,
-			);
-			path = SwaggerClientTests;
-			sourceTree = "<group>";
-		};
-		D598C75400476D9194EADBAA /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				EA2BED756A4C5389B0F46BC4 /* Pods-SwaggerClient.debug.xcconfig */,
-				F18FDCB0CAAA15B973147EED /* Pods-SwaggerClient.release.xcconfig */,
-				78ED7EF301CC6DF958B4BFAB /* Pods-SwaggerClientTests.debug.xcconfig */,
-				EA32712FFC62EA5F96CC006F /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		6D4EFB901C692C6300B96B06 /* SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6D4EFBAE1C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClient" */;
-			buildPhases = (
-				E5F6E842A9A53DF5152241BC /* [CP] Check Pods Manifest.lock */,
-				6D4EFB8D1C692C6300B96B06 /* Sources */,
-				6D4EFB8E1C692C6300B96B06 /* Frameworks */,
-				6D4EFB8F1C692C6300B96B06 /* Resources */,
-				4A8C29C17AE187506924CE72 /* [CP] Embed Pods Frameworks */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = SwaggerClient;
-			productName = SwaggerClient;
-			productReference = 6D4EFB911C692C6300B96B06 /* SwaggerClient.app */;
-			productType = "com.apple.product-type.application";
-		};
-		6D4EFBA41C692C6300B96B06 /* SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6D4EFBB11C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */;
-			buildPhases = (
-				18CD551FE8D8E7492A1C4100 /* [CP] Check Pods Manifest.lock */,
-				6D4EFBA11C692C6300B96B06 /* Sources */,
-				6D4EFBA21C692C6300B96B06 /* Frameworks */,
-				6D4EFBA31C692C6300B96B06 /* Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				6D4EFBA71C692C6300B96B06 /* PBXTargetDependency */,
-			);
-			name = SwaggerClientTests;
-			productName = SwaggerClientTests;
-			productReference = 6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */;
-			productType = "com.apple.product-type.bundle.unit-test";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		6D4EFB891C692C6300B96B06 /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0720;
-				LastUpgradeCheck = 0720;
-				ORGANIZATIONNAME = Swagger;
-				TargetAttributes = {
-					6D4EFB901C692C6300B96B06 = {
-						CreatedOnToolsVersion = 7.2.1;
-					};
-					6D4EFBA41C692C6300B96B06 = {
-						CreatedOnToolsVersion = 7.2.1;
-						TestTargetID = 6D4EFB901C692C6300B96B06;
-					};
-				};
-			};
-			buildConfigurationList = 6D4EFB8C1C692C6300B96B06 /* Build configuration list for PBXProject "SwaggerClient" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = 6D4EFB881C692C6300B96B06;
-			productRefGroup = 6D4EFB921C692C6300B96B06 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				6D4EFB901C692C6300B96B06 /* SwaggerClient */,
-				6D4EFBA41C692C6300B96B06 /* SwaggerClientTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-		6D4EFB8F1C692C6300B96B06 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFB9F1C692C6300B96B06 /* LaunchScreen.storyboard in Resources */,
-				6D4EFB9C1C692C6300B96B06 /* Assets.xcassets in Resources */,
-				6D4EFB9A1C692C6300B96B06 /* Main.storyboard in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA31C692C6300B96B06 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
-		18CD551FE8D8E7492A1C4100 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputFileListPaths = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputFileListPaths = (
-			);
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-SwaggerClientTests-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-		4A8C29C17AE187506924CE72 /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputFileListPaths = (
-			);
-			inputPaths = (
-				"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh",
-				"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
-				"${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework",
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputFileListPaths = (
-			);
-			outputPaths = (
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PetstoreClient.framework",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		E5F6E842A9A53DF5152241BC /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputFileListPaths = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputFileListPaths = (
-			);
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-SwaggerClient-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		6D4EFB8D1C692C6300B96B06 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFB971C692C6300B96B06 /* ViewController.swift in Sources */,
-				6D4EFB951C692C6300B96B06 /* AppDelegate.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA11C692C6300B96B06 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				C6AAAD211D8718D00016A515 /* ISOFullDateTests.swift in Sources */,
-				6D4EFBB71C693BED00B96B06 /* StoreAPITests.swift in Sources */,
-				6D4EFBB91C693BFC00B96B06 /* UserAPITests.swift in Sources */,
-				6D4EFBB51C693BE200B96B06 /* PetAPITests.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		6D4EFBA71C692C6300B96B06 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = 6D4EFB901C692C6300B96B06 /* SwaggerClient */;
-			targetProxy = 6D4EFBA61C692C6300B96B06 /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-		6D4EFB981C692C6300B96B06 /* Main.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				6D4EFB991C692C6300B96B06 /* Base */,
-			);
-			name = Main.storyboard;
-			sourceTree = "<group>";
-		};
-		6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				6D4EFB9E1C692C6300B96B06 /* Base */,
-			);
-			name = LaunchScreen.storyboard;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		6D4EFBAC1C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				SDKROOT = iphoneos;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Debug;
-		};
-		6D4EFBAD1C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				SDKROOT = iphoneos;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		6D4EFBAF1C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = EA2BED756A4C5389B0F46BC4 /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-			};
-			name = Debug;
-		};
-		6D4EFBB01C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = F18FDCB0CAAA15B973147EED /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-			};
-			name = Release;
-		};
-		6D4EFBB21C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 78ED7EF301CC6DF958B4BFAB /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Debug;
-		};
-		6D4EFBB31C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = EA32712FFC62EA5F96CC006F /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		6D4EFB8C1C692C6300B96B06 /* Build configuration list for PBXProject "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBAC1C692C6300B96B06 /* Debug */,
-				6D4EFBAD1C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6D4EFBAE1C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBAF1C692C6300B96B06 /* Debug */,
-				6D4EFBB01C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6D4EFBB11C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBB21C692C6300B96B06 /* Debug */,
-				6D4EFBB31C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = 6D4EFB891C692C6300B96B06 /* Project object */;
-}
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
deleted file mode 100644
index 5ba034cec55..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "0720"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES"
-            hideIssues = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-               BuildableName = "SwaggerClient.app"
-               BlueprintName = "SwaggerClient"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6D4EFBA41C692C6300B96B06"
-               BuildableName = "SwaggerClientTests.xctest"
-               BlueprintName = "SwaggerClientTests"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </MacroExpansion>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 9b3fa18954f..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "group:SwaggerClient.xcodeproj">
-   </FileRef>
-   <FileRef
-      location = "group:Pods/Pods.xcodeproj">
-   </FileRef>
-</Workspace>
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/AppDelegate.swift b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/AppDelegate.swift
deleted file mode 100644
index c3770b6a19b..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/AppDelegate.swift
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-//  AppDelegate.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-
-    var window: UIWindow?
-
-    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
-        // Override point for customization after application launch.
-        return true
-    }
-
-    func applicationWillResignActive(application: UIApplication) {
-        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
-        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
-    }
-
-    func applicationDidEnterBackground(application: UIApplication) {
-        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
-        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
-    }
-
-    func applicationWillEnterForeground(application: UIApplication) {
-        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
-    }
-
-    func applicationDidBecomeActive(application: UIApplication) {
-        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
-    }
-
-    func applicationWillTerminate(application: UIApplication) {
-        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index eeea76c2db5..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "29x29",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "40x40",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "76x76",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "76x76",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "83.5x83.5",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}
\ No newline at end of file
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 2e721e1833f..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="EHf-IW-A2E">
-            <objects>
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
-                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <animations/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="53" y="375"/>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
deleted file mode 100644
index 3a2a49bad8c..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Info.plist b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Info.plist
deleted file mode 100644
index bb71d00fa8a..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/Info.plist
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UILaunchStoryboardName</key>
-	<string>LaunchScreen</string>
-	<key>UIMainStoryboardFile</key>
-	<string>Main</string>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>armv7</string>
-	</array>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>petstore.swagger.io</key>
-            <dict>
-                <!--Include to allow HTTP requests-->
-                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/ViewController.swift b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/ViewController.swift
deleted file mode 100644
index 8dad16b10f1..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClient/ViewController.swift
+++ /dev/null
@@ -1,23 +0,0 @@
-//
-//  ViewController.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-class ViewController: UIViewController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        // Do any additional setup after loading the view, typically from a nib.
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/ISOFullDateTests.swift b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/ISOFullDateTests.swift
deleted file mode 100644
index 762eb0b2606..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/ISOFullDateTests.swift
+++ /dev/null
@@ -1,83 +0,0 @@
-/// Copyright 2012-2016 (C) Butterfly Network, Inc.
-
-import PetstoreClient
-import XCTest
-@testable import SwaggerClient
-
-final class ISOFullDateTests: XCTestCase {
-
-    var fullDate = ISOFullDate(year: 1999, month: 12, day: 31)
-
-    func testValidDate() {
-        XCTAssertEqual(fullDate.year, 1999)
-        XCTAssertEqual(fullDate.month, 12)
-        XCTAssertEqual(fullDate.day, 31)
-    }
-
-    func testFromDate() {
-        let date = NSDate()
-        let fullDate = ISOFullDate.from(date: date)
-
-        guard let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian) else {
-            XCTFail()
-            return
-        }
-
-        let components = calendar.components(
-            [
-                .Year,
-                .Month,
-                .Day
-            ],
-            fromDate: date
-        )
-
-        XCTAssertEqual(fullDate?.year, components.year)
-        XCTAssertEqual(fullDate?.month, components.month)
-        XCTAssertEqual(fullDate?.day, components.day)
-    }
-
-    func testFromString() {
-        let string = "1999-12-31"
-        let fullDate = ISOFullDate.from(string: string)
-        XCTAssertEqual(fullDate?.year, 1999)
-        XCTAssertEqual(fullDate?.month, 12)
-        XCTAssertEqual(fullDate?.day, 31)
-    }
-
-    func testFromInvalidString() {
-        XCTAssertNil(ISOFullDate.from(string: "1999-12"))
-    }
-
-    func testToDate() {
-        let fullDate = ISOFullDate(year: 1999, month: 12, day: 31)
-
-        guard let date = fullDate.toDate(),
-              let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian) else {
-            XCTFail()
-            return
-        }
-
-        let components = calendar.components(
-            [
-                .Year,
-                .Month,
-                .Day
-            ],
-            fromDate: date
-        )
-
-        XCTAssertEqual(fullDate.year, components.year)
-        XCTAssertEqual(fullDate.month, components.month)
-        XCTAssertEqual(fullDate.day, components.day)
-    }
-
-    func testDescription() {
-        XCTAssertEqual(fullDate.description, "1999-12-31")
-    }
-
-    func testEncodeToJSON() {
-        XCTAssertEqual(fullDate.encodeToJSON() as? String, "1999-12-31")
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/Info.plist b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/Info.plist
deleted file mode 100644
index 802f84f540d..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/Info.plist
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>BNDL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>petstore.swagger.io</key>
-            <dict>
-                <!--Include to allow HTTP requests-->
-                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
deleted file mode 100644
index 439641b908b..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-//  PetAPITests.swift
-//  SwaggerClient
-//
-//  Created by Robin Eggenkamp on 5/21/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import XCTest
-@testable import SwaggerClient
-
-class PetAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-
-    func test1CreatePet() {
-        let expectation = self.expectationWithDescription("testCreatePet")
-
-        let newPet = Pet()
-        let category = PetstoreClient.Category()
-        category.id = 1234
-        category.name = "eyeColor"
-        newPet.category = category
-        newPet.id = 1000
-        newPet.name = "Fluffy"
-        newPet.status = .Available
-
-        PetAPI.addPet(body: newPet) { (error) in
-            guard error == nil else {
-                XCTFail("error creating pet")
-                return
-            }
-
-            expectation.fulfill()
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetPet() {
-        let expectation = self.expectationWithDescription("testGetPet")
-
-        PetAPI.getPetById(petId: 1000) { (pet, error) in
-            guard error == nil else {
-                XCTFail("error retrieving pet")
-                return
-            }
-
-            if let pet = pet {
-                XCTAssert(pet.id == 1000, "invalid id")
-                XCTAssert(pet.name == "Fluffy", "invalid name")
-
-                expectation.fulfill()
-            }
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeletePet() {
-        let expectation = self.expectationWithDescription("testDeletePet")
-
-        PetAPI.deletePet(petId: 1000) { (error) in
-            guard error == nil else {
-                XCTFail("error deleting pet")
-                return
-            }
-
-            expectation.fulfill()
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
deleted file mode 100644
index 10aa63bd056..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
+++ /dev/null
@@ -1,122 +0,0 @@
-//
-//  StoreAPITests.swift
-//  SwaggerClient
-//
-//  Created by Robin Eggenkamp on 5/21/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import XCTest
-@testable import SwaggerClient
-
-class StoreAPITests: XCTestCase {
-
-    let isoDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-    let testTimeout = 10.0
-
-    func test1PlaceOrder() {
-        let expectation = self.expectationWithDescription("testPlaceOrder")
-        let shipDate = NSDate()
-
-        let newOrder = Order()
-        newOrder.id = 1000
-        newOrder.petId = 1000
-        newOrder.complete = false
-        newOrder.quantity = 10
-        newOrder.shipDate = shipDate
-        // use explicit naming to reference the enum so that we test we don't regress on enum naming
-        newOrder.status = Order.Status.Placed
-
-        StoreAPI.placeOrder(body: newOrder) { (order, error) in
-            guard error == nil else {
-                XCTFail("error placing order: \(error.debugDescription)")
-                return
-            }
-
-            if let order = order {
-                XCTAssert(order.id == 1000, "invalid id")
-                XCTAssert(order.quantity == 10, "invalid quantity")
-                XCTAssert(order.status == .Placed, "invalid status")
-                XCTAssert(order.shipDate!.isEqual(shipDate, format: self.isoDateFormat),
-                          "Date should be idempotent")
-
-                expectation.fulfill()
-            }
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetOrder() {
-        let expectation = self.expectationWithDescription("testGetOrder")
-
-        StoreAPI.getOrderById(orderId: "1000") { (order, error) in
-            guard error == nil else {
-                XCTFail("error retrieving order: \(error.debugDescription)")
-                return
-            }
-
-            if let order = order {
-                XCTAssert(order.id == 1000, "invalid id")
-                XCTAssert(order.quantity == 10, "invalid quantity")
-                XCTAssert(order.status == .Placed, "invalid status")
-
-                expectation.fulfill()
-            }
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeleteOrder() {
-        let expectation = self.expectationWithDescription("testDeleteOrder")
-
-        StoreAPI.deleteOrder(orderId: "1000") { (error) in
-            guard error == nil else {
-                XCTFail("error deleting order")
-                return
-            }
-
-            expectation.fulfill()
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func testDownloadProgress() {
-        let responseExpectation = self.expectationWithDescription("obtain response")
-        let progressExpectation = self.expectationWithDescription("obtain progress")
-        let requestBuilder = StoreAPI.getOrderByIdWithRequestBuilder(orderId: "1000")
-
-        requestBuilder.onProgressReady = { (progress) in
-            progressExpectation.fulfill()
-        }
-
-        requestBuilder.execute { (_, _) in
-            responseExpectation.fulfill()
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-}
-
-private extension NSDate {
-
-    /**
-     Returns true if the dates are equal given the format string.
-
-     - parameter date:   The date to compare to.
-     - parameter format: The format string to use to compare.
-
-     - returns: true if the dates are equal, given the format string.
-     */
-    func isEqual(date: NSDate, format: String) -> Bool {
-        let fmt = NSDateFormatter()
-        fmt.dateFormat = format
-        return fmt.stringFromDate(self).isEqual(fmt.stringFromDate(date))
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift b/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
deleted file mode 100644
index fc8b19d6629..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
+++ /dev/null
@@ -1,119 +0,0 @@
-//
-//  UserAPITests.swift
-//  SwaggerClient
-//
-//  Created by Robin Eggenkamp on 5/21/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import XCTest
-@testable import SwaggerClient
-
-class UserAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-
-    func testLogin() {
-        let expectation = self.expectationWithDescription("testLogin")
-
-        UserAPI.loginUser(username: "swiftTester", password: "swift") { (_, error) in
-            guard error == nil else {
-                XCTFail("error logging in")
-                return
-            }
-
-            expectation.fulfill()
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func testLogout() {
-        let expectation = self.expectationWithDescription("testLogout")
-
-        UserAPI.logoutUser { (error) in
-            guard error == nil else {
-                XCTFail("error logging out")
-                return
-            }
-
-            expectation.fulfill()
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test1CreateUser() {
-        let expectation = self.expectationWithDescription("testCreateUser")
-
-        let newUser = User()
-        newUser.email = "test@test.com"
-        // TODO comment out the following as dateOfBirth has been removed
-        // from petstore.json, we'll need to add back the test after switching
-        // to petstore-with-fake-endpoints-models-for-testing.yaml
-        ////newUser.dateOfBirth = ISOFullDate.from(string: "1999-12-31")
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-
-        UserAPI.createUser(body: newUser) { (error) in
-            guard error == nil else {
-                XCTFail("error creating user")
-                return
-            }
-
-            expectation.fulfill()
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetUser() {
-        let expectation = self.expectationWithDescription("testGetUser")
-
-        UserAPI.getUserByName(username: "test@test.com") { (user, error) in
-            guard error == nil else {
-                XCTFail("error getting user")
-                return
-            }
-
-            if let user = user {
-                XCTAssert(user.userStatus == 0, "invalid userStatus")
-                XCTAssert(user.email == "test@test.com", "invalid email")
-                XCTAssert(user.firstName == "Test", "invalid firstName")
-                XCTAssert(user.lastName == "Tester", "invalid lastName")
-                XCTAssert(user.password == "test!", "invalid password")
-                XCTAssert(user.phone == "867-5309", "invalid phone")
-                // TODO comment out the following as dateOfBirth has been removed
-                // from petstore.json, we'll need to add back the test after switching
-                // to petstore-with-fake-endpoints-models-for-testing.yaml
-                //XCTAssert(user.dateOfBirth?.description == "1999-12-31", "invalid date of birth")
-
-                expectation.fulfill()
-            }
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeleteUser() {
-        let expectation = self.expectationWithDescription("testDeleteUser")
-
-        UserAPI.deleteUser(username: "test@test.com") { (error) in
-            guard error == nil else {
-                XCTFail("error deleting user")
-                return
-            }
-
-            expectation.fulfill()
-        }
-
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-}
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/pom.xml b/samples/client/petstore/swift/default/SwaggerClientTests/pom.xml
deleted file mode 100644
index 741fd217088..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<project>
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>io.swagger</groupId>
-    <artifactId>SwiftPetstoreClientTests</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0-SNAPSHOT</version>
-    <name>Swift Swagger Petstore Client</name>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <version>1.2.1</version>
-                <executions>
-                    <execution>
-                        <id>xcodebuild-test</id>
-                        <phase>integration-test</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                        <configuration>
-                            <executable>./run_xcodebuild.sh</executable>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/samples/client/petstore/swift/default/SwaggerClientTests/run_xcodebuild.sh b/samples/client/petstore/swift/default/SwaggerClientTests/run_xcodebuild.sh
deleted file mode 100755
index edcc142971b..00000000000
--- a/samples/client/petstore/swift/default/SwaggerClientTests/run_xcodebuild.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-#pod install && xcodebuild clean test -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty
-
-pod install && xcodebuild -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" test -destination "platform=iOS Simulator,name=iPhone 6,OS=9.3" | xcpretty
diff --git a/samples/client/petstore/swift/default/git_push.sh b/samples/client/petstore/swift/default/git_push.sh
deleted file mode 100644
index 8442b80bb44..00000000000
--- a/samples/client/petstore/swift/default/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="GIT_USER_ID"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="GIT_REPO_ID"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="Minor update"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository. 
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/samples/client/petstore/swift/promisekit/.gitignore b/samples/client/petstore/swift/promisekit/.gitignore
deleted file mode 100644
index 5e5d5cebcf4..00000000000
--- a/samples/client/petstore/swift/promisekit/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift/promisekit/.openapi-generator-ignore b/samples/client/petstore/swift/promisekit/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift/promisekit/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift/promisekit/.openapi-generator/VERSION b/samples/client/petstore/swift/promisekit/.openapi-generator/VERSION
deleted file mode 100644
index 6d94c9c2e12..00000000000
--- a/samples/client/petstore/swift/promisekit/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/swift/promisekit/Cartfile b/samples/client/petstore/swift/promisekit/Cartfile
deleted file mode 100644
index 5e4bd352eef..00000000000
--- a/samples/client/petstore/swift/promisekit/Cartfile
+++ /dev/null
@@ -1,2 +0,0 @@
-github "Alamofire/Alamofire" >= 3.1.0
-github "mxcl/PromiseKit" >=1.5.3
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient.podspec b/samples/client/petstore/swift/promisekit/PetstoreClient.podspec
deleted file mode 100644
index 1d2b7339d3d..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient.podspec
+++ /dev/null
@@ -1,15 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = 'PetstoreClient'
-  s.ios.deployment_target = '8.0'
-  s.osx.deployment_target = '10.9'
-  s.tvos.deployment_target = '9.0'
-  s.version = '0.0.1'
-  s.source = { :git => 'git@github.com:openapitools/openapi-generator.git', :tag => 'v1.0.0' }
-  s.authors = ''
-  s.license = 'Proprietary'
-  s.homepage = 'https://github.com/openapitools/openapi-generator'
-  s.summary = 'PetstoreClient'
-  s.source_files = 'PetstoreClient/Classes/**/*.swift'
-  s.dependency 'PromiseKit', '~> 3.5.3'
-  s.dependency 'Alamofire', '~> 3.5.1'
-end
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIHelper.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
deleted file mode 100644
index bff5744506d..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-class APIHelper {
-    static func rejectNil(source: [String: AnyObject?]) -> [String: AnyObject]? {
-        var destination = [String: AnyObject]()
-        for (key, nillableValue) in source {
-            if let value: AnyObject = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(source: [String: AnyObject?]) -> [String: String] {
-        var destination = [String: String]()
-        for (key, nillableValue) in source {
-            if let value: AnyObject = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(source: [String: AnyObject]?) -> [String: AnyObject]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String: AnyObject]()
-        let theTrue = NSNumber(bool: true)
-        let theFalse = NSNumber(bool: false)
-        for (key, value) in source {
-            switch value {
-            case let x where x === theTrue || x === theFalse:
-                destination[key] = "\(value as! Bool)"
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs.swift
deleted file mode 100644
index 676a325d49a..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs.swift
+++ /dev/null
@@ -1,76 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class PetstoreClientAPI {
-    public static var basePath = "http://petstore.swagger.io/v2"
-    public static var credential: NSURLCredential?
-    public static var customHeaders: [String: String] = [:]
-    static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-public class APIBase {
-    func toParameters(encodable: JSONEncodable?) -> [String: AnyObject]? {
-        let encoded: AnyObject? = encodable?.encodeToJSON()
-
-        if encoded! is [AnyObject] {
-            var dictionary = [String: AnyObject]()
-            for (index, item) in (encoded as! [AnyObject]).enumerate() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String: AnyObject]
-        }
-    }
-}
-
-public class RequestBuilder<T> {
-    var credential: NSURLCredential?
-    var headers: [String: String]
-    let parameters: [String: AnyObject]?
-    let isBody: Bool
-    let method: String
-    let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((NSProgress) -> Void)?
-
-    required public init(method: String, URLString: String, parameters: [String: AnyObject]?, isBody: Bool, headers: [String: String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders(PetstoreClientAPI.customHeaders)
-    }
-
-    public func addHeaders(aHeaders: [String: String]) {
-        for (header, value) in aHeaders {
-            headers[header] = value
-        }
-    }
-
-    public func execute(completion: (response: Response<T>?, error: ErrorType?) -> Void) { }
-
-    public func addHeader(name name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    public func addCredential() -> Self {
-        self.credential = PetstoreClientAPI.credential
-        return self
-    }
-}
-
-protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
deleted file mode 100644
index 82516e47323..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
+++ /dev/null
@@ -1,633 +0,0 @@
-//
-// PetAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-import PromiseKit
-
-public class PetAPI: APIBase {
-    /**
-     Add a new pet to the store
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func addPet(pet pet: Pet? = nil, completion: ((error: ErrorType?) -> Void)) {
-        addPetWithRequestBuilder(pet: pet).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Add a new pet to the store
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - returns: Promise<Void>
-     */
-    public class func addPet(pet pet: Pet? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        addPet(pet: pet) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Add a new pet to the store
-     - POST /pet     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func addPetWithRequestBuilder(pet pet: Pet? = nil) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Deletes a pet
-     
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deletePet(petId petId: Int64, apiKey: String? = nil, completion: ((error: ErrorType?) -> Void)) {
-        deletePetWithRequestBuilder(petId: petId, apiKey: apiKey).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Deletes a pet
-     
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: Promise<Void>
-     */
-    public class func deletePet(petId petId: Int64, apiKey: String? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        deletePet(petId: petId, apiKey: apiKey) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Deletes a pet
-     - DELETE /pet/{petId}     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deletePetWithRequestBuilder(petId petId: Int64, apiKey: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-        let nillableHeaders: [String: AnyObject?] = [
-            "api_key": apiKey
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true, headers: headerParameters)
-    }
-
-    /**
-     Finds Pets by status
-     
-     - parameter status: (query) Status values that need to be considered for filter (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func findPetsByStatus(status status: [String]? = nil, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
-        findPetsByStatusWithRequestBuilder(status: status).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Finds Pets by status
-     
-     - parameter status: (query) Status values that need to be considered for filter (optional)
-     - returns: Promise<[Pet]>
-     */
-    public class func findPetsByStatus(status status: [String]? = nil) -> Promise<[Pet]> {
-        let deferred = Promise<[Pet]>.pendingPromise()
-        findPetsByStatus(status: status) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Finds Pets by status
-     - GET /pet/findByStatus
-     - Multiple status values can be provided with comma separated strings     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter status: (query) Status values that need to be considered for filter (optional)
-
-     - returns: RequestBuilder<[Pet]> 
-     */
-    public class func findPetsByStatusWithRequestBuilder(status status: [String]? = nil) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByStatus"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "status": status
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Finds Pets by tags
-     
-     - parameter tags: (query) Tags to filter by (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func findPetsByTags(tags tags: [String]? = nil, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
-        findPetsByTagsWithRequestBuilder(tags: tags).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Finds Pets by tags
-     
-     - parameter tags: (query) Tags to filter by (optional)
-     - returns: Promise<[Pet]>
-     */
-    public class func findPetsByTags(tags tags: [String]? = nil) -> Promise<[Pet]> {
-        let deferred = Promise<[Pet]>.pendingPromise()
-        findPetsByTags(tags: tags) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Finds Pets by tags
-     - GET /pet/findByTags
-     - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter tags: (query) Tags to filter by (optional)
-
-     - returns: RequestBuilder<[Pet]> 
-     */
-    public class func findPetsByTagsWithRequestBuilder(tags tags: [String]? = nil) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByTags"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "tags": tags
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Find pet by ID
-     
-     - parameter petId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getPetById(petId petId: Int64, completion: ((data: Pet?, error: ErrorType?) -> Void)) {
-        getPetByIdWithRequestBuilder(petId: petId).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Find pet by ID
-     
-     - parameter petId: (path) ID of pet that needs to be fetched 
-     - returns: Promise<Pet>
-     */
-    public class func getPetById(petId petId: Int64) -> Promise<Pet> {
-        let deferred = Promise<Pet>.pendingPromise()
-        getPetById(petId: petId) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Find pet by ID
-     - GET /pet/{petId}
-     - Returns a pet when ID < 10.  ID > 10 or nonintegers will simulate API error conditions     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter petId: (path) ID of pet that needs to be fetched 
-
-     - returns: RequestBuilder<Pet> 
-     */
-    public class func getPetByIdWithRequestBuilder(petId petId: Int64) -> RequestBuilder<Pet> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Pet>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Update an existing pet
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updatePet(pet pet: Pet? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updatePetWithRequestBuilder(pet: pet).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Update an existing pet
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - returns: Promise<Void>
-     */
-    public class func updatePet(pet pet: Pet? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        updatePet(pet: pet) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Update an existing pet
-     - PUT /pet     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updatePetWithRequestBuilder(pet pet: Pet? = nil) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Updates a pet in the store with form data
-     
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updatePetWithForm(petId petId: String, name: String? = nil, status: String? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updatePetWithFormWithRequestBuilder(petId: petId, name: name, status: status).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Updates a pet in the store with form data
-     
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: Promise<Void>
-     */
-    public class func updatePetWithForm(petId petId: String, name: String? = nil, status: String? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        updatePetWithForm(petId: petId, name: name, status: status) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - POST /pet/{petId}     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updatePetWithFormWithRequestBuilder(petId petId: String, name: String? = nil, status: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "name": name,
-            "status": status
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     uploads an image
-     
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func uploadFile(petId petId: Int64, additionalMetadata: String? = nil, file: NSURL? = nil, completion: ((error: ErrorType?) -> Void)) {
-        uploadFileWithRequestBuilder(petId: petId, additionalMetadata: additionalMetadata, file: file).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     uploads an image
-     
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: Promise<Void>
-     */
-    public class func uploadFile(petId petId: Int64, additionalMetadata: String? = nil, file: NSURL? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        uploadFile(petId: petId, additionalMetadata: additionalMetadata, file: file) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     uploads an image
-     - POST /pet/{petId}/uploadImage     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func uploadFileWithRequestBuilder(petId petId: Int64, additionalMetadata: String? = nil, file: NSURL? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}/uploadImage"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "additionalMetadata": additionalMetadata,
-            "file": file
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
deleted file mode 100644
index 9f2fd4ee269..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
+++ /dev/null
@@ -1,278 +0,0 @@
-//
-// StoreAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-import PromiseKit
-
-public class StoreAPI: APIBase {
-    /**
-     Delete purchase order by ID
-     
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deleteOrder(orderId orderId: String, completion: ((error: ErrorType?) -> Void)) {
-        deleteOrderWithRequestBuilder(orderId: orderId).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Delete purchase order by ID
-     
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: Promise<Void>
-     */
-    public class func deleteOrder(orderId orderId: String) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        deleteOrder(orderId: orderId) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Delete purchase order by ID
-     - DELETE /store/order/{orderId}
-     - For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors     - parameter orderId: (path) ID of the order that needs to be deleted 
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deleteOrderWithRequestBuilder(orderId orderId: String) -> RequestBuilder<Void> {
-        var path = "/store/order/{orderId}"
-        path = path.stringByReplacingOccurrencesOfString("{orderId}", withString: "\(orderId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Returns pet inventories by status
-     
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getInventory(completion: ((data: [String: Int32]?, error: ErrorType?) -> Void)) {
-        getInventoryWithRequestBuilder().execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Returns pet inventories by status
-     
-     - returns: Promise<[String:Int32]>
-     */
-    public class func getInventory() -> Promise<[String: Int32]> {
-        let deferred = Promise<[String: Int32]>.pendingPromise()
-        getInventory { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Returns pet inventories by status
-     - GET /store/inventory
-     - Returns a map of status codes to quantities     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-
-     - returns: RequestBuilder<[String:Int32]> 
-     */
-    public class func getInventoryWithRequestBuilder() -> RequestBuilder<[String: Int32]> {
-        let path = "/store/inventory"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[String: Int32]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Find purchase order by ID
-     
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getOrderById(orderId orderId: String, completion: ((data: Order?, error: ErrorType?) -> Void)) {
-        getOrderByIdWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Find purchase order by ID
-     
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: Promise<Order>
-     */
-    public class func getOrderById(orderId orderId: String) -> Promise<Order> {
-        let deferred = Promise<Order>.pendingPromise()
-        getOrderById(orderId: orderId) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Find purchase order by ID
-     - GET /store/order/{orderId}
-     - For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-
-     - returns: RequestBuilder<Order> 
-     */
-    public class func getOrderByIdWithRequestBuilder(orderId orderId: String) -> RequestBuilder<Order> {
-        var path = "/store/order/{orderId}"
-        path = path.stringByReplacingOccurrencesOfString("{orderId}", withString: "\(orderId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Place an order for a pet
-     
-     - parameter order: (body) order placed for purchasing the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func placeOrder(order order: Order? = nil, completion: ((data: Order?, error: ErrorType?) -> Void)) {
-        placeOrderWithRequestBuilder(order: order).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Place an order for a pet
-     
-     - parameter order: (body) order placed for purchasing the pet (optional)
-     - returns: Promise<Order>
-     */
-    public class func placeOrder(order order: Order? = nil) -> Promise<Order> {
-        let deferred = Promise<Order>.pendingPromise()
-        placeOrder(order: order) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Place an order for a pet
-     - POST /store/order     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - parameter order: (body) order placed for purchasing the pet (optional)
-
-     - returns: RequestBuilder<Order> 
-     */
-    public class func placeOrderWithRequestBuilder(order order: Order? = nil) -> RequestBuilder<Order> {
-        let path = "/store/order"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = order?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
deleted file mode 100644
index f1030ea5879..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
+++ /dev/null
@@ -1,458 +0,0 @@
-//
-// UserAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-import PromiseKit
-
-public class UserAPI: APIBase {
-    /**
-     Create user
-     
-     - parameter user: (body) Created user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUser(user user: User? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUserWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Create user
-     
-     - parameter user: (body) Created user object (optional)
-     - returns: Promise<Void>
-     */
-    public class func createUser(user user: User? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        createUser(user: user) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Create user
-     - POST /user
-     - This can only be done by the logged in user.     - parameter user: (body) Created user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUserWithRequestBuilder(user user: User? = nil) -> RequestBuilder<Void> {
-        let path = "/user"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUsersWithArrayInput(user user: [User]? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUsersWithArrayInputWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - returns: Promise<Void>
-     */
-    public class func createUsersWithArrayInput(user user: [User]? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        createUsersWithArrayInput(user: user) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithArray     - parameter user: (body) List of user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUsersWithArrayInputWithRequestBuilder(user user: [User]? = nil) -> RequestBuilder<Void> {
-        let path = "/user/createWithArray"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUsersWithListInput(user user: [User]? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUsersWithListInputWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - returns: Promise<Void>
-     */
-    public class func createUsersWithListInput(user user: [User]? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        createUsersWithListInput(user: user) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithList     - parameter user: (body) List of user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUsersWithListInputWithRequestBuilder(user user: [User]? = nil) -> RequestBuilder<Void> {
-        let path = "/user/createWithList"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Delete user
-     
-     - parameter username: (path) The name that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deleteUser(username username: String, completion: ((error: ErrorType?) -> Void)) {
-        deleteUserWithRequestBuilder(username: username).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Delete user
-     
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: Promise<Void>
-     */
-    public class func deleteUser(username username: String) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        deleteUser(username: username) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Delete user
-     - DELETE /user/{username}
-     - This can only be done by the logged in user.     - parameter username: (path) The name that needs to be deleted 
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deleteUserWithRequestBuilder(username username: String) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Get user by user name
-     
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getUserByName(username username: String, completion: ((data: User?, error: ErrorType?) -> Void)) {
-        getUserByNameWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Get user by user name
-     
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: Promise<User>
-     */
-    public class func getUserByName(username username: String) -> Promise<User> {
-        let deferred = Promise<User>.pendingPromise()
-        getUserByName(username: username) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Get user by user name
-     - GET /user/{username}     - examples: [{contentType=application/json, example={
-  "firstName" : "firstName",
-  "lastName" : "lastName",
-  "password" : "password",
-  "userStatus" : 6,
-  "phone" : "phone",
-  "id" : 0,
-  "email" : "email",
-  "username" : "username"
-}}, {contentType=application/xml, example=<User>
-  <id>123456789</id>
-  <username>aeiou</username>
-  <firstName>aeiou</firstName>
-  <lastName>aeiou</lastName>
-  <email>aeiou</email>
-  <password>aeiou</password>
-  <phone>aeiou</phone>
-  <userStatus>123</userStatus>
-</User>}]
-     - examples: [{contentType=application/json, example={
-  "firstName" : "firstName",
-  "lastName" : "lastName",
-  "password" : "password",
-  "userStatus" : 6,
-  "phone" : "phone",
-  "id" : 0,
-  "email" : "email",
-  "username" : "username"
-}}, {contentType=application/xml, example=<User>
-  <id>123456789</id>
-  <username>aeiou</username>
-  <firstName>aeiou</firstName>
-  <lastName>aeiou</lastName>
-  <email>aeiou</email>
-  <password>aeiou</password>
-  <phone>aeiou</phone>
-  <userStatus>123</userStatus>
-</User>}]
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-
-     - returns: RequestBuilder<User> 
-     */
-    public class func getUserByNameWithRequestBuilder(username username: String) -> RequestBuilder<User> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<User>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Logs user into the system
-     
-     - parameter username: (query) The user name for login (optional)
-     - parameter password: (query) The password for login in clear text (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func loginUser(username username: String? = nil, password: String? = nil, completion: ((data: String?, error: ErrorType?) -> Void)) {
-        loginUserWithRequestBuilder(username: username, password: password).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Logs user into the system
-     
-     - parameter username: (query) The user name for login (optional)
-     - parameter password: (query) The password for login in clear text (optional)
-     - returns: Promise<String>
-     */
-    public class func loginUser(username username: String? = nil, password: String? = nil) -> Promise<String> {
-        let deferred = Promise<String>.pendingPromise()
-        loginUser(username: username, password: password) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Logs user into the system
-     - GET /user/login     - parameter username: (query) The user name for login (optional)
-     - parameter password: (query) The password for login in clear text (optional)
-
-     - returns: RequestBuilder<String> 
-     */
-    public class func loginUserWithRequestBuilder(username username: String? = nil, password: String? = nil) -> RequestBuilder<String> {
-        let path = "/user/login"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "username": username,
-            "password": password
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Logs out current logged in user session
-     
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func logoutUser(completion: ((error: ErrorType?) -> Void)) {
-        logoutUserWithRequestBuilder().execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Logs out current logged in user session
-     
-     - returns: Promise<Void>
-     */
-    public class func logoutUser() -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        logoutUser { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Logs out current logged in user session
-     - GET /user/logout
-     - returns: RequestBuilder<Void> 
-     */
-    public class func logoutUserWithRequestBuilder() -> RequestBuilder<Void> {
-        let path = "/user/logout"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Updated user
-     
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updateUser(username username: String, user: User? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updateUserWithRequestBuilder(username: username, user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Updated user
-     
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object (optional)
-     - returns: Promise<Void>
-     */
-    public class func updateUser(username username: String, user: User? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pendingPromise()
-        updateUser(username: username, user: user) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Updated user
-     - PUT /user/{username}
-     - This can only be done by the logged in user.     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updateUserWithRequestBuilder(username username: String, user: User? = nil) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
deleted file mode 100644
index 38e0a086d73..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
+++ /dev/null
@@ -1,207 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-public struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = dispatch_queue_create("SynchronizedDictionary", DISPATCH_QUEUE_CONCURRENT)
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            dispatch_sync(queue) {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-
-        set {
-            dispatch_barrier_sync(queue) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.Manager>()
-
-class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required init(method: String, URLString: String, parameters: [String: AnyObject]?, isBody: Bool, headers: [String: String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    override func execute(completion: (response: Response<T>?, error: ErrorType?) -> Void) {
-        let managerId = NSUUID().UUIDString
-        // Create a new manager for each request to customize its request header
-        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-        configuration.HTTPAdditionalHeaders = buildHeaders()
-        let manager = Alamofire.Manager(configuration: configuration)
-        managerStore[managerId] = manager
-
-        let encoding = isBody ? Alamofire.ParameterEncoding.JSON : Alamofire.ParameterEncoding.URL
-        let xMethod = Alamofire.Method(rawValue: method)
-        let fileKeys = parameters == nil ? [] : parameters!.filter { $1.isKindOfClass(NSURL) }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(
-                xMethod!, URLString, headers: nil,
-                multipartFormData: { mpForm in
-                    for (k, v) in self.parameters! {
-                        switch v {
-                        case let fileURL as NSURL:
-                            mpForm.appendBodyPart(fileURL: fileURL, name: k)
-                        case let string as NSString:
-                            mpForm.appendBodyPart(data: string.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
-                        case let number as NSNumber:
-                            mpForm.appendBodyPart(data: number.stringValue.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
-                        default:
-                            fatalError("Unprocessable value \(v) with key \(k)")
-                        }
-                    }
-                },
-                encodingMemoryThreshold: Manager.MultipartFormDataEncodingMemoryThreshold,
-                encodingCompletion: { encodingResult in
-                    switch encodingResult {
-                    case .Success(let uploadRequest, _, _):
-                        if let onProgressReady = self.onProgressReady {
-                            onProgressReady(uploadRequest.progress)
-                        }
-                        self.processRequest(uploadRequest, managerId, completion)
-                    case .Failure(let encodingError):
-                        completion(response: nil, error: ErrorResponse.error(415, nil, encodingError))
-                    }
-                }
-            )
-        } else {
-            let request = manager.request(xMethod!, URLString, parameters: parameters, encoding: encoding)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: Request, _ managerId: String, _ completion: (response: Response<T>?, error: ErrorType?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(stringResponse.response?.statusCode ?? 500, stringResponse.data, stringResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: stringResponse.response!,
-                        body: (stringResponse.result.value ?? "") as! T
-                    ),
-                    error: nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(voidResponse.response?.statusCode ?? 500, voidResponse.data, voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: voidResponse.response!,
-                        body: nil
-                    ),
-                    error: nil
-                )
-            })
-        case is NSData.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(dataResponse.response?.statusCode ?? 500, dataResponse.data, dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: dataResponse.response!,
-                        body: dataResponse.data as! T
-                    ),
-                    error: nil
-                )
-            })
-        default:
-            validatedRequest.responseJSON(options: .AllowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(response: nil, error: ErrorResponse.error(response.response?.statusCode ?? 500, response.data, response.result.error!))
-                    return
-                }
-
-                if () is T {
-                    completion(response: Response(response: response.response!, body: () as! T), error: nil)
-                    return
-                }
-                if let json: AnyObject = response.result.value {
-                    let body = Decoders.decode(clazz: T.self, source: json)
-                    completion(response: Response(response: response.response!, body: body), error: nil)
-                    return
-                } else if "" is T {
-                    completion(response: Response(response: response.response!, body: "" as! T), error: nil)
-                    return
-                }
-
-                completion(response: nil, error: ErrorResponse.error(500, nil, NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    private func buildHeaders() -> [String: AnyObject] {
-        var httpHeaders = Manager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Extensions.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Extensions.swift
deleted file mode 100644
index eaa10fa3763..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Extensions.swift
+++ /dev/null
@@ -1,192 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-import PromiseKit
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return NSNumber(int: self) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return NSNumber(longLong: self) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-private func encodeIfPossible<T>(object: T) -> AnyObject {
-    if object is JSONEncodable {
-        return (object as! JSONEncodable).encodeToJSON()
-    } else {
-        return object as! AnyObject
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        var dictionary = [NSObject: AnyObject]()
-        for (key, value) in self {
-            dictionary[key as! NSObject] = encodeIfPossible(value)
-        }
-        return dictionary
-    }
-}
-
-extension NSData: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.base64EncodedStringWithOptions(NSDataBase64EncodingOptions())
-    }
-}
-
-private let dateFormatter: NSDateFormatter = {
-    let fmt = NSDateFormatter()
-    fmt.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-    fmt.locale = NSLocale(localeIdentifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension NSDate: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return dateFormatter.stringFromDate(self)
-    }
-}
-
-extension NSUUID: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.UUIDString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts an NSDate to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date date: NSDate) -> ISOFullDate? {
-        guard let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian) else {
-            return nil
-        }
-
-        let components = calendar.components(
-            [
-                .Year,
-                .Month,
-                .Day
-            ],
-            fromDate: date
-        )
-        return ISOFullDate(
-            year: components.year,
-            month: components.month,
-            day: components.day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split("-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to an NSDate, in the default time zone.
-
-     - returns: An NSDate from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> NSDate? {
-        let components = NSDateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = NSTimeZone.defaultTimeZone()
-        let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian)
-        return calendar?.dateFromComponents(components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> AnyObject {
-        return "\(year)-\(month)-\(day)"
-    }
-}
-
-extension RequestBuilder {
-    public func execute() -> Promise<Response<T>> {
-        let deferred = Promise<Response<T>>.pendingPromise()
-        self.execute { (response: Response<T>?, error: ErrorType?) in
-            if let response = response {
-                deferred.fulfill(response)
-            } else {
-                deferred.reject(error!)
-            }
-        }
-        return deferred.promise
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models.swift
deleted file mode 100644
index 774bb1737b7..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models.swift
+++ /dev/null
@@ -1,234 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> AnyObject
-}
-
-public enum ErrorResponse: ErrorType {
-    case Error(Int, NSData?, ErrorType)
-}
-
-public class Response<T> {
-    public let statusCode: Int
-    public let header: [String: String]
-    public let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: NSHTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String: String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-private var once = dispatch_once_t()
-class Decoders {
-    static private var decoders = [String: ((AnyObject) -] AnyObject)>()
-
-    static func addDecoder<T>(clazz clazz: T.Type, decoder: ((AnyObject) -> T)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0) as! AnyObject }
-    }
-
-    static func decode<T>(clazz clazz: [T].Type, source: AnyObject) -> [T] {
-        let array = source as! [AnyObject]
-        return array.map { Decoders.decode(clazz: T.self, source: $0) }
-    }
-
-    static func decode<T, Key: Hashable>(clazz clazz: [Key: T].Type, source: AnyObject) -> [Key: T] {
-        let sourceDictionary = source as! [Key: AnyObject]
-        var dictionary = [Key: T]()
-        for (key, value) in sourceDictionary {
-            dictionary[key] = Decoders.decode(clazz: T.self, source: value)
-        }
-        return dictionary
-    }
-
-    static func decode<T>(clazz clazz: T.Type, source: AnyObject) -> T {
-        initialize()
-        if T.self is Int32.Type && source is NSNumber {
-            return source.intValue as! T
-        }
-        if T.self is Int64.Type && source is NSNumber {
-            return source.longLongValue as! T
-        }
-        if T.self is NSUUID.Type && source is String {
-            return NSUUID(UUIDString: source as! String) as! T
-        }
-        if source is T {
-            return source as! T
-        }
-        if T.self is NSData.Type && source is String {
-            return NSData(base64EncodedString: source as! String, options: NSDataBase64DecodingOptions()) as! T
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key] {
-           return decoder(source) as! T
-        } else {
-            fatalError("Source \(source) is not convertible to type \(clazz): Maybe OpenAPI spec file is insufficient")
-        }
-    }
-
-    static func decodeOptional<T>(clazz clazz: T.Type, source: AnyObject?) -> T? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (source: AnyObject) -> T in
-            Decoders.decode(clazz: clazz, source: source)
-        }
-    }
-
-    static func decodeOptional<T>(clazz clazz: [T].Type, source: AnyObject?) -> [T]? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (someSource: AnyObject) -> [T] in
-            Decoders.decode(clazz: clazz, source: someSource)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz clazz: [Key: T].Type, source: AnyObject?) -> [Key: T]? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (someSource: AnyObject) -> [Key: T] in
-            Decoders.decode(clazz: clazz, source: someSource)
-        }
-    }
-
-    static private func initialize() {
-        dispatch_once(&once) {
-            let formatters = [
-                "yyyy-MM-dd",
-                "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-                "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-                "yyyy-MM-dd'T'HH:mm:ss'Z'",
-                "yyyy-MM-dd'T'HH:mm:ss.SSS"
-            ].map { (format: String) -> NSDateFormatter in
-                let formatter = NSDateFormatter()
-                formatter.locale = NSLocale(localeIdentifier: "en_US_POSIX")
-                formatter.dateFormat = format
-                return formatter
-            }
-            // Decoder for NSDate
-            Decoders.addDecoder(clazz: NSDate.self) { (source: AnyObject) -> NSDate in
-               if let sourceString = source as? String {
-                    for formatter in formatters {
-                        if let date = formatter.dateFromString(sourceString) {
-                            return date
-                        }
-                    }
-
-                }
-                if let sourceInt = source as? Int {
-                    // treat as a java date
-                    return NSDate(timeIntervalSince1970: Double(sourceInt / 1000) )
-                }
-                fatalError("formatter failed to parse \(source)")
-            }
-
-            // Decoder for ISOFullDate
-            Decoders.addDecoder(clazz: ISOFullDate.self, decoder: { (source: AnyObject) -> ISOFullDate in
-                if let string = source as? String,
-                   let isoDate = ISOFullDate.from(string: string) {
-                    return isoDate
-                }
-                fatalError("formatter failed to parse \(source)")
-            })
-
-            // Decoder for [Category]
-            Decoders.addDecoder(clazz: [Category].self) { (source: AnyObject) -> [Category] in
-                return Decoders.decode(clazz: [Category].self, source: source)
-            }
-            // Decoder for Category
-            Decoders.addDecoder(clazz: Category.self) { (source: AnyObject) -> Category in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Category()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                return instance
-            }
-
-            // Decoder for [Order]
-            Decoders.addDecoder(clazz: [Order].self) { (source: AnyObject) -> [Order] in
-                return Decoders.decode(clazz: [Order].self, source: source)
-            }
-            // Decoder for Order
-            Decoders.addDecoder(clazz: Order.self) { (source: AnyObject) -> Order in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Order()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.petId = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["petId"])
-                instance.quantity = Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["quantity"])
-                instance.shipDate = Decoders.decodeOptional(clazz: NSDate.self, source: sourceDictionary["shipDate"])
-                instance.status = Order.Status(rawValue: (sourceDictionary["status"] as? String) ?? "")
-                instance.complete = Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["complete"])
-                return instance
-            }
-
-            // Decoder for [Pet]
-            Decoders.addDecoder(clazz: [Pet].self) { (source: AnyObject) -> [Pet] in
-                return Decoders.decode(clazz: [Pet].self, source: source)
-            }
-            // Decoder for Pet
-            Decoders.addDecoder(clazz: Pet.self) { (source: AnyObject) -> Pet in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Pet()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.category = Decoders.decodeOptional(clazz: Category.self, source: sourceDictionary["category"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                instance.photoUrls = Decoders.decodeOptional(clazz: Array.self, source: sourceDictionary["photoUrls"])
-                instance.tags = Decoders.decodeOptional(clazz: Array.self, source: sourceDictionary["tags"])
-                instance.status = Pet.Status(rawValue: (sourceDictionary["status"] as? String) ?? "")
-                return instance
-            }
-
-            // Decoder for [Tag]
-            Decoders.addDecoder(clazz: [Tag].self) { (source: AnyObject) -> [Tag] in
-                return Decoders.decode(clazz: [Tag].self, source: source)
-            }
-            // Decoder for Tag
-            Decoders.addDecoder(clazz: Tag.self) { (source: AnyObject) -> Tag in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Tag()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                return instance
-            }
-
-            // Decoder for [User]
-            Decoders.addDecoder(clazz: [User].self) { (source: AnyObject) -> [User] in
-                return Decoders.decode(clazz: [User].self, source: source)
-            }
-            // Decoder for User
-            Decoders.addDecoder(clazz: User.self) { (source: AnyObject) -> User in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = User()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.username = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["username"])
-                instance.firstName = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["firstName"])
-                instance.lastName = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["lastName"])
-                instance.email = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["email"])
-                instance.password = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"])
-                instance.phone = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["phone"])
-                instance.userStatus = Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["userStatus"])
-                return instance
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Category.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
deleted file mode 100644
index b3cbea28b69..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Category.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Category: JSONEncodable {
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
deleted file mode 100644
index bb7860b9483..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Order.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Order: JSONEncodable {
-    public enum Status: String {
-        case Placed = "placed"
-        case Approved = "approved"
-        case Delivered = "delivered"
-    }
-    public var id: Int64?
-    public var petId: Int64?
-    public var quantity: Int32?
-    public var shipDate: NSDate?
-    /** Order Status */
-    public var status: Status?
-    public var complete: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["petId"] = self.petId?.encodeToJSON()
-        nillableDictionary["quantity"] = self.quantity?.encodeToJSON()
-        nillableDictionary["shipDate"] = self.shipDate?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        nillableDictionary["complete"] = self.complete
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
deleted file mode 100644
index 5fa39ec431a..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Pet.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Pet: JSONEncodable {
-    public enum Status: String {
-        case Available = "available"
-        case Pending = "pending"
-        case Sold = "sold"
-    }
-    public var id: Int64?
-    public var category: Category?
-    public var name: String?
-    public var photoUrls: [String]?
-    public var tags: [Tag]?
-    /** pet status in the store */
-    public var status: Status?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["category"] = self.category?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        nillableDictionary["photoUrls"] = self.photoUrls?.encodeToJSON()
-        nillableDictionary["tags"] = self.tags?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
deleted file mode 100644
index df2d12e84fc..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Tag.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Tag: JSONEncodable {
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/User.swift b/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/User.swift
deleted file mode 100644
index d24a2154417..00000000000
--- a/samples/client/petstore/swift/promisekit/PetstoreClient/Classes/OpenAPIs/Models/User.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// User.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class User: JSONEncodable {
-    public var id: Int64?
-    public var username: String?
-    public var firstName: String?
-    public var lastName: String?
-    public var email: String?
-    public var password: String?
-    public var phone: String?
-    /** User Status */
-    public var userStatus: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["username"] = self.username
-        nillableDictionary["firstName"] = self.firstName
-        nillableDictionary["lastName"] = self.lastName
-        nillableDictionary["email"] = self.email
-        nillableDictionary["password"] = self.password
-        nillableDictionary["phone"] = self.phone
-        nillableDictionary["userStatus"] = self.userStatus?.encodeToJSON()
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Podfile b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Podfile
deleted file mode 100644
index 218aae4920f..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Podfile
+++ /dev/null
@@ -1,11 +0,0 @@
-use_frameworks!
-source 'https://github.com/CocoaPods/Specs.git'
-
-target 'SwaggerClient' do
-    pod "PetstoreClient", :path => "../"
-
-    target 'SwaggerClientTests' do
-        inherit! :search_paths
-    end
-end
-
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/README.md b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/README.md
deleted file mode 100644
index 2d804daea01..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/README.md
+++ /dev/null
@@ -1,1297 +0,0 @@
-![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/assets/alamofire.png)
-
-[![Build Status](https://travis-ci.org/Alamofire/Alamofire.svg)](https://travis-ci.org/Alamofire/Alamofire)
-[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg)](https://img.shields.io/cocoapods/v/Alamofire.svg)
-[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
-[![Platform](https://img.shields.io/cocoapods/p/Alamofire.svg?style=flat)](http://cocoadocs.org/docsets/Alamofire)
-[![Twitter](https://img.shields.io/badge/twitter-@AlamofireSF-blue.svg?style=flat)](http://twitter.com/AlamofireSF)
-
-Alamofire is an HTTP networking library written in Swift.
-
-## Features
-
-- [x] Chainable Request / Response methods
-- [x] URL / JSON / plist Parameter Encoding
-- [x] Upload File / Data / Stream / MultipartFormData
-- [x] Download using Request or Resume data
-- [x] Authentication with NSURLCredential
-- [x] HTTP Response Validation
-- [x] TLS Certificate and Public Key Pinning
-- [x] Progress Closure & NSProgress
-- [x] cURL Debug Output
-- [x] Comprehensive Unit Test Coverage
-- [x] [Complete Documentation](http://cocoadocs.org/docsets/Alamofire)
-
-## Component Libraries
-
-In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) to bring additional functionality to the Alamofire ecosystem.
-
-* [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache and a priority-based image downloading system.
-* [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator) - Controls the visibility of the network activity indicator on iOS using Alamofire. It contains configurable delay timers to help mitigate flicker and can support `NSURLSession` instances not managed by Alamofire.
-
-## Requirements
-
-- iOS 8.0+ / Mac OS X 10.9+ / tvOS 9.0+ / watchOS 2.0+
-- Xcode 7.3+
-
-## Migration Guides
-
-- [Alamofire 3.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%203.0%20Migration%20Guide.md)
-- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md)
-
-## Communication
-
-- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). (Tag 'alamofire')
-- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire).
-- If you **found a bug**, open an issue.
-- If you **have a feature request**, open an issue.
-- If you **want to contribute**, submit a pull request.
-
-## Installation
-
-> **Embedded frameworks require a minimum deployment target of iOS 8 or OS X Mavericks (10.9).**
->
-> Alamofire is no longer supported on iOS 7 due to the lack of support for frameworks. Without frameworks, running Travis-CI against iOS 7 would require a second duplicated test target. The separate test suite would need to import all the Swift files and the tests would need to be duplicated and re-written. This split would be too difficult to maintain to ensure the highest possible quality of the Alamofire ecosystem.
-
-### CocoaPods
-
-[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
-
-```bash
-$ gem install cocoapods
-```
-
-> CocoaPods 0.39.0+ is required to build Alamofire 3.0.0+.
-
-To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`:
-
-```ruby
-source 'https://github.com/CocoaPods/Specs.git'
-platform :ios, '9.0'
-use_frameworks!
-
-target '<Your Target Name>' do
-    pod 'Alamofire', '~> 3.4'
-end
-```
-
-Then, run the following command:
-
-```bash
-$ pod install
-```
-
-### Carthage
-
-[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
-
-You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
-
-```bash
-$ brew update
-$ brew install carthage
-```
-
-To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
-
-```ogdl
-github "Alamofire/Alamofire" ~> 3.4
-```
-
-Run `carthage update` to build the framework and drag the built `Alamofire.framework` into your Xcode project.
-
-### Manually
-
-If you prefer not to use either of the aforementioned dependency managers, you can integrate Alamofire into your project manually.
-
-#### Embedded Framework
-
-- Open up Terminal, `cd` into your top-level project directory, and run the following command "if" your project is not initialized as a git repository:
-
-```bash
-$ git init
-```
-
-- Add Alamofire as a git [submodule](http://git-scm.com/docs/git-submodule) by running the following command:
-
-```bash
-$ git submodule add https://github.com/Alamofire/Alamofire.git
-```
-
-- Open the new `Alamofire` folder, and drag the `Alamofire.xcodeproj` into the Project Navigator of your application's Xcode project.
-
-    > It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.
-
-- Select the `Alamofire.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target.
-- Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
-- In the tab bar at the top of that window, open the "General" panel.
-- Click on the `+` button under the "Embedded Binaries" section.
-- You will see two different `Alamofire.xcodeproj` folders each with two different versions of the `Alamofire.framework` nested inside a `Products` folder.
-
-    > It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Alamofire.framework`. 
-    
-- Select the top `Alamofire.framework` for iOS and the bottom one for OS X.
-
-    > You can verify which one you selected by inspecting the build log for your project. The build target for `Alamofire` will be listed as either `Alamofire iOS` or `Alamofire OSX`.
-
-- And that's it!
-
-> The `Alamofire.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
-
----
-
-## Usage
-
-### Making a Request
-
-```swift
-import Alamofire
-
-Alamofire.request(.GET, "https://httpbin.org/get")
-```
-
-### Response Handling
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
-         .responseJSON { response in
-             print(response.request)  // original URL request
-             print(response.response) // URL response
-             print(response.data)     // server data
-             print(response.result)   // result of response serialization
-
-             if let JSON = response.result.value {
-                 print("JSON: \(JSON)")
-             }
-         }
-```
-
-> Networking in Alamofire is done _asynchronously_. Asynchronous programming may be a source of frustration to programmers unfamiliar with the concept, but there are [very good reasons](https://developer.apple.com/library/ios/qa/qa1693/_index.html) for doing it this way.
-
-> Rather than blocking execution to wait for a response from the server, a [callback](http://en.wikipedia.org/wiki/Callback_%28computer_programming%29) is specified to handle the response once it's received. The result of a request is only available inside the scope of a response handler. Any execution contingent on the response or data received from the server must be done within a handler.
-
-### Validation
-
-By default, Alamofire treats any completed request to be successful, regardless of the content of the response. Calling `validate` before a response handler causes an error to be generated if the response had an unacceptable status code or MIME type.
-
-#### Manual Validation
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
-         .validate(statusCode: 200..<300)
-         .validate(contentType: ["application/json"])
-         .response { response in
-             print(response)
-         }
-```
-
-#### Automatic Validation
-
-Automatically validates status code within `200...299` range, and that the `Content-Type` header of the response matches the `Accept` header of the request, if one is provided.
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
-         .validate()
-         .responseJSON { response in
-             switch response.result {
-             case .Success:
-                 print("Validation Successful")
-             case .Failure(let error):
-                 print(error)
-             }
-         }
-```
-
-### Response Serialization
-
-**Built-in Response Methods**
-
-- `response()`
-- `responseData()`
-- `responseString(encoding: NSStringEncoding)`
-- `responseJSON(options: NSJSONReadingOptions)`
-- `responsePropertyList(options: NSPropertyListReadOptions)`
-
-#### Response Handler
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
-         .validate()
-         .response { request, response, data, error in
-             print(request)
-             print(response)
-             print(data)
-             print(error)
-          }
-```
-
-> The `response` serializer does NOT evaluate any of the response data. It merely forwards on all the information directly from the URL session delegate. We strongly encourage you to leverage the other response serializers taking advantage of `Response` and `Result` types.
-
-#### Response Data Handler
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
-         .validate()
-         .responseData { response in
-             print(response.request)
-             print(response.response)
-             print(response.result)
-          }
-```
-
-#### Response String Handler
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get")
-         .validate()
-         .responseString { response in
-             print("Success: \(response.result.isSuccess)")
-             print("Response String: \(response.result.value)")
-         }
-```
-
-#### Response JSON Handler
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get")
-         .validate()
-         .responseJSON { response in
-             debugPrint(response)
-         }
-```
-
-#### Chained Response Handlers
-
-Response handlers can even be chained:
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get")
-         .validate()
-         .responseString { response in
-             print("Response String: \(response.result.value)")
-         }
-         .responseJSON { response in
-             print("Response JSON: \(response.result.value)")
-         }
-```
-
-### HTTP Methods
-
-`Alamofire.Method` lists the HTTP methods defined in [RFC 7231 §4.3](http://tools.ietf.org/html/rfc7231#section-4.3):
-
-```swift
-public enum Method: String {
-    case OPTIONS, GET, HEAD, POST, PUT, PATCH, DELETE, TRACE, CONNECT
-}
-```
-
-These values can be passed as the first argument of the `Alamofire.request` method:
-
-```swift
-Alamofire.request(.POST, "https://httpbin.org/post")
-
-Alamofire.request(.PUT, "https://httpbin.org/put")
-
-Alamofire.request(.DELETE, "https://httpbin.org/delete")
-```
-
-### Parameters
-
-#### GET Request With URL-Encoded Parameters
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
-// https://httpbin.org/get?foo=bar
-```
-
-#### POST Request With URL-Encoded Parameters
-
-```swift
-let parameters = [
-    "foo": "bar",
-    "baz": ["a", 1],
-    "qux": [
-        "x": 1,
-        "y": 2,
-        "z": 3
-    ]
-]
-
-Alamofire.request(.POST, "https://httpbin.org/post", parameters: parameters)
-// HTTP body: foo=bar&baz[]=a&baz[]=1&qux[x]=1&qux[y]=2&qux[z]=3
-```
-
-### Parameter Encoding
-
-Parameters can also be encoded as JSON, Property List, or any custom format, using the `ParameterEncoding` enum:
-
-```swift
-enum ParameterEncoding {
-    case URL
-    case URLEncodedInURL
-    case JSON
-    case PropertyList(format: NSPropertyListFormat, options: NSPropertyListWriteOptions)
-    case Custom((URLRequestConvertible, [String: AnyObject]?) -> (NSMutableURLRequest, NSError?))
-
-    func encode(request: NSURLRequest, parameters: [String: AnyObject]?) -> (NSURLRequest, NSError?)
-    { ... }
-}
-```
-
-- `URL`: A query string to be set as or appended to any existing URL query for `GET`, `HEAD`, and `DELETE` requests, or set as the body for requests with any other HTTP method. The `Content-Type` HTTP header field of an encoded request with HTTP body is set to `application/x-www-form-urlencoded`. _Since there is no published specification for how to encode collection types, Alamofire follows the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`)._
-- `URLEncodedInURL`: Creates query string to be set as or appended to any existing URL query. Uses the same implementation as the `.URL` case, but always applies the encoded result to the URL.
-- `JSON`: Uses `NSJSONSerialization` to create a JSON representation of the parameters object, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`.
-- `PropertyList`: Uses `NSPropertyListSerialization` to create a plist representation of the parameters object, according to the associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/x-plist`.
-- `Custom`: Uses the associated closure value to construct a new request given an existing request and parameters.
-
-#### Manual Parameter Encoding of an NSURLRequest
-
-```swift
-let URL = NSURL(string: "https://httpbin.org/get")!
-var request = NSMutableURLRequest(URL: URL)
-
-let parameters = ["foo": "bar"]
-let encoding = Alamofire.ParameterEncoding.URL
-(request, _) = encoding.encode(request, parameters: parameters)
-```
-
-#### POST Request with JSON-encoded Parameters
-
-```swift
-let parameters = [
-    "foo": [1,2,3],
-    "bar": [
-        "baz": "qux"
-    ]
-]
-
-Alamofire.request(.POST, "https://httpbin.org/post", parameters: parameters, encoding: .JSON)
-// HTTP body: {"foo": [1, 2, 3], "bar": {"baz": "qux"}}
-```
-
-### HTTP Headers
-
-Adding a custom HTTP header to a `Request` is supported directly in the global `request` method. This makes it easy to attach HTTP headers to a `Request` that can be constantly changing.
-
-> For HTTP headers that do not change, it is recommended to set them on the `NSURLSessionConfiguration` so they are automatically applied to any `NSURLSessionTask` created by the underlying `NSURLSession`.
-
-```swift
-let headers = [
-    "Authorization": "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==",
-    "Accept": "application/json"
-]
-
-Alamofire.request(.GET, "https://httpbin.org/get", headers: headers)
-         .responseJSON { response in
-             debugPrint(response)
-         }
-```
-
-### Caching
-
-Caching is handled on the system framework level by [`NSURLCache`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLCache_Class/Reference/Reference.html#//apple_ref/occ/cl/NSURLCache).
-
-### Uploading
-
-**Supported Upload Types**
-
-- File
-- Data
-- Stream
-- MultipartFormData
-
-#### Uploading a File
-
-```swift
-let fileURL = NSBundle.mainBundle().URLForResource("Default", withExtension: "png")
-Alamofire.upload(.POST, "https://httpbin.org/post", file: fileURL)
-```
-
-#### Uploading with Progress
-
-```swift
-Alamofire.upload(.POST, "https://httpbin.org/post", file: fileURL)
-         .progress { bytesWritten, totalBytesWritten, totalBytesExpectedToWrite in
-             print(totalBytesWritten)
-
-             // This closure is NOT called on the main queue for performance
-             // reasons. To update your ui, dispatch to the main queue.
-             dispatch_async(dispatch_get_main_queue()) {
-                 print("Total bytes written on main queue: \(totalBytesWritten)")
-             }
-         }
-         .validate()
-         .responseJSON { response in
-             debugPrint(response)
-         }
-```
-
-#### Uploading MultipartFormData
-
-```swift
-Alamofire.upload(
-    .POST,
-    "https://httpbin.org/post",
-    multipartFormData: { multipartFormData in
-        multipartFormData.appendBodyPart(fileURL: unicornImageURL, name: "unicorn")
-        multipartFormData.appendBodyPart(fileURL: rainbowImageURL, name: "rainbow")
-    },
-    encodingCompletion: { encodingResult in
-    	switch encodingResult {
-    	case .Success(let upload, _, _):
-            upload.responseJSON { response in
-                debugPrint(response)
-            }
-    	case .Failure(let encodingError):
-    	    print(encodingError)
-    	}
-    }
-)
-```
-
-### Downloading
-
-**Supported Download Types**
-
-- Request
-- Resume Data
-
-#### Downloading a File
-
-```swift
-Alamofire.download(.GET, "https://httpbin.org/stream/100") { temporaryURL, response in
-    let fileManager = NSFileManager.defaultManager()
-    let directoryURL = fileManager.URLsForDirectory(.DocumentDirectory, inDomains: .UserDomainMask)[0]
-    let pathComponent = response.suggestedFilename
-
-    return directoryURL.URLByAppendingPathComponent(pathComponent!)
-}
-```
-
-#### Using the Default Download Destination
-
-```swift
-let destination = Alamofire.Request.suggestedDownloadDestination(directory: .DocumentDirectory, domain: .UserDomainMask)
-Alamofire.download(.GET, "https://httpbin.org/stream/100", destination: destination)
-```
-
-#### Downloading a File w/Progress
-
-```swift
-Alamofire.download(.GET, "https://httpbin.org/stream/100", destination: destination)
-         .progress { bytesRead, totalBytesRead, totalBytesExpectedToRead in
-             print(totalBytesRead)
-
-             // This closure is NOT called on the main queue for performance
-             // reasons. To update your ui, dispatch to the main queue.
-             dispatch_async(dispatch_get_main_queue()) {
-                 print("Total bytes read on main queue: \(totalBytesRead)")
-             }
-         }
-         .response { _, _, _, error in
-             if let error = error {
-                 print("Failed with error: \(error)")
-             } else {
-                 print("Downloaded file successfully")
-             }
-         }
-```
-
-#### Accessing Resume Data for Failed Downloads
-
-```swift
-Alamofire.download(.GET, "https://httpbin.org/stream/100", destination: destination)
-         .response { _, _, data, _ in
-             if let
-                 data = data,
-                 resumeDataString = NSString(data: data, encoding: NSUTF8StringEncoding)
-             {
-                 print("Resume Data: \(resumeDataString)")
-             } else {
-                 print("Resume Data was empty")
-             }
-         }
-```
-
-> The `data` parameter is automatically populated with the `resumeData` if available.
-
-```swift
-let download = Alamofire.download(.GET, "https://httpbin.org/stream/100", destination: destination)
-download.response { _, _, _, _ in
-    if let
-        resumeData = download.resumeData,
-        resumeDataString = NSString(data: resumeData, encoding: NSUTF8StringEncoding)
-    {
-        print("Resume Data: \(resumeDataString)")
-    } else {
-        print("Resume Data was empty")
-    }
-}
-```
-
-### Authentication
-
-Authentication is handled on the system framework level by [`NSURLCredential` and `NSURLAuthenticationChallenge`](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLAuthenticationChallenge_Class/Reference/Reference.html).
-
-**Supported Authentication Schemes**
-
-- [HTTP Basic](http://en.wikipedia.org/wiki/Basic_access_authentication)
-- [HTTP Digest](http://en.wikipedia.org/wiki/Digest_access_authentication)
-- [Kerberos](http://en.wikipedia.org/wiki/Kerberos_%28protocol%29)
-- [NTLM](http://en.wikipedia.org/wiki/NT_LAN_Manager)
-
-#### HTTP Basic Authentication
-
-The `authenticate` method on a `Request` will automatically provide an `NSURLCredential` to an `NSURLAuthenticationChallenge` when appropriate:
-
-```swift
-let user = "user"
-let password = "password"
-
-Alamofire.request(.GET, "https://httpbin.org/basic-auth/\(user)/\(password)")
-         .authenticate(user: user, password: password)
-         .responseJSON { response in
-             debugPrint(response)
-         }
-```
-
-Depending upon your server implementation, an `Authorization` header may also be appropriate:
-
-```swift
-let user = "user"
-let password = "password"
-
-let credentialData = "\(user):\(password)".dataUsingEncoding(NSUTF8StringEncoding)!
-let base64Credentials = credentialData.base64EncodedStringWithOptions([])
-
-let headers = ["Authorization": "Basic \(base64Credentials)"]
-
-Alamofire.request(.GET, "https://httpbin.org/basic-auth/user/password", headers: headers)
-         .responseJSON { response in
-             debugPrint(response)
-         }
-```
-
-#### Authentication with NSURLCredential
-
-```swift
-let user = "user"
-let password = "password"
-
-let credential = NSURLCredential(user: user, password: password, persistence: .ForSession)
-
-Alamofire.request(.GET, "https://httpbin.org/basic-auth/\(user)/\(password)")
-         .authenticate(usingCredential: credential)
-         .responseJSON { response in
-             debugPrint(response)
-         }
-```
-
-### Timeline
-
-Alamofire collects timings throughout the lifecycle of a `Request` and creates a `Timeline` object exposed as a property on a `Response`.
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
-         .validate()
-         .responseJSON { response in
-             print(response.timeline)
-         }
-```
-
-The above reports the following `Timeline` info:
-
-- `Latency`: 0.428 seconds
-- `Request Duration`: 0.428 seconds
-- `Serialization Duration`: 0.001 seconds
-- `Total Duration`: 0.429 seconds
-
-### Printable
-
-```swift
-let request = Alamofire.request(.GET, "https://httpbin.org/ip")
-
-print(request)
-// GET https://httpbin.org/ip (200)
-```
-
-### DebugPrintable
-
-```swift
-let request = Alamofire.request(.GET, "https://httpbin.org/get", parameters: ["foo": "bar"])
-
-debugPrint(request)
-```
-
-#### Output (cURL)
-
-```bash
-$ curl -i \
-	-H "User-Agent: Alamofire" \
-	-H "Accept-Encoding: Accept-Encoding: gzip;q=1.0,compress;q=0.5" \
-	-H "Accept-Language: en;q=1.0,fr;q=0.9,de;q=0.8,zh-Hans;q=0.7,zh-Hant;q=0.6,ja;q=0.5" \
-	"https://httpbin.org/get?foo=bar"
-```
-
----
-
-## Advanced Usage
-
-> Alamofire is built on `NSURLSession` and the Foundation URL Loading System. To make the most of
-this framework, it is recommended that you be familiar with the concepts and capabilities of the underlying networking stack.
-
-**Recommended Reading**
-
-- [URL Loading System Programming Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html)
-- [NSURLSession Class Reference](https://developer.apple.com/library/mac/documentation/Foundation/Reference/NSURLSession_class/Introduction/Introduction.html#//apple_ref/occ/cl/NSURLSession)
-- [NSURLCache Class Reference](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLCache_Class/Reference/Reference.html#//apple_ref/occ/cl/NSURLCache)
-- [NSURLAuthenticationChallenge Class Reference](https://developer.apple.com/library/mac/documentation/Cocoa/Reference/Foundation/Classes/NSURLAuthenticationChallenge_Class/Reference/Reference.html)
-
-### Manager
-
-Top-level convenience methods like `Alamofire.request` use a shared instance of `Alamofire.Manager`, which is configured with the default `NSURLSessionConfiguration`.
-
-As such, the following two statements are equivalent:
-
-```swift
-Alamofire.request(.GET, "https://httpbin.org/get")
-```
-
-```swift
-let manager = Alamofire.Manager.sharedInstance
-manager.request(NSURLRequest(URL: NSURL(string: "https://httpbin.org/get")!))
-```
-
-Applications can create managers for background and ephemeral sessions, as well as new managers that customize the default session configuration, such as for default headers (`HTTPAdditionalHeaders`) or timeout interval (`timeoutIntervalForRequest`).
-
-#### Creating a Manager with Default Configuration
-
-```swift
-let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-let manager = Alamofire.Manager(configuration: configuration)
-```
-
-#### Creating a Manager with Background Configuration
-
-```swift
-let configuration = NSURLSessionConfiguration.backgroundSessionConfigurationWithIdentifier("com.example.app.background")
-let manager = Alamofire.Manager(configuration: configuration)
-```
-
-#### Creating a Manager with Ephemeral Configuration
-
-```swift
-let configuration = NSURLSessionConfiguration.ephemeralSessionConfiguration()
-let manager = Alamofire.Manager(configuration: configuration)
-```
-
-#### Modifying Session Configuration
-
-```swift
-var defaultHeaders = Alamofire.Manager.sharedInstance.session.configuration.HTTPAdditionalHeaders ?? [:]
-defaultHeaders["DNT"] = "1 (Do Not Track Enabled)"
-
-let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-configuration.HTTPAdditionalHeaders = defaultHeaders
-
-let manager = Alamofire.Manager(configuration: configuration)
-```
-
-> This is **not** recommended for `Authorization` or `Content-Type` headers. Instead, use `URLRequestConvertible` and `ParameterEncoding`, respectively.
-
-### Request
-
-The result of a `request`, `upload`, or `download` method is an instance of `Alamofire.Request`. A request is always created using a constructor method from an owning manager, and never initialized directly.
-
-Methods like `authenticate`, `validate` and `responseData` return the caller in order to facilitate chaining.
-
-Requests can be suspended, resumed, and cancelled:
-
-- `suspend()`: Suspends the underlying task and dispatch queue
-- `resume()`: Resumes the underlying task and dispatch queue. If the owning manager does not have `startRequestsImmediately` set to `true`, the request must call `resume()` in order to start.
-- `cancel()`: Cancels the underlying task, producing an error that is passed to any registered response handlers.
-
-### Response Serialization
-
-#### Handling Errors
-
-Before implementing custom response serializers or object serialization methods, it's important to be prepared to handle any errors that may occur. Alamofire recommends handling these through the use of either your own `NSError` creation methods, or a simple `enum` that conforms to `ErrorType`. For example, this `BackendError` type, which will be used in later examples:
-
-```swift
-public enum BackendError: ErrorType {
-    case Network(error: NSError)
-    case DataSerialization(reason: String)
-    case JSONSerialization(error: NSError)
-    case ObjectSerialization(reason: String)
-    case XMLSerialization(error: NSError)
-}
-```
-
-#### Creating a Custom Response Serializer
-
-Alamofire provides built-in response serialization for strings, JSON, and property lists, but others can be added in extensions on `Alamofire.Request`.
-
-For example, here's how a response handler using [Ono](https://github.com/mattt/Ono) might be implemented:
-
-```swift
-extension Request {
-    public static func XMLResponseSerializer() -> ResponseSerializer<ONOXMLDocument, BackendError> {
-        return ResponseSerializer { request, response, data, error in
-            guard error == nil else { return .Failure(.Network(error: error!)) }
-
-            guard let validData = data else {
-                return .Failure(.DataSerialization(reason: "Data could not be serialized. Input data was nil."))
-            }
-
-            do {
-                let XML = try ONOXMLDocument(data: validData)
-                return .Success(XML)
-            } catch {
-                return .Failure(.XMLSerialization(error: error as NSError))
-            }
-        }
-    }
-
-    public func responseXMLDocument(completionHandler: Response<ONOXMLDocument, BackendError> -> Void) -> Self {
-        return response(responseSerializer: Request.XMLResponseSerializer(), completionHandler: completionHandler)
-    }
-}
-```
-
-#### Generic Response Object Serialization
-
-Generics can be used to provide automatic, type-safe response object serialization.
-
-```swift
-public protocol ResponseObjectSerializable {
-    init?(response: NSHTTPURLResponse, representation: AnyObject)
-}
-
-extension Request {
-    public func responseObject<T: ResponseObjectSerializable>(completionHandler: Response<T, BackendError> -> Void) -> Self {
-        let responseSerializer = ResponseSerializer<T, BackendError> { request, response, data, error in
-            guard error == nil else { return .Failure(.Network(error: error!)) }
-
-            let JSONResponseSerializer = Request.JSONResponseSerializer(options: .AllowFragments)
-            let result = JSONResponseSerializer.serializeResponse(request, response, data, error)
-
-            switch result {
-            case .Success(let value):
-                if let
-                    response = response,
-                    responseObject = T(response: response, representation: value)
-                {
-                    return .Success(responseObject)
-                } else {
-                    return .Failure(.ObjectSerialization(reason: "JSON could not be serialized into response object: \(value)"))
-                }
-            case .Failure(let error):
-                return .Failure(.JSONSerialization(error: error))
-            }
-        }
-
-        return response(responseSerializer: responseSerializer, completionHandler: completionHandler)
-    }
-}
-```
-
-```swift
-final class User: ResponseObjectSerializable {
-    let username: String
-    let name: String
-
-    init?(response: NSHTTPURLResponse, representation: AnyObject) {
-        self.username = response.URL!.lastPathComponent!
-        self.name = representation.valueForKeyPath("name") as! String
-    }
-}
-```
-
-```swift
-Alamofire.request(.GET, "https://example.com/users/mattt")
-         .responseObject { (response: Response<User, BackendError>) in
-             debugPrint(response)
-         }
-```
-
-The same approach can also be used to handle endpoints that return a representation of a collection of objects:
-
-```swift
-public protocol ResponseCollectionSerializable {
-    static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [Self]
-}
-
-extension ResponseCollectionSerializable where Self: ResponseObjectSerializable {
-    static func collection(response response: NSHTTPURLResponse, representation: AnyObject) -> [Self] {
-        var collection = [Self]()
-        
-        if let representation = representation as? [[String: AnyObject]] {
-            for itemRepresentation in representation {
-                if let item = Self(response: response, representation: itemRepresentation) {
-                    collection.append(item)
-                }
-            }
-        }
-        
-        return collection
-    }
-}
-
-extension Alamofire.Request {
-    public func responseCollection<T: ResponseCollectionSerializable>(completionHandler: Response<[T], BackendError> -> Void) -> Self {
-        let responseSerializer = ResponseSerializer<[T], BackendError> { request, response, data, error in
-            guard error == nil else { return .Failure(.Network(error: error!)) }
-
-            let JSONSerializer = Request.JSONResponseSerializer(options: .AllowFragments)
-            let result = JSONSerializer.serializeResponse(request, response, data, error)
-
-            switch result {
-            case .Success(let value):
-                if let response = response {
-                    return .Success(T.collection(response: response, representation: value))
-                } else {
-                    return .Failure(. ObjectSerialization(reason: "Response collection could not be serialized due to nil response"))
-                }
-            case .Failure(let error):
-                return .Failure(.JSONSerialization(error: error))
-            }
-        }
-
-        return response(responseSerializer: responseSerializer, completionHandler: completionHandler)
-    }
-}
-```
-
-```swift
-final class User: ResponseObjectSerializable, ResponseCollectionSerializable {
-    let username: String
-    let name: String
-
-    init?(response: NSHTTPURLResponse, representation: AnyObject) {
-        self.username = response.URL!.lastPathComponent!
-        self.name = representation.valueForKeyPath("name") as! String
-    }
-}
-```
-
-```swift
-Alamofire.request(.GET, "http://example.com/users")
-         .responseCollection { (response: Response<[User], BackendError>) in
-             debugPrint(response)
-         }
-```
-
-### URLStringConvertible
-
-Types adopting the `URLStringConvertible` protocol can be used to construct URL strings, which are then used to construct URL requests. `NSString`, `NSURL`, `NSURLComponents`, and `NSURLRequest` conform to `URLStringConvertible` by default, allowing any of them to be passed as `URLString` parameters to the `request`, `upload`, and `download` methods:
-
-```swift
-let string = NSString(string: "https://httpbin.org/post")
-Alamofire.request(.POST, string)
-
-let URL = NSURL(string: string)!
-Alamofire.request(.POST, URL)
-
-let URLRequest = NSURLRequest(URL: URL)
-Alamofire.request(.POST, URLRequest) // overrides `HTTPMethod` of `URLRequest`
-
-let URLComponents = NSURLComponents(URL: URL, resolvingAgainstBaseURL: true)
-Alamofire.request(.POST, URLComponents)
-```
-
-Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLStringConvertible` as a convenient way to map domain-specific models to server resources.
-
-#### Type-Safe Routing
-
-```swift
-extension User: URLStringConvertible {
-    static let baseURLString = "http://example.com"
-
-    var URLString: String {
-        return User.baseURLString + "/users/\(username)/"
-    }
-}
-```
-
-```swift
-let user = User(username: "mattt")
-Alamofire.request(.GET, user) // http://example.com/users/mattt
-```
-
-### URLRequestConvertible
-
-Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. `NSURLRequest` conforms to `URLRequestConvertible` by default, allowing it to be passed into `request`, `upload`, and `download` methods directly (this is the recommended way to specify custom HTTP body for individual requests):
-
-```swift
-let URL = NSURL(string: "https://httpbin.org/post")!
-let mutableURLRequest = NSMutableURLRequest(URL: URL)
-mutableURLRequest.HTTPMethod = "POST"
-
-let parameters = ["foo": "bar"]
-
-do {
-    mutableURLRequest.HTTPBody = try NSJSONSerialization.dataWithJSONObject(parameters, options: NSJSONWritingOptions())
-} catch {
-    // No-op
-}
-
-mutableURLRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-
-Alamofire.request(mutableURLRequest)
-```
-
-Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLRequestConvertible` as a way to ensure consistency of requested endpoints. Such an approach can be used to abstract away server-side inconsistencies and provide type-safe routing, as well as manage authentication credentials and other state.
-
-#### API Parameter Abstraction
-
-```swift
-enum Router: URLRequestConvertible {
-    static let baseURLString = "http://example.com"
-    static let perPage = 50
-
-    case Search(query: String, page: Int)
-
-    // MARK: URLRequestConvertible
-
-    var URLRequest: NSMutableURLRequest {
-        let result: (path: String, parameters: [String: AnyObject]) = {
-            switch self {
-            case .Search(let query, let page) where page > 0:
-                return ("/search", ["q": query, "offset": Router.perPage * page])
-            case .Search(let query, _):
-                return ("/search", ["q": query])
-            }
-        }()
-
-        let URL = NSURL(string: Router.baseURLString)!
-        let URLRequest = NSURLRequest(URL: URL.URLByAppendingPathComponent(result.path))
-        let encoding = Alamofire.ParameterEncoding.URL
-
-        return encoding.encode(URLRequest, parameters: result.parameters).0
-    }
-}
-```
-
-```swift
-Alamofire.request(Router.Search(query: "foo bar", page: 1)) // ?q=foo%20bar&offset=50
-```
-
-#### CRUD & Authorization
-
-```swift
-enum Router: URLRequestConvertible {
-    static let baseURLString = "http://example.com"
-    static var OAuthToken: String?
-
-    case CreateUser([String: AnyObject])
-    case ReadUser(String)
-    case UpdateUser(String, [String: AnyObject])
-    case DestroyUser(String)
-
-    var method: Alamofire.Method {
-        switch self {
-        case .CreateUser:
-            return .POST
-        case .ReadUser:
-            return .GET
-        case .UpdateUser:
-            return .PUT
-        case .DestroyUser:
-            return .DELETE
-        }
-    }
-
-    var path: String {
-        switch self {
-        case .CreateUser:
-            return "/users"
-        case .ReadUser(let username):
-            return "/users/\(username)"
-        case .UpdateUser(let username, _):
-            return "/users/\(username)"
-        case .DestroyUser(let username):
-            return "/users/\(username)"
-        }
-    }
-
-    // MARK: URLRequestConvertible
-
-    var URLRequest: NSMutableURLRequest {
-        let URL = NSURL(string: Router.baseURLString)!
-        let mutableURLRequest = NSMutableURLRequest(URL: URL.URLByAppendingPathComponent(path))
-        mutableURLRequest.HTTPMethod = method.rawValue
-
-        if let token = Router.OAuthToken {
-            mutableURLRequest.setValue("Bearer \(token)", forHTTPHeaderField: "Authorization")
-        }
-
-        switch self {
-        case .CreateUser(let parameters):
-            return Alamofire.ParameterEncoding.JSON.encode(mutableURLRequest, parameters: parameters).0
-        case .UpdateUser(_, let parameters):
-            return Alamofire.ParameterEncoding.URL.encode(mutableURLRequest, parameters: parameters).0
-        default:
-            return mutableURLRequest
-        }
-    }
-}
-```
-
-```swift
-Alamofire.request(Router.ReadUser("mattt")) // GET /users/mattt
-```
-
-### SessionDelegate
-
-By default, an Alamofire `Manager` instance creates an internal `SessionDelegate` object to handle all the various types of delegate callbacks that are generated by the underlying `NSURLSession`. The implementations of each delegate method handle the most common use cases for these types of calls abstracting the complexity away from the top-level APIs. However, advanced users may find the need to override the default functionality for various reasons.
-
-#### Override Closures
-
-The first way to customize the `SessionDelegate` behavior is through the use of the override closures. Each closure gives you the ability to override the implementation of the matching `SessionDelegate` API, yet still use the default implementation for all other APIs. This makes it easy to customize subsets of the delegate functionality. Here are a few examples of some of the override closures available:
-
-```swift
-/// Overrides default behavior for NSURLSessionDelegate method `URLSession:didReceiveChallenge:completionHandler:`.
-public var sessionDidReceiveChallenge: ((NSURLSession, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))?
-
-/// Overrides default behavior for NSURLSessionDelegate method `URLSessionDidFinishEventsForBackgroundURLSession:`.
-public var sessionDidFinishEventsForBackgroundURLSession: ((NSURLSession) -> Void)?
-
-/// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:`.
-public var taskWillPerformHTTPRedirection: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest) -> NSURLRequest?)?
-
-/// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:`.
-public var dataTaskWillCacheResponse: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse) -> NSCachedURLResponse?)?
-```
-
-The following is a short example of how to use the `taskWillPerformHTTPRedirection` to avoid following redirects to any `apple.com` domains.
-
-```swift
-let delegate: Alamofire.Manager.SessionDelegate = manager.delegate
-
-delegate.taskWillPerformHTTPRedirection = { session, task, response, request in
-    var finalRequest = request
-
-    if let originalRequest = task.originalRequest where originalRequest.URLString.containsString("apple.com") {
-		finalRequest = originalRequest
-	}
-
-	return finalRequest
-}
-```
-
-#### Subclassing
-
-Another way to override the default implementation of the `SessionDelegate` is to subclass it. Subclassing allows you completely customize the behavior of the API or to create a proxy for the API and still use the default implementation. Creating a proxy allows you to log events, emit notifications, provide pre and post hook implementations, etc. Here's a quick example of subclassing the `SessionDelegate` and logging a message when a redirect occurs.
-
-```swift
-class LoggingSessionDelegate: Manager.SessionDelegate {
-    override func URLSession(
-        session: NSURLSession,
-        task: NSURLSessionTask,
-        willPerformHTTPRedirection response: NSHTTPURLResponse,
-        newRequest request: NSURLRequest,
-        completionHandler: NSURLRequest? -> Void)
-    {
-        print("URLSession will perform HTTP redirection to request: \(request)")
-
-        super.URLSession(
-            session,
-            task: task,
-            willPerformHTTPRedirection: response,
-            newRequest: request,
-            completionHandler: completionHandler
-        )
-    }
-}
-```
-
-Generally, either the default implementation or the override closures should provide the necessary functionality required. Subclassing should only be used as a last resort.
-
-> It is important to keep in mind that the `subdelegates` are initialized and destroyed in the default implementation. Be careful when subclassing to not introduce memory leaks.
-
-### Security
-
-Using a secure HTTPS connection when communicating with servers and web services is an important step in securing sensitive data. By default, Alamofire will evaluate the certificate chain provided by the server using Apple's built in validation provided by the Security framework. While this guarantees the certificate chain is valid, it does not prevent man-in-the-middle (MITM) attacks or other potential vulnerabilities. In order to mitigate MITM attacks, applications dealing with sensitive customer data or financial information should use certificate or public key pinning provided by the `ServerTrustPolicy`.
-
-#### ServerTrustPolicy
-
-The `ServerTrustPolicy` enumeration evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when connecting to a server over a secure HTTPS connection.
-
-```swift
-let serverTrustPolicy = ServerTrustPolicy.PinCertificates(
-    certificates: ServerTrustPolicy.certificatesInBundle(),
-    validateCertificateChain: true,
-    validateHost: true
-)
-```
-
-There are many different cases of server trust evaluation giving you complete control over the validation process:
-
-* `PerformDefaultEvaluation`: Uses the default server trust evaluation while allowing you to control whether to validate the host provided by the challenge. 
-* `PinCertificates`: Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates.
-* `PinPublicKeys`: Uses the pinned public keys to validate the server trust. The server trust is considered valid if one of the pinned public keys match one of the server certificate public keys.
-* `DisableEvaluation`: Disables all evaluation which in turn will always consider any server trust as valid.
-* `CustomEvaluation`: Uses the associated closure to evaluate the validity of the server trust thus giving you complete control over the validation process. Use with caution.
-
-#### Server Trust Policy Manager
-
-The `ServerTrustPolicyManager` is responsible for storing an internal mapping of server trust policies to a particular host. This allows Alamofire to evaluate each host against a different server trust policy. 
-
-```swift
-let serverTrustPolicies: [String: ServerTrustPolicy] = [
-    "test.example.com": .PinCertificates(
-        certificates: ServerTrustPolicy.certificatesInBundle(),
-        validateCertificateChain: true,
-        validateHost: true
-    ),
-    "insecure.expired-apis.com": .DisableEvaluation
-]
-
-let manager = Manager(
-    serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverTrustPolicies)
-)
-```
-
-> Make sure to keep a reference to the new `Manager` instance, otherwise your requests will all get cancelled when your `manager` is deallocated.
-
-These server trust policies will result in the following behavior:
-
-* `test.example.com` will always use certificate pinning with certificate chain and host validation enabled thus requiring the following criteria to be met to allow the TLS handshake to succeed:
-  * Certificate chain MUST be valid.
-  * Certificate chain MUST include one of the pinned certificates.
-  * Challenge host MUST match the host in the certificate chain's leaf certificate.
-* `insecure.expired-apis.com` will never evaluate the certificate chain and will always allow the TLS handshake to succeed.
-* All other hosts will use the default evaluation provided by Apple.
-
-##### Subclassing Server Trust Policy Manager
-
-If you find yourself needing more flexible server trust policy matching behavior (i.e. wildcarded domains), then subclass the `ServerTrustPolicyManager` and override the `serverTrustPolicyForHost` method with your own custom implementation.
-
-```swift
-class CustomServerTrustPolicyManager: ServerTrustPolicyManager {
-    override func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? {
-        var policy: ServerTrustPolicy?
-
-        // Implement your custom domain matching behavior...
-
-        return policy
-    }
-}
-```
-
-#### Validating the Host
-
-The `.PerformDefaultEvaluation`, `.PinCertificates` and `.PinPublicKeys` server trust policies all take a `validateHost` parameter. Setting the value to `true` will cause the server trust evaluation to verify that hostname in the certificate matches the hostname of the challenge. If they do not match, evaluation will fail. A `validateHost` value of `false` will still evaluate the full certificate chain, but will not validate the hostname of the leaf certificate.
-
-> It is recommended that `validateHost` always be set to `true` in production environments.
-
-#### Validating the Certificate Chain
-
-Pinning certificates and public keys both have the option of validating the certificate chain using the `validateCertificateChain` parameter. By setting this value to `true`, the full certificate chain will be evaluated in addition to performing a byte equality check against the pinned certificates or public keys. A value of `false` will skip the certificate chain validation, but will still perform the byte equality check.
-
-There are several cases where it may make sense to disable certificate chain validation. The most common use cases for disabling validation are self-signed and expired certificates. The evaluation would always fail in both of these cases, but the byte equality check will still ensure you are receiving the certificate you expect from the server.
-
-> It is recommended that `validateCertificateChain` always be set to `true` in production environments.
-
-#### App Transport Security
-
-With the addition of App Transport Security (ATS) in iOS 9, it is possible that using a custom `ServerTrustPolicyManager` with several `ServerTrustPolicy` objects will have no effect. If you continuously see `CFNetwork SSLHandshake failed (-9806)` errors, you have probably run into this problem. Apple's ATS system overrides the entire challenge system unless you configure the ATS settings in your app's plist to disable enough of it to allow your app to evaluate the server trust.
-
-If you run into this problem (high probability with self-signed certificates), you can work around this issue by adding the following to your `Info.plist`.
-
-```xml
-<dict>
-	<key>NSAppTransportSecurity</key>
-	<dict>
-		<key>NSExceptionDomains</key>
-		<dict>
-			<key>example.com</key>
-			<dict>
-				<key>NSExceptionAllowsInsecureHTTPLoads</key>
-				<true/>
-				<key>NSExceptionRequiresForwardSecrecy</key>
-				<false/>
-				<key>NSIncludesSubdomains</key>
-				<true/>
-				<!-- Optional: Specify minimum TLS version -->
-				<key>NSTemporaryExceptionMinimumTLSVersion</key>
-				<string>TLSv1.2</string>
-			</dict>
-		</dict>
-	</dict>
-</dict>
-```
-
-Whether you need to set the `NSExceptionRequiresForwardSecrecy` to `NO` depends on whether your TLS connection is using an allowed cipher suite. In certain cases, it will need to be set to `NO`. The `NSExceptionAllowsInsecureHTTPLoads` MUST be set to `YES` in order to allow the `SessionDelegate` to receive challenge callbacks. Once the challenge callbacks are being called, the `ServerTrustPolicyManager` will take over the server trust evaluation. You may also need to specify the `NSTemporaryExceptionMinimumTLSVersion` if you're trying to connect to a host that only supports TLS versions less than `1.2`.
-
-> It is recommended to always use valid certificates in production environments.
-
-### Network Reachability
-
-The `NetworkReachabilityManager` listens for reachability changes of hosts and addresses for both WWAN and WiFi network interfaces.
-
-```swift
-let manager = NetworkReachabilityManager(host: "www.apple.com")
-
-manager?.listener = { status in
-    print("Network Status Changed: \(status)")
-}
-
-manager?.startListening()
-```
-
-> Make sure to remember to retain the `manager` in the above example, or no status changes will be reported.
-
-There are some important things to remember when using network reachability to determine what to do next.
-
-* **Do NOT** use Reachability to determine if a network request should be sent.
-  * You should **ALWAYS** send it.
-* When Reachability is restored, use the event to retry failed network requests.
-  * Even though the network requests may still fail, this is a good moment to retry them.
-* The network reachability status can be useful for determining why a network request may have failed.
-  * If a network request fails, it is more useful to tell the user that the network request failed due to being offline rather than a more technical error, such as "request timed out."
-
-> It is recommended to check out [WWDC 2012 Session 706, "Networking Best Practices"](https://developer.apple.com/videos/play/wwdc2012-706/) for more info.
-
----
-
-## Open Rdars
-
-The following rdars have some affect on the current implementation of Alamofire.
-
-* [rdar://21349340](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case
-* [rdar://26761490](http://www.openradar.me/radar?id=5010235949318144) - Swift string interpolation causing memory leak with common usage
-
-## FAQ
-
-### What's the origin of the name Alamofire?
-
-Alamofire is named after the [Alamo Fire flower](https://aggie-horticulture.tamu.edu/wildseed/alamofire.html), a hybrid variant of the Bluebonnet, the official state flower of Texas.
-
----
-
-## Credits
-
-Alamofire is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org). You can follow them on Twitter at [@AlamofireSF](https://twitter.com/AlamofireSF) for project updates and releases.
-
-### Security Disclosure
-
-If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker.
-
-## Donations
-
-The [ASF](https://github.com/Alamofire/Foundation#members) is looking to raise money to officially register as a federal non-profit organization. Registering will allow us members to gain some legal protections and also allow us to put donations to use, tax free. Donating to the ASF will enable us to:
-
-* Pay our legal fees to register as a federal non-profit organization
-* Pay our yearly legal fees to keep the non-profit in good status
-* Pay for our mail servers to help us stay on top of all questions and security issues
-* Potentially fund test servers to make it easier for us to test the edge cases
-* Potentially fund developers to work on one of our projects full-time
-
-The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiasm around the projects, and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. Our initial goal is to raise $1000 to get all our legal ducks in a row and kickstart this campaign. Any amount you can donate today to help us reach our goal would be greatly appreciated.
-
-<a href='https://pledgie.com/campaigns/31474'><img alt='Click here to lend your support to: Alamofire Software Foundation and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/31474.png?skin_name=chrome' border='0' ></a>
-
-## License
-
-Alamofire is released under the MIT license. See LICENSE for details.
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
deleted file mode 100644
index d18daadc623..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
+++ /dev/null
@@ -1,361 +0,0 @@
-//
-//  Alamofire.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-// MARK: - URLStringConvertible
-
-/**
-    Types adopting the `URLStringConvertible` protocol can be used to construct URL strings, which are then used to
-    construct URL requests.
-*/
-public protocol URLStringConvertible {
-    /**
-        A URL that conforms to RFC 2396.
-
-        Methods accepting a `URLStringConvertible` type parameter parse it according to RFCs 1738 and 1808.
-
-        See https://tools.ietf.org/html/rfc2396
-        See https://tools.ietf.org/html/rfc1738
-        See https://tools.ietf.org/html/rfc1808
-    */
-    var URLString: String { get }
-}
-
-extension String: URLStringConvertible {
-    public var URLString: String { return self }
-}
-
-extension NSURL: URLStringConvertible {
-    public var URLString: String { return absoluteString }
-}
-
-extension NSURLComponents: URLStringConvertible {
-    public var URLString: String { return URL!.URLString }
-}
-
-extension NSURLRequest: URLStringConvertible {
-    public var URLString: String { return URL!.URLString }
-}
-
-// MARK: - URLRequestConvertible
-
-/**
-    Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests.
-*/
-public protocol URLRequestConvertible {
-    /// The URL request.
-    var URLRequest: NSMutableURLRequest { get }
-}
-
-extension NSURLRequest: URLRequestConvertible {
-    public var URLRequest: NSMutableURLRequest { return self.mutableCopy() as! NSMutableURLRequest }
-}
-
-// MARK: - Convenience
-
-func URLRequest(
-    method: Method,
-    _ URLString: URLStringConvertible,
-    headers: [String: String]? = nil)
-    -> NSMutableURLRequest {
-    let mutableURLRequest: NSMutableURLRequest
-
-    if let request = URLString as? NSMutableURLRequest {
-        mutableURLRequest = request
-    } else if let request = URLString as? NSURLRequest {
-        mutableURLRequest = request.URLRequest
-    } else {
-        mutableURLRequest = NSMutableURLRequest(URL: NSURL(string: URLString.URLString)!)
-    }
-
-    mutableURLRequest.HTTPMethod = method.rawValue
-
-    if let headers = headers {
-        for (headerField, headerValue) in headers {
-            mutableURLRequest.setValue(headerValue, forHTTPHeaderField: headerField)
-        }
-    }
-
-    return mutableURLRequest
-}
-
-// MARK: - Request Methods
-
-/**
-    Creates a request using the shared manager instance for the specified method, URL string, parameters, and
-    parameter encoding.
-
-    - parameter method:     The HTTP method.
-    - parameter URLString:  The URL string.
-    - parameter parameters: The parameters. `nil` by default.
-    - parameter encoding:   The parameter encoding. `.URL` by default.
-    - parameter headers:    The HTTP headers. `nil` by default.
-
-    - returns: The created request.
-*/
-public func request(
-    method: Method,
-    _ URLString: URLStringConvertible,
-    parameters: [String: AnyObject]? = nil,
-    encoding: ParameterEncoding = .URL,
-    headers: [String: String]? = nil)
-    -> Request {
-    return Manager.sharedInstance.request(
-        method,
-        URLString,
-        parameters: parameters,
-        encoding: encoding,
-        headers: headers
-    )
-}
-
-/**
-    Creates a request using the shared manager instance for the specified URL request.
-
-    If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-    - parameter URLRequest: The URL request
-
-    - returns: The created request.
-*/
-public func request(URLRequest: URLRequestConvertible) -> Request {
-    return Manager.sharedInstance.request(URLRequest.URLRequest)
-}
-
-// MARK: - Upload Methods
-
-// MARK: File
-
-/**
-    Creates an upload request using the shared manager instance for the specified method, URL string, and file.
-
-    - parameter method:    The HTTP method.
-    - parameter URLString: The URL string.
-    - parameter headers:   The HTTP headers. `nil` by default.
-    - parameter file:      The file to upload.
-
-    - returns: The created upload request.
-*/
-public func upload(
-    method: Method,
-    _ URLString: URLStringConvertible,
-    headers: [String: String]? = nil,
-    file: NSURL)
-    -> Request {
-    return Manager.sharedInstance.upload(method, URLString, headers: headers, file: file)
-}
-
-/**
-    Creates an upload request using the shared manager instance for the specified URL request and file.
-
-    - parameter URLRequest: The URL request.
-    - parameter file:       The file to upload.
-
-    - returns: The created upload request.
-*/
-public func upload(URLRequest: URLRequestConvertible, file: NSURL) -> Request {
-    return Manager.sharedInstance.upload(URLRequest, file: file)
-}
-
-// MARK: Data
-
-/**
-    Creates an upload request using the shared manager instance for the specified method, URL string, and data.
-
-    - parameter method:    The HTTP method.
-    - parameter URLString: The URL string.
-    - parameter headers:   The HTTP headers. `nil` by default.
-    - parameter data:      The data to upload.
-
-    - returns: The created upload request.
-*/
-public func upload(
-    method: Method,
-    _ URLString: URLStringConvertible,
-    headers: [String: String]? = nil,
-    data: NSData)
-    -> Request {
-    return Manager.sharedInstance.upload(method, URLString, headers: headers, data: data)
-}
-
-/**
-    Creates an upload request using the shared manager instance for the specified URL request and data.
-
-    - parameter URLRequest: The URL request.
-    - parameter data:       The data to upload.
-
-    - returns: The created upload request.
-*/
-public func upload(URLRequest: URLRequestConvertible, data: NSData) -> Request {
-    return Manager.sharedInstance.upload(URLRequest, data: data)
-}
-
-// MARK: Stream
-
-/**
-    Creates an upload request using the shared manager instance for the specified method, URL string, and stream.
-
-    - parameter method:    The HTTP method.
-    - parameter URLString: The URL string.
-    - parameter headers:   The HTTP headers. `nil` by default.
-    - parameter stream:    The stream to upload.
-
-    - returns: The created upload request.
-*/
-public func upload(
-    method: Method,
-    _ URLString: URLStringConvertible,
-    headers: [String: String]? = nil,
-    stream: NSInputStream)
-    -> Request {
-    return Manager.sharedInstance.upload(method, URLString, headers: headers, stream: stream)
-}
-
-/**
-    Creates an upload request using the shared manager instance for the specified URL request and stream.
-
-    - parameter URLRequest: The URL request.
-    - parameter stream:     The stream to upload.
-
-    - returns: The created upload request.
-*/
-public func upload(URLRequest: URLRequestConvertible, stream: NSInputStream) -> Request {
-    return Manager.sharedInstance.upload(URLRequest, stream: stream)
-}
-
-// MARK: MultipartFormData
-
-/**
-    Creates an upload request using the shared manager instance for the specified method and URL string.
-
-    - parameter method:                  The HTTP method.
-    - parameter URLString:               The URL string.
-    - parameter headers:                 The HTTP headers. `nil` by default.
-    - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-    - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-                                         `MultipartFormDataEncodingMemoryThreshold` by default.
-    - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-*/
-public func upload(
-    method: Method,
-    _ URLString: URLStringConvertible,
-    headers: [String: String]? = nil,
-    multipartFormData: MultipartFormData -> Void,
-    encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
-    encodingCompletion: (Manager.MultipartFormDataEncodingResult -> Void)?) {
-    return Manager.sharedInstance.upload(
-        method,
-        URLString,
-        headers: headers,
-        multipartFormData: multipartFormData,
-        encodingMemoryThreshold: encodingMemoryThreshold,
-        encodingCompletion: encodingCompletion
-    )
-}
-
-/**
-    Creates an upload request using the shared manager instance for the specified method and URL string.
-
-    - parameter URLRequest:              The URL request.
-    - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-    - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-                                         `MultipartFormDataEncodingMemoryThreshold` by default.
-    - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-*/
-public func upload(
-    URLRequest: URLRequestConvertible,
-    multipartFormData: MultipartFormData -> Void,
-    encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
-    encodingCompletion: (Manager.MultipartFormDataEncodingResult -> Void)?) {
-    return Manager.sharedInstance.upload(
-        URLRequest,
-        multipartFormData: multipartFormData,
-        encodingMemoryThreshold: encodingMemoryThreshold,
-        encodingCompletion: encodingCompletion
-    )
-}
-
-// MARK: - Download Methods
-
-// MARK: URL Request
-
-/**
-    Creates a download request using the shared manager instance for the specified method and URL string.
-
-    - parameter method:      The HTTP method.
-    - parameter URLString:   The URL string.
-    - parameter parameters:  The parameters. `nil` by default.
-    - parameter encoding:    The parameter encoding. `.URL` by default.
-    - parameter headers:     The HTTP headers. `nil` by default.
-    - parameter destination: The closure used to determine the destination of the downloaded file.
-
-    - returns: The created download request.
-*/
-public func download(
-    method: Method,
-    _ URLString: URLStringConvertible,
-    parameters: [String: AnyObject]? = nil,
-    encoding: ParameterEncoding = .URL,
-    headers: [String: String]? = nil,
-    destination: Request.DownloadFileDestination)
-    -> Request {
-    return Manager.sharedInstance.download(
-        method,
-        URLString,
-        parameters: parameters,
-        encoding: encoding,
-        headers: headers,
-        destination: destination
-    )
-}
-
-/**
-    Creates a download request using the shared manager instance for the specified URL request.
-
-    - parameter URLRequest:  The URL request.
-    - parameter destination: The closure used to determine the destination of the downloaded file.
-
-    - returns: The created download request.
-*/
-public func download(URLRequest: URLRequestConvertible, destination: Request.DownloadFileDestination) -> Request {
-    return Manager.sharedInstance.download(URLRequest, destination: destination)
-}
-
-// MARK: Resume Data
-
-/**
-    Creates a request using the shared manager instance for downloading from the resume data produced from a
-    previous request cancellation.
-
-    - parameter resumeData:  The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask`
-                             when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for additional
-                             information.
-    - parameter destination: The closure used to determine the destination of the downloaded file.
-
-    - returns: The created download request.
-*/
-public func download(resumeData data: NSData, destination: Request.DownloadFileDestination) -> Request {
-    return Manager.sharedInstance.download(data, destination: destination)
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Download.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Download.swift
deleted file mode 100644
index fbc073d5002..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Download.swift
+++ /dev/null
@@ -1,243 +0,0 @@
-//
-//  Download.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Manager {
-    private enum Downloadable {
-        case Request(NSURLRequest)
-        case ResumeData(NSData)
-    }
-
-    private func download(downloadable: Downloadable, destination: Request.DownloadFileDestination) -> Request {
-        var downloadTask: NSURLSessionDownloadTask!
-
-        switch downloadable {
-        case .Request(let request):
-            dispatch_sync(queue) {
-                downloadTask = self.session.downloadTaskWithRequest(request)
-            }
-        case .ResumeData(let resumeData):
-            dispatch_sync(queue) {
-                downloadTask = self.session.downloadTaskWithResumeData(resumeData)
-            }
-        }
-
-        let request = Request(session: session, task: downloadTask)
-
-        if let downloadDelegate = request.delegate as? Request.DownloadTaskDelegate {
-            downloadDelegate.downloadTaskDidFinishDownloadingToURL = { session, downloadTask, URL in
-                return destination(URL, downloadTask.response as! NSHTTPURLResponse)
-            }
-        }
-
-        delegate[request.delegate.task] = request.delegate
-
-        if startRequestsImmediately {
-            request.resume()
-        }
-
-        return request
-    }
-
-    // MARK: Request
-
-    /**
-        Creates a download request for the specified method, URL string, parameters, parameter encoding, headers
-        and destination.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter method:      The HTTP method.
-        - parameter URLString:   The URL string.
-        - parameter parameters:  The parameters. `nil` by default.
-        - parameter encoding:    The parameter encoding. `.URL` by default.
-        - parameter headers:     The HTTP headers. `nil` by default.
-        - parameter destination: The closure used to determine the destination of the downloaded file.
-
-        - returns: The created download request.
-    */
-    public func download(
-        method: Method,
-        _ URLString: URLStringConvertible,
-        parameters: [String: AnyObject]? = nil,
-        encoding: ParameterEncoding = .URL,
-        headers: [String: String]? = nil,
-        destination: Request.DownloadFileDestination)
-        -> Request {
-        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
-        let encodedURLRequest = encoding.encode(mutableURLRequest, parameters: parameters).0
-
-        return download(encodedURLRequest, destination: destination)
-    }
-
-    /**
-        Creates a request for downloading from the specified URL request.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter URLRequest:  The URL request
-        - parameter destination: The closure used to determine the destination of the downloaded file.
-
-        - returns: The created download request.
-    */
-    public func download(URLRequest: URLRequestConvertible, destination: Request.DownloadFileDestination) -> Request {
-        return download(.Request(URLRequest.URLRequest), destination: destination)
-    }
-
-    // MARK: Resume Data
-
-    /**
-        Creates a request for downloading from the resume data produced from a previous request cancellation.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter resumeData:  The resume data. This is an opaque data blob produced by `NSURLSessionDownloadTask`
-                                 when a task is cancelled. See `NSURLSession -downloadTaskWithResumeData:` for
-                                 additional information.
-        - parameter destination: The closure used to determine the destination of the downloaded file.
-
-        - returns: The created download request.
-    */
-    public func download(resumeData: NSData, destination: Request.DownloadFileDestination) -> Request {
-        return download(.ResumeData(resumeData), destination: destination)
-    }
-}
-
-// MARK: -
-
-extension Request {
-    /**
-        A closure executed once a request has successfully completed in order to determine where to move the temporary
-        file written to during the download process. The closure takes two arguments: the temporary file URL and the URL
-        response, and returns a single argument: the file URL where the temporary file should be moved.
-    */
-    public typealias DownloadFileDestination = (NSURL, NSHTTPURLResponse) -> NSURL
-
-    /**
-        Creates a download file destination closure which uses the default file manager to move the temporary file to a
-        file URL in the first available directory with the specified search path directory and search path domain mask.
-
-        - parameter directory: The search path directory. `.DocumentDirectory` by default.
-        - parameter domain:    The search path domain mask. `.UserDomainMask` by default.
-
-        - returns: A download file destination closure.
-    */
-    public class func suggestedDownloadDestination(
-        directory directory: NSSearchPathDirectory = .DocumentDirectory,
-        domain: NSSearchPathDomainMask = .UserDomainMask)
-        -> DownloadFileDestination {
-        return { temporaryURL, response -> NSURL in
-            let directoryURLs = NSFileManager.defaultManager().URLsForDirectory(directory, inDomains: domain)
-
-            if !directoryURLs.isEmpty {
-                return directoryURLs[0].URLByAppendingPathComponent(response.suggestedFilename!)
-            }
-
-            return temporaryURL
-        }
-    }
-
-    /// The resume data of the underlying download task if available after a failure.
-    public var resumeData: NSData? {
-        var data: NSData?
-
-        if let delegate = delegate as? DownloadTaskDelegate {
-            data = delegate.resumeData
-        }
-
-        return data
-    }
-
-    // MARK: - DownloadTaskDelegate
-
-    class DownloadTaskDelegate: TaskDelegate, NSURLSessionDownloadDelegate {
-        var downloadTask: NSURLSessionDownloadTask? { return task as? NSURLSessionDownloadTask }
-        var downloadProgress: ((Int64, Int64, Int64) -> Void)?
-
-        var resumeData: NSData?
-        override var data: NSData? { return resumeData }
-
-        // MARK: - NSURLSessionDownloadDelegate
-
-        // MARK: Override Closures
-
-        var downloadTaskDidFinishDownloadingToURL: ((NSURLSession, NSURLSessionDownloadTask, NSURL) -> NSURL)?
-        var downloadTaskDidWriteData: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
-        var downloadTaskDidResumeAtOffset: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64) -> Void)?
-
-        // MARK: Delegate Methods
-
-        func URLSession(
-            session: NSURLSession,
-            downloadTask: NSURLSessionDownloadTask,
-            didFinishDownloadingToURL location: NSURL) {
-            if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL {
-                do {
-                    let destination = downloadTaskDidFinishDownloadingToURL(session, downloadTask, location)
-                    try NSFileManager.defaultManager().moveItemAtURL(location, toURL: destination)
-                } catch {
-                    self.error = error as NSError
-                }
-            }
-        }
-
-        func URLSession(
-            session: NSURLSession,
-            downloadTask: NSURLSessionDownloadTask,
-            didWriteData bytesWritten: Int64,
-            totalBytesWritten: Int64,
-            totalBytesExpectedToWrite: Int64) {
-            if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-            if let downloadTaskDidWriteData = downloadTaskDidWriteData {
-                downloadTaskDidWriteData(
-                    session,
-                    downloadTask,
-                    bytesWritten,
-                    totalBytesWritten,
-                    totalBytesExpectedToWrite
-                )
-            } else {
-                progress.totalUnitCount = totalBytesExpectedToWrite
-                progress.completedUnitCount = totalBytesWritten
-
-                downloadProgress?(bytesWritten, totalBytesWritten, totalBytesExpectedToWrite)
-            }
-        }
-
-        func URLSession(
-            session: NSURLSession,
-            downloadTask: NSURLSessionDownloadTask,
-            didResumeAtOffset fileOffset: Int64,
-            expectedTotalBytes: Int64) {
-            if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
-                downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
-            } else {
-                progress.totalUnitCount = expectedTotalBytes
-                progress.completedUnitCount = fileOffset
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Manager.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Manager.swift
deleted file mode 100644
index 0dd7e80416c..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Manager.swift
+++ /dev/null
@@ -1,765 +0,0 @@
-//
-//  Manager.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/**
-    Responsible for creating and managing `Request` objects, as well as their underlying `NSURLSession`.
-*/
-public class Manager {
-
-    // MARK: - Properties
-
-    /**
-        A shared instance of `Manager`, used by top-level Alamofire request methods, and suitable for use directly
-        for any ad hoc requests.
-    */
-    public static let sharedInstance: Manager = {
-        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-        configuration.HTTPAdditionalHeaders = Manager.defaultHTTPHeaders
-
-        return Manager(configuration: configuration)
-    }()
-
-    /**
-        Creates default values for the "Accept-Encoding", "Accept-Language" and "User-Agent" headers.
-    */
-    public static let defaultHTTPHeaders: [String: String] = {
-        // Accept-Encoding HTTP Header; see https://tools.ietf.org/html/rfc7230#section-4.2.3
-        let acceptEncoding: String = "gzip;q=1.0, compress;q=0.5"
-
-        // Accept-Language HTTP Header; see https://tools.ietf.org/html/rfc7231#section-5.3.5
-        let acceptLanguage = NSLocale.preferredLanguages().prefix(6).enumerate().map { index, languageCode in
-            let quality = 1.0 - (Double(index) * 0.1)
-            return "\(languageCode);q=\(quality)"
-        }.joinWithSeparator(", ")
-
-        // User-Agent Header; see https://tools.ietf.org/html/rfc7231#section-5.5.3
-        let userAgent: String = {
-            if let info = NSBundle.mainBundle().infoDictionary {
-                let executable = info[kCFBundleExecutableKey as String] as? String ?? "Unknown"
-                let bundle = info[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
-                let appVersion = info["CFBundleShortVersionString"] as? String ?? "Unknown"
-                let appBuild = info[kCFBundleVersionKey as String] as? String ?? "Unknown"
-
-                let osNameVersion: String = {
-                    let versionString: String
-
-                    if #available(OSX 10.10, *) {
-                        let version = NSProcessInfo.processInfo().operatingSystemVersion
-                        versionString = "\(version.majorVersion).\(version.minorVersion).\(version.patchVersion)"
-                    } else {
-                        versionString = "10.9"
-                    }
-
-                    let osName: String = {
-                        #if os(iOS)
-                            return "iOS"
-                        #elseif os(watchOS)
-                            return "watchOS"
-                        #elseif os(tvOS)
-                            return "tvOS"
-                        #elseif os(OSX)
-                            return "OS X"
-                        #elseif os(Linux)
-                            return "Linux"
-                        #else
-                            return "Unknown"
-                        #endif
-                    }()
-
-                    return "\(osName) \(versionString)"
-                }()
-
-                return "\(executable)/\(bundle) (\(appVersion)/\(appBuild)); \(osNameVersion))"
-            }
-
-            return "Alamofire"
-        }()
-
-        return [
-            "Accept-Encoding": acceptEncoding,
-            "Accept-Language": acceptLanguage,
-            "User-Agent": userAgent
-        ]
-    }()
-
-    let queue = dispatch_queue_create(nil, DISPATCH_QUEUE_SERIAL)
-
-    /// The underlying session.
-    public let session: NSURLSession
-
-    /// The session delegate handling all the task and session delegate callbacks.
-    public let delegate: SessionDelegate
-
-    /// Whether to start requests immediately after being constructed. `true` by default.
-    public var startRequestsImmediately: Bool = true
-
-    /**
-        The background completion handler closure provided by the UIApplicationDelegate
-        `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background
-        completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation
-        will automatically call the handler.
-
-        If you need to handle your own events before the handler is called, then you need to override the
-        SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` and manually call the handler when finished.
-
-        `nil` by default.
-    */
-    public var backgroundCompletionHandler: (() -> Void)?
-
-    // MARK: - Lifecycle
-
-    /**
-        Initializes the `Manager` instance with the specified configuration, delegate and server trust policy.
-
-        - parameter configuration:            The configuration used to construct the managed session.
-                                              `NSURLSessionConfiguration.defaultSessionConfiguration()` by default.
-        - parameter delegate:                 The delegate used when initializing the session. `SessionDelegate()` by
-                                              default.
-        - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
-                                              challenges. `nil` by default.
-
-        - returns: The new `Manager` instance.
-    */
-    public init(
-        configuration: NSURLSessionConfiguration = NSURLSessionConfiguration.defaultSessionConfiguration(),
-        delegate: SessionDelegate = SessionDelegate(),
-        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
-    {
-        self.delegate = delegate
-        self.session = NSURLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
-
-        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
-    }
-
-    /**
-        Initializes the `Manager` instance with the specified session, delegate and server trust policy.
-
-        - parameter session:                  The URL session.
-        - parameter delegate:                 The delegate of the URL session. Must equal the URL session's delegate.
-        - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
-                                              challenges. `nil` by default.
-
-        - returns: The new `Manager` instance if the URL session's delegate matches the delegate parameter.
-    */
-    public init?(
-        session: NSURLSession,
-        delegate: SessionDelegate,
-        serverTrustPolicyManager: ServerTrustPolicyManager? = nil) {
-        guard delegate === session.delegate else { return nil }
-
-        self.delegate = delegate
-        self.session = session
-
-        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
-    }
-
-    private func commonInit(serverTrustPolicyManager serverTrustPolicyManager: ServerTrustPolicyManager?) {
-        session.serverTrustPolicyManager = serverTrustPolicyManager
-
-        delegate.sessionDidFinishEventsForBackgroundURLSession = { [weak self] session in
-            guard let strongSelf = self else { return }
-            dispatch_async(dispatch_get_main_queue()) { strongSelf.backgroundCompletionHandler?() }
-        }
-    }
-
-    deinit {
-        session.invalidateAndCancel()
-    }
-
-    // MARK: - Request
-
-    /**
-        Creates a request for the specified method, URL string, parameters, parameter encoding and headers.
-
-        - parameter method:     The HTTP method.
-        - parameter URLString:  The URL string.
-        - parameter parameters: The parameters. `nil` by default.
-        - parameter encoding:   The parameter encoding. `.URL` by default.
-        - parameter headers:    The HTTP headers. `nil` by default.
-
-        - returns: The created request.
-    */
-    public func request(
-        method: Method,
-        _ URLString: URLStringConvertible,
-        parameters: [String: AnyObject]? = nil,
-        encoding: ParameterEncoding = .URL,
-        headers: [String: String]? = nil)
-        -> Request {
-        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
-        let encodedURLRequest = encoding.encode(mutableURLRequest, parameters: parameters).0
-        return request(encodedURLRequest)
-    }
-
-    /**
-        Creates a request for the specified URL request.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter URLRequest: The URL request
-
-        - returns: The created request.
-    */
-    public func request(URLRequest: URLRequestConvertible) -> Request {
-        var dataTask: NSURLSessionDataTask!
-        dispatch_sync(queue) { dataTask = self.session.dataTaskWithRequest(URLRequest.URLRequest) }
-
-        let request = Request(session: session, task: dataTask)
-        delegate[request.delegate.task] = request.delegate
-
-        if startRequestsImmediately {
-            request.resume()
-        }
-
-        return request
-    }
-
-    // MARK: - SessionDelegate
-
-    /**
-        Responsible for handling all delegate callbacks for the underlying session.
-    */
-    public class SessionDelegate: NSObject, NSURLSessionDelegate, NSURLSessionTaskDelegate, NSURLSessionDataDelegate, NSURLSessionDownloadDelegate {
-        private var subdelegates: [Int: Request.TaskDelegate] = [:]
-        private let subdelegateQueue = dispatch_queue_create(nil, DISPATCH_QUEUE_CONCURRENT)
-
-        /// Access the task delegate for the specified task in a thread-safe manner.
-        public subscript(task: NSURLSessionTask) -> Request.TaskDelegate? {
-            get {
-                var subdelegate: Request.TaskDelegate?
-                dispatch_sync(subdelegateQueue) { subdelegate = self.subdelegates[task.taskIdentifier] }
-
-                return subdelegate
-            }
-            set {
-                dispatch_barrier_async(subdelegateQueue) { self.subdelegates[task.taskIdentifier] = newValue }
-            }
-        }
-
-        /**
-            Initializes the `SessionDelegate` instance.
-
-            - returns: The new `SessionDelegate` instance.
-        */
-        public override init() {
-            super.init()
-        }
-
-        // MARK: - NSURLSessionDelegate
-
-        // MARK: Override Closures
-
-        /// Overrides default behavior for NSURLSessionDelegate method `URLSession:didBecomeInvalidWithError:`.
-        public var sessionDidBecomeInvalidWithError: ((NSURLSession, NSError?) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionDelegate method `URLSession:didReceiveChallenge:completionHandler:`.
-        public var sessionDidReceiveChallenge: ((NSURLSession, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))?
-
-        /// Overrides all behavior for NSURLSessionDelegate method `URLSession:didReceiveChallenge:completionHandler:` and requires the caller to call the `completionHandler`.
-        public var sessionDidReceiveChallengeWithCompletion: ((NSURLSession, NSURLAuthenticationChallenge, (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionDelegate method `URLSessionDidFinishEventsForBackgroundURLSession:`.
-        public var sessionDidFinishEventsForBackgroundURLSession: ((NSURLSession) -> Void)?
-
-        // MARK: Delegate Methods
-
-        /**
-            Tells the delegate that the session has been invalidated.
-
-            - parameter session: The session object that was invalidated.
-            - parameter error:   The error that caused invalidation, or nil if the invalidation was explicit.
-        */
-        public func URLSession(session: NSURLSession, didBecomeInvalidWithError error: NSError?) {
-            sessionDidBecomeInvalidWithError?(session, error)
-        }
-
-        /**
-            Requests credentials from the delegate in response to a session-level authentication request from the remote server.
-
-            - parameter session:           The session containing the task that requested authentication.
-            - parameter challenge:         An object that contains the request for authentication.
-            - parameter completionHandler: A handler that your delegate method must call providing the disposition and credential.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            didReceiveChallenge challenge: NSURLAuthenticationChallenge,
-            completionHandler: ((NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)) {
-            guard sessionDidReceiveChallengeWithCompletion == nil else {
-                sessionDidReceiveChallengeWithCompletion?(session, challenge, completionHandler)
-                return
-            }
-
-            var disposition: NSURLSessionAuthChallengeDisposition = .PerformDefaultHandling
-            var credential: NSURLCredential?
-
-            if let sessionDidReceiveChallenge = sessionDidReceiveChallenge {
-                (disposition, credential) = sessionDidReceiveChallenge(session, challenge)
-            } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
-                let host = challenge.protectionSpace.host
-
-                if let
-                    serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicyForHost(host),
-                    serverTrust = challenge.protectionSpace.serverTrust {
-                    if serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host) {
-                        disposition = .UseCredential
-                        credential = NSURLCredential(forTrust: serverTrust)
-                    } else {
-                        disposition = .CancelAuthenticationChallenge
-                    }
-                }
-            }
-
-            completionHandler(disposition, credential)
-        }
-
-        /**
-            Tells the delegate that all messages enqueued for a session have been delivered.
-
-            - parameter session: The session that no longer has any outstanding requests.
-        */
-        public func URLSessionDidFinishEventsForBackgroundURLSession(session: NSURLSession) {
-            sessionDidFinishEventsForBackgroundURLSession?(session)
-        }
-
-        // MARK: - NSURLSessionTaskDelegate
-
-        // MARK: Override Closures
-
-        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:`.
-        public var taskWillPerformHTTPRedirection: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest) -> NSURLRequest?)?
-
-        /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:` and
-        /// requires the caller to call the `completionHandler`.
-        public var taskWillPerformHTTPRedirectionWithCompletion: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest, NSURLRequest? -> Void) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didReceiveChallenge:completionHandler:`.
-        public var taskDidReceiveChallenge: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))?
-
-        /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:task:didReceiveChallenge:completionHandler:` and
-        /// requires the caller to call the `completionHandler`.
-        public var taskDidReceiveChallengeWithCompletion: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge, (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:session:task:needNewBodyStream:`.
-        public var taskNeedNewBodyStream: ((NSURLSession, NSURLSessionTask) -> NSInputStream?)?
-
-        /// Overrides all behavior for NSURLSessionTaskDelegate method `URLSession:session:task:needNewBodyStream:` and
-        /// requires the caller to call the `completionHandler`.
-        public var taskNeedNewBodyStreamWithCompletion: ((NSURLSession, NSURLSessionTask, NSInputStream? -> Void) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:`.
-        public var taskDidSendBodyData: ((NSURLSession, NSURLSessionTask, Int64, Int64, Int64) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionTaskDelegate method `URLSession:task:didCompleteWithError:`.
-        public var taskDidComplete: ((NSURLSession, NSURLSessionTask, NSError?) -> Void)?
-
-        // MARK: Delegate Methods
-
-        /**
-            Tells the delegate that the remote server requested an HTTP redirect.
-
-            - parameter session:           The session containing the task whose request resulted in a redirect.
-            - parameter task:              The task whose request resulted in a redirect.
-            - parameter response:          An object containing the server’s response to the original request.
-            - parameter request:           A URL request object filled out with the new location.
-            - parameter completionHandler: A closure that your handler should call with either the value of the request
-                                           parameter, a modified URL request object, or NULL to refuse the redirect and
-                                           return the body of the redirect response.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            task: NSURLSessionTask,
-            willPerformHTTPRedirection response: NSHTTPURLResponse,
-            newRequest request: NSURLRequest,
-            completionHandler: NSURLRequest? -> Void) {
-            guard taskWillPerformHTTPRedirectionWithCompletion == nil else {
-                taskWillPerformHTTPRedirectionWithCompletion?(session, task, response, request, completionHandler)
-                return
-            }
-
-            var redirectRequest: NSURLRequest? = request
-
-            if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
-                redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
-            }
-
-            completionHandler(redirectRequest)
-        }
-
-        /**
-            Requests credentials from the delegate in response to an authentication request from the remote server.
-
-            - parameter session:           The session containing the task whose request requires authentication.
-            - parameter task:              The task whose request requires authentication.
-            - parameter challenge:         An object that contains the request for authentication.
-            - parameter completionHandler: A handler that your delegate method must call providing the disposition and credential.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            task: NSURLSessionTask,
-            didReceiveChallenge challenge: NSURLAuthenticationChallenge,
-            completionHandler: (NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void) {
-            guard taskDidReceiveChallengeWithCompletion == nil else {
-                taskDidReceiveChallengeWithCompletion?(session, task, challenge, completionHandler)
-                return
-            }
-
-            if let taskDidReceiveChallenge = taskDidReceiveChallenge {
-                let result = taskDidReceiveChallenge(session, task, challenge)
-                completionHandler(result.0, result.1)
-            } else if let delegate = self[task] {
-                delegate.URLSession(
-                    session,
-                    task: task,
-                    didReceiveChallenge: challenge,
-                    completionHandler: completionHandler
-                )
-            } else {
-                URLSession(session, didReceiveChallenge: challenge, completionHandler: completionHandler)
-            }
-        }
-
-        /**
-            Tells the delegate when a task requires a new request body stream to send to the remote server.
-
-            - parameter session:           The session containing the task that needs a new body stream.
-            - parameter task:              The task that needs a new body stream.
-            - parameter completionHandler: A completion handler that your delegate method should call with the new body stream.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            task: NSURLSessionTask,
-            needNewBodyStream completionHandler: NSInputStream? -> Void) {
-            guard taskNeedNewBodyStreamWithCompletion == nil else {
-                taskNeedNewBodyStreamWithCompletion?(session, task, completionHandler)
-                return
-            }
-
-            if let taskNeedNewBodyStream = taskNeedNewBodyStream {
-                completionHandler(taskNeedNewBodyStream(session, task))
-            } else if let delegate = self[task] {
-                delegate.URLSession(session, task: task, needNewBodyStream: completionHandler)
-            }
-        }
-
-        /**
-            Periodically informs the delegate of the progress of sending body content to the server.
-
-            - parameter session:                  The session containing the data task.
-            - parameter task:                     The data task.
-            - parameter bytesSent:                The number of bytes sent since the last time this delegate method was called.
-            - parameter totalBytesSent:           The total number of bytes sent so far.
-            - parameter totalBytesExpectedToSend: The expected length of the body data.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            task: NSURLSessionTask,
-            didSendBodyData bytesSent: Int64,
-            totalBytesSent: Int64,
-            totalBytesExpectedToSend: Int64) {
-            if let taskDidSendBodyData = taskDidSendBodyData {
-                taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
-            } else if let delegate = self[task] as? Request.UploadTaskDelegate {
-                delegate.URLSession(
-                    session,
-                    task: task,
-                    didSendBodyData: bytesSent,
-                    totalBytesSent: totalBytesSent,
-                    totalBytesExpectedToSend: totalBytesExpectedToSend
-                )
-            }
-        }
-
-        /**
-            Tells the delegate that the task finished transferring data.
-
-            - parameter session: The session containing the task whose request finished transferring data.
-            - parameter task:    The task whose request finished transferring data.
-            - parameter error:   If an error occurred, an error object indicating how the transfer failed, otherwise nil.
-        */
-        public func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError?) {
-            if let taskDidComplete = taskDidComplete {
-                taskDidComplete(session, task, error)
-            } else if let delegate = self[task] {
-                delegate.URLSession(session, task: task, didCompleteWithError: error)
-            }
-
-            NSNotificationCenter.defaultCenter().postNotificationName(Notifications.Task.DidComplete, object: task)
-
-            self[task] = nil
-        }
-
-        // MARK: - NSURLSessionDataDelegate
-
-        // MARK: Override Closures
-
-        /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveResponse:completionHandler:`.
-        public var dataTaskDidReceiveResponse: ((NSURLSession, NSURLSessionDataTask, NSURLResponse) -> NSURLSessionResponseDisposition)?
-
-        /// Overrides all behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveResponse:completionHandler:` and
-        /// requires caller to call the `completionHandler`.
-        public var dataTaskDidReceiveResponseWithCompletion: ((NSURLSession, NSURLSessionDataTask, NSURLResponse, NSURLSessionResponseDisposition -> Void) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didBecomeDownloadTask:`.
-        public var dataTaskDidBecomeDownloadTask: ((NSURLSession, NSURLSessionDataTask, NSURLSessionDownloadTask) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:didReceiveData:`.
-        public var dataTaskDidReceiveData: ((NSURLSession, NSURLSessionDataTask, NSData) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:`.
-        public var dataTaskWillCacheResponse: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse) -> NSCachedURLResponse?)?
-
-        /// Overrides all behavior for NSURLSessionDataDelegate method `URLSession:dataTask:willCacheResponse:completionHandler:` and
-        /// requires caller to call the `completionHandler`.
-        public var dataTaskWillCacheResponseWithCompletion: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse, NSCachedURLResponse? -> Void) -> Void)?
-
-        // MARK: Delegate Methods
-
-        /**
-            Tells the delegate that the data task received the initial reply (headers) from the server.
-
-            - parameter session:           The session containing the data task that received an initial reply.
-            - parameter dataTask:          The data task that received an initial reply.
-            - parameter response:          A URL response object populated with headers.
-            - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a
-                                           constant to indicate whether the transfer should continue as a data task or
-                                           should become a download task.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            dataTask: NSURLSessionDataTask,
-            didReceiveResponse response: NSURLResponse,
-            completionHandler: NSURLSessionResponseDisposition -> Void) {
-            guard dataTaskDidReceiveResponseWithCompletion == nil else {
-                dataTaskDidReceiveResponseWithCompletion?(session, dataTask, response, completionHandler)
-                return
-            }
-
-            var disposition: NSURLSessionResponseDisposition = .Allow
-
-            if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
-                disposition = dataTaskDidReceiveResponse(session, dataTask, response)
-            }
-
-            completionHandler(disposition)
-        }
-
-        /**
-            Tells the delegate that the data task was changed to a download task.
-
-            - parameter session:      The session containing the task that was replaced by a download task.
-            - parameter dataTask:     The data task that was replaced by a download task.
-            - parameter downloadTask: The new download task that replaced the data task.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            dataTask: NSURLSessionDataTask,
-            didBecomeDownloadTask downloadTask: NSURLSessionDownloadTask) {
-            if let dataTaskDidBecomeDownloadTask = dataTaskDidBecomeDownloadTask {
-                dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask)
-            } else {
-                let downloadDelegate = Request.DownloadTaskDelegate(task: downloadTask)
-                self[downloadTask] = downloadDelegate
-            }
-        }
-
-        /**
-            Tells the delegate that the data task has received some of the expected data.
-
-            - parameter session:  The session containing the data task that provided data.
-            - parameter dataTask: The data task that provided data.
-            - parameter data:     A data object containing the transferred data.
-        */
-        public func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveData data: NSData) {
-            if let dataTaskDidReceiveData = dataTaskDidReceiveData {
-                dataTaskDidReceiveData(session, dataTask, data)
-            } else if let delegate = self[dataTask] as? Request.DataTaskDelegate {
-                delegate.URLSession(session, dataTask: dataTask, didReceiveData: data)
-            }
-        }
-
-        /**
-            Asks the delegate whether the data (or upload) task should store the response in the cache.
-
-            - parameter session:           The session containing the data (or upload) task.
-            - parameter dataTask:          The data (or upload) task.
-            - parameter proposedResponse:  The default caching behavior. This behavior is determined based on the current
-                                           caching policy and the values of certain received headers, such as the Pragma
-                                           and Cache-Control headers.
-            - parameter completionHandler: A block that your handler must call, providing either the original proposed
-                                           response, a modified version of that response, or NULL to prevent caching the
-                                           response. If your delegate implements this method, it must call this completion
-                                           handler; otherwise, your app leaks memory.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            dataTask: NSURLSessionDataTask,
-            willCacheResponse proposedResponse: NSCachedURLResponse,
-            completionHandler: NSCachedURLResponse? -> Void) {
-            guard dataTaskWillCacheResponseWithCompletion == nil else {
-                dataTaskWillCacheResponseWithCompletion?(session, dataTask, proposedResponse, completionHandler)
-                return
-            }
-
-            if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
-                completionHandler(dataTaskWillCacheResponse(session, dataTask, proposedResponse))
-            } else if let delegate = self[dataTask] as? Request.DataTaskDelegate {
-                delegate.URLSession(
-                    session,
-                    dataTask: dataTask,
-                    willCacheResponse: proposedResponse,
-                    completionHandler: completionHandler
-                )
-            } else {
-                completionHandler(proposedResponse)
-            }
-        }
-
-        // MARK: - NSURLSessionDownloadDelegate
-
-        // MARK: Override Closures
-
-        /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didFinishDownloadingToURL:`.
-        public var downloadTaskDidFinishDownloadingToURL: ((NSURLSession, NSURLSessionDownloadTask, NSURL) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:`.
-        public var downloadTaskDidWriteData: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
-
-        /// Overrides default behavior for NSURLSessionDownloadDelegate method `URLSession:downloadTask:didResumeAtOffset:expectedTotalBytes:`.
-        public var downloadTaskDidResumeAtOffset: ((NSURLSession, NSURLSessionDownloadTask, Int64, Int64) -> Void)?
-
-        // MARK: Delegate Methods
-
-        /**
-            Tells the delegate that a download task has finished downloading.
-
-            - parameter session:      The session containing the download task that finished.
-            - parameter downloadTask: The download task that finished.
-            - parameter location:     A file URL for the temporary file. Because the file is temporary, you must either
-                                      open the file for reading or move it to a permanent location in your app’s sandbox
-                                      container directory before returning from this delegate method.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            downloadTask: NSURLSessionDownloadTask,
-            didFinishDownloadingToURL location: NSURL) {
-            if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL {
-                downloadTaskDidFinishDownloadingToURL(session, downloadTask, location)
-            } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate {
-                delegate.URLSession(session, downloadTask: downloadTask, didFinishDownloadingToURL: location)
-            }
-        }
-
-        /**
-            Periodically informs the delegate about the download’s progress.
-
-            - parameter session:                   The session containing the download task.
-            - parameter downloadTask:              The download task.
-            - parameter bytesWritten:              The number of bytes transferred since the last time this delegate
-                                                   method was called.
-            - parameter totalBytesWritten:         The total number of bytes transferred so far.
-            - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length
-                                                   header. If this header was not provided, the value is
-                                                   `NSURLSessionTransferSizeUnknown`.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            downloadTask: NSURLSessionDownloadTask,
-            didWriteData bytesWritten: Int64,
-            totalBytesWritten: Int64,
-            totalBytesExpectedToWrite: Int64) {
-            if let downloadTaskDidWriteData = downloadTaskDidWriteData {
-                downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite)
-            } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate {
-                delegate.URLSession(
-                    session,
-                    downloadTask: downloadTask,
-                    didWriteData: bytesWritten,
-                    totalBytesWritten: totalBytesWritten,
-                    totalBytesExpectedToWrite: totalBytesExpectedToWrite
-                )
-            }
-        }
-
-        /**
-            Tells the delegate that the download task has resumed downloading.
-
-            - parameter session:            The session containing the download task that finished.
-            - parameter downloadTask:       The download task that resumed. See explanation in the discussion.
-            - parameter fileOffset:         If the file's cache policy or last modified date prevents reuse of the
-                                            existing content, then this value is zero. Otherwise, this value is an
-                                            integer representing the number of bytes on disk that do not need to be
-                                            retrieved again.
-            - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header.
-                                            If this header was not provided, the value is NSURLSessionTransferSizeUnknown.
-        */
-        public func URLSession(
-            session: NSURLSession,
-            downloadTask: NSURLSessionDownloadTask,
-            didResumeAtOffset fileOffset: Int64,
-            expectedTotalBytes: Int64) {
-            if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
-                downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
-            } else if let delegate = self[downloadTask] as? Request.DownloadTaskDelegate {
-                delegate.URLSession(
-                    session,
-                    downloadTask: downloadTask,
-                    didResumeAtOffset: fileOffset,
-                    expectedTotalBytes: expectedTotalBytes
-                )
-            }
-        }
-
-        // MARK: - NSURLSessionStreamDelegate
-
-        var _streamTaskReadClosed: Any?
-        var _streamTaskWriteClosed: Any?
-        var _streamTaskBetterRouteDiscovered: Any?
-        var _streamTaskDidBecomeInputStream: Any?
-
-        // MARK: - NSObject
-
-        public override func respondsToSelector(selector: Selector) -> Bool {
-            #if !os(OSX)
-                if selector == #selector(NSURLSessionDelegate.URLSessionDidFinishEventsForBackgroundURLSession(_:)) {
-                    return sessionDidFinishEventsForBackgroundURLSession != nil
-                }
-            #endif
-
-            switch selector {
-            case #selector(NSURLSessionDelegate.URLSession(_:didBecomeInvalidWithError:)):
-                return sessionDidBecomeInvalidWithError != nil
-            case #selector(NSURLSessionDelegate.URLSession(_:didReceiveChallenge:completionHandler:)):
-                return (sessionDidReceiveChallenge != nil  || sessionDidReceiveChallengeWithCompletion != nil)
-            case #selector(NSURLSessionTaskDelegate.URLSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)):
-                return (taskWillPerformHTTPRedirection != nil || taskWillPerformHTTPRedirectionWithCompletion != nil)
-            case #selector(NSURLSessionDataDelegate.URLSession(_:dataTask:didReceiveResponse:completionHandler:)):
-                return (dataTaskDidReceiveResponse != nil || dataTaskDidReceiveResponseWithCompletion != nil)
-            default:
-                return self.dynamicType.instancesRespondToSelector(selector)
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
deleted file mode 100644
index 569987af6df..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
+++ /dev/null
@@ -1,652 +0,0 @@
-//
-//  MultipartFormData.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-#if os(iOS) || os(watchOS) || os(tvOS)
-import MobileCoreServices
-#elseif os(OSX)
-import CoreServices
-#endif
-
-/**
-    Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode
-    multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead
-    to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the
-    data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for
-    larger datasets such as video content, otherwise your app may run out of memory when trying to encode the dataset.
-
-    For more information on `multipart/form-data` in general, please refer to the RFC-2388 and RFC-2045 specs as well
-    and the w3 form documentation.
-
-    - https://www.ietf.org/rfc/rfc2388.txt
-    - https://www.ietf.org/rfc/rfc2045.txt
-    - https://www.w3.org/TR/html401/interact/forms.html#h-17.13
-*/
-public class MultipartFormData {
-
-    // MARK: - Helper Types
-
-    struct EncodingCharacters {
-        static let CRLF = "\r\n"
-    }
-
-    struct BoundaryGenerator {
-        enum BoundaryType {
-            case Initial, Encapsulated, Final
-        }
-
-        static func randomBoundary() -> String {
-            return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
-        }
-
-        static func boundaryData(boundaryType boundaryType: BoundaryType, boundary: String) -> NSData {
-            let boundaryText: String
-
-            switch boundaryType {
-            case .Initial:
-                boundaryText = "--\(boundary)\(EncodingCharacters.CRLF)"
-            case .Encapsulated:
-                boundaryText = "\(EncodingCharacters.CRLF)--\(boundary)\(EncodingCharacters.CRLF)"
-            case .Final:
-                boundaryText = "\(EncodingCharacters.CRLF)--\(boundary)--\(EncodingCharacters.CRLF)"
-            }
-
-            return boundaryText.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
-        }
-    }
-
-    class BodyPart {
-        let headers: [String: String]
-        let bodyStream: NSInputStream
-        let bodyContentLength: UInt64
-        var hasInitialBoundary = false
-        var hasFinalBoundary = false
-
-        init(headers: [String: String], bodyStream: NSInputStream, bodyContentLength: UInt64) {
-            self.headers = headers
-            self.bodyStream = bodyStream
-            self.bodyContentLength = bodyContentLength
-        }
-    }
-
-    // MARK: - Properties
-
-    /// The `Content-Type` header value containing the boundary used to generate the `multipart/form-data`.
-    public var contentType: String { return "multipart/form-data; boundary=\(boundary)" }
-
-    /// The content length of all body parts used to generate the `multipart/form-data` not including the boundaries.
-    public var contentLength: UInt64 { return bodyParts.reduce(0) { $0 + $1.bodyContentLength } }
-
-    /// The boundary used to separate the body parts in the encoded form data.
-    public let boundary: String
-
-    private var bodyParts: [BodyPart]
-    private var bodyPartError: NSError?
-    private let streamBufferSize: Int
-
-    // MARK: - Lifecycle
-
-    /**
-        Creates a multipart form data object.
-
-        - returns: The multipart form data object.
-    */
-    public init() {
-        self.boundary = BoundaryGenerator.randomBoundary()
-        self.bodyParts = []
-
-        /**
-         *  The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more
-         *  information, please refer to the following article:
-         *    - https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/ReadingInputStreams.html
-         */
-
-        self.streamBufferSize = 1024
-    }
-
-    // MARK: - Body Parts
-
-    /**
-        Creates a body part from the data and appends it to the multipart form data object.
-
-        The body part data will be encoded using the following format:
-
-        - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
-        - Encoded data
-        - Multipart form boundary
-
-        - parameter data: The data to encode into the multipart form data.
-        - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header.
-    */
-    public func appendBodyPart(data data: NSData, name: String) {
-        let headers = contentHeaders(name: name)
-        let stream = NSInputStream(data: data)
-        let length = UInt64(data.length)
-
-        appendBodyPart(stream: stream, length: length, headers: headers)
-    }
-
-    /**
-        Creates a body part from the data and appends it to the multipart form data object.
-
-        The body part data will be encoded using the following format:
-
-        - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
-        - `Content-Type: #{generated mimeType}` (HTTP Header)
-        - Encoded data
-        - Multipart form boundary
-
-        - parameter data:     The data to encode into the multipart form data.
-        - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
-        - parameter mimeType: The MIME type to associate with the data content type in the `Content-Type` HTTP header.
-    */
-    public func appendBodyPart(data data: NSData, name: String, mimeType: String) {
-        let headers = contentHeaders(name: name, mimeType: mimeType)
-        let stream = NSInputStream(data: data)
-        let length = UInt64(data.length)
-
-        appendBodyPart(stream: stream, length: length, headers: headers)
-    }
-
-    /**
-        Creates a body part from the data and appends it to the multipart form data object.
-
-        The body part data will be encoded using the following format:
-
-        - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
-        - `Content-Type: #{mimeType}` (HTTP Header)
-        - Encoded file data
-        - Multipart form boundary
-
-        - parameter data:     The data to encode into the multipart form data.
-        - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
-        - parameter fileName: The filename to associate with the data in the `Content-Disposition` HTTP header.
-        - parameter mimeType: The MIME type to associate with the data in the `Content-Type` HTTP header.
-    */
-    public func appendBodyPart(data data: NSData, name: String, fileName: String, mimeType: String) {
-        let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType)
-        let stream = NSInputStream(data: data)
-        let length = UInt64(data.length)
-
-        appendBodyPart(stream: stream, length: length, headers: headers)
-    }
-
-    /**
-        Creates a body part from the file and appends it to the multipart form data object.
-
-        The body part data will be encoded using the following format:
-
-        - `Content-Disposition: form-data; name=#{name}; filename=#{generated filename}` (HTTP Header)
-        - `Content-Type: #{generated mimeType}` (HTTP Header)
-        - Encoded file data
-        - Multipart form boundary
-
-        The filename in the `Content-Disposition` HTTP header is generated from the last path component of the
-        `fileURL`. The `Content-Type` HTTP header MIME type is generated by mapping the `fileURL` extension to the
-        system associated MIME type.
-
-        - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data.
-        - parameter name:    The name to associate with the file content in the `Content-Disposition` HTTP header.
-    */
-    public func appendBodyPart(fileURL fileURL: NSURL, name: String) {
-        if let
-            fileName = fileURL.lastPathComponent,
-            pathExtension = fileURL.pathExtension {
-            let mimeType = mimeTypeForPathExtension(pathExtension)
-            appendBodyPart(fileURL: fileURL, name: name, fileName: fileName, mimeType: mimeType)
-        } else {
-            let failureReason = "Failed to extract the fileName of the provided URL: \(fileURL)"
-            setBodyPartError(code: NSURLErrorBadURL, failureReason: failureReason)
-        }
-    }
-
-    /**
-        Creates a body part from the file and appends it to the multipart form data object.
-
-        The body part data will be encoded using the following format:
-
-        - Content-Disposition: form-data; name=#{name}; filename=#{filename} (HTTP Header)
-        - Content-Type: #{mimeType} (HTTP Header)
-        - Encoded file data
-        - Multipart form boundary
-
-        - parameter fileURL:  The URL of the file whose content will be encoded into the multipart form data.
-        - parameter name:     The name to associate with the file content in the `Content-Disposition` HTTP header.
-        - parameter fileName: The filename to associate with the file content in the `Content-Disposition` HTTP header.
-        - parameter mimeType: The MIME type to associate with the file content in the `Content-Type` HTTP header.
-    */
-    public func appendBodyPart(fileURL fileURL: NSURL, name: String, fileName: String, mimeType: String) {
-        let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType)
-
-        //============================================================
-        //                 Check 1 - is file URL?
-        //============================================================
-
-        guard fileURL.fileURL else {
-            let failureReason = "The file URL does not point to a file URL: \(fileURL)"
-            setBodyPartError(code: NSURLErrorBadURL, failureReason: failureReason)
-            return
-        }
-
-        //============================================================
-        //              Check 2 - is file URL reachable?
-        //============================================================
-
-        var isReachable = true
-
-        if #available(OSX 10.10, *) {
-            isReachable = fileURL.checkPromisedItemIsReachableAndReturnError(nil)
-        }
-
-        guard isReachable else {
-            setBodyPartError(code: NSURLErrorBadURL, failureReason: "The file URL is not reachable: \(fileURL)")
-            return
-        }
-
-        //============================================================
-        //            Check 3 - is file URL a directory?
-        //============================================================
-
-        var isDirectory: ObjCBool = false
-
-        guard let
-            path = fileURL.path
-            where NSFileManager.defaultManager().fileExistsAtPath(path, isDirectory: &isDirectory) && !isDirectory else {
-            let failureReason = "The file URL is a directory, not a file: \(fileURL)"
-            setBodyPartError(code: NSURLErrorBadURL, failureReason: failureReason)
-            return
-        }
-
-        //============================================================
-        //          Check 4 - can the file size be extracted?
-        //============================================================
-
-        var bodyContentLength: UInt64?
-
-        do {
-            if let
-                path = fileURL.path,
-                fileSize = try NSFileManager.defaultManager().attributesOfItemAtPath(path)[NSFileSize] as? NSNumber {
-                bodyContentLength = fileSize.unsignedLongLongValue
-            }
-        } catch {
-            // No-op
-        }
-
-        guard let length = bodyContentLength else {
-            let failureReason = "Could not fetch attributes from the file URL: \(fileURL)"
-            setBodyPartError(code: NSURLErrorBadURL, failureReason: failureReason)
-            return
-        }
-
-        //============================================================
-        //       Check 5 - can a stream be created from file URL?
-        //============================================================
-
-        guard let stream = NSInputStream(URL: fileURL) else {
-            let failureReason = "Failed to create an input stream from the file URL: \(fileURL)"
-            setBodyPartError(code: NSURLErrorCannotOpenFile, failureReason: failureReason)
-            return
-        }
-
-        appendBodyPart(stream: stream, length: length, headers: headers)
-    }
-
-    /**
-        Creates a body part from the stream and appends it to the multipart form data object.
-
-        The body part data will be encoded using the following format:
-
-        - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
-        - `Content-Type: #{mimeType}` (HTTP Header)
-        - Encoded stream data
-        - Multipart form boundary
-
-        - parameter stream:   The input stream to encode in the multipart form data.
-        - parameter length:   The content length of the stream.
-        - parameter name:     The name to associate with the stream content in the `Content-Disposition` HTTP header.
-        - parameter fileName: The filename to associate with the stream content in the `Content-Disposition` HTTP header.
-        - parameter mimeType: The MIME type to associate with the stream content in the `Content-Type` HTTP header.
-    */
-    public func appendBodyPart(
-        stream stream: NSInputStream,
-        length: UInt64,
-        name: String,
-        fileName: String,
-        mimeType: String) {
-        let headers = contentHeaders(name: name, fileName: fileName, mimeType: mimeType)
-        appendBodyPart(stream: stream, length: length, headers: headers)
-    }
-
-    /**
-        Creates a body part with the headers, stream and length and appends it to the multipart form data object.
-
-        The body part data will be encoded using the following format:
-
-        - HTTP headers
-        - Encoded stream data
-        - Multipart form boundary
-
-        - parameter stream:  The input stream to encode in the multipart form data.
-        - parameter length:  The content length of the stream.
-        - parameter headers: The HTTP headers for the body part.
-    */
-    public func appendBodyPart(stream stream: NSInputStream, length: UInt64, headers: [String: String]) {
-        let bodyPart = BodyPart(headers: headers, bodyStream: stream, bodyContentLength: length)
-        bodyParts.append(bodyPart)
-    }
-
-    // MARK: - Data Encoding
-
-    /**
-        Encodes all the appended body parts into a single `NSData` object.
-
-        It is important to note that this method will load all the appended body parts into memory all at the same
-        time. This method should only be used when the encoded data will have a small memory footprint. For large data
-        cases, please use the `writeEncodedDataToDisk(fileURL:completionHandler:)` method.
-
-        - throws: An `NSError` if encoding encounters an error.
-
-        - returns: The encoded `NSData` if encoding is successful.
-    */
-    public func encode() throws -> NSData {
-        if let bodyPartError = bodyPartError {
-            throw bodyPartError
-        }
-
-        let encoded = NSMutableData()
-
-        bodyParts.first?.hasInitialBoundary = true
-        bodyParts.last?.hasFinalBoundary = true
-
-        for bodyPart in bodyParts {
-            let encodedData = try encodeBodyPart(bodyPart)
-            encoded.appendData(encodedData)
-        }
-
-        return encoded
-    }
-
-    /**
-        Writes the appended body parts into the given file URL.
-
-        This process is facilitated by reading and writing with input and output streams, respectively. Thus,
-        this approach is very memory efficient and should be used for large body part data.
-
-        - parameter fileURL: The file URL to write the multipart form data into.
-
-        - throws: An `NSError` if encoding encounters an error.
-    */
-    public func writeEncodedDataToDisk(fileURL: NSURL) throws {
-        if let bodyPartError = bodyPartError {
-            throw bodyPartError
-        }
-
-        if let path = fileURL.path where NSFileManager.defaultManager().fileExistsAtPath(path) {
-            let failureReason = "A file already exists at the given file URL: \(fileURL)"
-            throw Error.error(domain: NSURLErrorDomain, code: NSURLErrorBadURL, failureReason: failureReason)
-        } else if !fileURL.fileURL {
-            let failureReason = "The URL does not point to a valid file: \(fileURL)"
-            throw Error.error(domain: NSURLErrorDomain, code: NSURLErrorBadURL, failureReason: failureReason)
-        }
-
-        let outputStream: NSOutputStream
-
-        if let possibleOutputStream = NSOutputStream(URL: fileURL, append: false) {
-            outputStream = possibleOutputStream
-        } else {
-            let failureReason = "Failed to create an output stream with the given URL: \(fileURL)"
-            throw Error.error(domain: NSURLErrorDomain, code: NSURLErrorCannotOpenFile, failureReason: failureReason)
-        }
-
-        outputStream.open()
-
-        self.bodyParts.first?.hasInitialBoundary = true
-        self.bodyParts.last?.hasFinalBoundary = true
-
-        for bodyPart in self.bodyParts {
-            try writeBodyPart(bodyPart, toOutputStream: outputStream)
-        }
-
-        outputStream.close()
-    }
-
-    // MARK: - Private - Body Part Encoding
-
-    private func encodeBodyPart(bodyPart: BodyPart) throws -> NSData {
-        let encoded = NSMutableData()
-
-        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
-        encoded.appendData(initialData)
-
-        let headerData = encodeHeaderDataForBodyPart(bodyPart)
-        encoded.appendData(headerData)
-
-        let bodyStreamData = try encodeBodyStreamDataForBodyPart(bodyPart)
-        encoded.appendData(bodyStreamData)
-
-        if bodyPart.hasFinalBoundary {
-            encoded.appendData(finalBoundaryData())
-        }
-
-        return encoded
-    }
-
-    private func encodeHeaderDataForBodyPart(bodyPart: BodyPart) -> NSData {
-        var headerText = ""
-
-        for (key, value) in bodyPart.headers {
-            headerText += "\(key): \(value)\(EncodingCharacters.CRLF)"
-        }
-        headerText += EncodingCharacters.CRLF
-
-        return headerText.dataUsingEncoding(NSUTF8StringEncoding, allowLossyConversion: false)!
-    }
-
-    private func encodeBodyStreamDataForBodyPart(bodyPart: BodyPart) throws -> NSData {
-        let inputStream = bodyPart.bodyStream
-        inputStream.open()
-
-        var error: NSError?
-        let encoded = NSMutableData()
-
-        while inputStream.hasBytesAvailable {
-            var buffer = [UInt8](count: streamBufferSize, repeatedValue: 0)
-            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
-
-            if inputStream.streamError != nil {
-                error = inputStream.streamError
-                break
-            }
-
-            if bytesRead > 0 {
-                encoded.appendBytes(buffer, length: bytesRead)
-            } else if bytesRead < 0 {
-                let failureReason = "Failed to read from input stream: \(inputStream)"
-                error = Error.error(domain: NSURLErrorDomain, code: .InputStreamReadFailed, failureReason: failureReason)
-                break
-            } else {
-                break
-            }
-        }
-
-        inputStream.close()
-
-        if let error = error {
-            throw error
-        }
-
-        return encoded
-    }
-
-    // MARK: - Private - Writing Body Part to Output Stream
-
-    private func writeBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws {
-        try writeInitialBoundaryDataForBodyPart(bodyPart, toOutputStream: outputStream)
-        try writeHeaderDataForBodyPart(bodyPart, toOutputStream: outputStream)
-        try writeBodyStreamForBodyPart(bodyPart, toOutputStream: outputStream)
-        try writeFinalBoundaryDataForBodyPart(bodyPart, toOutputStream: outputStream)
-    }
-
-    private func writeInitialBoundaryDataForBodyPart(
-        bodyPart: BodyPart,
-        toOutputStream outputStream: NSOutputStream)
-        throws {
-        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
-        return try writeData(initialData, toOutputStream: outputStream)
-    }
-
-    private func writeHeaderDataForBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws {
-        let headerData = encodeHeaderDataForBodyPart(bodyPart)
-        return try writeData(headerData, toOutputStream: outputStream)
-    }
-
-    private func writeBodyStreamForBodyPart(bodyPart: BodyPart, toOutputStream outputStream: NSOutputStream) throws {
-        let inputStream = bodyPart.bodyStream
-        inputStream.open()
-
-        while inputStream.hasBytesAvailable {
-            var buffer = [UInt8](count: streamBufferSize, repeatedValue: 0)
-            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
-
-            if let streamError = inputStream.streamError {
-                throw streamError
-            }
-
-            if bytesRead > 0 {
-                if buffer.count != bytesRead {
-                    buffer = Array(buffer[0..<bytesRead])
-                }
-
-                try writeBuffer(&buffer, toOutputStream: outputStream)
-            } else if bytesRead < 0 {
-                let failureReason = "Failed to read from input stream: \(inputStream)"
-                throw Error.error(domain: NSURLErrorDomain, code: .InputStreamReadFailed, failureReason: failureReason)
-            } else {
-                break
-            }
-        }
-
-        inputStream.close()
-    }
-
-    private func writeFinalBoundaryDataForBodyPart(
-        bodyPart: BodyPart,
-        toOutputStream outputStream: NSOutputStream)
-        throws {
-        if bodyPart.hasFinalBoundary {
-            return try writeData(finalBoundaryData(), toOutputStream: outputStream)
-        }
-    }
-
-    // MARK: - Private - Writing Buffered Data to Output Stream
-
-    private func writeData(data: NSData, toOutputStream outputStream: NSOutputStream) throws {
-        var buffer = [UInt8](count: data.length, repeatedValue: 0)
-        data.getBytes(&buffer, length: data.length)
-
-        return try writeBuffer(&buffer, toOutputStream: outputStream)
-    }
-
-    private func writeBuffer(inout buffer: [UInt8], toOutputStream outputStream: NSOutputStream) throws {
-        var bytesToWrite = buffer.count
-
-        while bytesToWrite > 0 {
-            if outputStream.hasSpaceAvailable {
-                let bytesWritten = outputStream.write(buffer, maxLength: bytesToWrite)
-
-                if let streamError = outputStream.streamError {
-                    throw streamError
-                }
-
-                if bytesWritten < 0 {
-                    let failureReason = "Failed to write to output stream: \(outputStream)"
-                    throw Error.error(domain: NSURLErrorDomain, code: .OutputStreamWriteFailed, failureReason: failureReason)
-                }
-
-                bytesToWrite -= bytesWritten
-
-                if bytesToWrite > 0 {
-                    buffer = Array(buffer[bytesWritten..<buffer.count])
-                }
-            } else if let streamError = outputStream.streamError {
-                throw streamError
-            }
-        }
-    }
-
-    // MARK: - Private - Mime Type
-
-    private func mimeTypeForPathExtension(pathExtension: String) -> String {
-        if let
-            id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension, nil)?.takeRetainedValue(),
-            contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue() {
-            return contentType as String
-        }
-
-        return "application/octet-stream"
-    }
-
-    // MARK: - Private - Content Headers
-
-    private func contentHeaders(name name: String) -> [String: String] {
-        return ["Content-Disposition": "form-data; name=\"\(name)\""]
-    }
-
-    private func contentHeaders(name name: String, mimeType: String) -> [String: String] {
-        return [
-            "Content-Disposition": "form-data; name=\"\(name)\"",
-            "Content-Type": "\(mimeType)"
-        ]
-    }
-
-    private func contentHeaders(name name: String, fileName: String, mimeType: String) -> [String: String] {
-        return [
-            "Content-Disposition": "form-data; name=\"\(name)\"; filename=\"\(fileName)\"",
-            "Content-Type": "\(mimeType)"
-        ]
-    }
-
-    // MARK: - Private - Boundary Encoding
-
-    private func initialBoundaryData() -> NSData {
-        return BoundaryGenerator.boundaryData(boundaryType: .Initial, boundary: boundary)
-    }
-
-    private func encapsulatedBoundaryData() -> NSData {
-        return BoundaryGenerator.boundaryData(boundaryType: .Encapsulated, boundary: boundary)
-    }
-
-    private func finalBoundaryData() -> NSData {
-        return BoundaryGenerator.boundaryData(boundaryType: .Final, boundary: boundary)
-    }
-
-    // MARK: - Private - Errors
-
-    private func setBodyPartError(code code: Int, failureReason: String) {
-        guard bodyPartError == nil else { return }
-        bodyPartError = Error.error(domain: NSURLErrorDomain, code: code, failureReason: failureReason)
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
deleted file mode 100644
index 3fe9a3ed546..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
+++ /dev/null
@@ -1,242 +0,0 @@
-//
-//  NetworkReachabilityManager.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-#if !os(watchOS)
-
-import Foundation
-import SystemConfiguration
-
-/**
-    The `NetworkReachabilityManager` class listens for reachability changes of hosts and addresses for both WWAN and
-    WiFi network interfaces.
-
-    Reachability can be used to determine background information about why a network operation failed, or to retry
-    network requests when a connection is established. It should not be used to prevent a user from initiating a network
-    request, as it's possible that an initial request may be required to establish reachability.
-*/
-public class NetworkReachabilityManager {
-    /**
-        Defines the various states of network reachability.
-
-        - Unknown:         It is unknown whether the network is reachable.
-        - NotReachable:    The network is not reachable.
-        - ReachableOnWWAN: The network is reachable over the WWAN connection.
-        - ReachableOnWiFi: The network is reachable over the WiFi connection.
-    */
-    public enum NetworkReachabilityStatus {
-        case Unknown
-        case NotReachable
-        case Reachable(ConnectionType)
-    }
-
-    /**
-        Defines the various connection types detected by reachability flags.
-
-        - EthernetOrWiFi: The connection type is either over Ethernet or WiFi.
-        - WWAN:           The connection type is a WWAN connection.
-    */
-    public enum ConnectionType {
-        case EthernetOrWiFi
-        case WWAN
-    }
-
-    /// A closure executed when the network reachability status changes. The closure takes a single argument: the
-    /// network reachability status.
-    public typealias Listener = NetworkReachabilityStatus -> Void
-
-    // MARK: - Properties
-
-    /// Whether the network is currently reachable.
-    public var isReachable: Bool { return isReachableOnWWAN || isReachableOnEthernetOrWiFi }
-
-    /// Whether the network is currently reachable over the WWAN interface.
-    public var isReachableOnWWAN: Bool { return networkReachabilityStatus == .Reachable(.WWAN) }
-
-    /// Whether the network is currently reachable over Ethernet or WiFi interface.
-    public var isReachableOnEthernetOrWiFi: Bool { return networkReachabilityStatus == .Reachable(.EthernetOrWiFi) }
-
-    /// The current network reachability status.
-    public var networkReachabilityStatus: NetworkReachabilityStatus {
-        guard let flags = self.flags else { return .Unknown }
-        return networkReachabilityStatusForFlags(flags)
-    }
-
-    /// The dispatch queue to execute the `listener` closure on.
-    public var listenerQueue: dispatch_queue_t = dispatch_get_main_queue()
-
-    /// A closure executed when the network reachability status changes.
-    public var listener: Listener?
-
-    private var flags: SCNetworkReachabilityFlags? {
-        var flags = SCNetworkReachabilityFlags()
-
-        if SCNetworkReachabilityGetFlags(reachability, &flags) {
-            return flags
-        }
-
-        return nil
-    }
-
-    private let reachability: SCNetworkReachability
-    private var previousFlags: SCNetworkReachabilityFlags
-
-    // MARK: - Initialization
-
-    /**
-        Creates a `NetworkReachabilityManager` instance with the specified host.
-
-        - parameter host: The host used to evaluate network reachability.
-
-        - returns: The new `NetworkReachabilityManager` instance.
-    */
-    public convenience init?(host: String) {
-        guard let reachability = SCNetworkReachabilityCreateWithName(nil, host) else { return nil }
-        self.init(reachability: reachability)
-    }
-
-    /**
-        Creates a `NetworkReachabilityManager` instance that monitors the address 0.0.0.0.
-
-        Reachability treats the 0.0.0.0 address as a special token that causes it to monitor the general routing
-        status of the device, both IPv4 and IPv6.
-
-        - returns: The new `NetworkReachabilityManager` instance.
-    */
-    public convenience init?() {
-        var address = sockaddr_in()
-        address.sin_len = UInt8(sizeofValue(address))
-        address.sin_family = sa_family_t(AF_INET)
-
-        guard let reachability = withUnsafePointer(&address, {
-            SCNetworkReachabilityCreateWithAddress(nil, UnsafePointer($0))
-        }) else { return nil }
-
-        self.init(reachability: reachability)
-    }
-
-    private init(reachability: SCNetworkReachability) {
-        self.reachability = reachability
-        self.previousFlags = SCNetworkReachabilityFlags()
-    }
-
-    deinit {
-        stopListening()
-    }
-
-    // MARK: - Listening
-
-    /**
-        Starts listening for changes in network reachability status.
-
-        - returns: `true` if listening was started successfully, `false` otherwise.
-    */
-    public func startListening() -> Bool {
-        var context = SCNetworkReachabilityContext(version: 0, info: nil, retain: nil, release: nil, copyDescription: nil)
-        context.info = UnsafeMutablePointer(Unmanaged.passUnretained(self).toOpaque())
-
-        let callbackEnabled = SCNetworkReachabilitySetCallback(
-            reachability, { (_, flags, info) in
-                let reachability = Unmanaged<NetworkReachabilityManager>.fromOpaque(COpaquePointer(info)).takeUnretainedValue()
-                reachability.notifyListener(flags)
-            },
-            &context
-        )
-
-        let queueEnabled = SCNetworkReachabilitySetDispatchQueue(reachability, listenerQueue)
-
-        dispatch_async(listenerQueue) {
-            self.previousFlags = SCNetworkReachabilityFlags()
-            self.notifyListener(self.flags ?? SCNetworkReachabilityFlags())
-        }
-
-        return callbackEnabled && queueEnabled
-    }
-
-    /**
-        Stops listening for changes in network reachability status.
-    */
-    public func stopListening() {
-        SCNetworkReachabilitySetCallback(reachability, nil, nil)
-        SCNetworkReachabilitySetDispatchQueue(reachability, nil)
-    }
-
-    // MARK: - Internal - Listener Notification
-
-    func notifyListener(flags: SCNetworkReachabilityFlags) {
-        guard previousFlags != flags else { return }
-        previousFlags = flags
-
-        listener?(networkReachabilityStatusForFlags(flags))
-    }
-
-    // MARK: - Internal - Network Reachability Status
-
-    func networkReachabilityStatusForFlags(flags: SCNetworkReachabilityFlags) -> NetworkReachabilityStatus {
-        guard flags.contains(.Reachable) else { return .NotReachable }
-
-        var networkStatus: NetworkReachabilityStatus = .NotReachable
-
-        if !flags.contains(.ConnectionRequired) { networkStatus = .Reachable(.EthernetOrWiFi) }
-
-        if flags.contains(.ConnectionOnDemand) || flags.contains(.ConnectionOnTraffic) {
-            if !flags.contains(.InterventionRequired) { networkStatus = .Reachable(.EthernetOrWiFi) }
-        }
-
-        #if os(iOS)
-            if flags.contains(.IsWWAN) { networkStatus = .Reachable(.WWAN) }
-        #endif
-
-        return networkStatus
-    }
-}
-
-// MARK: -
-
-extension NetworkReachabilityManager.NetworkReachabilityStatus: Equatable {}
-
-/**
-    Returns whether the two network reachability status values are equal.
-
-    - parameter lhs: The left-hand side value to compare.
-    - parameter rhs: The right-hand side value to compare.
-
-    - returns: `true` if the two values are equal, `false` otherwise.
-*/
-public func ==(
-    lhs: NetworkReachabilityManager.NetworkReachabilityStatus,
-    rhs: NetworkReachabilityManager.NetworkReachabilityStatus)
-    -> Bool {
-    switch (lhs, rhs) {
-    case (.Unknown, .Unknown):
-        return true
-    case (.NotReachable, .NotReachable):
-        return true
-    case let (.Reachable(lhsConnectionType), .Reachable(rhsConnectionType)):
-        return lhsConnectionType == rhsConnectionType
-    default:
-        return false
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
deleted file mode 100644
index a7dbcfeffaa..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-//  Notifications.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Contains all the `NSNotification` names posted by Alamofire with descriptions of each notification's payload.
-public struct Notifications {
-    /// Used as a namespace for all `NSURLSessionTask` related notifications.
-    public struct Task {
-        /// Notification posted when an `NSURLSessionTask` is resumed. The notification `object` contains the resumed
-        /// `NSURLSessionTask`.
-        public static let DidResume = "com.alamofire.notifications.task.didResume"
-
-        /// Notification posted when an `NSURLSessionTask` is suspended. The notification `object` contains the
-        /// suspended `NSURLSessionTask`.
-        public static let DidSuspend = "com.alamofire.notifications.task.didSuspend"
-
-        /// Notification posted when an `NSURLSessionTask` is cancelled. The notification `object` contains the
-        /// cancelled `NSURLSessionTask`.
-        public static let DidCancel = "com.alamofire.notifications.task.didCancel"
-
-        /// Notification posted when an `NSURLSessionTask` is completed. The notification `object` contains the
-        /// completed `NSURLSessionTask`.
-        public static let DidComplete = "com.alamofire.notifications.task.didComplete"
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
deleted file mode 100644
index 0c7601d184d..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
+++ /dev/null
@@ -1,259 +0,0 @@
-//
-//  ParameterEncoding.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/**
-    HTTP method definitions.
-
-    See https://tools.ietf.org/html/rfc7231#section-4.3
-*/
-public enum Method: String {
-    case OPTIONS, GET, HEAD, POST, PUT, PATCH, DELETE, TRACE, CONNECT
-}
-
-// MARK: ParameterEncoding
-
-/**
-    Used to specify the way in which a set of parameters are applied to a URL request.
-
-    - `URL`:             Creates a query string to be set as or appended to any existing URL query for `GET`, `HEAD`,
-                         and `DELETE` requests, or set as the body for requests with any other HTTP method. The
-                         `Content-Type` HTTP header field of an encoded request with HTTP body is set to
-                         `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification
-                         for how to encode collection types, the convention of appending `[]` to the key for array
-                         values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested
-                         dictionary values (`foo[bar]=baz`).
-
-    - `URLEncodedInURL`: Creates query string to be set as or appended to any existing URL query. Uses the same
-                         implementation as the `.URL` case, but always applies the encoded result to the URL.
-
-    - `JSON`:            Uses `NSJSONSerialization` to create a JSON representation of the parameters object, which is
-                         set as the body of the request. The `Content-Type` HTTP header field of an encoded request is
-                         set to `application/json`.
-
-    - `PropertyList`:    Uses `NSPropertyListSerialization` to create a plist representation of the parameters object,
-                         according to the associated format and write options values, which is set as the body of the
-                         request. The `Content-Type` HTTP header field of an encoded request is set to
-                         `application/x-plist`.
-
-    - `Custom`:          Uses the associated closure value to construct a new request given an existing request and
-                         parameters.
-*/
-public enum ParameterEncoding {
-    case URL
-    case URLEncodedInURL
-    case JSON
-    case PropertyList(NSPropertyListFormat, NSPropertyListWriteOptions)
-    case Custom((URLRequestConvertible, [String: AnyObject]?) -> (NSMutableURLRequest, NSError?))
-
-    /**
-        Creates a URL request by encoding parameters and applying them onto an existing request.
-
-        - parameter URLRequest: The request to have parameters applied.
-        - parameter parameters: The parameters to apply.
-
-        - returns: A tuple containing the constructed request and the error that occurred during parameter encoding,
-                   if any.
-    */
-    public func encode(
-        URLRequest: URLRequestConvertible,
-        parameters: [String: AnyObject]?)
-        -> (NSMutableURLRequest, NSError?) {
-        var mutableURLRequest = URLRequest.URLRequest
-
-        guard let parameters = parameters else { return (mutableURLRequest, nil) }
-
-        var encodingError: NSError?
-
-        switch self {
-        case .URL, .URLEncodedInURL:
-            func query(parameters: [String: AnyObject]) -> String {
-                var components: [(String, String)] = []
-
-                for key in parameters.keys.sort(<) {
-                    let value = parameters[key]!
-                    components += queryComponents(key, value)
-                }
-
-                return (components.map { "\($0)=\($1)" } as [String]).joinWithSeparator("&")
-            }
-
-            func encodesParametersInURL(method: Method) -> Bool {
-                switch self {
-                case .URLEncodedInURL:
-                    return true
-                default:
-                    break
-                }
-
-                switch method {
-                case .GET, .HEAD, .DELETE:
-                    return true
-                default:
-                    return false
-                }
-            }
-
-            if let method = Method(rawValue: mutableURLRequest.HTTPMethod) where encodesParametersInURL(method) {
-                if let
-                    URLComponents = NSURLComponents(URL: mutableURLRequest.URL!, resolvingAgainstBaseURL: false)
-                    where !parameters.isEmpty {
-                    let percentEncodedQuery = (URLComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters)
-                    URLComponents.percentEncodedQuery = percentEncodedQuery
-                    mutableURLRequest.URL = URLComponents.URL
-                }
-            } else {
-                if mutableURLRequest.valueForHTTPHeaderField("Content-Type") == nil {
-                    mutableURLRequest.setValue(
-                        "application/x-www-form-urlencoded; charset=utf-8",
-                        forHTTPHeaderField: "Content-Type"
-                    )
-                }
-
-                mutableURLRequest.HTTPBody = query(parameters).dataUsingEncoding(
-                    NSUTF8StringEncoding,
-                    allowLossyConversion: false
-                )
-            }
-        case .JSON:
-            do {
-                let options = NSJSONWritingOptions()
-                let data = try NSJSONSerialization.dataWithJSONObject(parameters, options: options)
-
-                if mutableURLRequest.valueForHTTPHeaderField("Content-Type") == nil {
-                    mutableURLRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-                }
-
-                mutableURLRequest.HTTPBody = data
-            } catch {
-                encodingError = error as NSError
-            }
-        case .PropertyList(let format, let options):
-            do {
-                let data = try NSPropertyListSerialization.dataWithPropertyList(
-                    parameters,
-                    format: format,
-                    options: options
-                )
-
-                if mutableURLRequest.valueForHTTPHeaderField("Content-Type") == nil {
-                    mutableURLRequest.setValue("application/x-plist", forHTTPHeaderField: "Content-Type")
-                }
-
-                mutableURLRequest.HTTPBody = data
-            } catch {
-                encodingError = error as NSError
-            }
-        case .Custom(let closure):
-            (mutableURLRequest, encodingError) = closure(mutableURLRequest, parameters)
-        }
-
-        return (mutableURLRequest, encodingError)
-    }
-
-    /**
-        Creates percent-escaped, URL encoded query string components from the given key-value pair using recursion.
-
-        - parameter key:   The key of the query component.
-        - parameter value: The value of the query component.
-
-        - returns: The percent-escaped, URL encoded query string components.
-    */
-    public func queryComponents(key: String, _ value: AnyObject) -> [(String, String)] {
-        var components: [(String, String)] = []
-
-        if let dictionary = value as? [String: AnyObject] {
-            for (nestedKey, value) in dictionary {
-                components += queryComponents("\(key)[\(nestedKey)]", value)
-            }
-        } else if let array = value as? [AnyObject] {
-            for value in array {
-                components += queryComponents("\(key)[]", value)
-            }
-        } else {
-            components.append((escape(key), escape("\(value)")))
-        }
-
-        return components
-    }
-
-    /**
-        Returns a percent-escaped string following RFC 3986 for a query string key or value.
-
-        RFC 3986 states that the following characters are "reserved" characters.
-
-        - General Delimiters: ":", "#", "[", "]", "@", "?", "/"
-        - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="
-
-        In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow
-        query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/"
-        should be percent-escaped in the query string.
-
-        - parameter string: The string to be percent-escaped.
-
-        - returns: The percent-escaped string.
-    */
-    public func escape(string: String) -> String {
-        let generalDelimitersToEncode = ":#[]@" // does not include "?" or "/" due to RFC 3986 - Section 3.4
-        let subDelimitersToEncode = "!$&'()*+,;="
-
-        let allowedCharacterSet = NSCharacterSet.URLQueryAllowedCharacterSet().mutableCopy() as! NSMutableCharacterSet
-        allowedCharacterSet.removeCharactersInString(generalDelimitersToEncode + subDelimitersToEncode)
-
-        var escaped = ""
-
-        //==========================================================================================================
-        //
-        //  Batching is required for escaping due to an internal bug in iOS 8.1 and 8.2. Encoding more than a few
-        //  hundred Chinese characters causes various malloc error crashes. To avoid this issue until iOS 8 is no
-        //  longer supported, batching MUST be used for encoding. This introduces roughly a 20% overhead. For more
-        //  info, please refer to:
-        //
-        //      - https://github.com/Alamofire/Alamofire/issues/206
-        //
-        //==========================================================================================================
-
-        if #available(iOS 8.3, OSX 10.10, *) {
-            escaped = string.stringByAddingPercentEncodingWithAllowedCharacters(allowedCharacterSet) ?? string
-        } else {
-            let batchSize = 50
-            var index = string.startIndex
-
-            while index != string.endIndex {
-                let startIndex = index
-                let endIndex = index.advancedBy(batchSize, limit: string.endIndex)
-                let range = startIndex..<endIndex
-
-                let substring = string.substringWithRange(range)
-
-                escaped += substring.stringByAddingPercentEncodingWithAllowedCharacters(allowedCharacterSet) ?? substring
-
-                index = endIndex
-            }
-        }
-
-        return escaped
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Request.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
deleted file mode 100644
index a55ada1731e..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
+++ /dev/null
@@ -1,556 +0,0 @@
-//
-//  Request.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/**
-    Responsible for sending a request and receiving the response and associated data from the server, as well as
-    managing its underlying `NSURLSessionTask`.
-*/
-public class Request {
-
-    // MARK: - Properties
-
-    /// The delegate for the underlying task.
-    public let delegate: TaskDelegate
-
-    /// The underlying task.
-    public var task: NSURLSessionTask { return delegate.task }
-
-    /// The session belonging to the underlying task.
-    public let session: NSURLSession
-
-    /// The request sent or to be sent to the server.
-    public var request: NSURLRequest? { return task.originalRequest }
-
-    /// The response received from the server, if any.
-    public var response: NSHTTPURLResponse? { return task.response as? NSHTTPURLResponse }
-
-    /// The progress of the request lifecycle.
-    public var progress: NSProgress { return delegate.progress }
-
-    var startTime: CFAbsoluteTime?
-    var endTime: CFAbsoluteTime?
-
-    // MARK: - Lifecycle
-
-    init(session: NSURLSession, task: NSURLSessionTask) {
-        self.session = session
-
-        switch task {
-        case is NSURLSessionUploadTask:
-            delegate = UploadTaskDelegate(task: task)
-        case is NSURLSessionDataTask:
-            delegate = DataTaskDelegate(task: task)
-        case is NSURLSessionDownloadTask:
-            delegate = DownloadTaskDelegate(task: task)
-        default:
-            delegate = TaskDelegate(task: task)
-        }
-
-        delegate.queue.addOperationWithBlock { self.endTime = CFAbsoluteTimeGetCurrent() }
-    }
-
-    // MARK: - Authentication
-
-    /**
-        Associates an HTTP Basic credential with the request.
-
-        - parameter user:        The user.
-        - parameter password:    The password.
-        - parameter persistence: The URL credential persistence. `.ForSession` by default.
-
-        - returns: The request.
-    */
-    public func authenticate(
-        user user: String,
-        password: String,
-        persistence: NSURLCredentialPersistence = .ForSession)
-        -> Self {
-        let credential = NSURLCredential(user: user, password: password, persistence: persistence)
-
-        return authenticate(usingCredential: credential)
-    }
-
-    /**
-        Associates a specified credential with the request.
-
-        - parameter credential: The credential.
-
-        - returns: The request.
-    */
-    public func authenticate(usingCredential credential: NSURLCredential) -> Self {
-        delegate.credential = credential
-
-        return self
-    }
-
-    /**
-        Returns a base64 encoded basic authentication credential as an authorization header dictionary.
-
-        - parameter user:     The user.
-        - parameter password: The password.
-
-        - returns: A dictionary with Authorization key and credential value or empty dictionary if encoding fails.
-    */
-    public static func authorizationHeader(user user: String, password: String) -> [String: String] {
-        guard let data = "\(user):\(password)".dataUsingEncoding(NSUTF8StringEncoding) else { return [:] }
-
-        let credential = data.base64EncodedStringWithOptions([])
-
-        return ["Authorization": "Basic \(credential)"]
-    }
-
-    // MARK: - Progress
-
-    /**
-        Sets a closure to be called periodically during the lifecycle of the request as data is written to or read
-        from the server.
-
-        - For uploads, the progress closure returns the bytes written, total bytes written, and total bytes expected
-          to write.
-        - For downloads and data tasks, the progress closure returns the bytes read, total bytes read, and total bytes
-          expected to read.
-
-        - parameter closure: The code to be executed periodically during the lifecycle of the request.
-
-        - returns: The request.
-    */
-    public func progress(closure: ((Int64, Int64, Int64) -> Void)? = nil) -> Self {
-        if let uploadDelegate = delegate as? UploadTaskDelegate {
-            uploadDelegate.uploadProgress = closure
-        } else if let dataDelegate = delegate as? DataTaskDelegate {
-            dataDelegate.dataProgress = closure
-        } else if let downloadDelegate = delegate as? DownloadTaskDelegate {
-            downloadDelegate.downloadProgress = closure
-        }
-
-        return self
-    }
-
-    /**
-        Sets a closure to be called periodically during the lifecycle of the request as data is read from the server.
-
-        This closure returns the bytes most recently received from the server, not including data from previous calls.
-        If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is
-        also important to note that the `response` closure will be called with nil `responseData`.
-
-        - parameter closure: The code to be executed periodically during the lifecycle of the request.
-
-        - returns: The request.
-    */
-    public func stream(closure: (NSData -> Void)? = nil) -> Self {
-        if let dataDelegate = delegate as? DataTaskDelegate {
-            dataDelegate.dataStream = closure
-        }
-
-        return self
-    }
-
-    // MARK: - State
-
-    /**
-        Resumes the request.
-    */
-    public func resume() {
-        if startTime == nil { startTime = CFAbsoluteTimeGetCurrent() }
-
-        task.resume()
-        NSNotificationCenter.defaultCenter().postNotificationName(Notifications.Task.DidResume, object: task)
-    }
-
-    /**
-        Suspends the request.
-    */
-    public func suspend() {
-        task.suspend()
-        NSNotificationCenter.defaultCenter().postNotificationName(Notifications.Task.DidSuspend, object: task)
-    }
-
-    /**
-        Cancels the request.
-    */
-    public func cancel() {
-        if let
-            downloadDelegate = delegate as? DownloadTaskDelegate,
-            downloadTask = downloadDelegate.downloadTask {
-            downloadTask.cancelByProducingResumeData { data in
-                downloadDelegate.resumeData = data
-            }
-        } else {
-            task.cancel()
-        }
-
-        NSNotificationCenter.defaultCenter().postNotificationName(Notifications.Task.DidCancel, object: task)
-    }
-
-    // MARK: - TaskDelegate
-
-    /**
-        The task delegate is responsible for handling all delegate callbacks for the underlying task as well as
-        executing all operations attached to the serial operation queue upon task completion.
-    */
-    public class TaskDelegate: NSObject {
-
-        /// The serial operation queue used to execute all operations after the task completes.
-        public let queue: NSOperationQueue
-
-        let task: NSURLSessionTask
-        let progress: NSProgress
-
-        var data: NSData? { return nil }
-        var error: NSError?
-
-        var initialResponseTime: CFAbsoluteTime?
-        var credential: NSURLCredential?
-
-        init(task: NSURLSessionTask) {
-            self.task = task
-            self.progress = NSProgress(totalUnitCount: 0)
-            self.queue = {
-                let operationQueue = NSOperationQueue()
-                operationQueue.maxConcurrentOperationCount = 1
-                operationQueue.suspended = true
-
-                if #available(OSX 10.10, *) {
-                    operationQueue.qualityOfService = NSQualityOfService.Utility
-                }
-
-                return operationQueue
-            }()
-        }
-
-        deinit {
-            queue.cancelAllOperations()
-            queue.suspended = false
-        }
-
-        // MARK: - NSURLSessionTaskDelegate
-
-        // MARK: Override Closures
-
-        var taskWillPerformHTTPRedirection: ((NSURLSession, NSURLSessionTask, NSHTTPURLResponse, NSURLRequest) -> NSURLRequest?)?
-        var taskDidReceiveChallenge: ((NSURLSession, NSURLSessionTask, NSURLAuthenticationChallenge) -> (NSURLSessionAuthChallengeDisposition, NSURLCredential?))?
-        var taskNeedNewBodyStream: ((NSURLSession, NSURLSessionTask) -> NSInputStream?)?
-        var taskDidCompleteWithError: ((NSURLSession, NSURLSessionTask, NSError?) -> Void)?
-
-        // MARK: Delegate Methods
-
-        func URLSession(
-            session: NSURLSession,
-            task: NSURLSessionTask,
-            willPerformHTTPRedirection response: NSHTTPURLResponse,
-            newRequest request: NSURLRequest,
-            completionHandler: ((NSURLRequest?) -> Void)) {
-            var redirectRequest: NSURLRequest? = request
-
-            if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
-                redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
-            }
-
-            completionHandler(redirectRequest)
-        }
-
-        func URLSession(
-            session: NSURLSession,
-            task: NSURLSessionTask,
-            didReceiveChallenge challenge: NSURLAuthenticationChallenge,
-            completionHandler: ((NSURLSessionAuthChallengeDisposition, NSURLCredential?) -> Void)) {
-            var disposition: NSURLSessionAuthChallengeDisposition = .PerformDefaultHandling
-            var credential: NSURLCredential?
-
-            if let taskDidReceiveChallenge = taskDidReceiveChallenge {
-                (disposition, credential) = taskDidReceiveChallenge(session, task, challenge)
-            } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
-                let host = challenge.protectionSpace.host
-
-                if let
-                    serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicyForHost(host),
-                    serverTrust = challenge.protectionSpace.serverTrust {
-                    if serverTrustPolicy.evaluateServerTrust(serverTrust, isValidForHost: host) {
-                        disposition = .UseCredential
-                        credential = NSURLCredential(forTrust: serverTrust)
-                    } else {
-                        disposition = .CancelAuthenticationChallenge
-                    }
-                }
-            } else {
-                if challenge.previousFailureCount > 0 {
-                    disposition = .RejectProtectionSpace
-                } else {
-                    credential = self.credential ?? session.configuration.URLCredentialStorage?.defaultCredentialForProtectionSpace(challenge.protectionSpace)
-
-                    if credential != nil {
-                        disposition = .UseCredential
-                    }
-                }
-            }
-
-            completionHandler(disposition, credential)
-        }
-
-        func URLSession(
-            session: NSURLSession,
-            task: NSURLSessionTask,
-            needNewBodyStream completionHandler: ((NSInputStream?) -> Void)) {
-            var bodyStream: NSInputStream?
-
-            if let taskNeedNewBodyStream = taskNeedNewBodyStream {
-                bodyStream = taskNeedNewBodyStream(session, task)
-            }
-
-            completionHandler(bodyStream)
-        }
-
-        func URLSession(session: NSURLSession, task: NSURLSessionTask, didCompleteWithError error: NSError?) {
-            if let taskDidCompleteWithError = taskDidCompleteWithError {
-                taskDidCompleteWithError(session, task, error)
-            } else {
-                if let error = error {
-                    self.error = error
-
-                    if let
-                        downloadDelegate = self as? DownloadTaskDelegate,
-                        userInfo = error.userInfo as? [String: AnyObject],
-                        resumeData = userInfo[NSURLSessionDownloadTaskResumeData] as? NSData {
-                        downloadDelegate.resumeData = resumeData
-                    }
-                }
-
-                queue.suspended = false
-            }
-        }
-    }
-
-    // MARK: - DataTaskDelegate
-
-    class DataTaskDelegate: TaskDelegate, NSURLSessionDataDelegate {
-        var dataTask: NSURLSessionDataTask? { return task as? NSURLSessionDataTask }
-
-        private var totalBytesReceived: Int64 = 0
-        private var mutableData: NSMutableData
-        override var data: NSData? {
-            if dataStream != nil {
-                return nil
-            } else {
-                return mutableData
-            }
-        }
-
-        private var expectedContentLength: Int64?
-        private var dataProgress: ((bytesReceived: Int64, totalBytesReceived: Int64, totalBytesExpectedToReceive: Int64) -> Void)?
-        private var dataStream: ((data: NSData) -> Void)?
-
-        override init(task: NSURLSessionTask) {
-            mutableData = NSMutableData()
-            super.init(task: task)
-        }
-
-        // MARK: - NSURLSessionDataDelegate
-
-        // MARK: Override Closures
-
-        var dataTaskDidReceiveResponse: ((NSURLSession, NSURLSessionDataTask, NSURLResponse) -> NSURLSessionResponseDisposition)?
-        var dataTaskDidBecomeDownloadTask: ((NSURLSession, NSURLSessionDataTask, NSURLSessionDownloadTask) -> Void)?
-        var dataTaskDidReceiveData: ((NSURLSession, NSURLSessionDataTask, NSData) -> Void)?
-        var dataTaskWillCacheResponse: ((NSURLSession, NSURLSessionDataTask, NSCachedURLResponse) -> NSCachedURLResponse?)?
-
-        // MARK: Delegate Methods
-
-        func URLSession(
-            session: NSURLSession,
-            dataTask: NSURLSessionDataTask,
-            didReceiveResponse response: NSURLResponse,
-            completionHandler: (NSURLSessionResponseDisposition -> Void)) {
-            var disposition: NSURLSessionResponseDisposition = .Allow
-
-            expectedContentLength = response.expectedContentLength
-
-            if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
-                disposition = dataTaskDidReceiveResponse(session, dataTask, response)
-            }
-
-            completionHandler(disposition)
-        }
-
-        func URLSession(
-            session: NSURLSession,
-            dataTask: NSURLSessionDataTask,
-            didBecomeDownloadTask downloadTask: NSURLSessionDownloadTask) {
-            dataTaskDidBecomeDownloadTask?(session, dataTask, downloadTask)
-        }
-
-        func URLSession(session: NSURLSession, dataTask: NSURLSessionDataTask, didReceiveData data: NSData) {
-            if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-            if let dataTaskDidReceiveData = dataTaskDidReceiveData {
-                dataTaskDidReceiveData(session, dataTask, data)
-            } else {
-                if let dataStream = dataStream {
-                    dataStream(data: data)
-                } else {
-                    mutableData.appendData(data)
-                }
-
-                totalBytesReceived += data.length
-                let totalBytesExpected = dataTask.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
-
-                progress.totalUnitCount = totalBytesExpected
-                progress.completedUnitCount = totalBytesReceived
-
-                dataProgress?(
-                    bytesReceived: Int64(data.length),
-                    totalBytesReceived: totalBytesReceived,
-                    totalBytesExpectedToReceive: totalBytesExpected
-                )
-            }
-        }
-
-        func URLSession(
-            session: NSURLSession,
-            dataTask: NSURLSessionDataTask,
-            willCacheResponse proposedResponse: NSCachedURLResponse,
-            completionHandler: ((NSCachedURLResponse?) -> Void)) {
-            var cachedResponse: NSCachedURLResponse? = proposedResponse
-
-            if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
-                cachedResponse = dataTaskWillCacheResponse(session, dataTask, proposedResponse)
-            }
-
-            completionHandler(cachedResponse)
-        }
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Request: CustomStringConvertible {
-
-    /**
-        The textual representation used when written to an output stream, which includes the HTTP method and URL, as
-        well as the response status code if a response has been received.
-    */
-    public var description: String {
-        var components: [String] = []
-
-        if let HTTPMethod = request?.HTTPMethod {
-            components.append(HTTPMethod)
-        }
-
-        if let URLString = request?.URL?.absoluteString {
-            components.append(URLString)
-        }
-
-        if let response = response {
-            components.append("(\(response.statusCode))")
-        }
-
-        return components.joinWithSeparator(" ")
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Request: CustomDebugStringConvertible {
-    func cURLRepresentation() -> String {
-        var components = ["$ curl -i"]
-
-        guard let
-            request = self.request,
-            URL = request.URL,
-            host = URL.host
-        else {
-            return "$ curl command could not be created"
-        }
-
-        if let HTTPMethod = request.HTTPMethod where HTTPMethod != "GET" {
-            components.append("-X \(HTTPMethod)")
-        }
-
-        if let credentialStorage = self.session.configuration.URLCredentialStorage {
-            let protectionSpace = NSURLProtectionSpace(
-                host: host,
-                port: URL.port?.integerValue ?? 0,
-                protocol: URL.scheme,
-                realm: host,
-                authenticationMethod: NSURLAuthenticationMethodHTTPBasic
-            )
-
-            if let credentials = credentialStorage.credentialsForProtectionSpace(protectionSpace)?.values {
-                for credential in credentials {
-                    components.append("-u \(credential.user!):\(credential.password!)")
-                }
-            } else {
-                if let credential = delegate.credential {
-                    components.append("-u \(credential.user!):\(credential.password!)")
-                }
-            }
-        }
-
-        if session.configuration.HTTPShouldSetCookies {
-            if let
-                cookieStorage = session.configuration.HTTPCookieStorage,
-                cookies = cookieStorage.cookiesForURL(URL) where !cookies.isEmpty {
-                let string = cookies.reduce("") { $0 + "\($1.name)=\($1.value ?? String());" }
-                components.append("-b \"\(string.substringToIndex(string.endIndex.predecessor()))\"")
-            }
-        }
-
-        var headers: [NSObject: AnyObject] = [:]
-
-        if let additionalHeaders = session.configuration.HTTPAdditionalHeaders {
-            for (field, value) in additionalHeaders where field != "Cookie" {
-                headers[field] = value
-            }
-        }
-
-        if let headerFields = request.allHTTPHeaderFields {
-            for (field, value) in headerFields where field != "Cookie" {
-                headers[field] = value
-            }
-        }
-
-        for (field, value) in headers {
-            components.append("-H \"\(field): \(value)\"")
-        }
-
-        if let
-            HTTPBodyData = request.HTTPBody,
-            HTTPBody = String(data: HTTPBodyData, encoding: NSUTF8StringEncoding) {
-            var escapedBody = HTTPBody.stringByReplacingOccurrencesOfString("\\\"", withString: "\\\\\"")
-            escapedBody = escapedBody.stringByReplacingOccurrencesOfString("\"", withString: "\\\"")
-
-            components.append("-d \"\(escapedBody)\"")
-        }
-
-        components.append("\"\(URL.absoluteString)\"")
-
-        return components.joinWithSeparator(" \\\n\t")
-    }
-
-    /// The textual representation used when written to an output stream, in the form of a cURL command.
-    public var debugDescription: String {
-        return cURLRepresentation()
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Response.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
deleted file mode 100644
index 46f534ad152..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
+++ /dev/null
@@ -1,96 +0,0 @@
-//
-//  Response.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Used to store all response data returned from a completed `Request`.
-public struct Response<Value, Error: ErrorType> {
-    /// The URL request sent to the server.
-    public let request: NSURLRequest?
-
-    /// The server's response to the URL request.
-    public let response: NSHTTPURLResponse?
-
-    /// The data returned by the server.
-    public let data: NSData?
-
-    /// The result of response serialization.
-    public let result: Result<Value, Error>
-
-    /// The timeline of the complete lifecycle of the `Request`.
-    public let timeline: Timeline
-
-    /**
-        Initializes the `Response` instance with the specified URL request, URL response, server data and response
-        serialization result.
-
-        - parameter request:  The URL request sent to the server.
-        - parameter response: The server's response to the URL request.
-        - parameter data:     The data returned by the server.
-        - parameter result:   The result of response serialization.
-        - parameter timeline: The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`.
-
-        - returns: the new `Response` instance.
-    */
-    public init(
-        request: NSURLRequest?,
-        response: NSHTTPURLResponse?,
-        data: NSData?,
-        result: Result<Value, Error>,
-        timeline: Timeline = Timeline()) {
-        self.request = request
-        self.response = response
-        self.data = data
-        self.result = result
-        self.timeline = timeline
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Response: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        return result.debugDescription
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Response: CustomDebugStringConvertible {
-    /// The debug textual representation used when written to an output stream, which includes the URL request, the URL
-    /// response, the server data and the response serialization result.
-    public var debugDescription: String {
-        var output: [String] = []
-
-        output.append(request != nil ? "[Request]: \(request!)" : "[Request]: nil")
-        output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil")
-        output.append("[Data]: \(data?.length ?? 0) bytes")
-        output.append("[Result]: \(result.debugDescription)")
-        output.append("[Timeline]: \(timeline.debugDescription)")
-
-        return output.joinWithSeparator("\n")
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
deleted file mode 100644
index 458673792f4..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
+++ /dev/null
@@ -1,369 +0,0 @@
-//
-//  ResponseSerialization.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-// MARK: ResponseSerializer
-
-/**
-    The type in which all response serializers must conform to in order to serialize a response.
-*/
-public protocol ResponseSerializerType {
-    /// The type of serialized object to be created by this `ResponseSerializerType`.
-    associatedtype SerializedObject
-
-    /// The type of error to be created by this `ResponseSerializer` if serialization fails.
-    associatedtype ErrorObject: ErrorType
-
-    /**
-        A closure used by response handlers that takes a request, response, data and error and returns a result.
-    */
-    var serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Result<SerializedObject, ErrorObject> { get }
-}
-
-// MARK: -
-
-/**
-    A generic `ResponseSerializerType` used to serialize a request, response, and data into a serialized object.
-*/
-public struct ResponseSerializer<Value, Error: ErrorType>: ResponseSerializerType {
-    /// The type of serialized object to be created by this `ResponseSerializer`.
-    public typealias SerializedObject = Value
-
-    /// The type of error to be created by this `ResponseSerializer` if serialization fails.
-    public typealias ErrorObject = Error
-
-    /**
-        A closure used by response handlers that takes a request, response, data and error and returns a result.
-    */
-    public var serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Result<Value, Error>
-
-    /**
-        Initializes the `ResponseSerializer` instance with the given serialize response closure.
-
-        - parameter serializeResponse: The closure used to serialize the response.
-
-        - returns: The new generic response serializer instance.
-    */
-    public init(serializeResponse: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Result<Value, Error>) {
-        self.serializeResponse = serializeResponse
-    }
-}
-
-// MARK: - Default
-
-extension Request {
-
-    /**
-        Adds a handler to be called once the request has finished.
-
-        - parameter queue:             The queue on which the completion handler is dispatched.
-        - parameter completionHandler: The code to be executed once the request has finished.
-
-        - returns: The request.
-    */
-    public func response(
-        queue queue: dispatch_queue_t? = nil,
-        completionHandler: (NSURLRequest?, NSHTTPURLResponse?, NSData?, NSError?) -> Void)
-        -> Self {
-        delegate.queue.addOperationWithBlock {
-            dispatch_async(queue ?? dispatch_get_main_queue()) {
-                completionHandler(self.request, self.response, self.delegate.data, self.delegate.error)
-            }
-        }
-
-        return self
-    }
-
-    /**
-        Adds a handler to be called once the request has finished.
-
-        - parameter queue:              The queue on which the completion handler is dispatched.
-        - parameter responseSerializer: The response serializer responsible for serializing the request, response,
-                                        and data.
-        - parameter completionHandler:  The code to be executed once the request has finished.
-
-        - returns: The request.
-    */
-    public func response<T: ResponseSerializerType>(
-        queue queue: dispatch_queue_t? = nil,
-        responseSerializer: T,
-        completionHandler: Response<T.SerializedObject, T.ErrorObject> -> Void)
-        -> Self {
-        delegate.queue.addOperationWithBlock {
-            let result = responseSerializer.serializeResponse(
-                self.request,
-                self.response,
-                self.delegate.data,
-                self.delegate.error
-            )
-
-            let requestCompletedTime = self.endTime ?? CFAbsoluteTimeGetCurrent()
-            let initialResponseTime = self.delegate.initialResponseTime ?? requestCompletedTime
-
-            let timeline = Timeline(
-                requestStartTime: self.startTime ?? CFAbsoluteTimeGetCurrent(),
-                initialResponseTime: initialResponseTime,
-                requestCompletedTime: requestCompletedTime,
-                serializationCompletedTime: CFAbsoluteTimeGetCurrent()
-            )
-
-            let response = Response<T.SerializedObject, T.ErrorObject>(
-                request: self.request,
-                response: self.response,
-                data: self.delegate.data,
-                result: result,
-                timeline: timeline
-            )
-
-            dispatch_async(queue ?? dispatch_get_main_queue()) { completionHandler(response) }
-        }
-
-        return self
-    }
-}
-
-// MARK: - Data
-
-extension Request {
-
-    /**
-        Creates a response serializer that returns the associated data as-is.
-
-        - returns: A data response serializer.
-    */
-    public static func dataResponseSerializer() -> ResponseSerializer<NSData, NSError> {
-        return ResponseSerializer { _, response, data, error in
-            guard error == nil else { return .Failure(error!) }
-
-            if let response = response where response.statusCode == 204 { return .Success(NSData()) }
-
-            guard let validData = data else {
-                let failureReason = "Data could not be serialized. Input data was nil."
-                let error = Error.error(code: .DataSerializationFailed, failureReason: failureReason)
-                return .Failure(error)
-            }
-
-            return .Success(validData)
-        }
-    }
-
-    /**
-        Adds a handler to be called once the request has finished.
-
-        - parameter completionHandler: The code to be executed once the request has finished.
-
-        - returns: The request.
-    */
-    public func responseData(
-        queue queue: dispatch_queue_t? = nil,
-        completionHandler: Response<NSData, NSError> -> Void)
-        -> Self {
-        return response(queue: queue, responseSerializer: Request.dataResponseSerializer(), completionHandler: completionHandler)
-    }
-}
-
-// MARK: - String
-
-extension Request {
-
-    /**
-        Creates a response serializer that returns a string initialized from the response data with the specified
-        string encoding.
-
-        - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-                              response, falling back to the default HTTP default character set, ISO-8859-1.
-
-        - returns: A string response serializer.
-    */
-    public static func stringResponseSerializer(
-        encoding encoding: NSStringEncoding? = nil)
-        -> ResponseSerializer<String, NSError> {
-        return ResponseSerializer { _, response, data, error in
-            guard error == nil else { return .Failure(error!) }
-
-            if let response = response where response.statusCode == 204 { return .Success("") }
-
-            guard let validData = data else {
-                let failureReason = "String could not be serialized. Input data was nil."
-                let error = Error.error(code: .StringSerializationFailed, failureReason: failureReason)
-                return .Failure(error)
-            }
-
-            var convertedEncoding = encoding
-
-            if let encodingName = response?.textEncodingName where convertedEncoding == nil {
-                convertedEncoding = CFStringConvertEncodingToNSStringEncoding(
-                    CFStringConvertIANACharSetNameToEncoding(encodingName)
-                )
-            }
-
-            let actualEncoding = convertedEncoding ?? NSISOLatin1StringEncoding
-
-            if let string = String(data: validData, encoding: actualEncoding) {
-                return .Success(string)
-            } else {
-                let failureReason = "String could not be serialized with encoding: \(actualEncoding)"
-                let error = Error.error(code: .StringSerializationFailed, failureReason: failureReason)
-                return .Failure(error)
-            }
-        }
-    }
-
-    /**
-        Adds a handler to be called once the request has finished.
-
-        - parameter encoding:          The string encoding. If `nil`, the string encoding will be determined from the
-                                       server response, falling back to the default HTTP default character set,
-                                       ISO-8859-1.
-        - parameter completionHandler: A closure to be executed once the request has finished.
-
-        - returns: The request.
-    */
-    public func responseString(
-        queue queue: dispatch_queue_t? = nil,
-        encoding: NSStringEncoding? = nil,
-        completionHandler: Response<String, NSError> -> Void)
-        -> Self {
-        return response(
-            queue: queue,
-            responseSerializer: Request.stringResponseSerializer(encoding: encoding),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - JSON
-
-extension Request {
-
-    /**
-        Creates a response serializer that returns a JSON object constructed from the response data using
-        `NSJSONSerialization` with the specified reading options.
-
-        - parameter options: The JSON serialization reading options. `.AllowFragments` by default.
-
-        - returns: A JSON object response serializer.
-    */
-    public static func JSONResponseSerializer(
-        options options: NSJSONReadingOptions = .AllowFragments)
-        -> ResponseSerializer<AnyObject, NSError> {
-        return ResponseSerializer { _, response, data, error in
-            guard error == nil else { return .Failure(error!) }
-
-            if let response = response where response.statusCode == 204 { return .Success(NSNull()) }
-
-            guard let validData = data where validData.length > 0 else {
-                let failureReason = "JSON could not be serialized. Input data was nil or zero length."
-                let error = Error.error(code: .JSONSerializationFailed, failureReason: failureReason)
-                return .Failure(error)
-            }
-
-            do {
-                let JSON = try NSJSONSerialization.JSONObjectWithData(validData, options: options)
-                return .Success(JSON)
-            } catch {
-                return .Failure(error as NSError)
-            }
-        }
-    }
-
-    /**
-        Adds a handler to be called once the request has finished.
-
-        - parameter options:           The JSON serialization reading options. `.AllowFragments` by default.
-        - parameter completionHandler: A closure to be executed once the request has finished.
-
-        - returns: The request.
-    */
-    public func responseJSON(
-        queue queue: dispatch_queue_t? = nil,
-        options: NSJSONReadingOptions = .AllowFragments,
-        completionHandler: Response<AnyObject, NSError> -> Void)
-        -> Self {
-        return response(
-            queue: queue,
-            responseSerializer: Request.JSONResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - Property List
-
-extension Request {
-
-    /**
-        Creates a response serializer that returns an object constructed from the response data using
-        `NSPropertyListSerialization` with the specified reading options.
-
-        - parameter options: The property list reading options. `NSPropertyListReadOptions()` by default.
-
-        - returns: A property list object response serializer.
-    */
-    public static func propertyListResponseSerializer(
-        options options: NSPropertyListReadOptions = NSPropertyListReadOptions())
-        -> ResponseSerializer<AnyObject, NSError> {
-        return ResponseSerializer { _, response, data, error in
-            guard error == nil else { return .Failure(error!) }
-
-            if let response = response where response.statusCode == 204 { return .Success(NSNull()) }
-
-            guard let validData = data where validData.length > 0 else {
-                let failureReason = "Property list could not be serialized. Input data was nil or zero length."
-                let error = Error.error(code: .PropertyListSerializationFailed, failureReason: failureReason)
-                return .Failure(error)
-            }
-
-            do {
-                let plist = try NSPropertyListSerialization.propertyListWithData(validData, options: options, format: nil)
-                return .Success(plist)
-            } catch {
-                return .Failure(error as NSError)
-            }
-        }
-    }
-
-    /**
-        Adds a handler to be called once the request has finished.
-
-        - parameter options:           The property list reading options. `0` by default.
-        - parameter completionHandler: A closure to be executed once the request has finished. The closure takes 3
-                                       arguments: the URL request, the URL response, the server data and the result
-                                       produced while creating the property list.
-
-        - returns: The request.
-    */
-    public func responsePropertyList(
-        queue queue: dispatch_queue_t? = nil,
-        options: NSPropertyListReadOptions = NSPropertyListReadOptions(),
-        completionHandler: Response<AnyObject, NSError> -> Void)
-        -> Self {
-        return response(
-            queue: queue,
-            responseSerializer: Request.propertyListResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Result.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
deleted file mode 100644
index 4aabf08bf8b..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
+++ /dev/null
@@ -1,103 +0,0 @@
-//
-//  Result.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/**
-    Used to represent whether a request was successful or encountered an error.
-
-    - Success: The request and all post processing operations were successful resulting in the serialization of the
-               provided associated value.
-    - Failure: The request encountered an error resulting in a failure. The associated values are the original data
-               provided by the server as well as the error that caused the failure.
-*/
-public enum Result<Value, Error: ErrorType> {
-    case Success(Value)
-    case Failure(Error)
-
-    /// Returns `true` if the result is a success, `false` otherwise.
-    public var isSuccess: Bool {
-        switch self {
-        case .Success:
-            return true
-        case .Failure:
-            return false
-        }
-    }
-
-    /// Returns `true` if the result is a failure, `false` otherwise.
-    public var isFailure: Bool {
-        return !isSuccess
-    }
-
-    /// Returns the associated value if the result is a success, `nil` otherwise.
-    public var value: Value? {
-        switch self {
-        case .Success(let value):
-            return value
-        case .Failure:
-            return nil
-        }
-    }
-
-    /// Returns the associated error value if the result is a failure, `nil` otherwise.
-    public var error: Error? {
-        switch self {
-        case .Success:
-            return nil
-        case .Failure(let error):
-            return error
-        }
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Result: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        switch self {
-        case .Success:
-            return "SUCCESS"
-        case .Failure:
-            return "FAILURE"
-        }
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Result: CustomDebugStringConvertible {
-    /// The debug textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure in addition to the value or error.
-    public var debugDescription: String {
-        switch self {
-        case .Success(let value):
-            return "SUCCESS: \(value)"
-        case .Failure(let error):
-            return "FAILURE: \(error)"
-        }
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
deleted file mode 100644
index 3f9f308b952..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
+++ /dev/null
@@ -1,302 +0,0 @@
-//
-//  ServerTrustPolicy.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for managing the mapping of `ServerTrustPolicy` objects to a given host.
-public class ServerTrustPolicyManager {
-    /// The dictionary of policies mapped to a particular host.
-    public let policies: [String: ServerTrustPolicy]
-
-    /**
-        Initializes the `ServerTrustPolicyManager` instance with the given policies.
-
-        Since different servers and web services can have different leaf certificates, intermediate and even root
-        certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This
-        allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key
-        pinning for host3 and disabling evaluation for host4.
-
-        - parameter policies: A dictionary of all policies mapped to a particular host.
-
-        - returns: The new `ServerTrustPolicyManager` instance.
-    */
-    public init(policies: [String: ServerTrustPolicy]) {
-        self.policies = policies
-    }
-
-    /**
-        Returns the `ServerTrustPolicy` for the given host if applicable.
-
-        By default, this method will return the policy that perfectly matches the given host. Subclasses could override
-        this method and implement more complex mapping implementations such as wildcards.
-
-        - parameter host: The host to use when searching for a matching policy.
-
-        - returns: The server trust policy for the given host if found.
-    */
-    public func serverTrustPolicyForHost(host: String) -> ServerTrustPolicy? {
-        return policies[host]
-    }
-}
-
-// MARK: -
-
-extension NSURLSession {
-    private struct AssociatedKeys {
-        static var ManagerKey = "NSURLSession.ServerTrustPolicyManager"
-    }
-
-    var serverTrustPolicyManager: ServerTrustPolicyManager? {
-        get {
-            return objc_getAssociatedObject(self, &AssociatedKeys.ManagerKey) as? ServerTrustPolicyManager
-        }
-        set (manager) {
-            objc_setAssociatedObject(self, &AssociatedKeys.ManagerKey, manager, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
-        }
-    }
-}
-
-// MARK: - ServerTrustPolicy
-
-/**
-    The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when
-    connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust
-    with a given set of criteria to determine whether the server trust is valid and the connection should be made.
-
-    Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other
-    vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged
-    to route all communication over an HTTPS connection with pinning enabled.
-
-    - PerformDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to
-                                validate the host provided by the challenge. Applications are encouraged to always
-                                validate the host in production environments to guarantee the validity of the server's
-                                certificate chain.
-
-    - PinCertificates:          Uses the pinned certificates to validate the server trust. The server trust is
-                                considered valid if one of the pinned certificates match one of the server certificates.
-                                By validating both the certificate chain and host, certificate pinning provides a very
-                                secure form of server trust validation mitigating most, if not all, MITM attacks.
-                                Applications are encouraged to always validate the host and require a valid certificate
-                                chain in production environments.
-
-    - PinPublicKeys:            Uses the pinned public keys to validate the server trust. The server trust is considered
-                                valid if one of the pinned public keys match one of the server certificate public keys.
-                                By validating both the certificate chain and host, public key pinning provides a very
-                                secure form of server trust validation mitigating most, if not all, MITM attacks.
-                                Applications are encouraged to always validate the host and require a valid certificate
-                                chain in production environments.
-
-    - DisableEvaluation:        Disables all evaluation which in turn will always consider any server trust as valid.
-
-    - CustomEvaluation:         Uses the associated closure to evaluate the validity of the server trust.
-*/
-public enum ServerTrustPolicy {
-    case PerformDefaultEvaluation(validateHost: Bool)
-    case PinCertificates(certificates: [SecCertificate], validateCertificateChain: Bool, validateHost: Bool)
-    case PinPublicKeys(publicKeys: [SecKey], validateCertificateChain: Bool, validateHost: Bool)
-    case DisableEvaluation
-    case CustomEvaluation((serverTrust: SecTrust, host: String) -> Bool)
-
-    // MARK: - Bundle Location
-
-    /**
-        Returns all certificates within the given bundle with a `.cer` file extension.
-
-        - parameter bundle: The bundle to search for all `.cer` files.
-
-        - returns: All certificates within the given bundle.
-    */
-    public static func certificatesInBundle(bundle: NSBundle = NSBundle.mainBundle()) -> [SecCertificate] {
-        var certificates: [SecCertificate] = []
-
-        let paths = Set([".cer", ".CER", ".crt", ".CRT", ".der", ".DER"].map { fileExtension in
-            bundle.pathsForResourcesOfType(fileExtension, inDirectory: nil)
-        }.flatten())
-
-        for path in paths {
-            if let
-                certificateData = NSData(contentsOfFile: path),
-                certificate = SecCertificateCreateWithData(nil, certificateData) {
-                certificates.append(certificate)
-            }
-        }
-
-        return certificates
-    }
-
-    /**
-        Returns all public keys within the given bundle with a `.cer` file extension.
-
-        - parameter bundle: The bundle to search for all `*.cer` files.
-
-        - returns: All public keys within the given bundle.
-    */
-    public static func publicKeysInBundle(bundle: NSBundle = NSBundle.mainBundle()) -> [SecKey] {
-        var publicKeys: [SecKey] = []
-
-        for certificate in certificatesInBundle(bundle) {
-            if let publicKey = publicKeyForCertificate(certificate) {
-                publicKeys.append(publicKey)
-            }
-        }
-
-        return publicKeys
-    }
-
-    // MARK: - Evaluation
-
-    /**
-        Evaluates whether the server trust is valid for the given host.
-
-        - parameter serverTrust: The server trust to evaluate.
-        - parameter host:        The host of the challenge protection space.
-
-        - returns: Whether the server trust is valid.
-    */
-    public func evaluateServerTrust(serverTrust: SecTrust, isValidForHost host: String) -> Bool {
-        var serverTrustIsValid = false
-
-        switch self {
-        case let .PerformDefaultEvaluation(validateHost):
-            let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-            SecTrustSetPolicies(serverTrust, [policy])
-
-            serverTrustIsValid = trustIsValid(serverTrust)
-        case let .PinCertificates(pinnedCertificates, validateCertificateChain, validateHost):
-            if validateCertificateChain {
-                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-                SecTrustSetPolicies(serverTrust, [policy])
-
-                SecTrustSetAnchorCertificates(serverTrust, pinnedCertificates)
-                SecTrustSetAnchorCertificatesOnly(serverTrust, true)
-
-                serverTrustIsValid = trustIsValid(serverTrust)
-            } else {
-                let serverCertificatesDataArray = certificateDataForTrust(serverTrust)
-                let pinnedCertificatesDataArray = certificateDataForCertificates(pinnedCertificates)
-
-                outerLoop: for serverCertificateData in serverCertificatesDataArray {
-                    for pinnedCertificateData in pinnedCertificatesDataArray {
-                        if serverCertificateData.isEqualToData(pinnedCertificateData) {
-                            serverTrustIsValid = true
-                            break outerLoop
-                        }
-                    }
-                }
-            }
-        case let .PinPublicKeys(pinnedPublicKeys, validateCertificateChain, validateHost):
-            var certificateChainEvaluationPassed = true
-
-            if validateCertificateChain {
-                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-                SecTrustSetPolicies(serverTrust, [policy])
-
-                certificateChainEvaluationPassed = trustIsValid(serverTrust)
-            }
-
-            if certificateChainEvaluationPassed {
-                outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeysForTrust(serverTrust) as [AnyObject] {
-                    for pinnedPublicKey in pinnedPublicKeys as [AnyObject] {
-                        if serverPublicKey.isEqual(pinnedPublicKey) {
-                            serverTrustIsValid = true
-                            break outerLoop
-                        }
-                    }
-                }
-            }
-        case .DisableEvaluation:
-            serverTrustIsValid = true
-        case let .CustomEvaluation(closure):
-            serverTrustIsValid = closure(serverTrust: serverTrust, host: host)
-        }
-
-        return serverTrustIsValid
-    }
-
-    // MARK: - Private - Trust Validation
-
-    private func trustIsValid(trust: SecTrust) -> Bool {
-        var isValid = false
-
-        var result = SecTrustResultType(kSecTrustResultInvalid)
-        let status = SecTrustEvaluate(trust, &result)
-
-        if status == errSecSuccess {
-            let unspecified = SecTrustResultType(kSecTrustResultUnspecified)
-            let proceed = SecTrustResultType(kSecTrustResultProceed)
-
-            isValid = result == unspecified || result == proceed
-        }
-
-        return isValid
-    }
-
-    // MARK: - Private - Certificate Data
-
-    private func certificateDataForTrust(trust: SecTrust) -> [NSData] {
-        var certificates: [SecCertificate] = []
-
-        for index in 0..<SecTrustGetCertificateCount(trust) {
-            if let certificate = SecTrustGetCertificateAtIndex(trust, index) {
-                certificates.append(certificate)
-            }
-        }
-
-        return certificateDataForCertificates(certificates)
-    }
-
-    private func certificateDataForCertificates(certificates: [SecCertificate]) -> [NSData] {
-        return certificates.map { SecCertificateCopyData($0) as NSData }
-    }
-
-    // MARK: - Private - Public Key Extraction
-
-    private static func publicKeysForTrust(trust: SecTrust) -> [SecKey] {
-        var publicKeys: [SecKey] = []
-
-        for index in 0..<SecTrustGetCertificateCount(trust) {
-            if let
-                certificate = SecTrustGetCertificateAtIndex(trust, index),
-                publicKey = publicKeyForCertificate(certificate) {
-                publicKeys.append(publicKey)
-            }
-        }
-
-        return publicKeys
-    }
-
-    private static func publicKeyForCertificate(certificate: SecCertificate) -> SecKey? {
-        var publicKey: SecKey?
-
-        let policy = SecPolicyCreateBasicX509()
-        var trust: SecTrust?
-        let trustCreationStatus = SecTrustCreateWithCertificates(certificate, policy, &trust)
-
-        if let trust = trust where trustCreationStatus == errSecSuccess {
-            publicKey = SecTrustCopyPublicKey(trust)
-        }
-
-        return publicKey
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Stream.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Stream.swift
deleted file mode 100644
index ad6f8a57e92..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Stream.swift
+++ /dev/null
@@ -1,181 +0,0 @@
-//
-//  Stream.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-#if !os(watchOS)
-
-@available(iOS 9.0, OSX 10.11, tvOS 9.0, *)
-extension Manager {
-    private enum Streamable {
-        case Stream(String, Int)
-        case NetService(NSNetService)
-    }
-
-    private func stream(streamable: Streamable) -> Request {
-        var streamTask: NSURLSessionStreamTask!
-
-        switch streamable {
-        case .Stream(let hostName, let port):
-            dispatch_sync(queue) {
-                streamTask = self.session.streamTaskWithHostName(hostName, port: port)
-            }
-        case .NetService(let netService):
-            dispatch_sync(queue) {
-                streamTask = self.session.streamTaskWithNetService(netService)
-            }
-        }
-
-        let request = Request(session: session, task: streamTask)
-
-        delegate[request.delegate.task] = request.delegate
-
-        if startRequestsImmediately {
-            request.resume()
-        }
-
-        return request
-    }
-
-    /**
-        Creates a request for bidirectional streaming with the given hostname and port.
-
-        - parameter hostName: The hostname of the server to connect to.
-        - parameter port:     The port of the server to connect to.
-
-        - returns: The created stream request.
-    */
-    public func stream(hostName hostName: String, port: Int) -> Request {
-        return stream(.Stream(hostName, port))
-    }
-
-    /**
-        Creates a request for bidirectional streaming with the given `NSNetService`.
-
-        - parameter netService: The net service used to identify the endpoint.
-
-        - returns: The created stream request.
-    */
-    public func stream(netService netService: NSNetService) -> Request {
-        return stream(.NetService(netService))
-    }
-}
-
-// MARK: -
-
-@available(iOS 9.0, OSX 10.11, tvOS 9.0, *)
-extension Manager.SessionDelegate: NSURLSessionStreamDelegate {
-
-    // MARK: Override Closures
-
-    /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:readClosedForStreamTask:`.
-    public var streamTaskReadClosed: ((NSURLSession, NSURLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskReadClosed as? (NSURLSession, NSURLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskReadClosed = newValue
-        }
-    }
-
-    /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:writeClosedForStreamTask:`.
-    public var streamTaskWriteClosed: ((NSURLSession, NSURLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskWriteClosed as? (NSURLSession, NSURLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskWriteClosed = newValue
-        }
-    }
-
-    /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:betterRouteDiscoveredForStreamTask:`.
-    public var streamTaskBetterRouteDiscovered: ((NSURLSession, NSURLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskBetterRouteDiscovered as? (NSURLSession, NSURLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskBetterRouteDiscovered = newValue
-        }
-    }
-
-    /// Overrides default behavior for NSURLSessionStreamDelegate method `URLSession:streamTask:didBecomeInputStream:outputStream:`.
-    public var streamTaskDidBecomeInputStream: ((NSURLSession, NSURLSessionStreamTask, NSInputStream, NSOutputStream) -> Void)? {
-        get {
-            return _streamTaskDidBecomeInputStream as? (NSURLSession, NSURLSessionStreamTask, NSInputStream, NSOutputStream) -> Void
-        }
-        set {
-            _streamTaskDidBecomeInputStream = newValue
-        }
-    }
-
-    // MARK: Delegate Methods
-
-    /**
-        Tells the delegate that the read side of the connection has been closed.
-
-        - parameter session:    The session.
-        - parameter streamTask: The stream task.
-    */
-    public func URLSession(session: NSURLSession, readClosedForStreamTask streamTask: NSURLSessionStreamTask) {
-        streamTaskReadClosed?(session, streamTask)
-    }
-
-    /**
-        Tells the delegate that the write side of the connection has been closed.
-
-        - parameter session:    The session.
-        - parameter streamTask: The stream task.
-    */
-    public func URLSession(session: NSURLSession, writeClosedForStreamTask streamTask: NSURLSessionStreamTask) {
-        streamTaskWriteClosed?(session, streamTask)
-    }
-
-    /**
-        Tells the delegate that the system has determined that a better route to the host is available.
-
-        - parameter session:    The session.
-        - parameter streamTask: The stream task.
-    */
-    public func URLSession(session: NSURLSession, betterRouteDiscoveredForStreamTask streamTask: NSURLSessionStreamTask) {
-        streamTaskBetterRouteDiscovered?(session, streamTask)
-    }
-
-    /**
-        Tells the delegate that the stream task has been completed and provides the unopened stream objects.
-
-        - parameter session:      The session.
-        - parameter streamTask:   The stream task.
-        - parameter inputStream:  The new input stream.
-        - parameter outputStream: The new output stream.
-    */
-    public func URLSession(
-        session: NSURLSession,
-        streamTask: NSURLSessionStreamTask,
-        didBecomeInputStream inputStream: NSInputStream,
-        outputStream: NSOutputStream) {
-        streamTaskDidBecomeInputStream?(session, streamTask, inputStream, outputStream)
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
deleted file mode 100644
index b2dcfbcd95d..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
+++ /dev/null
@@ -1,137 +0,0 @@
-//
-//  Timeline.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for computing the timing metrics for the complete lifecycle of a `Request`.
-public struct Timeline {
-    /// The time the request was initialized.
-    public let requestStartTime: CFAbsoluteTime
-
-    /// The time the first bytes were received from or sent to the server.
-    public let initialResponseTime: CFAbsoluteTime
-
-    /// The time when the request was completed.
-    public let requestCompletedTime: CFAbsoluteTime
-
-    /// The time when the response serialization was completed.
-    public let serializationCompletedTime: CFAbsoluteTime
-
-    /// The time interval in seconds from the time the request started to the initial response from the server.
-    public let latency: NSTimeInterval
-
-    /// The time interval in seconds from the time the request started to the time the request completed.
-    public let requestDuration: NSTimeInterval
-
-    /// The time interval in seconds from the time the request completed to the time response serialization completed.
-    public let serializationDuration: NSTimeInterval
-
-    /// The time interval in seconds from the time the request started to the time response serialization completed.
-    public let totalDuration: NSTimeInterval
-
-    /**
-        Creates a new `Timeline` instance with the specified request times.
-
-        - parameter requestStartTime:           The time the request was initialized. Defaults to `0.0`.
-        - parameter initialResponseTime:        The time the first bytes were received from or sent to the server.
-                                                Defaults to `0.0`.
-        - parameter requestCompletedTime:       The time when the request was completed. Defaults to `0.0`.
-        - parameter serializationCompletedTime: The time when the response serialization was completed. Defaults
-                                                to `0.0`.
-
-        - returns: The new `Timeline` instance.
-    */
-    public init(
-        requestStartTime: CFAbsoluteTime = 0.0,
-        initialResponseTime: CFAbsoluteTime = 0.0,
-        requestCompletedTime: CFAbsoluteTime = 0.0,
-        serializationCompletedTime: CFAbsoluteTime = 0.0) {
-        self.requestStartTime = requestStartTime
-        self.initialResponseTime = initialResponseTime
-        self.requestCompletedTime = requestCompletedTime
-        self.serializationCompletedTime = serializationCompletedTime
-
-        self.latency = initialResponseTime - requestStartTime
-        self.requestDuration = requestCompletedTime - requestStartTime
-        self.serializationDuration = serializationCompletedTime - requestCompletedTime
-        self.totalDuration = serializationCompletedTime - requestStartTime
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Timeline: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the latency, the request
-    /// duration and the total duration.
-    public var description: String {
-        let latency = String(format: "%.3f", self.latency)
-        let requestDuration = String(format: "%.3f", self.requestDuration)
-        let serializationDuration = String(format: "%.3f", self.serializationDuration)
-        let totalDuration = String(format: "%.3f", self.totalDuration)
-
-        // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is
-        // fixed, we should move back to string interpolation by reverting commit 7d4a43b1.
-        let timings = [
-            "\"Latency\": " + latency + " secs",
-            "\"Request Duration\": " + requestDuration + " secs",
-            "\"Serialization Duration\": " + serializationDuration + " secs",
-            "\"Total Duration\": " + totalDuration + " secs"
-        ]
-
-        return "Timeline: { " + timings.joinWithSeparator(", ") + " }"
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Timeline: CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the request start time, the
-    /// initial response time, the request completed time, the serialization completed time, the latency, the request
-    /// duration and the total duration.
-    public var debugDescription: String {
-        let requestStartTime = String(format: "%.3f", self.requestStartTime)
-        let initialResponseTime = String(format: "%.3f", self.initialResponseTime)
-        let requestCompletedTime = String(format: "%.3f", self.requestCompletedTime)
-        let serializationCompletedTime = String(format: "%.3f", self.serializationCompletedTime)
-        let latency = String(format: "%.3f", self.latency)
-        let requestDuration = String(format: "%.3f", self.requestDuration)
-        let serializationDuration = String(format: "%.3f", self.serializationDuration)
-        let totalDuration = String(format: "%.3f", self.totalDuration)
-
-        // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is
-        // fixed, we should move back to string interpolation by reverting commit 7d4a43b1.
-        let timings = [
-            "\"Request Start Time\": " + requestStartTime,
-            "\"Initial Response Time\": " + initialResponseTime,
-            "\"Request Completed Time\": " + requestCompletedTime,
-            "\"Serialization Completed Time\": " + serializationCompletedTime,
-            "\"Latency\": " + latency + " secs",
-            "\"Request Duration\": " + requestDuration + " secs",
-            "\"Serialization Duration\": " + serializationDuration + " secs",
-            "\"Total Duration\": " + totalDuration + " secs"
-        ]
-
-        return "Timeline: { " + timings.joinWithSeparator(", ") + " }"
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Upload.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Upload.swift
deleted file mode 100644
index d728dbc655d..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Upload.swift
+++ /dev/null
@@ -1,370 +0,0 @@
-//
-//  Upload.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Manager {
-    private enum Uploadable {
-        case Data(NSURLRequest, NSData)
-        case File(NSURLRequest, NSURL)
-        case Stream(NSURLRequest, NSInputStream)
-    }
-
-    private func upload(uploadable: Uploadable) -> Request {
-        var uploadTask: NSURLSessionUploadTask!
-        var HTTPBodyStream: NSInputStream?
-
-        switch uploadable {
-        case .Data(let request, let data):
-            dispatch_sync(queue) {
-                uploadTask = self.session.uploadTaskWithRequest(request, fromData: data)
-            }
-        case .File(let request, let fileURL):
-            dispatch_sync(queue) {
-                uploadTask = self.session.uploadTaskWithRequest(request, fromFile: fileURL)
-            }
-        case .Stream(let request, let stream):
-            dispatch_sync(queue) {
-                uploadTask = self.session.uploadTaskWithStreamedRequest(request)
-            }
-
-            HTTPBodyStream = stream
-        }
-
-        let request = Request(session: session, task: uploadTask)
-
-        if HTTPBodyStream != nil {
-            request.delegate.taskNeedNewBodyStream = { _, _ in
-                return HTTPBodyStream
-            }
-        }
-
-        delegate[request.delegate.task] = request.delegate
-
-        if startRequestsImmediately {
-            request.resume()
-        }
-
-        return request
-    }
-
-    // MARK: File
-
-    /**
-        Creates a request for uploading a file to the specified URL request.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter URLRequest: The URL request
-        - parameter file:       The file to upload
-
-        - returns: The created upload request.
-    */
-    public func upload(URLRequest: URLRequestConvertible, file: NSURL) -> Request {
-        return upload(.File(URLRequest.URLRequest, file))
-    }
-
-    /**
-        Creates a request for uploading a file to the specified URL request.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter method:    The HTTP method.
-        - parameter URLString: The URL string.
-        - parameter headers:   The HTTP headers. `nil` by default.
-        - parameter file:      The file to upload
-
-        - returns: The created upload request.
-    */
-    public func upload(
-        method: Method,
-        _ URLString: URLStringConvertible,
-        headers: [String: String]? = nil,
-        file: NSURL)
-        -> Request {
-        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
-        return upload(mutableURLRequest, file: file)
-    }
-
-    // MARK: Data
-
-    /**
-        Creates a request for uploading data to the specified URL request.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter URLRequest: The URL request.
-        - parameter data:       The data to upload.
-
-        - returns: The created upload request.
-    */
-    public func upload(URLRequest: URLRequestConvertible, data: NSData) -> Request {
-        return upload(.Data(URLRequest.URLRequest, data))
-    }
-
-    /**
-        Creates a request for uploading data to the specified URL request.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter method:    The HTTP method.
-        - parameter URLString: The URL string.
-        - parameter headers:   The HTTP headers. `nil` by default.
-        - parameter data:      The data to upload
-
-        - returns: The created upload request.
-    */
-    public func upload(
-        method: Method,
-        _ URLString: URLStringConvertible,
-        headers: [String: String]? = nil,
-        data: NSData)
-        -> Request {
-        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
-
-        return upload(mutableURLRequest, data: data)
-    }
-
-    // MARK: Stream
-
-    /**
-        Creates a request for uploading a stream to the specified URL request.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter URLRequest: The URL request.
-        - parameter stream:     The stream to upload.
-
-        - returns: The created upload request.
-    */
-    public func upload(URLRequest: URLRequestConvertible, stream: NSInputStream) -> Request {
-        return upload(.Stream(URLRequest.URLRequest, stream))
-    }
-
-    /**
-        Creates a request for uploading a stream to the specified URL request.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter method:    The HTTP method.
-        - parameter URLString: The URL string.
-        - parameter headers:   The HTTP headers. `nil` by default.
-        - parameter stream:    The stream to upload.
-
-        - returns: The created upload request.
-    */
-    public func upload(
-        method: Method,
-        _ URLString: URLStringConvertible,
-        headers: [String: String]? = nil,
-        stream: NSInputStream)
-        -> Request {
-        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
-
-        return upload(mutableURLRequest, stream: stream)
-    }
-
-    // MARK: MultipartFormData
-
-    /// Default memory threshold used when encoding `MultipartFormData`.
-    public static let MultipartFormDataEncodingMemoryThreshold: UInt64 = 10 * 1024 * 1024
-
-    /**
-        Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as
-        associated values.
-
-        - Success: Represents a successful `MultipartFormData` encoding and contains the new `Request` along with
-                   streaming information.
-        - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding
-                   error.
-    */
-    public enum MultipartFormDataEncodingResult {
-        case Success(request: Request, streamingFromDisk: Bool, streamFileURL: NSURL?)
-        case Failure(ErrorType)
-    }
-
-    /**
-        Encodes the `MultipartFormData` and creates a request to upload the result to the specified URL request.
-
-        It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-        payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-        efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-        be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-        footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-        used for larger payloads such as video content.
-
-        The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-        or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-        encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-        during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-        technique was used.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter method:                  The HTTP method.
-        - parameter URLString:               The URL string.
-        - parameter headers:                 The HTTP headers. `nil` by default.
-        - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-        - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-                                             `MultipartFormDataEncodingMemoryThreshold` by default.
-        - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-    */
-    public func upload(
-        method: Method,
-        _ URLString: URLStringConvertible,
-        headers: [String: String]? = nil,
-        multipartFormData: MultipartFormData -> Void,
-        encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
-        encodingCompletion: (MultipartFormDataEncodingResult -> Void)?) {
-        let mutableURLRequest = URLRequest(method, URLString, headers: headers)
-
-        return upload(
-            mutableURLRequest,
-            multipartFormData: multipartFormData,
-            encodingMemoryThreshold: encodingMemoryThreshold,
-            encodingCompletion: encodingCompletion
-        )
-    }
-
-    /**
-        Encodes the `MultipartFormData` and creates a request to upload the result to the specified URL request.
-
-        It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-        payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-        efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-        be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-        footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-        used for larger payloads such as video content.
-
-        The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-        or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-        encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-        during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-        technique was used.
-
-        If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-
-        - parameter URLRequest:              The URL request.
-        - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-        - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-                                             `MultipartFormDataEncodingMemoryThreshold` by default.
-        - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-    */
-    public func upload(
-        URLRequest: URLRequestConvertible,
-        multipartFormData: MultipartFormData -> Void,
-        encodingMemoryThreshold: UInt64 = Manager.MultipartFormDataEncodingMemoryThreshold,
-        encodingCompletion: (MultipartFormDataEncodingResult -> Void)?) {
-        dispatch_async(dispatch_get_global_queue(DISPATCH_QUEUE_PRIORITY_DEFAULT, 0)) {
-            let formData = MultipartFormData()
-            multipartFormData(formData)
-
-            let URLRequestWithContentType = URLRequest.URLRequest
-            URLRequestWithContentType.setValue(formData.contentType, forHTTPHeaderField: "Content-Type")
-
-            let isBackgroundSession = self.session.configuration.identifier != nil
-
-            if formData.contentLength < encodingMemoryThreshold && !isBackgroundSession {
-                do {
-                    let data = try formData.encode()
-                    let encodingResult = MultipartFormDataEncodingResult.Success(
-                        request: self.upload(URLRequestWithContentType, data: data),
-                        streamingFromDisk: false,
-                        streamFileURL: nil
-                    )
-
-                    dispatch_async(dispatch_get_main_queue()) {
-                        encodingCompletion?(encodingResult)
-                    }
-                } catch {
-                    dispatch_async(dispatch_get_main_queue()) {
-                        encodingCompletion?(.Failure(error as NSError))
-                    }
-                }
-            } else {
-                let fileManager = NSFileManager.defaultManager()
-                let tempDirectoryURL = NSURL(fileURLWithPath: NSTemporaryDirectory())
-                let directoryURL = tempDirectoryURL.URLByAppendingPathComponent("com.alamofire.manager/multipart.form.data")
-                let fileName = NSUUID().UUIDString
-                let fileURL = directoryURL.URLByAppendingPathComponent(fileName)
-
-                do {
-                    try fileManager.createDirectoryAtURL(directoryURL, withIntermediateDirectories: true, attributes: nil)
-                    try formData.writeEncodedDataToDisk(fileURL)
-
-                    dispatch_async(dispatch_get_main_queue()) {
-                        let encodingResult = MultipartFormDataEncodingResult.Success(
-                            request: self.upload(URLRequestWithContentType, file: fileURL),
-                            streamingFromDisk: true,
-                            streamFileURL: fileURL
-                        )
-                        encodingCompletion?(encodingResult)
-                    }
-                } catch {
-                    dispatch_async(dispatch_get_main_queue()) {
-                        encodingCompletion?(.Failure(error as NSError))
-                    }
-                }
-            }
-        }
-    }
-}
-
-// MARK: -
-
-extension Request {
-
-    // MARK: - UploadTaskDelegate
-
-    class UploadTaskDelegate: DataTaskDelegate {
-        var uploadTask: NSURLSessionUploadTask? { return task as? NSURLSessionUploadTask }
-        var uploadProgress: ((Int64, Int64, Int64) -> Void)!
-
-        // MARK: - NSURLSessionTaskDelegate
-
-        // MARK: Override Closures
-
-        var taskDidSendBodyData: ((NSURLSession, NSURLSessionTask, Int64, Int64, Int64) -> Void)?
-
-        // MARK: Delegate Methods
-
-        func URLSession(
-            session: NSURLSession,
-            task: NSURLSessionTask,
-            didSendBodyData bytesSent: Int64,
-            totalBytesSent: Int64,
-            totalBytesExpectedToSend: Int64) {
-            if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-            if let taskDidSendBodyData = taskDidSendBodyData {
-                taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
-            } else {
-                progress.totalUnitCount = totalBytesExpectedToSend
-                progress.completedUnitCount = totalBytesSent
-
-                uploadProgress?(bytesSent, totalBytesSent, totalBytesExpectedToSend)
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
deleted file mode 100644
index 11614e7bab3..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
+++ /dev/null
@@ -1,211 +0,0 @@
-//
-//  Validation.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Request {
-
-    /**
-        Used to represent whether validation was successful or encountered an error resulting in a failure.
-
-        - Success: The validation was successful.
-        - Failure: The validation failed encountering the provided error.
-    */
-    public enum ValidationResult {
-        case Success
-        case Failure(NSError)
-    }
-
-    /**
-        A closure used to validate a request that takes a URL request and URL response, and returns whether the
-        request was valid.
-    */
-    public typealias Validation = (NSURLRequest?, NSHTTPURLResponse) -> ValidationResult
-
-    /**
-        Validates the request, using the specified closure.
-
-        If validation fails, subsequent calls to response handlers will have an associated error.
-
-        - parameter validation: A closure to validate the request.
-
-        - returns: The request.
-    */
-    public func validate(validation: Validation) -> Self {
-        delegate.queue.addOperationWithBlock {
-            if let
-                response = self.response where self.delegate.error == nil,
-                case let .Failure(error) = validation(self.request, response) {
-                self.delegate.error = error
-            }
-        }
-
-        return self
-    }
-
-    // MARK: - Status Code
-
-    /**
-        Validates that the response has a status code in the specified range.
-
-        If validation fails, subsequent calls to response handlers will have an associated error.
-
-        - parameter range: The range of acceptable status codes.
-
-        - returns: The request.
-    */
-    public func validate<S: SequenceType where S.Generator.Element == Int>(statusCode acceptableStatusCode: S) -> Self {
-        return validate { _, response in
-            if acceptableStatusCode.contains(response.statusCode) {
-                return .Success
-            } else {
-                let failureReason = "Response status code was unacceptable: \(response.statusCode)"
-
-                let error = NSError(
-                    domain: Error.Domain,
-                    code: Error.Code.StatusCodeValidationFailed.rawValue,
-                    userInfo: [
-                        NSLocalizedFailureReasonErrorKey: failureReason,
-                        Error.UserInfoKeys.StatusCode: response.statusCode
-                    ]
-                )
-
-                return .Failure(error)
-            }
-        }
-    }
-
-    // MARK: - Content-Type
-
-    private struct MIMEType {
-        let type: String
-        let subtype: String
-
-        init?(_ string: String) {
-            let components: [String] = {
-                let stripped = string.stringByTrimmingCharactersInSet(NSCharacterSet.whitespaceAndNewlineCharacterSet())
-                let split = stripped.substringToIndex(stripped.rangeOfString(";")?.startIndex ?? stripped.endIndex)
-                return split.componentsSeparatedByString("/")
-            }()
-
-            if let
-                type = components.first,
-                subtype = components.last {
-                self.type = type
-                self.subtype = subtype
-            } else {
-                return nil
-            }
-        }
-
-        func matches(MIME: MIMEType) -> Bool {
-            switch (type, subtype) {
-            case (MIME.type, MIME.subtype), (MIME.type, "*"), ("*", MIME.subtype), ("*", "*"):
-                return true
-            default:
-                return false
-            }
-        }
-    }
-
-    /**
-        Validates that the response has a content type in the specified array.
-
-        If validation fails, subsequent calls to response handlers will have an associated error.
-
-        - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes.
-
-        - returns: The request.
-    */
-    public func validate<S: SequenceType where S.Generator.Element == String>(contentType acceptableContentTypes: S) -> Self {
-        return validate { _, response in
-            guard let validData = self.delegate.data where validData.length > 0 else { return .Success }
-
-            if let
-                responseContentType = response.MIMEType,
-                responseMIMEType = MIMEType(responseContentType) {
-                for contentType in acceptableContentTypes {
-                    if let acceptableMIMEType = MIMEType(contentType) where acceptableMIMEType.matches(responseMIMEType) {
-                        return .Success
-                    }
-                }
-            } else {
-                for contentType in acceptableContentTypes {
-                    if let MIMEType = MIMEType(contentType) where MIMEType.type == "*" && MIMEType.subtype == "*" {
-                        return .Success
-                    }
-                }
-            }
-
-            let contentType: String
-            let failureReason: String
-
-            if let responseContentType = response.MIMEType {
-                contentType = responseContentType
-
-                failureReason = (
-                    "Response content type \"\(responseContentType)\" does not match any acceptable " +
-                    "content types: \(acceptableContentTypes)"
-                )
-            } else {
-                contentType = ""
-                failureReason = "Response content type was missing and acceptable content type does not match \"*/*\""
-            }
-
-            let error = NSError(
-                domain: Error.Domain,
-                code: Error.Code.ContentTypeValidationFailed.rawValue,
-                userInfo: [
-                    NSLocalizedFailureReasonErrorKey: failureReason,
-                    Error.UserInfoKeys.ContentType: contentType
-                ]
-            )
-
-            return .Failure(error)
-        }
-    }
-
-    // MARK: - Automatic
-
-    /**
-        Validates that the response has a status code in the default acceptable range of 200...299, and that the content
-        type matches any specified in the Accept HTTP header field.
-
-        If validation fails, subsequent calls to response handlers will have an associated error.
-
-        - returns: The request.
-    */
-    public func validate() -> Self {
-        let acceptableStatusCodes: Range<Int> = 200..<300
-        let acceptableContentTypes: [String] = {
-            if let accept = request?.valueForHTTPHeaderField("Accept") {
-                return accept.componentsSeparatedByString(",")
-            }
-
-            return ["*/*"]
-        }()
-
-        return validate(statusCode: acceptableStatusCodes).validate(contentType: acceptableContentTypes)
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json
deleted file mode 100644
index b0f254bb81c..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json	
+++ /dev/null
@@ -1,25 +0,0 @@
-{
-  "name": "PetstoreClient",
-  "platforms": {
-    "ios": "8.0",
-    "osx": "10.9"
-  },
-  "version": "0.0.1",
-  "source": {
-    "git": "git@github.com:swagger-api/swagger-mustache.git",
-    "tag": "v1.0.0"
-  },
-  "authors": "",
-  "license": "Proprietary",
-  "homepage": "https://github.com/swagger-api/swagger-codegen",
-  "summary": "PetstoreClient",
-  "source_files": "PetstoreClient/Classes/Swaggers/**/*.swift",
-  "dependencies": {
-    "PromiseKit": [
-      "~> 3.1.1"
-    ],
-    "Alamofire": [
-      "~> 3.4.1"
-    ]
-  }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Manifest.lock b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Manifest.lock
deleted file mode 100644
index f63b50721dd..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Manifest.lock
+++ /dev/null
@@ -1,41 +0,0 @@
-PODS:
-  - Alamofire (3.4.2)
-  - OMGHTTPURLRQ (3.1.3):
-    - OMGHTTPURLRQ/RQ (= 3.1.3)
-  - OMGHTTPURLRQ/FormURLEncode (3.1.3)
-  - OMGHTTPURLRQ/RQ (3.1.3):
-    - OMGHTTPURLRQ/FormURLEncode
-    - OMGHTTPURLRQ/UserAgent
-  - OMGHTTPURLRQ/UserAgent (3.1.3)
-  - PetstoreClient (0.0.1):
-    - Alamofire (~> 3.4.1)
-    - PromiseKit (~> 3.1.1)
-  - PromiseKit (3.1.1):
-    - PromiseKit/Foundation (= 3.1.1)
-    - PromiseKit/QuartzCore (= 3.1.1)
-    - PromiseKit/UIKit (= 3.1.1)
-  - PromiseKit/CorePromise (3.1.1)
-  - PromiseKit/Foundation (3.1.1):
-    - OMGHTTPURLRQ (~> 3.1.0)
-    - PromiseKit/CorePromise
-  - PromiseKit/QuartzCore (3.1.1):
-    - PromiseKit/CorePromise
-  - PromiseKit/UIKit (3.1.1):
-    - PromiseKit/CorePromise
-
-DEPENDENCIES:
-  - PetstoreClient (from `../`)
-
-EXTERNAL SOURCES:
-  PetstoreClient:
-    :path: "../"
-
-SPEC CHECKSUMS:
-  Alamofire: 6aa33201d20d069e1598891cf928883ff1888c7a
-  OMGHTTPURLRQ: a547be1b9721ddfbf9d08aab56ab72dc4c1cc417
-  PetstoreClient: c1836ff59f46bfeae155be0b53bc9ba55b827bc9
-  PromiseKit: 4e8127c22a9b29d1b44958ab2ec762ea6115cbfb
-
-PODFILE CHECKSUM: 84472aca2a88b7f7ed9fcd63e9f5fdb5ad4aab94
-
-COCOAPODS: 1.1.1
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index 0428f9c6d06..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1662 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		009A705EB41A7BD11E77200CD1FB65CC /* AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = EC8150042B23FCA7DF9979098694EC0B /* AnyPromise.m */; };
-		029AC3390FBF6FE9A66FC3D937065ED8 /* UIActionSheet+AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = 590BCD68D24A72708312E57A91360AC7 /* UIActionSheet+AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		061D9A45538674253A809E070A8A089D /* UIViewController+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7C40ADE30634419CED97EC829EE5D2C /* UIViewController+Promise.swift */; };
-		086EF9C01D071D88D853A11539D42B9F /* Models.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8F0266C5AE0B23A436291F6647902086 /* Models.swift */; };
-		0DB7734F8CD7D40D922F73C1C9146EE4 /* OMGFormURLEncode.h in Headers */ = {isa = PBXBuildFile; fileRef = 3B1578E353CE37C4C4201EC9101DE67F /* OMGFormURLEncode.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		13C8FE870121B96B85458487D176292A /* OMGUserAgent.m in Sources */ = {isa = PBXBuildFile; fileRef = 937CB6976C5F585A76A9383107F5AF73 /* OMGUserAgent.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
-		162CFCD9335EB4583A6247A6116FEB0D /* NSURLConnection+AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = E0B0C8D6D1D56B95983D680363E6F785 /* NSURLConnection+AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		19481BE7602C732E16A4C1FDE7D800DA /* NSURLConnection+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9066E09FAD7A3236DAD81317C1E48214 /* NSURLConnection+Promise.swift */; };
-		1B3395001A4E5AB2E7EEEFE9964348B5 /* after.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3E49ED544745AD479AFA0B6766F441CE /* after.swift */; };
-		1B9EDEDC964E6B08F78920B4F4B9DB84 /* Alamofire-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 791F2A99A7894F88F8BBAE2F6C627522 /* Alamofire-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		2192B0DEE9028936168890C1D6EB0259 /* Download.swift in Sources */ = {isa = PBXBuildFile; fileRef = 770621722C3B98D9380F76F3310EAA7F /* Download.swift */; };
-		21B837E7DB2A98D7B3E2D64AABA828F2 /* PetAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 261F03A3C73374FD19333EEA59CCD59F /* PetAPI.swift */; };
-		23FFDF15FBA1EC26909CB3BC5CCEB3A8 /* PromiseKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A112EF8BB3933C1C1E42F11B3DD3B02A /* PromiseKit.framework */; };
-		258F28EA87BCDBE2307CD728D6847F44 /* OMGHTTPURLRQ.h in Headers */ = {isa = PBXBuildFile; fileRef = 859DDC0FFB13DB9C838BA38D0641A1BA /* OMGHTTPURLRQ.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		28AF3FD0C6798D6A36A13C2AB39F8239 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1F60254382C7024DDFD16533FB81750A /* Result.swift */; };
-		2A926E5EA0483C43023F396648F31100 /* APIHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2BAD338E56EF3CAA6E54490FE0C5DF9 /* APIHelper.swift */; };
-		2C65AE47419BA083958A5D9F760F7150 /* OMGHTTPURLRQ-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 8F88352C39FB2D4A0D36696674E7C05D /* OMGHTTPURLRQ-dummy.m */; };
-		2E3A55DBE5D58E6E6B3068D0BF84BA42 /* OMGUserAgent.h in Headers */ = {isa = PBXBuildFile; fileRef = 4FF818D195F8814F5F8878A2FD02AF1D /* OMGUserAgent.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		2FF723F26615EB2ACAE54BDA6E3707DC /* Pods-SwaggerClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 291054DAA3207AFC1F6B3D7AD6C25E5C /* Pods-SwaggerClient-dummy.m */; };
-		31D35FA0B2173504DBA8E2F450CAC665 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8D1D96AB285E285A3CC15FAD1CD875B2 /* ServerTrustPolicy.swift */; };
-		31F8B86E3672D0B828B6352C875649C4 /* Pods-SwaggerClientTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = F22FE315AC1C04A8749BD18281EE9028 /* Pods-SwaggerClientTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		32A893A9FE628EDBC482D40F753699F9 /* race.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EC07412ABFB8D5A06E7B38380FFD9C4 /* race.swift */; };
-		3360421DE3672EDEC5D92072E5FB3DEA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB034280B33CDA4CAB9BB6A9ADD01052 /* Foundation.framework */; };
-		33D7D29D9E53DA84337D305017107505 /* PetstoreClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 9F681D2C508D1BA8F62893120D9343A4 /* PetstoreClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		3FE36566EFBFEFABC46589686A7ADCD2 /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0435721889B71489503A007D233559DF /* Validation.swift */; };
-		4CDF7F31FC91171478EC0A2E2AB4E758 /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74E1D5C24530737CDD54FA854E37B371 /* Response.swift */; };
-		5344CCD94F668BD41A0417B3A3CDF4F2 /* OMGFormURLEncode.m in Sources */ = {isa = PBXBuildFile; fileRef = 56CDA7C9327CF6F3DFC66FC128D7365B /* OMGFormURLEncode.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
-		54BAF231DB704DB87968C54637AF9551 /* PetstoreClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 46A8E0328DC896E0893B565FE8742167 /* PetstoreClient-dummy.m */; };
-		55F5CB213AA2AE0675636AC73B7D7FB1 /* OMGHTTPURLRQ.m in Sources */ = {isa = PBXBuildFile; fileRef = 3EEC1FB4B45C5C247D2D0FB33D4F5A1D /* OMGHTTPURLRQ.m */; settings = {COMPILER_FLAGS = "-DOS_OBJECT_USE_OBJC=0"; }; };
-		563431FCE9268B58BFD2F32E358673C6 /* UIAlertView+AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = 9FB7C011EC5C968D7A91E71A028913B7 /* UIAlertView+AnyPromise.m */; };
-		57BFFADED3A561DB8420A8B74A5A57BB /* QuartzCore.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = DA6A54FE4F7D8D9EB477715D46429925 /* QuartzCore.framework */; };
-		58597FACD9B948EB5E4EB1A96E84F9DE /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = FFB0686D05BA9C4D5A69D6058C029FF2 /* NetworkReachabilityManager.swift */; };
-		5919AA12FFE36B8D4D60D7032547A2B5 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB034280B33CDA4CAB9BB6A9ADD01052 /* Foundation.framework */; };
-		5C067F2478F7DD077A0496925F57CE8C /* UIViewController+AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = 7B892AF5EA37A5C7962FEA3E294B2526 /* UIViewController+AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		5ECBDDFA4329B4AB812B4A10DBD2EB1A /* join.m in Sources */ = {isa = PBXBuildFile; fileRef = E3B8EDBFFE2A701981A073412ECCF6AD /* join.m */; };
-		5F193AFDA8E41A904D4B657769F49A93 /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA79CBD1DDA33C45473F8807605719BC /* MultipartFormData.swift */; };
-		629C5CA00E2A6A40D7AEF34A7FD7772F /* UIView+AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = 13DB7D7990FD3354E34510894CC30CD1 /* UIView+AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		66130A4C8A83C11558EC154FA1C9D191 /* after.m in Sources */ = {isa = PBXBuildFile; fileRef = 4765491FCD8E096D84D4E57E005B8B49 /* after.m */; };
-		689CD9721F90D45A57369D76461CA5E2 /* NSNotificationCenter+AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = DCBC249F9443D7D79A42B5C4BAC874C8 /* NSNotificationCenter+AnyPromise.m */; };
-		68B6B55AA10FA42481892FE79996D4F0 /* UIView+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E69FDAAF09817F0BA67D7C575BAFF48 /* UIView+Promise.swift */; };
-		6ADCA5D4BB1C66A8FC959C38CAEA4488 /* NSNotificationCenter+AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = EFC77A5BCF407679FAB606F03E631A11 /* NSNotificationCenter+AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		6FA4548F5D2921C78F45295A21147A04 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB034280B33CDA4CAB9BB6A9ADD01052 /* Foundation.framework */; };
-		74231A47F9018E69CB8390B3BD9815B8 /* hang.m in Sources */ = {isa = PBXBuildFile; fileRef = 955F5499BB7496155FBF443B524F1D50 /* hang.m */; };
-		7519B50597E2DC5B47FC6927BA94D3A7 /* NSError+Cancellation.h in Headers */ = {isa = PBXBuildFile; fileRef = 2E9E05F82273A09FD6E5CA99FD3A74D9 /* NSError+Cancellation.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		7546CDAE72452E874E5DB53099BF3E70 /* UIViewController+AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = 53F1201EF49979297542207D6EB6EC55 /* UIViewController+AnyPromise.m */; };
-		7892B90D39A86C32BD7ECFF8F6C52A38 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7D3192434754120C2AAF44818AEE054B /* Request.swift */; };
-		7A2A45654491E53EA0DF0C7749C7D6BB /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A1D1571AB15108DF6F9C4FE2064E3C43 /* Alamofire.framework */; };
-		7EC6F570997E9A0CC65AD7E7E319C0EF /* Promise+Properties.swift in Sources */ = {isa = PBXBuildFile; fileRef = B225BF6ADAA247F1300081D25732B5B4 /* Promise+Properties.swift */; };
-		7F89336AE817C0C79287405B01352B8F /* OMGHTTPURLRQ.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 3530BF15E14D1F6D7134EE67377D5C8C /* OMGHTTPURLRQ.framework */; };
-		8179D1D51A9219B01C0C007F96F02F33 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9519BB8B059D8A17CE43587EB6EFA61D /* Notifications.swift */; };
-		897985FA042CD12B825C3032898FAB26 /* Pods-SwaggerClientTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 687B19CB3E722272B41D60B485C29EE7 /* Pods-SwaggerClientTests-dummy.m */; };
-		8A858C9291A59130A4A3AE2FB193E480 /* UIAlertView+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8E29EB54AEC61300AD412C40991FFED5 /* UIAlertView+Promise.swift */; };
-		8ADEA58D7C48EC4973D667F87C5AE948 /* URLDataPromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E339112CF5C9275CFBEB94C29AD250B /* URLDataPromise.swift */; };
-		8BC2037248D2FA8B2E2475AC2E466494 /* Alamofire-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F0962CCF21BDD2EB5751C14F9322AFC9 /* Alamofire-dummy.m */; };
-		98971D531D9D7138ED04B55FE458D66D /* NSURLConnection+AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = D9A940E08D42AC7D07C6B74D3310C69A /* NSURLConnection+AnyPromise.m */; };
-		989ED6D4ECDEF446FB68EFF07F0CBEF5 /* PromiseKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = B09DEE52CBDEC1EA108DD327EF036F4A /* PromiseKit-dummy.m */; };
-		98C216E54478D7F70674111361A4DB7E /* Pods-SwaggerClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3EEBA91980AEC8774CF7EC08035B089A /* Pods-SwaggerClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		9B70D1F82BB1FA9EAEF67815AB211B47 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = FDA7C65B58A0E739E615FA7A750AA0AD /* Alamofire.swift */; };
-		9C88873949B0DCF8A580D0F65A43A482 /* Manager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1AA002805CE140B0968FC965A53F0A4C /* Manager.swift */; };
-		9E16513086BC96F16B7F73065AE84AC4 /* NSNotificationCenter+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 786AAA1F62613C489FD473D4CE16127A /* NSNotificationCenter+Promise.swift */; };
-		A04BFC558D69E7DBB68023C80A9CFE4E /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB034280B33CDA4CAB9BB6A9ADD01052 /* Foundation.framework */; };
-		A3C3B39CE3715B4260DC6FF0B621C142 /* Category.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4DF0604EDC1460935E6E445A47023A4 /* Category.swift */; };
-		A3D61ED4990E52E06A3315F2A9A00C6D /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA62734652B80C3897AA655226B3BCF3 /* ResponseSerialization.swift */; };
-		AF02896B7B6B213C98324CD75871275A /* CALayer+AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = DD83C2B5FF3BF5AB85E18B1BB6293857 /* CALayer+AnyPromise.m */; };
-		AF1AE4A9DCBCD5BEA4818AB39C73F2FB /* UIKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 629BAC72A4C38220E0906526E102AC40 /* UIKit.framework */; };
-		B067653C1D7B7214CD0079A279326610 /* AnyPromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FB5ABB73E12675999DE989CC2478A7A /* AnyPromise.swift */; };
-		B1A09AAC19DAB39B1C7F172CEBF0AAAD /* when.swift in Sources */ = {isa = PBXBuildFile; fileRef = DEFA2BBF978F33CA2112DC5D6209A3EF /* when.swift */; };
-		B924DB98A633A09B12A6226F75261F83 /* Stream.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCC88BB5150F5865EE3017D1B9AB4CF5 /* Stream.swift */; };
-		BF43C103A91BDDC98FA10577CBA76D8B /* AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = D475FE9899956F5D2196D1C19DFC1F28 /* AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		C2249D68F55536B774806E6ED01D3431 /* NSURLSession+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5A5AEB5CADDFFFC419A0D8D6FD914800 /* NSURLSession+Promise.swift */; };
-		C3EC2C7BE760D6CEE606445A1AE2E071 /* dispatch_promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 85FD17541BFB4152FD5F2CA46F9E3ACC /* dispatch_promise.swift */; };
-		C5938D7FB0EC73BE33F4A6B31BE937B9 /* join.swift in Sources */ = {isa = PBXBuildFile; fileRef = BED547C24FF8AE5F91ED94E3BC8052C8 /* join.swift */; };
-		C884C9ADEA7330CF670815C9689FBBD9 /* UIActionSheet+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDDBF73F440D96AB666A6418AEEF2946 /* UIActionSheet+Promise.swift */; };
-		CEE2E4C0A2875A6C0CA9BB46572D6224 /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47B728204DA3D60FAB04A757D3B09D2E /* Timeline.swift */; };
-		CEF24FA13891DB5422B2DAF72DE83A9A /* Upload.swift in Sources */ = {isa = PBXBuildFile; fileRef = A9E0C3DC76C639C91EF9B920C8E3D60F /* Upload.swift */; };
-		D02588110E13C2C2F223EAE690848951 /* UserAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 552D15E0340BF58CC1922B82E864AEC9 /* UserAPI.swift */; };
-		D13DFBC6575E7DB809A1420CB9F920B5 /* dispatch_promise.m in Sources */ = {isa = PBXBuildFile; fileRef = 7356B0365E4182E6E6D55124C678B591 /* dispatch_promise.m */; };
-		D2230D11A1EE4A48E9EC72EA44D09EAC /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = DFFF6310B8F8C445362FF33E936F85CA /* Error.swift */; };
-		D32130A2C8AC5B1FF21AF43BCC2B5217 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB034280B33CDA4CAB9BB6A9ADD01052 /* Foundation.framework */; };
-		D3A23B867EBFCD3AC86370D26250C290 /* OMGHTTPURLRQ-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 3029ADF04ADC2B8F3A7264A416D70B56 /* OMGHTTPURLRQ-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		D509E607CAE14D8848E2BBAC478BEED5 /* Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDB573F3C977C55072704AA24EC06164 /* Promise.swift */; };
-		D5ECD91CE99A115543BEC3B993C11BD3 /* Pet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 284B3DE9B793FCC633E971DB1798AFAF /* Pet.swift */; };
-		D733EB627BBBA34769C0CDEF5ABE0E41 /* UIActionSheet+AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = CABB6C822D84DC5F0596B6D7B60CC5AA /* UIActionSheet+AnyPromise.m */; };
-		DB9ED067DD1525127DFBE4B5647E502C /* afterlife.swift in Sources */ = {isa = PBXBuildFile; fileRef = 178262A3EEE3B9A6F7B9B2B4ED5AA150 /* afterlife.swift */; };
-		E5E62E286336AB2FBB84501E1ACEEE7C /* State.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3BEE20F7C5242E616D2D97B5FBE31323 /* State.swift */; };
-		E7D7EF4C9B8164062D3C5E6EA7C534C2 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7390892336E4D605CF390FFA4B55EF0A /* Error.swift */; };
-		E968D568838BC789817F6009838349A3 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = E4B2CF9B72BC56E74E6B0037BDE92031 /* ParameterEncoding.swift */; };
-		EC284D0372D446702CC9585351E4027D /* UIView+AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = EA13BF2FADA101A1AB34BF5EC8C7BA85 /* UIView+AnyPromise.m */; };
-		ECD1DE9F631F8BCD514213BF97385BAE /* Tag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 211F73A46D90346F7FC6D0D29640EE4F /* Tag.swift */; };
-		EECED5D6A7CD41D58DF352339C8C4844 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AB034280B33CDA4CAB9BB6A9ADD01052 /* Foundation.framework */; };
-		EF45D47D7EBC09983C83946F2BB75C92 /* PromiseKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 1AAED38B682D186542DC2B8D273486F4 /* PromiseKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		EF4BCB7BBAB19687FAD3A5A71C859A7F /* Order.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0A545673F09F49CDD60A13B4B0AF1020 /* Order.swift */; };
-		EF9B6103AC1A233089E5317B1E2D8031 /* APIs.swift in Sources */ = {isa = PBXBuildFile; fileRef = D8072E1108951F272C003553FC8926C7 /* APIs.swift */; };
-		F38E53627E8AD5C92AF674C15A3A2493 /* when.m in Sources */ = {isa = PBXBuildFile; fileRef = 9C307C0A58A490D3080DB4C1E745C973 /* when.m */; };
-		F6BC9BD76DB32C32BFDAD6582DC9F9B0 /* NSObject+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6650152803DA41F52DA6A26B5DF713D7 /* NSObject+Promise.swift */; };
-		F84E18C37A7B3B8A338E817574491335 /* AlamofireImplementations.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92734297B64DFE0EB0EDE1EA821163DB /* AlamofireImplementations.swift */; };
-		F986101B7E81C6AABC67FF43C958D54A /* StoreAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1A3E5E3CD673B025FD8AC260E67AB47E /* StoreAPI.swift */; };
-		FADE7DCB53BC63ECC585A5192BC15843 /* Umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = B0B08C036B6283A3D528F1FBBEEF40EC /* Umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		FC438D87EC736F347E1068A05360974E /* UIAlertView+AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = 4E19A7D44620C4AED963248648938767 /* UIAlertView+AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		FCA5211A7610129D1EAFC03D5F5351D2 /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5B248364ABF60ACD7DB31A17DCFDFD0C /* User.swift */; };
-		FCB8ADBF2A01486B7D575EA3326A70BD /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5412898DEB10F1983487A10453C6B9CB /* Extensions.swift */; };
-		FCDEC7CF7180ECD18CA73EB08EA4624D /* PMKAlertController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0608A7843513940A299A88D778388F9D /* PMKAlertController.swift */; };
-		FF2BDB83CB6FE636673DD089D26FBCB8 /* CALayer+AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = E48946E76C93EE81F20C76C0EE272B8E /* CALayer+AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		094864AE73DBB274F1E39300864E9C62 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 1FCDFB2162BF49E98CC34F69A4EB87B9;
-			remoteInfo = PromiseKit;
-		};
-		1F4208A7D556EA95487DDE364B0345D5 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 6AA38233456D5A22BF4E286D26DBBC53;
-			remoteInfo = PetstoreClient;
-		};
-		26F113882698B5132DB9F4537EF58E9A /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 88E9EC28B8B46C3631E6B242B50F4442;
-			remoteInfo = Alamofire;
-		};
-		65851406A9AA058E6966942F3A75BEFB /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 5AD1507205D908987C216D989FDDD0CD;
-			remoteInfo = OMGHTTPURLRQ;
-		};
-		CC71B8F089BD4B650825DDAA5DB71E07 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 88E9EC28B8B46C3631E6B242B50F4442;
-			remoteInfo = Alamofire;
-		};
-		E66AC3FE6854646CAC1BEA7B966F17B0 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 1FCDFB2162BF49E98CC34F69A4EB87B9;
-			remoteInfo = PromiseKit;
-		};
-		FB51D93BE6962BF86154BCCE6C6161E9 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 5AD1507205D908987C216D989FDDD0CD;
-			remoteInfo = OMGHTTPURLRQ;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		00ACB4396DD1B4E4539E4E81C1D7A14E /* Pods-SwaggerClientTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-SwaggerClientTests.modulemap"; sourceTree = "<group>"; };
-		02F28E719AA874BE9213D6CF8CE7E36B /* Pods-SwaggerClientTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwaggerClientTests-acknowledgements.plist"; sourceTree = "<group>"; };
-		0435721889B71489503A007D233559DF /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = "<group>"; };
-		0608A7843513940A299A88D778388F9D /* PMKAlertController.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PMKAlertController.swift; path = Categories/UIKit/PMKAlertController.swift; sourceTree = "<group>"; };
-		0A545673F09F49CDD60A13B4B0AF1020 /* Order.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Order.swift; sourceTree = "<group>"; };
-		0C552CDBDD89D489D23D5D4E28356F84 /* PromiseKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = PromiseKit.framework; path = PromiseKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		0E339112CF5C9275CFBEB94C29AD250B /* URLDataPromise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = URLDataPromise.swift; path = Sources/URLDataPromise.swift; sourceTree = "<group>"; };
-		10A634092EE6D018EB00C75E9864A6A2 /* Alamofire.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.xcconfig; sourceTree = "<group>"; };
-		11683764D40FE241FCEEB379EE92E817 /* PromiseKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PromiseKit-prefix.pch"; sourceTree = "<group>"; };
-		13DB7D7990FD3354E34510894CC30CD1 /* UIView+AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIView+AnyPromise.h"; path = "Categories/UIKit/UIView+AnyPromise.h"; sourceTree = "<group>"; };
-		178262A3EEE3B9A6F7B9B2B4ED5AA150 /* afterlife.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = afterlife.swift; path = Categories/Foundation/afterlife.swift; sourceTree = "<group>"; };
-		1A3E5E3CD673B025FD8AC260E67AB47E /* StoreAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = StoreAPI.swift; sourceTree = "<group>"; };
-		1AA002805CE140B0968FC965A53F0A4C /* Manager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Manager.swift; path = Source/Manager.swift; sourceTree = "<group>"; };
-		1AAED38B682D186542DC2B8D273486F4 /* PromiseKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = PromiseKit.h; path = Sources/PromiseKit.h; sourceTree = "<group>"; };
-		1F60254382C7024DDFD16533FB81750A /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Source/Result.swift; sourceTree = "<group>"; };
-		1FB5ABB73E12675999DE989CC2478A7A /* AnyPromise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnyPromise.swift; path = Sources/AnyPromise.swift; sourceTree = "<group>"; };
-		211F73A46D90346F7FC6D0D29640EE4F /* Tag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Tag.swift; sourceTree = "<group>"; };
-		261F03A3C73374FD19333EEA59CCD59F /* PetAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = PetAPI.swift; sourceTree = "<group>"; };
-		284B3DE9B793FCC633E971DB1798AFAF /* Pet.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Pet.swift; sourceTree = "<group>"; };
-		291054DAA3207AFC1F6B3D7AD6C25E5C /* Pods-SwaggerClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwaggerClient-dummy.m"; sourceTree = "<group>"; };
-		2E750A27FAB06DE866BC27CC8FA07806 /* PromiseKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PromiseKit.xcconfig; sourceTree = "<group>"; };
-		2E9E05F82273A09FD6E5CA99FD3A74D9 /* NSError+Cancellation.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSError+Cancellation.h"; path = "Sources/NSError+Cancellation.h"; sourceTree = "<group>"; };
-		2FF17440CCD2E1A69791A4AA23325AD5 /* Pods-SwaggerClient-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwaggerClient-acknowledgements.markdown"; sourceTree = "<group>"; };
-		3029ADF04ADC2B8F3A7264A416D70B56 /* OMGHTTPURLRQ-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OMGHTTPURLRQ-umbrella.h"; sourceTree = "<group>"; };
-		3530BF15E14D1F6D7134EE67377D5C8C /* OMGHTTPURLRQ.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = OMGHTTPURLRQ.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		3B1578E353CE37C4C4201EC9101DE67F /* OMGFormURLEncode.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = OMGFormURLEncode.h; path = Sources/OMGFormURLEncode.h; sourceTree = "<group>"; };
-		3BEE20F7C5242E616D2D97B5FBE31323 /* State.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = State.swift; path = Sources/State.swift; sourceTree = "<group>"; };
-		3E49ED544745AD479AFA0B6766F441CE /* after.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = after.swift; path = Sources/after.swift; sourceTree = "<group>"; };
-		3EC07412ABFB8D5A06E7B38380FFD9C4 /* race.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = race.swift; path = Sources/race.swift; sourceTree = "<group>"; };
-		3EEBA91980AEC8774CF7EC08035B089A /* Pods-SwaggerClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwaggerClient-umbrella.h"; sourceTree = "<group>"; };
-		3EEC1FB4B45C5C247D2D0FB33D4F5A1D /* OMGHTTPURLRQ.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = OMGHTTPURLRQ.m; path = Sources/OMGHTTPURLRQ.m; sourceTree = "<group>"; };
-		3F16B43ABD2C8CD4A311AA1AB3B6C02F /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		43FC49AA70D3E2A84CAED9C37BE9C4B5 /* Pods-SwaggerClientTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClientTests-frameworks.sh"; sourceTree = "<group>"; };
-		467F288FF1A023115720F192FD4D9297 /* Alamofire.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = Alamofire.modulemap; sourceTree = "<group>"; };
-		46A8E0328DC896E0893B565FE8742167 /* PetstoreClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PetstoreClient-dummy.m"; sourceTree = "<group>"; };
-		4765491FCD8E096D84D4E57E005B8B49 /* after.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = after.m; path = Sources/after.m; sourceTree = "<group>"; };
-		47B728204DA3D60FAB04A757D3B09D2E /* Timeline.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeline.swift; path = Source/Timeline.swift; sourceTree = "<group>"; };
-		4E19A7D44620C4AED963248648938767 /* UIAlertView+AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIAlertView+AnyPromise.h"; path = "Categories/UIKit/UIAlertView+AnyPromise.h"; sourceTree = "<group>"; };
-		4FF818D195F8814F5F8878A2FD02AF1D /* OMGUserAgent.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = OMGUserAgent.h; path = Sources/OMGUserAgent.h; sourceTree = "<group>"; };
-		53F1201EF49979297542207D6EB6EC55 /* UIViewController+AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIViewController+AnyPromise.m"; path = "Categories/UIKit/UIViewController+AnyPromise.m"; sourceTree = "<group>"; };
-		5412898DEB10F1983487A10453C6B9CB /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Extensions.swift; sourceTree = "<group>"; };
-		549C6527D10094289B101749047807C5 /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		552D15E0340BF58CC1922B82E864AEC9 /* UserAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UserAPI.swift; sourceTree = "<group>"; };
-		56CDA7C9327CF6F3DFC66FC128D7365B /* OMGFormURLEncode.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = OMGFormURLEncode.m; path = Sources/OMGFormURLEncode.m; sourceTree = "<group>"; };
-		590BCD68D24A72708312E57A91360AC7 /* UIActionSheet+AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIActionSheet+AnyPromise.h"; path = "Categories/UIKit/UIActionSheet+AnyPromise.h"; sourceTree = "<group>"; };
-		5A5AEB5CADDFFFC419A0D8D6FD914800 /* NSURLSession+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSURLSession+Promise.swift"; path = "Categories/Foundation/NSURLSession+Promise.swift"; sourceTree = "<group>"; };
-		5B248364ABF60ACD7DB31A17DCFDFD0C /* User.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = User.swift; sourceTree = "<group>"; };
-		5E69FDAAF09817F0BA67D7C575BAFF48 /* UIView+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIView+Promise.swift"; path = "Categories/UIKit/UIView+Promise.swift"; sourceTree = "<group>"; };
-		629BAC72A4C38220E0906526E102AC40 /* UIKit.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = UIKit.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/UIKit.framework; sourceTree = DEVELOPER_DIR; };
-		6650152803DA41F52DA6A26B5DF713D7 /* NSObject+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSObject+Promise.swift"; path = "Categories/Foundation/NSObject+Promise.swift"; sourceTree = "<group>"; };
-		687B19CB3E722272B41D60B485C29EE7 /* Pods-SwaggerClientTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwaggerClientTests-dummy.m"; sourceTree = "<group>"; };
-		705D1370384B46A3E5A39B39E7B4D181 /* OMGHTTPURLRQ-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "OMGHTTPURLRQ-prefix.pch"; sourceTree = "<group>"; };
-		7356B0365E4182E6E6D55124C678B591 /* dispatch_promise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = dispatch_promise.m; path = Sources/dispatch_promise.m; sourceTree = "<group>"; };
-		7390892336E4D605CF390FFA4B55EF0A /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = Source/Error.swift; sourceTree = "<group>"; };
-		74E1D5C24530737CDD54FA854E37B371 /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Source/Response.swift; sourceTree = "<group>"; };
-		770621722C3B98D9380F76F3310EAA7F /* Download.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Download.swift; path = Source/Download.swift; sourceTree = "<group>"; };
-		786AAA1F62613C489FD473D4CE16127A /* NSNotificationCenter+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSNotificationCenter+Promise.swift"; path = "Categories/Foundation/NSNotificationCenter+Promise.swift"; sourceTree = "<group>"; };
-		791F2A99A7894F88F8BBAE2F6C627522 /* Alamofire-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-umbrella.h"; sourceTree = "<group>"; };
-		7B892AF5EA37A5C7962FEA3E294B2526 /* UIViewController+AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "UIViewController+AnyPromise.h"; path = "Categories/UIKit/UIViewController+AnyPromise.h"; sourceTree = "<group>"; };
-		7C8E63660D346FD8ED2A97242E74EA09 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		7D3192434754120C2AAF44818AEE054B /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = "<group>"; };
-		835E52C658674D7A44ED95B966432726 /* Alamofire-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-prefix.pch"; sourceTree = "<group>"; };
-		849FECBC6CC67F2B6800F982927E3A9E /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-		859DDC0FFB13DB9C838BA38D0641A1BA /* OMGHTTPURLRQ.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = OMGHTTPURLRQ.h; path = Sources/OMGHTTPURLRQ.h; sourceTree = "<group>"; };
-		85FD17541BFB4152FD5F2CA46F9E3ACC /* dispatch_promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = dispatch_promise.swift; path = Sources/dispatch_promise.swift; sourceTree = "<group>"; };
-		86B1DDCB9E27DF43C2C35D9E7B2E84DA /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-		8D1D96AB285E285A3CC15FAD1CD875B2 /* ServerTrustPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustPolicy.swift; path = Source/ServerTrustPolicy.swift; sourceTree = "<group>"; };
-		8E29EB54AEC61300AD412C40991FFED5 /* UIAlertView+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIAlertView+Promise.swift"; path = "Categories/UIKit/UIAlertView+Promise.swift"; sourceTree = "<group>"; };
-		8F0266C5AE0B23A436291F6647902086 /* Models.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Models.swift; sourceTree = "<group>"; };
-		8F8078A9DEC41CD886A8676D889912A4 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		8F88352C39FB2D4A0D36696674E7C05D /* OMGHTTPURLRQ-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "OMGHTTPURLRQ-dummy.m"; sourceTree = "<group>"; };
-		9066E09FAD7A3236DAD81317C1E48214 /* NSURLConnection+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "NSURLConnection+Promise.swift"; path = "Categories/Foundation/NSURLConnection+Promise.swift"; sourceTree = "<group>"; };
-		92734297B64DFE0EB0EDE1EA821163DB /* AlamofireImplementations.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AlamofireImplementations.swift; sourceTree = "<group>"; };
-		937CB6976C5F585A76A9383107F5AF73 /* OMGUserAgent.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = OMGUserAgent.m; path = Sources/OMGUserAgent.m; sourceTree = "<group>"; };
-		93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
-		94F9363EEBC7855FA6B9A6B7485D5170 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		9519BB8B059D8A17CE43587EB6EFA61D /* Notifications.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Notifications.swift; path = Source/Notifications.swift; sourceTree = "<group>"; };
-		955F5499BB7496155FBF443B524F1D50 /* hang.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = hang.m; path = Sources/hang.m; sourceTree = "<group>"; };
-		969C2AF48F4307163B301A92E78AFCF2 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		97FF5C0140A433518CF653B6A520F27A /* OMGHTTPURLRQ.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = OMGHTTPURLRQ.framework; path = OMGHTTPURLRQ.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		9C307C0A58A490D3080DB4C1E745C973 /* when.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = when.m; path = Sources/when.m; sourceTree = "<group>"; };
-		9F681D2C508D1BA8F62893120D9343A4 /* PetstoreClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PetstoreClient-umbrella.h"; sourceTree = "<group>"; };
-		9FB7C011EC5C968D7A91E71A028913B7 /* UIAlertView+AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIAlertView+AnyPromise.m"; path = "Categories/UIKit/UIAlertView+AnyPromise.m"; sourceTree = "<group>"; };
-		A112EF8BB3933C1C1E42F11B3DD3B02A /* PromiseKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PromiseKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		A1D1571AB15108DF6F9C4FE2064E3C43 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		A9E0C3DC76C639C91EF9B920C8E3D60F /* Upload.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Upload.swift; path = Source/Upload.swift; sourceTree = "<group>"; };
-		AB034280B33CDA4CAB9BB6A9ADD01052 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
-		B09DEE52CBDEC1EA108DD327EF036F4A /* PromiseKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PromiseKit-dummy.m"; sourceTree = "<group>"; };
-		B0B08C036B6283A3D528F1FBBEEF40EC /* Umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = Umbrella.h; path = Sources/Umbrella.h; sourceTree = "<group>"; };
-		B225BF6ADAA247F1300081D25732B5B4 /* Promise+Properties.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Promise+Properties.swift"; path = "Sources/Promise+Properties.swift"; sourceTree = "<group>"; };
-		B349821C1F2B2C5F593BC228C462C99D /* OMGHTTPURLRQ.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = OMGHTTPURLRQ.modulemap; sourceTree = "<group>"; };
-		B3A144887C8B13FD888B76AB096B0CA1 /* PetstoreClient-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PetstoreClient-prefix.pch"; sourceTree = "<group>"; };
-		B7C40ADE30634419CED97EC829EE5D2C /* UIViewController+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIViewController+Promise.swift"; path = "Categories/UIKit/UIViewController+Promise.swift"; sourceTree = "<group>"; };
-		BCC88BB5150F5865EE3017D1B9AB4CF5 /* Stream.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Stream.swift; path = Source/Stream.swift; sourceTree = "<group>"; };
-		BCF2D4DFF08D2A18E8C8FE4C4B4633FB /* Pods-SwaggerClient-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClient-frameworks.sh"; sourceTree = "<group>"; };
-		BDEAF9E48610133B23BB992381D0E22B /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		BED547C24FF8AE5F91ED94E3BC8052C8 /* join.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = join.swift; path = Sources/join.swift; sourceTree = "<group>"; };
-		CA79CBD1DDA33C45473F8807605719BC /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Source/MultipartFormData.swift; sourceTree = "<group>"; };
-		CABB6C822D84DC5F0596B6D7B60CC5AA /* UIActionSheet+AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIActionSheet+AnyPromise.m"; path = "Categories/UIKit/UIActionSheet+AnyPromise.m"; sourceTree = "<group>"; };
-		CF8754792D6C49D6F5C8859350F48B35 /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SwaggerClient.framework; path = "Pods-SwaggerClient.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
-		D2841E5E2183846280B97F6E660DA26C /* Pods-SwaggerClient-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClient-resources.sh"; sourceTree = "<group>"; };
-		D2BAD338E56EF3CAA6E54490FE0C5DF9 /* APIHelper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = APIHelper.swift; sourceTree = "<group>"; };
-		D3A577E7C7DF4A2157D9001CA0D40A72 /* PromiseKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = PromiseKit.modulemap; sourceTree = "<group>"; };
-		D475FE9899956F5D2196D1C19DFC1F28 /* AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AnyPromise.h; path = Sources/AnyPromise.h; sourceTree = "<group>"; };
-		D4DF0604EDC1460935E6E445A47023A4 /* Category.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Category.swift; sourceTree = "<group>"; };
-		D8072E1108951F272C003553FC8926C7 /* APIs.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = APIs.swift; sourceTree = "<group>"; };
-		D9A940E08D42AC7D07C6B74D3310C69A /* NSURLConnection+AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSURLConnection+AnyPromise.m"; path = "Categories/Foundation/NSURLConnection+AnyPromise.m"; sourceTree = "<group>"; };
-		DA62734652B80C3897AA655226B3BCF3 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = "<group>"; };
-		DA6A54FE4F7D8D9EB477715D46429925 /* QuartzCore.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = QuartzCore.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.0.sdk/System/Library/Frameworks/QuartzCore.framework; sourceTree = DEVELOPER_DIR; };
-		DADAB10704E49D6B9E18F59F995BB88F /* PetstoreClient.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PetstoreClient.xcconfig; sourceTree = "<group>"; };
-		DCBC249F9443D7D79A42B5C4BAC874C8 /* NSNotificationCenter+AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "NSNotificationCenter+AnyPromise.m"; path = "Categories/Foundation/NSNotificationCenter+AnyPromise.m"; sourceTree = "<group>"; };
-		DD83C2B5FF3BF5AB85E18B1BB6293857 /* CALayer+AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "CALayer+AnyPromise.m"; path = "Categories/QuartzCore/CALayer+AnyPromise.m"; sourceTree = "<group>"; };
-		DDB573F3C977C55072704AA24EC06164 /* Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Promise.swift; path = Sources/Promise.swift; sourceTree = "<group>"; };
-		DDDBF73F440D96AB666A6418AEEF2946 /* UIActionSheet+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "UIActionSheet+Promise.swift"; path = "Categories/UIKit/UIActionSheet+Promise.swift"; sourceTree = "<group>"; };
-		DE164497A94DD3215ED4D1AE0D4703B1 /* Pods-SwaggerClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = "Pods-SwaggerClient.modulemap"; sourceTree = "<group>"; };
-		DEFA2BBF978F33CA2112DC5D6209A3EF /* when.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = when.swift; path = Sources/when.swift; sourceTree = "<group>"; };
-		DFFF6310B8F8C445362FF33E936F85CA /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = Sources/Error.swift; sourceTree = "<group>"; };
-		E0B0C8D6D1D56B95983D680363E6F785 /* NSURLConnection+AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSURLConnection+AnyPromise.h"; path = "Categories/Foundation/NSURLConnection+AnyPromise.h"; sourceTree = "<group>"; };
-		E1E4BCB344D3C100253B24B79421F00A /* Pods-SwaggerClient-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwaggerClient-acknowledgements.plist"; sourceTree = "<group>"; };
-		E3B8EDBFFE2A701981A073412ECCF6AD /* join.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = join.m; path = Sources/join.m; sourceTree = "<group>"; };
-		E3D1141B63DF38660CD6F3AC588A782B /* PetstoreClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; path = PetstoreClient.modulemap; sourceTree = "<group>"; };
-		E48946E76C93EE81F20C76C0EE272B8E /* CALayer+AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "CALayer+AnyPromise.h"; path = "Categories/QuartzCore/CALayer+AnyPromise.h"; sourceTree = "<group>"; };
-		E4B2CF9B72BC56E74E6B0037BDE92031 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = "<group>"; };
-		E4E6F4A58FE7868CA2177D3AC79AD2FA /* Pods-SwaggerClientTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClientTests-resources.sh"; sourceTree = "<group>"; };
-		E6EC6723A17EAD72862789D6748FAA26 /* OMGHTTPURLRQ.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = OMGHTTPURLRQ.xcconfig; sourceTree = "<group>"; };
-		EA13BF2FADA101A1AB34BF5EC8C7BA85 /* UIView+AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = "UIView+AnyPromise.m"; path = "Categories/UIKit/UIView+AnyPromise.m"; sourceTree = "<group>"; };
-		EC8150042B23FCA7DF9979098694EC0B /* AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AnyPromise.m; path = Sources/AnyPromise.m; sourceTree = "<group>"; };
-		EFC77A5BCF407679FAB606F03E631A11 /* NSNotificationCenter+AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = "NSNotificationCenter+AnyPromise.h"; path = "Categories/Foundation/NSNotificationCenter+AnyPromise.h"; sourceTree = "<group>"; };
-		F0962CCF21BDD2EB5751C14F9322AFC9 /* Alamofire-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-dummy.m"; sourceTree = "<group>"; };
-		F0D4E00A8974E74325E9E53D456F9AD4 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		F22FE315AC1C04A8749BD18281EE9028 /* Pods-SwaggerClientTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwaggerClientTests-umbrella.h"; sourceTree = "<group>"; };
-		F2BEA8A3A2770EF455BB2ECCDA8CE0AD /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Alamofire.framework; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		FB170EFD14935F121CDE3211DB4C5CA3 /* Pods-SwaggerClientTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwaggerClientTests-acknowledgements.markdown"; sourceTree = "<group>"; };
-		FDA7C65B58A0E739E615FA7A750AA0AD /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = "<group>"; };
-		FE74210E04DEED84E2357049E4589759 /* PetstoreClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = PetstoreClient.framework; path = PetstoreClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		FEEC58138887E454A6CBD0A7BFF2910A /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SwaggerClientTests.framework; path = "Pods-SwaggerClientTests.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
-		FFB0686D05BA9C4D5A69D6058C029FF2 /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkReachabilityManager.swift; path = Source/NetworkReachabilityManager.swift; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		364E2313E2B201E3BBE0ED3C8DDF7812 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6FA4548F5D2921C78F45295A21147A04 /* Foundation.framework in Frameworks */,
-				7F89336AE817C0C79287405B01352B8F /* OMGHTTPURLRQ.framework in Frameworks */,
-				57BFFADED3A561DB8420A8B74A5A57BB /* QuartzCore.framework in Frameworks */,
-				AF1AE4A9DCBCD5BEA4818AB39C73F2FB /* UIKit.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		87AF7EC7404199AC8C5D22375A6059BF /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				D32130A2C8AC5B1FF21AF43BCC2B5217 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		93A52D8380E47350C27ABFF726B0EE7D /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				3360421DE3672EDEC5D92072E5FB3DEA /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		99195E4207764744AEC07ECCBCD550EB /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				A04BFC558D69E7DBB68023C80A9CFE4E /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		BC1E0CC70F02685289292200DADFB7F0 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				7A2A45654491E53EA0DF0C7749C7D6BB /* Alamofire.framework in Frameworks */,
-				5919AA12FFE36B8D4D60D7032547A2B5 /* Foundation.framework in Frameworks */,
-				23FFDF15FBA1EC26909CB3BC5CCEB3A8 /* PromiseKit.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		BCD2EA67C3EE2725B5C1EEADB0F66AF4 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				EECED5D6A7CD41D58DF352339C8C4844 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		00ED77B3FFE891B16DC5B4DD2FCC0408 /* UserAgent */ = {
-			isa = PBXGroup;
-			children = (
-				4FF818D195F8814F5F8878A2FD02AF1D /* OMGUserAgent.h */,
-				937CB6976C5F585A76A9383107F5AF73 /* OMGUserAgent.m */,
-			);
-			name = UserAgent;
-			sourceTree = "<group>";
-		};
-		01A9CB10E1E9A90B6A796034AF093E8C /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				F2BEA8A3A2770EF455BB2ECCDA8CE0AD /* Alamofire.framework */,
-				97FF5C0140A433518CF653B6A520F27A /* OMGHTTPURLRQ.framework */,
-				FE74210E04DEED84E2357049E4589759 /* PetstoreClient.framework */,
-				CF8754792D6C49D6F5C8859350F48B35 /* Pods_SwaggerClient.framework */,
-				FEEC58138887E454A6CBD0A7BFF2910A /* Pods_SwaggerClientTests.framework */,
-				0C552CDBDD89D489D23D5D4E28356F84 /* PromiseKit.framework */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		1322FED69118C64DAD026CAF7F4C38C6 /* Models */ = {
-			isa = PBXGroup;
-			children = (
-				D4DF0604EDC1460935E6E445A47023A4 /* Category.swift */,
-				0A545673F09F49CDD60A13B4B0AF1020 /* Order.swift */,
-				284B3DE9B793FCC633E971DB1798AFAF /* Pet.swift */,
-				211F73A46D90346F7FC6D0D29640EE4F /* Tag.swift */,
-				5B248364ABF60ACD7DB31A17DCFDFD0C /* User.swift */,
-			);
-			name = Models;
-			path = Models;
-			sourceTree = "<group>";
-		};
-		188F1582EFF9CD3E8AB3A7470820B51F /* PromiseKit */ = {
-			isa = PBXGroup;
-			children = (
-				72B5E9FE2F2C23CD28C86A837D09964A /* CorePromise */,
-				79A7166061336F6A7FF214DB285A9584 /* Foundation */,
-				2115C8F445286DAD6754A21C2ABE2E78 /* QuartzCore */,
-				977CD7DB18C38452FB8DCFCEC690CBDE /* Support Files */,
-				933F0A2EBD44D53190D1E9FAF3F54AFB /* UIKit */,
-			);
-			name = PromiseKit;
-			path = PromiseKit;
-			sourceTree = "<group>";
-		};
-		2115C8F445286DAD6754A21C2ABE2E78 /* QuartzCore */ = {
-			isa = PBXGroup;
-			children = (
-				E48946E76C93EE81F20C76C0EE272B8E /* CALayer+AnyPromise.h */,
-				DD83C2B5FF3BF5AB85E18B1BB6293857 /* CALayer+AnyPromise.m */,
-			);
-			name = QuartzCore;
-			sourceTree = "<group>";
-		};
-		22F52349E1BE90FC6E064DAAC9EA9612 /* Development Pods */ = {
-			isa = PBXGroup;
-			children = (
-				E9F8459055B900A58FB97600A53E5D1C /* PetstoreClient */,
-			);
-			name = "Development Pods";
-			sourceTree = "<group>";
-		};
-		27098387544928716460DD8F5024EE8A /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				41488276780D879BE61AA0617BDC29A0 /* Alamofire */,
-				6C55196C7E1A0F95D0BEFD790EA1450C /* OMGHTTPURLRQ */,
-				188F1582EFF9CD3E8AB3A7470820B51F /* PromiseKit */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		41488276780D879BE61AA0617BDC29A0 /* Alamofire */ = {
-			isa = PBXGroup;
-			children = (
-				FDA7C65B58A0E739E615FA7A750AA0AD /* Alamofire.swift */,
-				770621722C3B98D9380F76F3310EAA7F /* Download.swift */,
-				7390892336E4D605CF390FFA4B55EF0A /* Error.swift */,
-				1AA002805CE140B0968FC965A53F0A4C /* Manager.swift */,
-				CA79CBD1DDA33C45473F8807605719BC /* MultipartFormData.swift */,
-				FFB0686D05BA9C4D5A69D6058C029FF2 /* NetworkReachabilityManager.swift */,
-				9519BB8B059D8A17CE43587EB6EFA61D /* Notifications.swift */,
-				E4B2CF9B72BC56E74E6B0037BDE92031 /* ParameterEncoding.swift */,
-				7D3192434754120C2AAF44818AEE054B /* Request.swift */,
-				74E1D5C24530737CDD54FA854E37B371 /* Response.swift */,
-				DA62734652B80C3897AA655226B3BCF3 /* ResponseSerialization.swift */,
-				1F60254382C7024DDFD16533FB81750A /* Result.swift */,
-				8D1D96AB285E285A3CC15FAD1CD875B2 /* ServerTrustPolicy.swift */,
-				BCC88BB5150F5865EE3017D1B9AB4CF5 /* Stream.swift */,
-				47B728204DA3D60FAB04A757D3B09D2E /* Timeline.swift */,
-				A9E0C3DC76C639C91EF9B920C8E3D60F /* Upload.swift */,
-				0435721889B71489503A007D233559DF /* Validation.swift */,
-				DFFDACE0170FB00C7ECFDA52A87A7665 /* Support Files */,
-			);
-			name = Alamofire;
-			path = Alamofire;
-			sourceTree = "<group>";
-		};
-		45199ED47CEA398ADDDFDE8F9D0A591D /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				8F8078A9DEC41CD886A8676D889912A4 /* Info.plist */,
-				B349821C1F2B2C5F593BC228C462C99D /* OMGHTTPURLRQ.modulemap */,
-				E6EC6723A17EAD72862789D6748FAA26 /* OMGHTTPURLRQ.xcconfig */,
-				8F88352C39FB2D4A0D36696674E7C05D /* OMGHTTPURLRQ-dummy.m */,
-				705D1370384B46A3E5A39B39E7B4D181 /* OMGHTTPURLRQ-prefix.pch */,
-				3029ADF04ADC2B8F3A7264A416D70B56 /* OMGHTTPURLRQ-umbrella.h */,
-			);
-			name = "Support Files";
-			path = "../Target Support Files/OMGHTTPURLRQ";
-			sourceTree = "<group>";
-		};
-		4EE5FA0111D74A644A1CAA11AE22251D /* iOS */ = {
-			isa = PBXGroup;
-			children = (
-				AB034280B33CDA4CAB9BB6A9ADD01052 /* Foundation.framework */,
-				DA6A54FE4F7D8D9EB477715D46429925 /* QuartzCore.framework */,
-				629BAC72A4C38220E0906526E102AC40 /* UIKit.framework */,
-			);
-			name = iOS;
-			sourceTree = "<group>";
-		};
-		6C55196C7E1A0F95D0BEFD790EA1450C /* OMGHTTPURLRQ */ = {
-			isa = PBXGroup;
-			children = (
-				B00B1E51F2524127FFF78DB52869057E /* FormURLEncode */,
-				9466970616DD9491B9B80845EBAF6997 /* RQ */,
-				45199ED47CEA398ADDDFDE8F9D0A591D /* Support Files */,
-				00ED77B3FFE891B16DC5B4DD2FCC0408 /* UserAgent */,
-			);
-			name = OMGHTTPURLRQ;
-			path = OMGHTTPURLRQ;
-			sourceTree = "<group>";
-		};
-		72B5E9FE2F2C23CD28C86A837D09964A /* CorePromise */ = {
-			isa = PBXGroup;
-			children = (
-				4765491FCD8E096D84D4E57E005B8B49 /* after.m */,
-				3E49ED544745AD479AFA0B6766F441CE /* after.swift */,
-				D475FE9899956F5D2196D1C19DFC1F28 /* AnyPromise.h */,
-				EC8150042B23FCA7DF9979098694EC0B /* AnyPromise.m */,
-				1FB5ABB73E12675999DE989CC2478A7A /* AnyPromise.swift */,
-				7356B0365E4182E6E6D55124C678B591 /* dispatch_promise.m */,
-				85FD17541BFB4152FD5F2CA46F9E3ACC /* dispatch_promise.swift */,
-				DFFF6310B8F8C445362FF33E936F85CA /* Error.swift */,
-				955F5499BB7496155FBF443B524F1D50 /* hang.m */,
-				E3B8EDBFFE2A701981A073412ECCF6AD /* join.m */,
-				BED547C24FF8AE5F91ED94E3BC8052C8 /* join.swift */,
-				2E9E05F82273A09FD6E5CA99FD3A74D9 /* NSError+Cancellation.h */,
-				DDB573F3C977C55072704AA24EC06164 /* Promise.swift */,
-				B225BF6ADAA247F1300081D25732B5B4 /* Promise+Properties.swift */,
-				1AAED38B682D186542DC2B8D273486F4 /* PromiseKit.h */,
-				3EC07412ABFB8D5A06E7B38380FFD9C4 /* race.swift */,
-				3BEE20F7C5242E616D2D97B5FBE31323 /* State.swift */,
-				B0B08C036B6283A3D528F1FBBEEF40EC /* Umbrella.h */,
-				0E339112CF5C9275CFBEB94C29AD250B /* URLDataPromise.swift */,
-				9C307C0A58A490D3080DB4C1E745C973 /* when.m */,
-				DEFA2BBF978F33CA2112DC5D6209A3EF /* when.swift */,
-			);
-			name = CorePromise;
-			sourceTree = "<group>";
-		};
-		79A7166061336F6A7FF214DB285A9584 /* Foundation */ = {
-			isa = PBXGroup;
-			children = (
-				178262A3EEE3B9A6F7B9B2B4ED5AA150 /* afterlife.swift */,
-				EFC77A5BCF407679FAB606F03E631A11 /* NSNotificationCenter+AnyPromise.h */,
-				DCBC249F9443D7D79A42B5C4BAC874C8 /* NSNotificationCenter+AnyPromise.m */,
-				786AAA1F62613C489FD473D4CE16127A /* NSNotificationCenter+Promise.swift */,
-				6650152803DA41F52DA6A26B5DF713D7 /* NSObject+Promise.swift */,
-				E0B0C8D6D1D56B95983D680363E6F785 /* NSURLConnection+AnyPromise.h */,
-				D9A940E08D42AC7D07C6B74D3310C69A /* NSURLConnection+AnyPromise.m */,
-				9066E09FAD7A3236DAD81317C1E48214 /* NSURLConnection+Promise.swift */,
-				5A5AEB5CADDFFFC419A0D8D6FD914800 /* NSURLSession+Promise.swift */,
-			);
-			name = Foundation;
-			sourceTree = "<group>";
-		};
-		7DB346D0F39D3F0E887471402A8071AB = {
-			isa = PBXGroup;
-			children = (
-				93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */,
-				22F52349E1BE90FC6E064DAAC9EA9612 /* Development Pods */,
-				E85F5154C248966A1EC7B7B6EACB20CF /* Frameworks */,
-				27098387544928716460DD8F5024EE8A /* Pods */,
-				01A9CB10E1E9A90B6A796034AF093E8C /* Products */,
-				C1A60D10CED0E61146591438999C7502 /* Targets Support Files */,
-			);
-			sourceTree = "<group>";
-		};
-		88CE2B3F08C34DDB098AD8A5DCC1DF1E /* Pods-SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				7C8E63660D346FD8ED2A97242E74EA09 /* Info.plist */,
-				DE164497A94DD3215ED4D1AE0D4703B1 /* Pods-SwaggerClient.modulemap */,
-				2FF17440CCD2E1A69791A4AA23325AD5 /* Pods-SwaggerClient-acknowledgements.markdown */,
-				E1E4BCB344D3C100253B24B79421F00A /* Pods-SwaggerClient-acknowledgements.plist */,
-				291054DAA3207AFC1F6B3D7AD6C25E5C /* Pods-SwaggerClient-dummy.m */,
-				BCF2D4DFF08D2A18E8C8FE4C4B4633FB /* Pods-SwaggerClient-frameworks.sh */,
-				D2841E5E2183846280B97F6E660DA26C /* Pods-SwaggerClient-resources.sh */,
-				3EEBA91980AEC8774CF7EC08035B089A /* Pods-SwaggerClient-umbrella.h */,
-				549C6527D10094289B101749047807C5 /* Pods-SwaggerClient.debug.xcconfig */,
-				86B1DDCB9E27DF43C2C35D9E7B2E84DA /* Pods-SwaggerClient.release.xcconfig */,
-			);
-			name = "Pods-SwaggerClient";
-			path = "Target Support Files/Pods-SwaggerClient";
-			sourceTree = "<group>";
-		};
-		8F6D133867EE63820DFB7E83F4C51252 /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				F0D4E00A8974E74325E9E53D456F9AD4 /* Info.plist */,
-				E3D1141B63DF38660CD6F3AC588A782B /* PetstoreClient.modulemap */,
-				DADAB10704E49D6B9E18F59F995BB88F /* PetstoreClient.xcconfig */,
-				46A8E0328DC896E0893B565FE8742167 /* PetstoreClient-dummy.m */,
-				B3A144887C8B13FD888B76AB096B0CA1 /* PetstoreClient-prefix.pch */,
-				9F681D2C508D1BA8F62893120D9343A4 /* PetstoreClient-umbrella.h */,
-			);
-			name = "Support Files";
-			path = "SwaggerClientTests/Pods/Target Support Files/PetstoreClient";
-			sourceTree = "<group>";
-		};
-		933F0A2EBD44D53190D1E9FAF3F54AFB /* UIKit */ = {
-			isa = PBXGroup;
-			children = (
-				0608A7843513940A299A88D778388F9D /* PMKAlertController.swift */,
-				590BCD68D24A72708312E57A91360AC7 /* UIActionSheet+AnyPromise.h */,
-				CABB6C822D84DC5F0596B6D7B60CC5AA /* UIActionSheet+AnyPromise.m */,
-				DDDBF73F440D96AB666A6418AEEF2946 /* UIActionSheet+Promise.swift */,
-				4E19A7D44620C4AED963248648938767 /* UIAlertView+AnyPromise.h */,
-				9FB7C011EC5C968D7A91E71A028913B7 /* UIAlertView+AnyPromise.m */,
-				8E29EB54AEC61300AD412C40991FFED5 /* UIAlertView+Promise.swift */,
-				13DB7D7990FD3354E34510894CC30CD1 /* UIView+AnyPromise.h */,
-				EA13BF2FADA101A1AB34BF5EC8C7BA85 /* UIView+AnyPromise.m */,
-				5E69FDAAF09817F0BA67D7C575BAFF48 /* UIView+Promise.swift */,
-				7B892AF5EA37A5C7962FEA3E294B2526 /* UIViewController+AnyPromise.h */,
-				53F1201EF49979297542207D6EB6EC55 /* UIViewController+AnyPromise.m */,
-				B7C40ADE30634419CED97EC829EE5D2C /* UIViewController+Promise.swift */,
-			);
-			name = UIKit;
-			sourceTree = "<group>";
-		};
-		9466970616DD9491B9B80845EBAF6997 /* RQ */ = {
-			isa = PBXGroup;
-			children = (
-				859DDC0FFB13DB9C838BA38D0641A1BA /* OMGHTTPURLRQ.h */,
-				3EEC1FB4B45C5C247D2D0FB33D4F5A1D /* OMGHTTPURLRQ.m */,
-			);
-			name = RQ;
-			sourceTree = "<group>";
-		};
-		977CD7DB18C38452FB8DCFCEC690CBDE /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				94F9363EEBC7855FA6B9A6B7485D5170 /* Info.plist */,
-				D3A577E7C7DF4A2157D9001CA0D40A72 /* PromiseKit.modulemap */,
-				2E750A27FAB06DE866BC27CC8FA07806 /* PromiseKit.xcconfig */,
-				B09DEE52CBDEC1EA108DD327EF036F4A /* PromiseKit-dummy.m */,
-				11683764D40FE241FCEEB379EE92E817 /* PromiseKit-prefix.pch */,
-			);
-			name = "Support Files";
-			path = "../Target Support Files/PromiseKit";
-			sourceTree = "<group>";
-		};
-		AD94092456F8ABCB18F74CAC75AD85DE /* Classes */ = {
-			isa = PBXGroup;
-			children = (
-				F64549CFCC17C7AC6479508BE180B18D /* Swaggers */,
-			);
-			name = Classes;
-			path = Classes;
-			sourceTree = "<group>";
-		};
-		B00B1E51F2524127FFF78DB52869057E /* FormURLEncode */ = {
-			isa = PBXGroup;
-			children = (
-				3B1578E353CE37C4C4201EC9101DE67F /* OMGFormURLEncode.h */,
-				56CDA7C9327CF6F3DFC66FC128D7365B /* OMGFormURLEncode.m */,
-			);
-			name = FormURLEncode;
-			sourceTree = "<group>";
-		};
-		C1A60D10CED0E61146591438999C7502 /* Targets Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				88CE2B3F08C34DDB098AD8A5DCC1DF1E /* Pods-SwaggerClient */,
-				D6D0CD30E3EAF2ED10AE0CBC07506C5A /* Pods-SwaggerClientTests */,
-			);
-			name = "Targets Support Files";
-			sourceTree = "<group>";
-		};
-		D6D0CD30E3EAF2ED10AE0CBC07506C5A /* Pods-SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				3F16B43ABD2C8CD4A311AA1AB3B6C02F /* Info.plist */,
-				00ACB4396DD1B4E4539E4E81C1D7A14E /* Pods-SwaggerClientTests.modulemap */,
-				FB170EFD14935F121CDE3211DB4C5CA3 /* Pods-SwaggerClientTests-acknowledgements.markdown */,
-				02F28E719AA874BE9213D6CF8CE7E36B /* Pods-SwaggerClientTests-acknowledgements.plist */,
-				687B19CB3E722272B41D60B485C29EE7 /* Pods-SwaggerClientTests-dummy.m */,
-				43FC49AA70D3E2A84CAED9C37BE9C4B5 /* Pods-SwaggerClientTests-frameworks.sh */,
-				E4E6F4A58FE7868CA2177D3AC79AD2FA /* Pods-SwaggerClientTests-resources.sh */,
-				F22FE315AC1C04A8749BD18281EE9028 /* Pods-SwaggerClientTests-umbrella.h */,
-				969C2AF48F4307163B301A92E78AFCF2 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				849FECBC6CC67F2B6800F982927E3A9E /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = "Pods-SwaggerClientTests";
-			path = "Target Support Files/Pods-SwaggerClientTests";
-			sourceTree = "<group>";
-		};
-		DFFDACE0170FB00C7ECFDA52A87A7665 /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				467F288FF1A023115720F192FD4D9297 /* Alamofire.modulemap */,
-				10A634092EE6D018EB00C75E9864A6A2 /* Alamofire.xcconfig */,
-				F0962CCF21BDD2EB5751C14F9322AFC9 /* Alamofire-dummy.m */,
-				835E52C658674D7A44ED95B966432726 /* Alamofire-prefix.pch */,
-				791F2A99A7894F88F8BBAE2F6C627522 /* Alamofire-umbrella.h */,
-				BDEAF9E48610133B23BB992381D0E22B /* Info.plist */,
-			);
-			name = "Support Files";
-			path = "../Target Support Files/Alamofire";
-			sourceTree = "<group>";
-		};
-		E73D9BF152C59F341559DE62A3143721 /* PetstoreClient */ = {
-			isa = PBXGroup;
-			children = (
-				AD94092456F8ABCB18F74CAC75AD85DE /* Classes */,
-			);
-			name = PetstoreClient;
-			path = PetstoreClient;
-			sourceTree = "<group>";
-		};
-		E85F5154C248966A1EC7B7B6EACB20CF /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				A1D1571AB15108DF6F9C4FE2064E3C43 /* Alamofire.framework */,
-				3530BF15E14D1F6D7134EE67377D5C8C /* OMGHTTPURLRQ.framework */,
-				A112EF8BB3933C1C1E42F11B3DD3B02A /* PromiseKit.framework */,
-				4EE5FA0111D74A644A1CAA11AE22251D /* iOS */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		E9F8459055B900A58FB97600A53E5D1C /* PetstoreClient */ = {
-			isa = PBXGroup;
-			children = (
-				E73D9BF152C59F341559DE62A3143721 /* PetstoreClient */,
-				8F6D133867EE63820DFB7E83F4C51252 /* Support Files */,
-			);
-			name = PetstoreClient;
-			path = ../..;
-			sourceTree = "<group>";
-		};
-		F64549CFCC17C7AC6479508BE180B18D /* Swaggers */ = {
-			isa = PBXGroup;
-			children = (
-				92734297B64DFE0EB0EDE1EA821163DB /* AlamofireImplementations.swift */,
-				D2BAD338E56EF3CAA6E54490FE0C5DF9 /* APIHelper.swift */,
-				D8072E1108951F272C003553FC8926C7 /* APIs.swift */,
-				5412898DEB10F1983487A10453C6B9CB /* Extensions.swift */,
-				8F0266C5AE0B23A436291F6647902086 /* Models.swift */,
-				F92EFB558CBA923AB1CFA22F708E315A /* APIs */,
-				1322FED69118C64DAD026CAF7F4C38C6 /* Models */,
-			);
-			name = Swaggers;
-			path = Swaggers;
-			sourceTree = "<group>";
-		};
-		F92EFB558CBA923AB1CFA22F708E315A /* APIs */ = {
-			isa = PBXGroup;
-			children = (
-				261F03A3C73374FD19333EEA59CCD59F /* PetAPI.swift */,
-				1A3E5E3CD673B025FD8AC260E67AB47E /* StoreAPI.swift */,
-				552D15E0340BF58CC1922B82E864AEC9 /* UserAPI.swift */,
-			);
-			name = APIs;
-			path = APIs;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
-		06355A827899CB5DF1AEC2B7AE5343A2 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				BF43C103A91BDDC98FA10577CBA76D8B /* AnyPromise.h in Headers */,
-				FF2BDB83CB6FE636673DD089D26FBCB8 /* CALayer+AnyPromise.h in Headers */,
-				7519B50597E2DC5B47FC6927BA94D3A7 /* NSError+Cancellation.h in Headers */,
-				6ADCA5D4BB1C66A8FC959C38CAEA4488 /* NSNotificationCenter+AnyPromise.h in Headers */,
-				162CFCD9335EB4583A6247A6116FEB0D /* NSURLConnection+AnyPromise.h in Headers */,
-				EF45D47D7EBC09983C83946F2BB75C92 /* PromiseKit.h in Headers */,
-				029AC3390FBF6FE9A66FC3D937065ED8 /* UIActionSheet+AnyPromise.h in Headers */,
-				FC438D87EC736F347E1068A05360974E /* UIAlertView+AnyPromise.h in Headers */,
-				629C5CA00E2A6A40D7AEF34A7FD7772F /* UIView+AnyPromise.h in Headers */,
-				5C067F2478F7DD077A0496925F57CE8C /* UIViewController+AnyPromise.h in Headers */,
-				FADE7DCB53BC63ECC585A5192BC15843 /* Umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		1353AC7A6419F876B294A55E5550D1E4 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				31F8B86E3672D0B828B6352C875649C4 /* Pods-SwaggerClientTests-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		B4002B6E97835FDCCAA5963EFE09A3E0 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				1B9EDEDC964E6B08F78920B4F4B9DB84 /* Alamofire-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		C894FFAF7CC3AB5A548AF1B61F8FA548 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				0DB7734F8CD7D40D922F73C1C9146EE4 /* OMGFormURLEncode.h in Headers */,
-				D3A23B867EBFCD3AC86370D26250C290 /* OMGHTTPURLRQ-umbrella.h in Headers */,
-				258F28EA87BCDBE2307CD728D6847F44 /* OMGHTTPURLRQ.h in Headers */,
-				2E3A55DBE5D58E6E6B3068D0BF84BA42 /* OMGUserAgent.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		CC52385505985AE1C33D731864E5D615 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				98C216E54478D7F70674111361A4DB7E /* Pods-SwaggerClient-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		F2A4B8C726CEA196EABADDBEF5345846 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				33D7D29D9E53DA84337D305017107505 /* PetstoreClient-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
-		1FCDFB2162BF49E98CC34F69A4EB87B9 /* PromiseKit */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = C3A6D0B1F2716E6C57E728BE318F35F2 /* Build configuration list for PBXNativeTarget "PromiseKit" */;
-			buildPhases = (
-				80CA432D5B71DB2B28AD6FF75E7D4F37 /* Sources */,
-				364E2313E2B201E3BBE0ED3C8DDF7812 /* Frameworks */,
-				06355A827899CB5DF1AEC2B7AE5343A2 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				E1CA092FD90F43E3E462BC6A412B1C74 /* PBXTargetDependency */,
-			);
-			name = PromiseKit;
-			productName = PromiseKit;
-			productReference = 0C552CDBDD89D489D23D5D4E28356F84 /* PromiseKit.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		2CD30C6ABD3A18ABB3C4BE6D88151D89 /* Pods-SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = DC6C838E5FD0AA55D4D19AF5445C3BDC /* Build configuration list for PBXNativeTarget "Pods-SwaggerClient" */;
-			buildPhases = (
-				B6FCB0C9137B17D4C8594118B6E09C6D /* Sources */,
-				93A52D8380E47350C27ABFF726B0EE7D /* Frameworks */,
-				CC52385505985AE1C33D731864E5D615 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				2A8AB7B6B910ACA4A4CFA5F59BC763C1 /* PBXTargetDependency */,
-				8379AE2AD3B7EFAEA32EECB166A69A35 /* PBXTargetDependency */,
-				685342E14A1D26CC3D02B797F78CCC17 /* PBXTargetDependency */,
-				014BBBC4434EB1A54BF32C7358BE0426 /* PBXTargetDependency */,
-			);
-			name = "Pods-SwaggerClient";
-			productName = "Pods-SwaggerClient";
-			productReference = CF8754792D6C49D6F5C8859350F48B35 /* Pods_SwaggerClient.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		5AD1507205D908987C216D989FDDD0CD /* OMGHTTPURLRQ */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = CD74B5CE2C2265348D1B613B9368C079 /* Build configuration list for PBXNativeTarget "OMGHTTPURLRQ" */;
-			buildPhases = (
-				F80308E9C89F9A33F945AB69CA1EEAEB /* Sources */,
-				BCD2EA67C3EE2725B5C1EEADB0F66AF4 /* Frameworks */,
-				C894FFAF7CC3AB5A548AF1B61F8FA548 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = OMGHTTPURLRQ;
-			productName = OMGHTTPURLRQ;
-			productReference = 97FF5C0140A433518CF653B6A520F27A /* OMGHTTPURLRQ.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		6AA38233456D5A22BF4E286D26DBBC53 /* PetstoreClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 5F11F7876E9302E80161D33223E3D230 /* Build configuration list for PBXNativeTarget "PetstoreClient" */;
-			buildPhases = (
-				4EB24B8C43007B6C21D7481167C1F9CF /* Sources */,
-				BC1E0CC70F02685289292200DADFB7F0 /* Frameworks */,
-				F2A4B8C726CEA196EABADDBEF5345846 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				59FB04A6684D0690467260C91518EC03 /* PBXTargetDependency */,
-				24C8C29561020566F8E06E1180327058 /* PBXTargetDependency */,
-			);
-			name = PetstoreClient;
-			productName = PetstoreClient;
-			productReference = FE74210E04DEED84E2357049E4589759 /* PetstoreClient.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 419E5D95491847CD79841B971A8A3277 /* Build configuration list for PBXNativeTarget "Alamofire" */;
-			buildPhases = (
-				3792E88F656464AEB17FE4EF5FA2887A /* Sources */,
-				99195E4207764744AEC07ECCBCD550EB /* Frameworks */,
-				B4002B6E97835FDCCAA5963EFE09A3E0 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = Alamofire;
-			productName = Alamofire;
-			productReference = F2BEA8A3A2770EF455BB2ECCDA8CE0AD /* Alamofire.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		F3DF8DD6DBDCB07B04D7B1CC8A462562 /* Pods-SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = B462F7329881FF6565EF44016BE2B959 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClientTests" */;
-			buildPhases = (
-				BDFDEE831A91E115AA482B4E9E9B5CC8 /* Sources */,
-				87AF7EC7404199AC8C5D22375A6059BF /* Frameworks */,
-				1353AC7A6419F876B294A55E5550D1E4 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = "Pods-SwaggerClientTests";
-			productName = "Pods-SwaggerClientTests";
-			productReference = FEEC58138887E454A6CBD0A7BFF2910A /* Pods_SwaggerClientTests.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0730;
-				LastUpgradeCheck = 0700;
-			};
-			buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-			);
-			mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
-			productRefGroup = 01A9CB10E1E9A90B6A796034AF093E8C /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */,
-				5AD1507205D908987C216D989FDDD0CD /* OMGHTTPURLRQ */,
-				6AA38233456D5A22BF4E286D26DBBC53 /* PetstoreClient */,
-				2CD30C6ABD3A18ABB3C4BE6D88151D89 /* Pods-SwaggerClient */,
-				F3DF8DD6DBDCB07B04D7B1CC8A462562 /* Pods-SwaggerClientTests */,
-				1FCDFB2162BF49E98CC34F69A4EB87B9 /* PromiseKit */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
-		3792E88F656464AEB17FE4EF5FA2887A /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				8BC2037248D2FA8B2E2475AC2E466494 /* Alamofire-dummy.m in Sources */,
-				9B70D1F82BB1FA9EAEF67815AB211B47 /* Alamofire.swift in Sources */,
-				2192B0DEE9028936168890C1D6EB0259 /* Download.swift in Sources */,
-				E7D7EF4C9B8164062D3C5E6EA7C534C2 /* Error.swift in Sources */,
-				9C88873949B0DCF8A580D0F65A43A482 /* Manager.swift in Sources */,
-				5F193AFDA8E41A904D4B657769F49A93 /* MultipartFormData.swift in Sources */,
-				58597FACD9B948EB5E4EB1A96E84F9DE /* NetworkReachabilityManager.swift in Sources */,
-				8179D1D51A9219B01C0C007F96F02F33 /* Notifications.swift in Sources */,
-				E968D568838BC789817F6009838349A3 /* ParameterEncoding.swift in Sources */,
-				7892B90D39A86C32BD7ECFF8F6C52A38 /* Request.swift in Sources */,
-				4CDF7F31FC91171478EC0A2E2AB4E758 /* Response.swift in Sources */,
-				A3D61ED4990E52E06A3315F2A9A00C6D /* ResponseSerialization.swift in Sources */,
-				28AF3FD0C6798D6A36A13C2AB39F8239 /* Result.swift in Sources */,
-				31D35FA0B2173504DBA8E2F450CAC665 /* ServerTrustPolicy.swift in Sources */,
-				B924DB98A633A09B12A6226F75261F83 /* Stream.swift in Sources */,
-				CEE2E4C0A2875A6C0CA9BB46572D6224 /* Timeline.swift in Sources */,
-				CEF24FA13891DB5422B2DAF72DE83A9A /* Upload.swift in Sources */,
-				3FE36566EFBFEFABC46589686A7ADCD2 /* Validation.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		4EB24B8C43007B6C21D7481167C1F9CF /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				F84E18C37A7B3B8A338E817574491335 /* AlamofireImplementations.swift in Sources */,
-				2A926E5EA0483C43023F396648F31100 /* APIHelper.swift in Sources */,
-				EF9B6103AC1A233089E5317B1E2D8031 /* APIs.swift in Sources */,
-				A3C3B39CE3715B4260DC6FF0B621C142 /* Category.swift in Sources */,
-				FCB8ADBF2A01486B7D575EA3326A70BD /* Extensions.swift in Sources */,
-				086EF9C01D071D88D853A11539D42B9F /* Models.swift in Sources */,
-				EF4BCB7BBAB19687FAD3A5A71C859A7F /* Order.swift in Sources */,
-				D5ECD91CE99A115543BEC3B993C11BD3 /* Pet.swift in Sources */,
-				21B837E7DB2A98D7B3E2D64AABA828F2 /* PetAPI.swift in Sources */,
-				54BAF231DB704DB87968C54637AF9551 /* PetstoreClient-dummy.m in Sources */,
-				F986101B7E81C6AABC67FF43C958D54A /* StoreAPI.swift in Sources */,
-				ECD1DE9F631F8BCD514213BF97385BAE /* Tag.swift in Sources */,
-				FCA5211A7610129D1EAFC03D5F5351D2 /* User.swift in Sources */,
-				D02588110E13C2C2F223EAE690848951 /* UserAPI.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		80CA432D5B71DB2B28AD6FF75E7D4F37 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				66130A4C8A83C11558EC154FA1C9D191 /* after.m in Sources */,
-				1B3395001A4E5AB2E7EEEFE9964348B5 /* after.swift in Sources */,
-				DB9ED067DD1525127DFBE4B5647E502C /* afterlife.swift in Sources */,
-				009A705EB41A7BD11E77200CD1FB65CC /* AnyPromise.m in Sources */,
-				B067653C1D7B7214CD0079A279326610 /* AnyPromise.swift in Sources */,
-				AF02896B7B6B213C98324CD75871275A /* CALayer+AnyPromise.m in Sources */,
-				D13DFBC6575E7DB809A1420CB9F920B5 /* dispatch_promise.m in Sources */,
-				C3EC2C7BE760D6CEE606445A1AE2E071 /* dispatch_promise.swift in Sources */,
-				D2230D11A1EE4A48E9EC72EA44D09EAC /* Error.swift in Sources */,
-				74231A47F9018E69CB8390B3BD9815B8 /* hang.m in Sources */,
-				5ECBDDFA4329B4AB812B4A10DBD2EB1A /* join.m in Sources */,
-				C5938D7FB0EC73BE33F4A6B31BE937B9 /* join.swift in Sources */,
-				689CD9721F90D45A57369D76461CA5E2 /* NSNotificationCenter+AnyPromise.m in Sources */,
-				9E16513086BC96F16B7F73065AE84AC4 /* NSNotificationCenter+Promise.swift in Sources */,
-				F6BC9BD76DB32C32BFDAD6582DC9F9B0 /* NSObject+Promise.swift in Sources */,
-				98971D531D9D7138ED04B55FE458D66D /* NSURLConnection+AnyPromise.m in Sources */,
-				19481BE7602C732E16A4C1FDE7D800DA /* NSURLConnection+Promise.swift in Sources */,
-				C2249D68F55536B774806E6ED01D3431 /* NSURLSession+Promise.swift in Sources */,
-				FCDEC7CF7180ECD18CA73EB08EA4624D /* PMKAlertController.swift in Sources */,
-				7EC6F570997E9A0CC65AD7E7E319C0EF /* Promise+Properties.swift in Sources */,
-				D509E607CAE14D8848E2BBAC478BEED5 /* Promise.swift in Sources */,
-				989ED6D4ECDEF446FB68EFF07F0CBEF5 /* PromiseKit-dummy.m in Sources */,
-				32A893A9FE628EDBC482D40F753699F9 /* race.swift in Sources */,
-				E5E62E286336AB2FBB84501E1ACEEE7C /* State.swift in Sources */,
-				D733EB627BBBA34769C0CDEF5ABE0E41 /* UIActionSheet+AnyPromise.m in Sources */,
-				C884C9ADEA7330CF670815C9689FBBD9 /* UIActionSheet+Promise.swift in Sources */,
-				563431FCE9268B58BFD2F32E358673C6 /* UIAlertView+AnyPromise.m in Sources */,
-				8A858C9291A59130A4A3AE2FB193E480 /* UIAlertView+Promise.swift in Sources */,
-				EC284D0372D446702CC9585351E4027D /* UIView+AnyPromise.m in Sources */,
-				68B6B55AA10FA42481892FE79996D4F0 /* UIView+Promise.swift in Sources */,
-				7546CDAE72452E874E5DB53099BF3E70 /* UIViewController+AnyPromise.m in Sources */,
-				061D9A45538674253A809E070A8A089D /* UIViewController+Promise.swift in Sources */,
-				8ADEA58D7C48EC4973D667F87C5AE948 /* URLDataPromise.swift in Sources */,
-				F38E53627E8AD5C92AF674C15A3A2493 /* when.m in Sources */,
-				B1A09AAC19DAB39B1C7F172CEBF0AAAD /* when.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		B6FCB0C9137B17D4C8594118B6E09C6D /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				2FF723F26615EB2ACAE54BDA6E3707DC /* Pods-SwaggerClient-dummy.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		BDFDEE831A91E115AA482B4E9E9B5CC8 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				897985FA042CD12B825C3032898FAB26 /* Pods-SwaggerClientTests-dummy.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		F80308E9C89F9A33F945AB69CA1EEAEB /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				5344CCD94F668BD41A0417B3A3CDF4F2 /* OMGFormURLEncode.m in Sources */,
-				2C65AE47419BA083958A5D9F760F7150 /* OMGHTTPURLRQ-dummy.m in Sources */,
-				55F5CB213AA2AE0675636AC73B7D7FB1 /* OMGHTTPURLRQ.m in Sources */,
-				13C8FE870121B96B85458487D176292A /* OMGUserAgent.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		014BBBC4434EB1A54BF32C7358BE0426 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = PromiseKit;
-			target = 1FCDFB2162BF49E98CC34F69A4EB87B9 /* PromiseKit */;
-			targetProxy = 094864AE73DBB274F1E39300864E9C62 /* PBXContainerItemProxy */;
-		};
-		24C8C29561020566F8E06E1180327058 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = PromiseKit;
-			target = 1FCDFB2162BF49E98CC34F69A4EB87B9 /* PromiseKit */;
-			targetProxy = E66AC3FE6854646CAC1BEA7B966F17B0 /* PBXContainerItemProxy */;
-		};
-		2A8AB7B6B910ACA4A4CFA5F59BC763C1 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = Alamofire;
-			target = 88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */;
-			targetProxy = 26F113882698B5132DB9F4537EF58E9A /* PBXContainerItemProxy */;
-		};
-		59FB04A6684D0690467260C91518EC03 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = Alamofire;
-			target = 88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */;
-			targetProxy = CC71B8F089BD4B650825DDAA5DB71E07 /* PBXContainerItemProxy */;
-		};
-		685342E14A1D26CC3D02B797F78CCC17 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = PetstoreClient;
-			target = 6AA38233456D5A22BF4E286D26DBBC53 /* PetstoreClient */;
-			targetProxy = 1F4208A7D556EA95487DDE364B0345D5 /* PBXContainerItemProxy */;
-		};
-		8379AE2AD3B7EFAEA32EECB166A69A35 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = OMGHTTPURLRQ;
-			target = 5AD1507205D908987C216D989FDDD0CD /* OMGHTTPURLRQ */;
-			targetProxy = FB51D93BE6962BF86154BCCE6C6161E9 /* PBXContainerItemProxy */;
-		};
-		E1CA092FD90F43E3E462BC6A412B1C74 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = OMGHTTPURLRQ;
-			target = 5AD1507205D908987C216D989FDDD0CD /* OMGHTTPURLRQ */;
-			targetProxy = 65851406A9AA058E6966942F3A75BEFB /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
-		37A6D3ECFEC1FCED0CAA398BE3B7CBB7 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = DADAB10704E49D6B9E18F59F995BB88F /* PetstoreClient.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREFIX_HEADER = "Target Support Files/PetstoreClient/PetstoreClient-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PetstoreClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PetstoreClient/PetstoreClient.modulemap";
-				MTL_ENABLE_DEBUG_INFO = YES;
-				PRODUCT_NAME = PetstoreClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		507820EAC09E90412FDF1F737638B0D4 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 969C2AF48F4307163B301A92E78AFCF2 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClientTests/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.modulemap";
-				MTL_ENABLE_DEBUG_INFO = YES;
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = Pods_SwaggerClientTests;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		61067068269EECAA2F1CB7DE4AF96F2F /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 549C6527D10094289B101749047807C5 /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.modulemap";
-				MTL_ENABLE_DEBUG_INFO = YES;
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = Pods_SwaggerClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		6F3A3A099BF6DB77A326F9CDFA4FA550 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = DADAB10704E49D6B9E18F59F995BB88F /* PetstoreClient.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREFIX_HEADER = "Target Support Files/PetstoreClient/PetstoreClient-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PetstoreClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PetstoreClient/PetstoreClient.modulemap";
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = PetstoreClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		AADB9822762AD81BBAE83335B2AB1EB0 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				CODE_SIGNING_REQUIRED = NO;
-				COPY_PHASE_STRIP = YES;
-				ENABLE_NS_ASSERTIONS = NO;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"POD_CONFIGURATION_RELEASE=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
-				STRIP_INSTALLED_PRODUCT = NO;
-				SYMROOT = "${SRCROOT}/../build";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		B1B5EB0850F98CB5AECDB015B690777F /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				CODE_SIGNING_REQUIRED = NO;
-				COPY_PHASE_STRIP = NO;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"POD_CONFIGURATION_DEBUG=1",
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_SYMBOLS_PRIVATE_EXTERN = NO;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				ONLY_ACTIVE_ARCH = YES;
-				PROVISIONING_PROFILE_SPECIFIER = NO_SIGNING/;
-				STRIP_INSTALLED_PRODUCT = NO;
-				SYMROOT = "${SRCROOT}/../build";
-			};
-			name = Debug;
-		};
-		B6E8E8BCFD17BC4CC5B002AB5B2DF697 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = E6EC6723A17EAD72862789D6748FAA26 /* OMGHTTPURLRQ.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREFIX_HEADER = "Target Support Files/OMGHTTPURLRQ/OMGHTTPURLRQ-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/OMGHTTPURLRQ/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/OMGHTTPURLRQ/OMGHTTPURLRQ.modulemap";
-				MTL_ENABLE_DEBUG_INFO = YES;
-				PRODUCT_NAME = OMGHTTPURLRQ;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		BDB92B86F05A6E1B01A06399F6A57A01 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 10A634092EE6D018EB00C75E9864A6A2 /* Alamofire.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap";
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = Alamofire;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		C7A5906C8108C4163D0ED41985878B78 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 849FECBC6CC67F2B6800F982927E3A9E /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClientTests/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.modulemap";
-				MTL_ENABLE_DEBUG_INFO = NO;
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = Pods_SwaggerClientTests;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		CF5DD5054942688BADBDB2E2EBB88C61 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = E6EC6723A17EAD72862789D6748FAA26 /* OMGHTTPURLRQ.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREFIX_HEADER = "Target Support Files/OMGHTTPURLRQ/OMGHTTPURLRQ-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/OMGHTTPURLRQ/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/OMGHTTPURLRQ/OMGHTTPURLRQ.modulemap";
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = OMGHTTPURLRQ;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		DC06B8741A907E0921F8314D215543AB /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 2E750A27FAB06DE866BC27CC8FA07806 /* PromiseKit.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREFIX_HEADER = "Target Support Files/PromiseKit/PromiseKit-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PromiseKit/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PromiseKit/PromiseKit.modulemap";
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = PromiseKit;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		E14528B983F58350151EE2B619628CAB /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 86B1DDCB9E27DF43C2C35D9E7B2E84DA /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.modulemap";
-				MTL_ENABLE_DEBUG_INFO = NO;
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = Pods_SwaggerClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		EE004CEA3EB3656D1EBF14311F29CE18 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 10A634092EE6D018EB00C75E9864A6A2 /* Alamofire.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap";
-				MTL_ENABLE_DEBUG_INFO = YES;
-				PRODUCT_NAME = Alamofire;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		FD1D1987A0C5BBBFA02B72B6A1908057 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 2E750A27FAB06DE866BC27CC8FA07806 /* PromiseKit.xcconfig */;
-			buildSettings = {
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREFIX_HEADER = "Target Support Files/PromiseKit/PromiseKit-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PromiseKit/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PromiseKit/PromiseKit.modulemap";
-				MTL_ENABLE_DEBUG_INFO = YES;
-				PRODUCT_NAME = PromiseKit;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				B1B5EB0850F98CB5AECDB015B690777F /* Debug */,
-				AADB9822762AD81BBAE83335B2AB1EB0 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		419E5D95491847CD79841B971A8A3277 /* Build configuration list for PBXNativeTarget "Alamofire" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				EE004CEA3EB3656D1EBF14311F29CE18 /* Debug */,
-				BDB92B86F05A6E1B01A06399F6A57A01 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		5F11F7876E9302E80161D33223E3D230 /* Build configuration list for PBXNativeTarget "PetstoreClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				37A6D3ECFEC1FCED0CAA398BE3B7CBB7 /* Debug */,
-				6F3A3A099BF6DB77A326F9CDFA4FA550 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		B462F7329881FF6565EF44016BE2B959 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				507820EAC09E90412FDF1F737638B0D4 /* Debug */,
-				C7A5906C8108C4163D0ED41985878B78 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		C3A6D0B1F2716E6C57E728BE318F35F2 /* Build configuration list for PBXNativeTarget "PromiseKit" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				FD1D1987A0C5BBBFA02B72B6A1908057 /* Debug */,
-				DC06B8741A907E0921F8314D215543AB /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		CD74B5CE2C2265348D1B613B9368C079 /* Build configuration list for PBXNativeTarget "OMGHTTPURLRQ" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				B6E8E8BCFD17BC4CC5B002AB5B2DF697 /* Debug */,
-				CF5DD5054942688BADBDB2E2EBB88C61 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		DC6C838E5FD0AA55D4D19AF5445C3BDC /* Build configuration list for PBXNativeTarget "Pods-SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				61067068269EECAA2F1CB7DE4AF96F2F /* Debug */,
-				E14528B983F58350151EE2B619628CAB /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h
deleted file mode 100644
index 02327b85e88..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire-umbrella.h	
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-
-FOUNDATION_EXPORT double AlamofireVersionNumber;
-FOUNDATION_EXPORT const unsigned char AlamofireVersionString[];
-
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist
deleted file mode 100644
index 152c333e441..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist	
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-  <key>CFBundleDevelopmentRegion</key>
-  <string>en</string>
-  <key>CFBundleExecutable</key>
-  <string>${EXECUTABLE_NAME}</string>
-  <key>CFBundleIdentifier</key>
-  <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
-  <key>CFBundleInfoDictionaryVersion</key>
-  <string>6.0</string>
-  <key>CFBundleName</key>
-  <string>${PRODUCT_NAME}</string>
-  <key>CFBundlePackageType</key>
-  <string>FMWK</string>
-  <key>CFBundleShortVersionString</key>
-  <string>3.4.2</string>
-  <key>CFBundleSignature</key>
-  <string>????</string>
-  <key>CFBundleVersion</key>
-  <string>${CURRENT_PROJECT_VERSION}</string>
-  <key>NSPrincipalClass</key>
-  <string></string>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/OMGHTTPURLRQ/OMGHTTPURLRQ-umbrella.h b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/OMGHTTPURLRQ/OMGHTTPURLRQ-umbrella.h
deleted file mode 100644
index cef2f3bb5b3..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/OMGHTTPURLRQ/OMGHTTPURLRQ-umbrella.h	
+++ /dev/null
@@ -1,11 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-#import "OMGFormURLEncode.h"
-#import "OMGHTTPURLRQ.h"
-#import "OMGUserAgent.h"
-
-FOUNDATION_EXPORT double OMGHTTPURLRQVersionNumber;
-FOUNDATION_EXPORT const unsigned char OMGHTTPURLRQVersionString[];
-
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient-umbrella.h b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient-umbrella.h
deleted file mode 100644
index 435b682a106..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient-umbrella.h	
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-
-FOUNDATION_EXPORT double PetstoreClientVersionNumber;
-FOUNDATION_EXPORT const unsigned char PetstoreClientVersionString[];
-
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown
deleted file mode 100644
index bb7c5a67fc4..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown	
+++ /dev/null
@@ -1,11 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## OMGHTTPURLRQ
-
-https://github.com/mxcl/OMGHTTPURLRQ/blob/master/README.markdown
-
-## PromiseKit
-
-@see README
-Generated by CocoaPods - https://cocoapods.org
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist
deleted file mode 100644
index 476c1044a32..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist	
+++ /dev/null
@@ -1,49 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>PreferenceSpecifiers</key>
-	<array>
-		<dict>
-			<key>FooterText</key>
-			<string>This application makes use of the following third party libraries:</string>
-			<key>Title</key>
-			<string>Acknowledgements</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>https://github.com/mxcl/OMGHTTPURLRQ/blob/master/README.markdown</string>
-			<key>License</key>
-			<string>MIT</string>
-			<key>Title</key>
-			<string>OMGHTTPURLRQ</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>@see README</string>
-			<key>License</key>
-			<string>MIT</string>
-			<key>Title</key>
-			<string>PromiseKit</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>Generated by CocoaPods - https://cocoapods.org</string>
-			<key>Title</key>
-			<string></string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-	</array>
-	<key>StringsTable</key>
-	<string>Acknowledgements</string>
-	<key>Title</key>
-	<string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-resources.sh b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-resources.sh
deleted file mode 100755
index 25e9d37757f..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-resources.sh	
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-case "${TARGETED_DEVICE_FAMILY}" in
-  1,2)
-    TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
-    ;;
-  1)
-    TARGET_DEVICE_ARGS="--target-device iphone"
-    ;;
-  2)
-    TARGET_DEVICE_ARGS="--target-device ipad"
-    ;;
-  *)
-    TARGET_DEVICE_ARGS="--target-device mac"
-    ;;
-esac
-
-install_resource()
-{
-  if [[ "$1" = /* ]] ; then
-    RESOURCE_PATH="$1"
-  else
-    RESOURCE_PATH="${PODS_ROOT}/$1"
-  fi
-  if [[ ! -e "$RESOURCE_PATH" ]] ; then
-    cat << EOM
-error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
-EOM
-    exit 1
-  fi
-  case $RESOURCE_PATH in
-    *.storyboard)
-      echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
-      ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
-      ;;
-    *.xib)
-      echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
-      ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
-      ;;
-    *.framework)
-      echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-      mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-      echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-      rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-      ;;
-    *.xcdatamodel)
-      echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
-      xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
-      ;;
-    *.xcdatamodeld)
-      echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
-      xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
-      ;;
-    *.xcmappingmodel)
-      echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
-      xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
-      ;;
-    *.xcassets)
-      ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH"
-      XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
-      ;;
-    *)
-      echo "$RESOURCE_PATH"
-      echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
-      ;;
-  esac
-}
-
-mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
-  mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-  rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
-  # Find all other xcassets (this unfortunately includes those of path pods and other targets).
-  OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
-  while read line; do
-    if [[ $line != "${PODS_ROOT}*" ]]; then
-      XCASSET_FILES+=("$line")
-    fi
-  done <<<"$OTHER_XCASSETS"
-
-  printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-umbrella.h b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-umbrella.h
deleted file mode 100644
index 2bdb03cd939..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-umbrella.h	
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-
-FOUNDATION_EXPORT double Pods_SwaggerClientVersionNumber;
-FOUNDATION_EXPORT const unsigned char Pods_SwaggerClientVersionString[];
-
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig
deleted file mode 100644
index 4b678f396a6..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig	
+++ /dev/null
@@ -1,12 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire" "$PODS_CONFIGURATION_BUILD_DIR/OMGHTTPURLRQ" "$PODS_CONFIGURATION_BUILD_DIR/PetstoreClient" "$PODS_CONFIGURATION_BUILD_DIR/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/OMGHTTPURLRQ/OMGHTTPURLRQ.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PetstoreClient/PetstoreClient.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PromiseKit/PromiseKit.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "OMGHTTPURLRQ" -framework "PetstoreClient" -framework "PromiseKit"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}/Pods
-SWIFT_INSTALL_OBJC_HEADER = NO
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig
deleted file mode 100644
index 4b678f396a6..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig	
+++ /dev/null
@@ -1,12 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-EMBEDDED_CONTENT_CONTAINS_SWIFT = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire" "$PODS_CONFIGURATION_BUILD_DIR/OMGHTTPURLRQ" "$PODS_CONFIGURATION_BUILD_DIR/PetstoreClient" "$PODS_CONFIGURATION_BUILD_DIR/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/OMGHTTPURLRQ/OMGHTTPURLRQ.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PetstoreClient/PetstoreClient.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PromiseKit/PromiseKit.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "OMGHTTPURLRQ" -framework "PetstoreClient" -framework "PromiseKit"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}/Pods
-SWIFT_INSTALL_OBJC_HEADER = NO
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-resources.sh b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-resources.sh
deleted file mode 100755
index 25e9d37757f..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-resources.sh	
+++ /dev/null
@@ -1,96 +0,0 @@
-#!/bin/sh
-set -e
-
-mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-
-RESOURCES_TO_COPY=${PODS_ROOT}/resources-to-copy-${TARGETNAME}.txt
-> "$RESOURCES_TO_COPY"
-
-XCASSET_FILES=()
-
-case "${TARGETED_DEVICE_FAMILY}" in
-  1,2)
-    TARGET_DEVICE_ARGS="--target-device ipad --target-device iphone"
-    ;;
-  1)
-    TARGET_DEVICE_ARGS="--target-device iphone"
-    ;;
-  2)
-    TARGET_DEVICE_ARGS="--target-device ipad"
-    ;;
-  *)
-    TARGET_DEVICE_ARGS="--target-device mac"
-    ;;
-esac
-
-install_resource()
-{
-  if [[ "$1" = /* ]] ; then
-    RESOURCE_PATH="$1"
-  else
-    RESOURCE_PATH="${PODS_ROOT}/$1"
-  fi
-  if [[ ! -e "$RESOURCE_PATH" ]] ; then
-    cat << EOM
-error: Resource "$RESOURCE_PATH" not found. Run 'pod install' to update the copy resources script.
-EOM
-    exit 1
-  fi
-  case $RESOURCE_PATH in
-    *.storyboard)
-      echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
-      ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .storyboard`.storyboardc" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
-      ;;
-    *.xib)
-      echo "ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile ${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib $RESOURCE_PATH --sdk ${SDKROOT} ${TARGET_DEVICE_ARGS}"
-      ibtool --reference-external-strings-file --errors --warnings --notices --minimum-deployment-target ${!DEPLOYMENT_TARGET_SETTING_NAME} --output-format human-readable-text --compile "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename \"$RESOURCE_PATH\" .xib`.nib" "$RESOURCE_PATH" --sdk "${SDKROOT}" ${TARGET_DEVICE_ARGS}
-      ;;
-    *.framework)
-      echo "mkdir -p ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-      mkdir -p "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-      echo "rsync -av $RESOURCE_PATH ${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-      rsync -av "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-      ;;
-    *.xcdatamodel)
-      echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH"`.mom\""
-      xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodel`.mom"
-      ;;
-    *.xcdatamodeld)
-      echo "xcrun momc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd\""
-      xcrun momc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcdatamodeld`.momd"
-      ;;
-    *.xcmappingmodel)
-      echo "xcrun mapc \"$RESOURCE_PATH\" \"${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm\""
-      xcrun mapc "$RESOURCE_PATH" "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}/`basename "$RESOURCE_PATH" .xcmappingmodel`.cdm"
-      ;;
-    *.xcassets)
-      ABSOLUTE_XCASSET_FILE="$RESOURCE_PATH"
-      XCASSET_FILES+=("$ABSOLUTE_XCASSET_FILE")
-      ;;
-    *)
-      echo "$RESOURCE_PATH"
-      echo "$RESOURCE_PATH" >> "$RESOURCES_TO_COPY"
-      ;;
-  esac
-}
-
-mkdir -p "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${TARGET_BUILD_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-if [[ "${ACTION}" == "install" ]] && [[ "${SKIP_INSTALL}" == "NO" ]]; then
-  mkdir -p "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-  rsync -avr --copy-links --no-relative --exclude '*/.svn/*' --files-from="$RESOURCES_TO_COPY" / "${INSTALL_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
-rm -f "$RESOURCES_TO_COPY"
-
-if [[ -n "${WRAPPER_EXTENSION}" ]] && [ "`xcrun --find actool`" ] && [ -n "$XCASSET_FILES" ]
-then
-  # Find all other xcassets (this unfortunately includes those of path pods and other targets).
-  OTHER_XCASSETS=$(find "$PWD" -iname "*.xcassets" -type d)
-  while read line; do
-    if [[ $line != "${PODS_ROOT}*" ]]; then
-      XCASSET_FILES+=("$line")
-    fi
-  done <<<"$OTHER_XCASSETS"
-
-  printf "%s\0" "${XCASSET_FILES[@]}" | xargs -0 xcrun actool --output-format human-readable-text --notices --warnings --platform "${PLATFORM_NAME}" --minimum-deployment-target "${!DEPLOYMENT_TARGET_SETTING_NAME}" ${TARGET_DEVICE_ARGS} --compress-pngs --compile "${BUILT_PRODUCTS_DIR}/${UNLOCALIZED_RESOURCES_FOLDER_PATH}"
-fi
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-umbrella.h b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-umbrella.h
deleted file mode 100644
index 950bb19ca7a..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-umbrella.h	
+++ /dev/null
@@ -1,8 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#endif
-
-
-FOUNDATION_EXPORT double Pods_SwaggerClientTestsVersionNumber;
-FOUNDATION_EXPORT const unsigned char Pods_SwaggerClientTestsVersionString[];
-
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig
deleted file mode 100644
index 85fcf66813e..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig	
+++ /dev/null
@@ -1,8 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
-FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire" "$PODS_CONFIGURATION_BUILD_DIR/OMGHTTPURLRQ" "$PODS_CONFIGURATION_BUILD_DIR/PetstoreClient" "$PODS_CONFIGURATION_BUILD_DIR/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/OMGHTTPURLRQ/OMGHTTPURLRQ.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PetstoreClient/PetstoreClient.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PromiseKit/PromiseKit.framework/Headers"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig b/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig
deleted file mode 100644
index 85fcf66813e..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig	
+++ /dev/null
@@ -1,8 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO
-FRAMEWORK_SEARCH_PATHS = $(inherited) "$PODS_CONFIGURATION_BUILD_DIR/Alamofire" "$PODS_CONFIGURATION_BUILD_DIR/OMGHTTPURLRQ" "$PODS_CONFIGURATION_BUILD_DIR/PetstoreClient" "$PODS_CONFIGURATION_BUILD_DIR/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "$PODS_CONFIGURATION_BUILD_DIR/Alamofire/Alamofire.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/OMGHTTPURLRQ/OMGHTTPURLRQ.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PetstoreClient/PetstoreClient.framework/Headers" -iquote "$PODS_CONFIGURATION_BUILD_DIR/PromiseKit/PromiseKit.framework/Headers"
-PODS_BUILD_DIR = $BUILD_DIR
-PODS_CONFIGURATION_BUILD_DIR = $PODS_BUILD_DIR/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
deleted file mode 100644
index b1c5cd52bee..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,550 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		54DA06C1D70D78EC0EC72B61 /* Pods_SwaggerClientTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */; };
-		6D4EFB951C692C6300B96B06 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFB941C692C6300B96B06 /* AppDelegate.swift */; };
-		6D4EFB971C692C6300B96B06 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFB961C692C6300B96B06 /* ViewController.swift */; };
-		6D4EFB9A1C692C6300B96B06 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB981C692C6300B96B06 /* Main.storyboard */; };
-		6D4EFB9C1C692C6300B96B06 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */; };
-		6D4EFB9F1C692C6300B96B06 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */; };
-		6D4EFBB51C693BE200B96B06 /* PetAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */; };
-		6D4EFBB71C693BED00B96B06 /* StoreAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */; };
-		6D4EFBB91C693BFC00B96B06 /* UserAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */; };
-		751C65B82F596107A3DC8ED9 /* Pods_SwaggerClient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		6D4EFBA61C692C6300B96B06 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 6D4EFB891C692C6300B96B06 /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 6D4EFB901C692C6300B96B06;
-			remoteInfo = SwaggerClient;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		6D4EFB911C692C6300B96B06 /* SwaggerClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwaggerClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
-		6D4EFB941C692C6300B96B06 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
-		6D4EFB961C692C6300B96B06 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
-		6D4EFB991C692C6300B96B06 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
-		6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		6D4EFB9E1C692C6300B96B06 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		6D4EFBA01C692C6300B96B06 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwaggerClientTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
-		6D4EFBAB1C692C6300B96B06 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PetAPITests.swift; sourceTree = "<group>"; };
-		6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoreAPITests.swift; sourceTree = "<group>"; };
-		6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserAPITests.swift; sourceTree = "<group>"; };
-		8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-		C07EC0A94AA0F86D60668B32 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClientTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		6D4EFB8E1C692C6300B96B06 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				751C65B82F596107A3DC8ED9 /* Pods_SwaggerClient.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA21C692C6300B96B06 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				54DA06C1D70D78EC0EC72B61 /* Pods_SwaggerClientTests.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		0CAA98BEFA303B94D3664C7D /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */,
-				FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */,
-				289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		3FABC56EC0BA84CBF4F99564 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				C07EC0A94AA0F86D60668B32 /* Pods.framework */,
-				8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */,
-				F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		6D4EFB881C692C6300B96B06 = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB931C692C6300B96B06 /* SwaggerClient */,
-				6D4EFBA81C692C6300B96B06 /* SwaggerClientTests */,
-				6D4EFB921C692C6300B96B06 /* Products */,
-				3FABC56EC0BA84CBF4F99564 /* Frameworks */,
-				0CAA98BEFA303B94D3664C7D /* Pods */,
-			);
-			sourceTree = "<group>";
-		};
-		6D4EFB921C692C6300B96B06 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB911C692C6300B96B06 /* SwaggerClient.app */,
-				6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		6D4EFB931C692C6300B96B06 /* SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB941C692C6300B96B06 /* AppDelegate.swift */,
-				6D4EFB961C692C6300B96B06 /* ViewController.swift */,
-				6D4EFB981C692C6300B96B06 /* Main.storyboard */,
-				6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */,
-				6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */,
-				6D4EFBA01C692C6300B96B06 /* Info.plist */,
-			);
-			path = SwaggerClient;
-			sourceTree = "<group>";
-		};
-		6D4EFBA81C692C6300B96B06 /* SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFBAB1C692C6300B96B06 /* Info.plist */,
-				6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */,
-				6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */,
-				6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */,
-			);
-			path = SwaggerClientTests;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		6D4EFB901C692C6300B96B06 /* SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6D4EFBAE1C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClient" */;
-			buildPhases = (
-				1F03F780DC2D9727E5E64BA9 /* [CP] Check Pods Manifest.lock */,
-				6D4EFB8D1C692C6300B96B06 /* Sources */,
-				6D4EFB8E1C692C6300B96B06 /* Frameworks */,
-				6D4EFB8F1C692C6300B96B06 /* Resources */,
-				4485A75250058E2D5BBDF63F /* [CP] Embed Pods Frameworks */,
-				808CE4A0CE801CAC5ABF5B08 /* [CP] Copy Pods Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = SwaggerClient;
-			productName = SwaggerClient;
-			productReference = 6D4EFB911C692C6300B96B06 /* SwaggerClient.app */;
-			productType = "com.apple.product-type.application";
-		};
-		6D4EFBA41C692C6300B96B06 /* SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6D4EFBB11C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */;
-			buildPhases = (
-				79FE27B09B2DD354C831BD49 /* [CP] Check Pods Manifest.lock */,
-				6D4EFBA11C692C6300B96B06 /* Sources */,
-				6D4EFBA21C692C6300B96B06 /* Frameworks */,
-				6D4EFBA31C692C6300B96B06 /* Resources */,
-				796EAD48F1BCCDAA291CD963 /* [CP] Embed Pods Frameworks */,
-				1652CB1A246A4689869E442D /* [CP] Copy Pods Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				6D4EFBA71C692C6300B96B06 /* PBXTargetDependency */,
-			);
-			name = SwaggerClientTests;
-			productName = SwaggerClientTests;
-			productReference = 6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */;
-			productType = "com.apple.product-type.bundle.unit-test";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		6D4EFB891C692C6300B96B06 /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0720;
-				LastUpgradeCheck = 0720;
-				ORGANIZATIONNAME = Swagger;
-				TargetAttributes = {
-					6D4EFB901C692C6300B96B06 = {
-						CreatedOnToolsVersion = 7.2.1;
-					};
-					6D4EFBA41C692C6300B96B06 = {
-						CreatedOnToolsVersion = 7.2.1;
-						TestTargetID = 6D4EFB901C692C6300B96B06;
-					};
-				};
-			};
-			buildConfigurationList = 6D4EFB8C1C692C6300B96B06 /* Build configuration list for PBXProject "SwaggerClient" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = 6D4EFB881C692C6300B96B06;
-			productRefGroup = 6D4EFB921C692C6300B96B06 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				6D4EFB901C692C6300B96B06 /* SwaggerClient */,
-				6D4EFBA41C692C6300B96B06 /* SwaggerClientTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-		6D4EFB8F1C692C6300B96B06 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFB9F1C692C6300B96B06 /* LaunchScreen.storyboard in Resources */,
-				6D4EFB9C1C692C6300B96B06 /* Assets.xcassets in Resources */,
-				6D4EFB9A1C692C6300B96B06 /* Main.storyboard in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA31C692C6300B96B06 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
-		1652CB1A246A4689869E442D /* [CP] Copy Pods Resources */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Copy Pods Resources";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-resources.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		1F03F780DC2D9727E5E64BA9 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n";
-			showEnvVarsInLog = 0;
-		};
-		4485A75250058E2D5BBDF63F /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		796EAD48F1BCCDAA291CD963 /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		79FE27B09B2DD354C831BD49 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n";
-			showEnvVarsInLog = 0;
-		};
-		808CE4A0CE801CAC5ABF5B08 /* [CP] Copy Pods Resources */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Copy Pods Resources";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-resources.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		6D4EFB8D1C692C6300B96B06 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFB971C692C6300B96B06 /* ViewController.swift in Sources */,
-				6D4EFB951C692C6300B96B06 /* AppDelegate.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA11C692C6300B96B06 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFBB71C693BED00B96B06 /* StoreAPITests.swift in Sources */,
-				6D4EFBB91C693BFC00B96B06 /* UserAPITests.swift in Sources */,
-				6D4EFBB51C693BE200B96B06 /* PetAPITests.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		6D4EFBA71C692C6300B96B06 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = 6D4EFB901C692C6300B96B06 /* SwaggerClient */;
-			targetProxy = 6D4EFBA61C692C6300B96B06 /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-		6D4EFB981C692C6300B96B06 /* Main.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				6D4EFB991C692C6300B96B06 /* Base */,
-			);
-			name = Main.storyboard;
-			sourceTree = "<group>";
-		};
-		6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				6D4EFB9E1C692C6300B96B06 /* Base */,
-			);
-			name = LaunchScreen.storyboard;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		6D4EFBAC1C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				SDKROOT = iphoneos;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Debug;
-		};
-		6D4EFBAD1C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				SDKROOT = iphoneos;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		6D4EFBAF1C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-			};
-			name = Debug;
-		};
-		6D4EFBB01C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-			};
-			name = Release;
-		};
-		6D4EFBB21C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Debug;
-		};
-		6D4EFBB31C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		6D4EFB8C1C692C6300B96B06 /* Build configuration list for PBXProject "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBAC1C692C6300B96B06 /* Debug */,
-				6D4EFBAD1C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6D4EFBAE1C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBAF1C692C6300B96B06 /* Debug */,
-				6D4EFBB01C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6D4EFBB11C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBB21C692C6300B96B06 /* Debug */,
-				6D4EFBB31C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = 6D4EFB891C692C6300B96B06 /* Project object */;
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
deleted file mode 100644
index 5ba034cec55..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "0720"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES"
-            hideIssues = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-               BuildableName = "SwaggerClient.app"
-               BlueprintName = "SwaggerClient"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6D4EFBA41C692C6300B96B06"
-               BuildableName = "SwaggerClientTests.xctest"
-               BlueprintName = "SwaggerClientTests"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </MacroExpansion>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 9b3fa18954f..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "group:SwaggerClient.xcodeproj">
-   </FileRef>
-   <FileRef
-      location = "group:Pods/Pods.xcodeproj">
-   </FileRef>
-</Workspace>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/AppDelegate.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/AppDelegate.swift
deleted file mode 100644
index c3770b6a19b..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/AppDelegate.swift
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-//  AppDelegate.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-
-    var window: UIWindow?
-
-    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
-        // Override point for customization after application launch.
-        return true
-    }
-
-    func applicationWillResignActive(application: UIApplication) {
-        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
-        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
-    }
-
-    func applicationDidEnterBackground(application: UIApplication) {
-        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
-        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
-    }
-
-    func applicationWillEnterForeground(application: UIApplication) {
-        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
-    }
-
-    func applicationDidBecomeActive(application: UIApplication) {
-        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
-    }
-
-    func applicationWillTerminate(application: UIApplication) {
-        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-    }
-
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index eeea76c2db5..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,73 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "29x29",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "40x40",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "76x76",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "76x76",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "83.5x83.5",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}
\ No newline at end of file
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 2e721e1833f..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="EHf-IW-A2E">
-            <objects>
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
-                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <animations/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="53" y="375"/>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
deleted file mode 100644
index 3a2a49bad8c..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Info.plist b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Info.plist
deleted file mode 100644
index bb71d00fa8a..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/Info.plist
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UILaunchStoryboardName</key>
-	<string>LaunchScreen</string>
-	<key>UIMainStoryboardFile</key>
-	<string>Main</string>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>armv7</string>
-	</array>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>petstore.swagger.io</key>
-            <dict>
-                <!--Include to allow HTTP requests-->
-                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/ViewController.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/ViewController.swift
deleted file mode 100644
index 8dad16b10f1..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClient/ViewController.swift
+++ /dev/null
@@ -1,23 +0,0 @@
-//
-//  ViewController.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-class ViewController: UIViewController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        // Do any additional setup after loading the view, typically from a nib.
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/Info.plist b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/Info.plist
deleted file mode 100644
index 802f84f540d..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/Info.plist
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>BNDL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>petstore.swagger.io</key>
-            <dict>
-                <!--Include to allow HTTP requests-->
-                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
deleted file mode 100644
index 8a6ed8b8cd0..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-//  PetAPITests.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import PromiseKit
-import XCTest
-@testable import SwaggerClient
-
-class PetAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-
-    func test1CreatePet() {
-        let expectation = self.expectationWithDescription("testCreatePet")
-        let newPet = Pet()
-        let category = PetstoreClient.Category()
-        category.id = 1234
-        category.name = "eyeColor"
-        newPet.category = category
-        newPet.id = 1000
-        newPet.name = "Fluffy"
-        newPet.status = .Available
-        PetAPI.addPet(body: newPet).then {
-                expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.error { _ -> Void in
-                XCTFail("error creating pet")
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetPet() {
-        let expectation = self.expectationWithDescription("testGetPet")
-        PetAPI.getPetById(petId: 1000).then { pet -> Void in
-                XCTAssert(pet.id == 1000, "invalid id")
-                XCTAssert(pet.name == "Fluffy", "invalid name")
-                expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.error { _ -> Void in
-                XCTFail("error creating pet")
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeletePet() {
-        let expectation = self.expectationWithDescription("testDeletePet")
-        PetAPI.deletePet(petId: 1000).then {
-            expectation.fulfill()
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
deleted file mode 100644
index ff7732ce426..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
+++ /dev/null
@@ -1,88 +0,0 @@
-//
-//  StoreAPITests.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import PromiseKit
-import XCTest
-@testable import SwaggerClient
-
-class StoreAPITests: XCTestCase {
-
-    let isoDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-    let testTimeout = 10.0
-
-    func test1PlaceOrder() {
-        let order = Order()
-        let shipDate = NSDate()
-        order.id = 1000
-        order.petId = 1000
-        order.complete = false
-        order.quantity = 10
-        order.shipDate = shipDate
-        // use explicit naming to reference the enum so that we test we don't regress on enum naming
-        order.status = Order.Status.Placed
-        let expectation = self.expectationWithDescription("testPlaceOrder")
-        StoreAPI.placeOrder(body: order).then { order -> Void in
-                XCTAssert(order.id == 1000, "invalid id")
-                XCTAssert(order.quantity == 10, "invalid quantity")
-                XCTAssert(order.status == .Placed, "invalid status")
-                XCTAssert(order.shipDate!.isEqual(shipDate, format: self.isoDateFormat),
-                          "Date should be idempotent")
-
-                expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.error { _ -> Void in
-                XCTFail("error placing order")
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetOrder() {
-        let expectation = self.expectationWithDescription("testGetOrder")
-        StoreAPI.getOrderById(orderId: "1000").then { order -> Void in
-            XCTAssert(order.id == 1000, "invalid id")
-            XCTAssert(order.quantity == 10, "invalid quantity")
-            XCTAssert(order.status == .Placed, "invalid status")
-            expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.error { _ -> Void in
-                XCTFail("error placing order")
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeleteOrder() {
-        let expectation = self.expectationWithDescription("testDeleteOrder")
-        StoreAPI.deleteOrder(orderId: "1000").then {
-            expectation.fulfill()
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-}
-
-private extension NSDate {
-
-    /**
-     Returns true if the dates are equal given the format string.
-
-     - parameter date:   The date to compare to.
-     - parameter format: The format string to use to compare.
-
-     - returns: true if the dates are equal, given the format string.
-     */
-    func isEqual(date: NSDate, format: String) -> Bool {
-        let fmt = NSDateFormatter()
-        fmt.dateFormat = format
-        return fmt.stringFromDate(self).isEqual(fmt.stringFromDate(date))
-    }
-
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift b/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
deleted file mode 100644
index f8510b1e90c..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
+++ /dev/null
@@ -1,77 +0,0 @@
-//
-//  UserAPITests.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import PromiseKit
-import XCTest
-@testable import SwaggerClient
-
-class UserAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-
-    func testLogin() {
-        let expectation = self.expectationWithDescription("testLogin")
-        UserAPI.loginUser(username: "swiftTester", password: "swift").then { _ -> Void in
-                expectation.fulfill()
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func testLogout() {
-        let expectation = self.expectationWithDescription("testLogout")
-        UserAPI.logoutUser().then {
-            expectation.fulfill()
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test1CreateUser() {
-        let expectation = self.expectationWithDescription("testCreateUser")
-        let newUser = User()
-        newUser.email = "test@test.com"
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-        UserAPI.createUser(body: newUser).then {
-            expectation.fulfill()
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetUser() {
-        let expectation = self.expectationWithDescription("testGetUser")
-        UserAPI.getUserByName(username: "test@test.com").then {user -> Void in
-                XCTAssert(user.userStatus == 0, "invalid userStatus")
-                XCTAssert(user.email == "test@test.com", "invalid email")
-                XCTAssert(user.firstName == "Test", "invalid firstName")
-                XCTAssert(user.lastName == "Tester", "invalid lastName")
-                XCTAssert(user.password == "test!", "invalid password")
-                XCTAssert(user.phone == "867-5309", "invalid phone")
-                expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.error { _ -> Void in
-                XCTFail("error getting user")
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeleteUser() {
-        let expectation = self.expectationWithDescription("testDeleteUser")
-        UserAPI.deleteUser(username: "test@test.com").then {
-            expectation.fulfill()
-        }
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-}
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/pom.xml b/samples/client/petstore/swift/promisekit/SwaggerClientTests/pom.xml
deleted file mode 100644
index 11686eaaede..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<project>
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>io.swagger</groupId>
-    <artifactId>SwiftPromiseKitPetstoreClientTests</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0-SNAPSHOT</version>
-    <name>Swift PromiseKit Swagger Petstore Client</name>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <version>1.2.1</version>
-                <executions>
-                    <execution>
-                        <id>xcodebuild-test</id>
-                        <phase>integration-test</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                        <configuration>
-                            <executable>./run_xcodebuild.sh</executable>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/samples/client/petstore/swift/promisekit/SwaggerClientTests/run_xcodebuild.sh b/samples/client/petstore/swift/promisekit/SwaggerClientTests/run_xcodebuild.sh
deleted file mode 100755
index edcc142971b..00000000000
--- a/samples/client/petstore/swift/promisekit/SwaggerClientTests/run_xcodebuild.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-#pod install && xcodebuild clean test -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty
-
-pod install && xcodebuild -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" test -destination "platform=iOS Simulator,name=iPhone 6,OS=9.3" | xcpretty
diff --git a/samples/client/petstore/swift/promisekit/git_push.sh b/samples/client/petstore/swift/promisekit/git_push.sh
deleted file mode 100644
index 8442b80bb44..00000000000
--- a/samples/client/petstore/swift/promisekit/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="GIT_USER_ID"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="GIT_REPO_ID"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="Minor update"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository. 
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/samples/client/petstore/swift/rxswift/.gitignore b/samples/client/petstore/swift/rxswift/.gitignore
deleted file mode 100644
index 5e5d5cebcf4..00000000000
--- a/samples/client/petstore/swift/rxswift/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift/rxswift/.openapi-generator-ignore b/samples/client/petstore/swift/rxswift/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift/rxswift/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift/rxswift/.openapi-generator/VERSION b/samples/client/petstore/swift/rxswift/.openapi-generator/VERSION
deleted file mode 100644
index 6d94c9c2e12..00000000000
--- a/samples/client/petstore/swift/rxswift/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/swift/rxswift/Cartfile b/samples/client/petstore/swift/rxswift/Cartfile
deleted file mode 100644
index d862ef91d09..00000000000
--- a/samples/client/petstore/swift/rxswift/Cartfile
+++ /dev/null
@@ -1,2 +0,0 @@
-github "Alamofire/Alamofire" >= 3.1.0
-github "ReactiveX/RxSwift" ~> 2.0
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient.podspec b/samples/client/petstore/swift/rxswift/PetstoreClient.podspec
deleted file mode 100644
index a0cc86beb3c..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient.podspec
+++ /dev/null
@@ -1,15 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = 'PetstoreClient'
-  s.ios.deployment_target = '8.0'
-  s.osx.deployment_target = '10.9'
-  s.tvos.deployment_target = '9.0'
-  s.version = '0.0.1'
-  s.source = { :git => 'git@github.com:openapitools/openapi-generator.git', :tag => 'v1.0.0' }
-  s.authors = ''
-  s.license = 'Proprietary'
-  s.homepage = 'https://github.com/openapitools/openapi-generator'
-  s.summary = 'PetstoreClient'
-  s.source_files = 'PetstoreClient/Classes/**/*.swift'
-  s.dependency 'RxSwift', '~> 2.6.1'
-  s.dependency 'Alamofire', '~> 3.5.1'
-end
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIHelper.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
deleted file mode 100644
index bff5744506d..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-class APIHelper {
-    static func rejectNil(source: [String: AnyObject?]) -> [String: AnyObject]? {
-        var destination = [String: AnyObject]()
-        for (key, nillableValue) in source {
-            if let value: AnyObject = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(source: [String: AnyObject?]) -> [String: String] {
-        var destination = [String: String]()
-        for (key, nillableValue) in source {
-            if let value: AnyObject = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(source: [String: AnyObject]?) -> [String: AnyObject]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String: AnyObject]()
-        let theTrue = NSNumber(bool: true)
-        let theFalse = NSNumber(bool: false)
-        for (key, value) in source {
-            switch value {
-            case let x where x === theTrue || x === theFalse:
-                destination[key] = "\(value as! Bool)"
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs.swift
deleted file mode 100644
index 676a325d49a..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs.swift
+++ /dev/null
@@ -1,76 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class PetstoreClientAPI {
-    public static var basePath = "http://petstore.swagger.io/v2"
-    public static var credential: NSURLCredential?
-    public static var customHeaders: [String: String] = [:]
-    static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-public class APIBase {
-    func toParameters(encodable: JSONEncodable?) -> [String: AnyObject]? {
-        let encoded: AnyObject? = encodable?.encodeToJSON()
-
-        if encoded! is [AnyObject] {
-            var dictionary = [String: AnyObject]()
-            for (index, item) in (encoded as! [AnyObject]).enumerate() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String: AnyObject]
-        }
-    }
-}
-
-public class RequestBuilder<T> {
-    var credential: NSURLCredential?
-    var headers: [String: String]
-    let parameters: [String: AnyObject]?
-    let isBody: Bool
-    let method: String
-    let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((NSProgress) -> Void)?
-
-    required public init(method: String, URLString: String, parameters: [String: AnyObject]?, isBody: Bool, headers: [String: String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders(PetstoreClientAPI.customHeaders)
-    }
-
-    public func addHeaders(aHeaders: [String: String]) {
-        for (header, value) in aHeaders {
-            headers[header] = value
-        }
-    }
-
-    public func execute(completion: (response: Response<T>?, error: ErrorType?) -> Void) { }
-
-    public func addHeader(name name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    public func addCredential() -> Self {
-        self.credential = PetstoreClientAPI.credential
-        return self
-    }
-}
-
-protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
deleted file mode 100644
index 866607dc04f..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
+++ /dev/null
@@ -1,649 +0,0 @@
-//
-// PetAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-import RxSwift
-
-public class PetAPI: APIBase {
-    /**
-     Add a new pet to the store
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func addPet(pet pet: Pet? = nil, completion: ((error: ErrorType?) -> Void)) {
-        addPetWithRequestBuilder(pet: pet).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Add a new pet to the store
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - returns: Observable<Void>
-     */
-    public class func addPet(pet pet: Pet? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            addPet(pet: pet) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Add a new pet to the store
-     - POST /pet     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func addPetWithRequestBuilder(pet pet: Pet? = nil) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Deletes a pet
-     
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deletePet(petId petId: Int64, apiKey: String? = nil, completion: ((error: ErrorType?) -> Void)) {
-        deletePetWithRequestBuilder(petId: petId, apiKey: apiKey).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Deletes a pet
-     
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: Observable<Void>
-     */
-    public class func deletePet(petId petId: Int64, apiKey: String? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            deletePet(petId: petId, apiKey: apiKey) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Deletes a pet
-     - DELETE /pet/{petId}     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deletePetWithRequestBuilder(petId petId: Int64, apiKey: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-        let nillableHeaders: [String: AnyObject?] = [
-            "api_key": apiKey
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true, headers: headerParameters)
-    }
-
-    /**
-     Finds Pets by status
-     
-     - parameter status: (query) Status values that need to be considered for filter (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func findPetsByStatus(status status: [String]? = nil, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
-        findPetsByStatusWithRequestBuilder(status: status).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Finds Pets by status
-     
-     - parameter status: (query) Status values that need to be considered for filter (optional)
-     - returns: Observable<[Pet]>
-     */
-    public class func findPetsByStatus(status status: [String]? = nil) -> Observable<[Pet]> {
-        return Observable.create { observer -> Disposable in
-            findPetsByStatus(status: status) { data, error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next(data!))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Finds Pets by status
-     - GET /pet/findByStatus
-     - Multiple status values can be provided with comma separated strings     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter status: (query) Status values that need to be considered for filter (optional)
-
-     - returns: RequestBuilder<[Pet]> 
-     */
-    public class func findPetsByStatusWithRequestBuilder(status status: [String]? = nil) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByStatus"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "status": status
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Finds Pets by tags
-     
-     - parameter tags: (query) Tags to filter by (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func findPetsByTags(tags tags: [String]? = nil, completion: ((data: [Pet]?, error: ErrorType?) -> Void)) {
-        findPetsByTagsWithRequestBuilder(tags: tags).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Finds Pets by tags
-     
-     - parameter tags: (query) Tags to filter by (optional)
-     - returns: Observable<[Pet]>
-     */
-    public class func findPetsByTags(tags tags: [String]? = nil) -> Observable<[Pet]> {
-        return Observable.create { observer -> Disposable in
-            findPetsByTags(tags: tags) { data, error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next(data!))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Finds Pets by tags
-     - GET /pet/findByTags
-     - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter tags: (query) Tags to filter by (optional)
-
-     - returns: RequestBuilder<[Pet]> 
-     */
-    public class func findPetsByTagsWithRequestBuilder(tags tags: [String]? = nil) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByTags"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "tags": tags
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Find pet by ID
-     
-     - parameter petId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getPetById(petId petId: Int64, completion: ((data: Pet?, error: ErrorType?) -> Void)) {
-        getPetByIdWithRequestBuilder(petId: petId).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Find pet by ID
-     
-     - parameter petId: (path) ID of pet that needs to be fetched 
-     - returns: Observable<Pet>
-     */
-    public class func getPetById(petId petId: Int64) -> Observable<Pet> {
-        return Observable.create { observer -> Disposable in
-            getPetById(petId: petId) { data, error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next(data!))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Find pet by ID
-     - GET /pet/{petId}
-     - Returns a pet when ID < 10.  ID > 10 or nonintegers will simulate API error conditions     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - examples: [{contentType=application/json, example={
-  "photoUrls" : [ "photoUrls", "photoUrls" ],
-  "name" : "doggie",
-  "id" : 0,
-  "category" : {
-    "name" : "name",
-    "id" : 6
-  },
-  "tags" : [ {
-    "name" : "name",
-    "id" : 1
-  }, {
-    "name" : "name",
-    "id" : 1
-  } ],
-  "status" : "available"
-}}, {contentType=application/xml, example=<Pet>
-  <id>123456789</id>
-  <name>doggie</name>
-  <photoUrls>
-    <photoUrls>aeiou</photoUrls>
-  </photoUrls>
-  <tags>
-  </tags>
-  <status>aeiou</status>
-</Pet>}]
-     - parameter petId: (path) ID of pet that needs to be fetched 
-
-     - returns: RequestBuilder<Pet> 
-     */
-    public class func getPetByIdWithRequestBuilder(petId petId: Int64) -> RequestBuilder<Pet> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Pet>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Update an existing pet
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updatePet(pet pet: Pet? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updatePetWithRequestBuilder(pet: pet).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Update an existing pet
-     
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-     - returns: Observable<Void>
-     */
-    public class func updatePet(pet pet: Pet? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            updatePet(pet: pet) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Update an existing pet
-     - PUT /pet     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updatePetWithRequestBuilder(pet pet: Pet? = nil) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Updates a pet in the store with form data
-     
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updatePetWithForm(petId petId: String, name: String? = nil, status: String? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updatePetWithFormWithRequestBuilder(petId: petId, name: name, status: status).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Updates a pet in the store with form data
-     
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: Observable<Void>
-     */
-    public class func updatePetWithForm(petId petId: String, name: String? = nil, status: String? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            updatePetWithForm(petId: petId, name: name, status: status) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - POST /pet/{petId}     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updatePetWithFormWithRequestBuilder(petId petId: String, name: String? = nil, status: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "name": name,
-            "status": status
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     uploads an image
-     
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func uploadFile(petId petId: Int64, additionalMetadata: String? = nil, file: NSURL? = nil, completion: ((error: ErrorType?) -> Void)) {
-        uploadFileWithRequestBuilder(petId: petId, additionalMetadata: additionalMetadata, file: file).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     uploads an image
-     
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: Observable<Void>
-     */
-    public class func uploadFile(petId petId: Int64, additionalMetadata: String? = nil, file: NSURL? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            uploadFile(petId: petId, additionalMetadata: additionalMetadata, file: file) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     uploads an image
-     - POST /pet/{petId}/uploadImage     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func uploadFileWithRequestBuilder(petId petId: Int64, additionalMetadata: String? = nil, file: NSURL? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}/uploadImage"
-        path = path.stringByReplacingOccurrencesOfString("{petId}", withString: "\(petId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "additionalMetadata": additionalMetadata,
-            "file": file
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
deleted file mode 100644
index cc8873bdd9f..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
+++ /dev/null
@@ -1,286 +0,0 @@
-//
-// StoreAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-import RxSwift
-
-public class StoreAPI: APIBase {
-    /**
-     Delete purchase order by ID
-     
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deleteOrder(orderId orderId: String, completion: ((error: ErrorType?) -> Void)) {
-        deleteOrderWithRequestBuilder(orderId: orderId).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Delete purchase order by ID
-     
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: Observable<Void>
-     */
-    public class func deleteOrder(orderId orderId: String) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            deleteOrder(orderId: orderId) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Delete purchase order by ID
-     - DELETE /store/order/{orderId}
-     - For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors     - parameter orderId: (path) ID of the order that needs to be deleted 
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deleteOrderWithRequestBuilder(orderId orderId: String) -> RequestBuilder<Void> {
-        var path = "/store/order/{orderId}"
-        path = path.stringByReplacingOccurrencesOfString("{orderId}", withString: "\(orderId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Returns pet inventories by status
-     
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getInventory(completion: ((data: [String: Int32]?, error: ErrorType?) -> Void)) {
-        getInventoryWithRequestBuilder().execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Returns pet inventories by status
-     
-     - returns: Observable<[String:Int32]>
-     */
-    public class func getInventory() -> Observable<[String: Int32]> {
-        return Observable.create { observer -> Disposable in
-            getInventory { data, error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next(data!))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Returns pet inventories by status
-     - GET /store/inventory
-     - Returns a map of status codes to quantities     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-
-     - returns: RequestBuilder<[String:Int32]> 
-     */
-    public class func getInventoryWithRequestBuilder() -> RequestBuilder<[String: Int32]> {
-        let path = "/store/inventory"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<[String: Int32]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Find purchase order by ID
-     
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getOrderById(orderId orderId: String, completion: ((data: Order?, error: ErrorType?) -> Void)) {
-        getOrderByIdWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Find purchase order by ID
-     
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: Observable<Order>
-     */
-    public class func getOrderById(orderId orderId: String) -> Observable<Order> {
-        return Observable.create { observer -> Disposable in
-            getOrderById(orderId: orderId) { data, error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next(data!))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Find purchase order by ID
-     - GET /store/order/{orderId}
-     - For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-
-     - returns: RequestBuilder<Order> 
-     */
-    public class func getOrderByIdWithRequestBuilder(orderId orderId: String) -> RequestBuilder<Order> {
-        var path = "/store/order/{orderId}"
-        path = path.stringByReplacingOccurrencesOfString("{orderId}", withString: "\(orderId)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Place an order for a pet
-     
-     - parameter order: (body) order placed for purchasing the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func placeOrder(order order: Order? = nil, completion: ((data: Order?, error: ErrorType?) -> Void)) {
-        placeOrderWithRequestBuilder(order: order).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Place an order for a pet
-     
-     - parameter order: (body) order placed for purchasing the pet (optional)
-     - returns: Observable<Order>
-     */
-    public class func placeOrder(order order: Order? = nil) -> Observable<Order> {
-        return Observable.create { observer -> Disposable in
-            placeOrder(order: order) { data, error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next(data!))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Place an order for a pet
-     - POST /store/order     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - examples: [{contentType=application/json, example={
-  "petId" : 6,
-  "quantity" : 1,
-  "id" : 0,
-  "shipDate" : "2000-01-23T04:56:07.000+00:00",
-  "complete" : true,
-  "status" : "placed"
-}}, {contentType=application/xml, example=<Order>
-  <id>123456789</id>
-  <petId>123456789</petId>
-  <quantity>123</quantity>
-  <shipDate>2000-01-23T04:56:07.000Z</shipDate>
-  <status>aeiou</status>
-  <complete>true</complete>
-</Order>}]
-     - parameter order: (body) order placed for purchasing the pet (optional)
-
-     - returns: RequestBuilder<Order> 
-     */
-    public class func placeOrderWithRequestBuilder(order order: Order? = nil) -> RequestBuilder<Order> {
-        let path = "/store/order"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = order?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
deleted file mode 100644
index fae0dd5f6ed..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
+++ /dev/null
@@ -1,474 +0,0 @@
-//
-// UserAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-import RxSwift
-
-public class UserAPI: APIBase {
-    /**
-     Create user
-     
-     - parameter user: (body) Created user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUser(user user: User? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUserWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Create user
-     
-     - parameter user: (body) Created user object (optional)
-     - returns: Observable<Void>
-     */
-    public class func createUser(user user: User? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            createUser(user: user) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Create user
-     - POST /user
-     - This can only be done by the logged in user.     - parameter user: (body) Created user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUserWithRequestBuilder(user user: User? = nil) -> RequestBuilder<Void> {
-        let path = "/user"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUsersWithArrayInput(user user: [User]? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUsersWithArrayInputWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - returns: Observable<Void>
-     */
-    public class func createUsersWithArrayInput(user user: [User]? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            createUsersWithArrayInput(user: user) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithArray     - parameter user: (body) List of user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUsersWithArrayInputWithRequestBuilder(user user: [User]? = nil) -> RequestBuilder<Void> {
-        let path = "/user/createWithArray"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func createUsersWithListInput(user user: [User]? = nil, completion: ((error: ErrorType?) -> Void)) {
-        createUsersWithListInputWithRequestBuilder(user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     
-     - parameter user: (body) List of user object (optional)
-     - returns: Observable<Void>
-     */
-    public class func createUsersWithListInput(user user: [User]? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            createUsersWithListInput(user: user) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithList     - parameter user: (body) List of user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func createUsersWithListInputWithRequestBuilder(user user: [User]? = nil) -> RequestBuilder<Void> {
-        let path = "/user/createWithList"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Delete user
-     
-     - parameter username: (path) The name that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func deleteUser(username username: String, completion: ((error: ErrorType?) -> Void)) {
-        deleteUserWithRequestBuilder(username: username).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Delete user
-     
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: Observable<Void>
-     */
-    public class func deleteUser(username username: String) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            deleteUser(username: username) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Delete user
-     - DELETE /user/{username}
-     - This can only be done by the logged in user.     - parameter username: (path) The name that needs to be deleted 
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func deleteUserWithRequestBuilder(username username: String) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Get user by user name
-     
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func getUserByName(username username: String, completion: ((data: User?, error: ErrorType?) -> Void)) {
-        getUserByNameWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Get user by user name
-     
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: Observable<User>
-     */
-    public class func getUserByName(username username: String) -> Observable<User> {
-        return Observable.create { observer -> Disposable in
-            getUserByName(username: username) { data, error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next(data!))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Get user by user name
-     - GET /user/{username}     - examples: [{contentType=application/json, example={
-  "firstName" : "firstName",
-  "lastName" : "lastName",
-  "password" : "password",
-  "userStatus" : 6,
-  "phone" : "phone",
-  "id" : 0,
-  "email" : "email",
-  "username" : "username"
-}}, {contentType=application/xml, example=<User>
-  <id>123456789</id>
-  <username>aeiou</username>
-  <firstName>aeiou</firstName>
-  <lastName>aeiou</lastName>
-  <email>aeiou</email>
-  <password>aeiou</password>
-  <phone>aeiou</phone>
-  <userStatus>123</userStatus>
-</User>}]
-     - examples: [{contentType=application/json, example={
-  "firstName" : "firstName",
-  "lastName" : "lastName",
-  "password" : "password",
-  "userStatus" : 6,
-  "phone" : "phone",
-  "id" : 0,
-  "email" : "email",
-  "username" : "username"
-}}, {contentType=application/xml, example=<User>
-  <id>123456789</id>
-  <username>aeiou</username>
-  <firstName>aeiou</firstName>
-  <lastName>aeiou</lastName>
-  <email>aeiou</email>
-  <password>aeiou</password>
-  <phone>aeiou</phone>
-  <userStatus>123</userStatus>
-</User>}]
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-
-     - returns: RequestBuilder<User> 
-     */
-    public class func getUserByNameWithRequestBuilder(username username: String) -> RequestBuilder<User> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<User>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Logs user into the system
-     
-     - parameter username: (query) The user name for login (optional)
-     - parameter password: (query) The password for login in clear text (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func loginUser(username username: String? = nil, password: String? = nil, completion: ((data: String?, error: ErrorType?) -> Void)) {
-        loginUserWithRequestBuilder(username: username, password: password).execute { (response, error) -> Void in
-            completion(data: response?.body, error: error)
-        }
-    }
-
-    /**
-     Logs user into the system
-     
-     - parameter username: (query) The user name for login (optional)
-     - parameter password: (query) The password for login in clear text (optional)
-     - returns: Observable<String>
-     */
-    public class func loginUser(username username: String? = nil, password: String? = nil) -> Observable<String> {
-        return Observable.create { observer -> Disposable in
-            loginUser(username: username, password: password) { data, error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next(data!))
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Logs user into the system
-     - GET /user/login     - parameter username: (query) The user name for login (optional)
-     - parameter password: (query) The password for login in clear text (optional)
-
-     - returns: RequestBuilder<String> 
-     */
-    public class func loginUserWithRequestBuilder(username username: String? = nil, password: String? = nil) -> RequestBuilder<String> {
-        let path = "/user/login"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [
-            "username": username,
-            "password": password
-        ]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: false)
-    }
-
-    /**
-     Logs out current logged in user session
-     
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func logoutUser(completion: ((error: ErrorType?) -> Void)) {
-        logoutUserWithRequestBuilder().execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Logs out current logged in user session
-     
-     - returns: Observable<Void>
-     */
-    public class func logoutUser() -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            logoutUser { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Logs out current logged in user session
-     - GET /user/logout
-     - returns: RequestBuilder<Void> 
-     */
-    public class func logoutUserWithRequestBuilder() -> RequestBuilder<Void> {
-        let path = "/user/logout"
-        let URLString = PetstoreClientAPI.basePath + path
-
-        let nillableParameters: [String: AnyObject?] = [:]
-
-        let parameters = APIHelper.rejectNil(nillableParameters)
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-    /**
-     Updated user
-     
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    public class func updateUser(username username: String, user: User? = nil, completion: ((error: ErrorType?) -> Void)) {
-        updateUserWithRequestBuilder(username: username, user: user).execute { (_, error) -> Void in
-            completion(error: error)
-        }
-    }
-
-    /**
-     Updated user
-     
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object (optional)
-     - returns: Observable<Void>
-     */
-    public class func updateUser(username username: String, user: User? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            updateUser(username: username, user: user) { error in
-                if let error = error {
-                    observer.on(.Error(error as ErrorType))
-                } else {
-                    observer.on(.Next())
-                }
-                observer.on(.Completed)
-            }
-            return NopDisposable.instance
-        }
-    }
-
-    /**
-     Updated user
-     - PUT /user/{username}
-     - This can only be done by the logged in user.     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object (optional)
-
-     - returns: RequestBuilder<Void> 
-     */
-    public class func updateUserWithRequestBuilder(username username: String, user: User? = nil) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        path = path.stringByReplacingOccurrencesOfString("{username}", withString: "\(username)", options: .LiteralSearch, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user?.encodeToJSON() as? [String: AnyObject]
-
-        let convertedParameters = APIHelper.convertBoolToString(parameters)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: URLString, parameters: convertedParameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
deleted file mode 100644
index 38e0a086d73..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
+++ /dev/null
@@ -1,207 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-public struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = dispatch_queue_create("SynchronizedDictionary", DISPATCH_QUEUE_CONCURRENT)
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            dispatch_sync(queue) {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-
-        set {
-            dispatch_barrier_sync(queue) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.Manager>()
-
-class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required init(method: String, URLString: String, parameters: [String: AnyObject]?, isBody: Bool, headers: [String: String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    override func execute(completion: (response: Response<T>?, error: ErrorType?) -> Void) {
-        let managerId = NSUUID().UUIDString
-        // Create a new manager for each request to customize its request header
-        let configuration = NSURLSessionConfiguration.defaultSessionConfiguration()
-        configuration.HTTPAdditionalHeaders = buildHeaders()
-        let manager = Alamofire.Manager(configuration: configuration)
-        managerStore[managerId] = manager
-
-        let encoding = isBody ? Alamofire.ParameterEncoding.JSON : Alamofire.ParameterEncoding.URL
-        let xMethod = Alamofire.Method(rawValue: method)
-        let fileKeys = parameters == nil ? [] : parameters!.filter { $1.isKindOfClass(NSURL) }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(
-                xMethod!, URLString, headers: nil,
-                multipartFormData: { mpForm in
-                    for (k, v) in self.parameters! {
-                        switch v {
-                        case let fileURL as NSURL:
-                            mpForm.appendBodyPart(fileURL: fileURL, name: k)
-                        case let string as NSString:
-                            mpForm.appendBodyPart(data: string.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
-                        case let number as NSNumber:
-                            mpForm.appendBodyPart(data: number.stringValue.dataUsingEncoding(NSUTF8StringEncoding)!, name: k)
-                        default:
-                            fatalError("Unprocessable value \(v) with key \(k)")
-                        }
-                    }
-                },
-                encodingMemoryThreshold: Manager.MultipartFormDataEncodingMemoryThreshold,
-                encodingCompletion: { encodingResult in
-                    switch encodingResult {
-                    case .Success(let uploadRequest, _, _):
-                        if let onProgressReady = self.onProgressReady {
-                            onProgressReady(uploadRequest.progress)
-                        }
-                        self.processRequest(uploadRequest, managerId, completion)
-                    case .Failure(let encodingError):
-                        completion(response: nil, error: ErrorResponse.error(415, nil, encodingError))
-                    }
-                }
-            )
-        } else {
-            let request = manager.request(xMethod!, URLString, parameters: parameters, encoding: encoding)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: Request, _ managerId: String, _ completion: (response: Response<T>?, error: ErrorType?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(stringResponse.response?.statusCode ?? 500, stringResponse.data, stringResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: stringResponse.response!,
-                        body: (stringResponse.result.value ?? "") as! T
-                    ),
-                    error: nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(voidResponse.response?.statusCode ?? 500, voidResponse.data, voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: voidResponse.response!,
-                        body: nil
-                    ),
-                    error: nil
-                )
-            })
-        case is NSData.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        response: nil,
-                        error: ErrorResponse.error(dataResponse.response?.statusCode ?? 500, dataResponse.data, dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    response: Response(
-                        response: dataResponse.response!,
-                        body: dataResponse.data as! T
-                    ),
-                    error: nil
-                )
-            })
-        default:
-            validatedRequest.responseJSON(options: .AllowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(response: nil, error: ErrorResponse.error(response.response?.statusCode ?? 500, response.data, response.result.error!))
-                    return
-                }
-
-                if () is T {
-                    completion(response: Response(response: response.response!, body: () as! T), error: nil)
-                    return
-                }
-                if let json: AnyObject = response.result.value {
-                    let body = Decoders.decode(clazz: T.self, source: json)
-                    completion(response: Response(response: response.response!, body: body), error: nil)
-                    return
-                } else if "" is T {
-                    completion(response: Response(response: response.response!, body: "" as! T), error: nil)
-                    return
-                }
-
-                completion(response: nil, error: ErrorResponse.error(500, nil, NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    private func buildHeaders() -> [String: AnyObject] {
-        var httpHeaders = Manager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Extensions.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Extensions.swift
deleted file mode 100644
index 603983e248a..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Extensions.swift
+++ /dev/null
@@ -1,177 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Alamofire
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return NSNumber(int: self) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return NSNumber(longLong: self) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> AnyObject { return self }
-}
-
-private func encodeIfPossible<T>(object: T) -> AnyObject {
-    if object is JSONEncodable {
-        return (object as! JSONEncodable).encodeToJSON()
-    } else {
-        return object as! AnyObject
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        var dictionary = [NSObject: AnyObject]()
-        for (key, value) in self {
-            dictionary[key as! NSObject] = encodeIfPossible(value)
-        }
-        return dictionary
-    }
-}
-
-extension NSData: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.base64EncodedStringWithOptions(NSDataBase64EncodingOptions())
-    }
-}
-
-private let dateFormatter: NSDateFormatter = {
-    let fmt = NSDateFormatter()
-    fmt.dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-    fmt.locale = NSLocale(localeIdentifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension NSDate: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return dateFormatter.stringFromDate(self)
-    }
-}
-
-extension NSUUID: JSONEncodable {
-    func encodeToJSON() -> AnyObject {
-        return self.UUIDString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts an NSDate to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date date: NSDate) -> ISOFullDate? {
-        guard let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian) else {
-            return nil
-        }
-
-        let components = calendar.components(
-            [
-                .Year,
-                .Month,
-                .Day
-            ],
-            fromDate: date
-        )
-        return ISOFullDate(
-            year: components.year,
-            month: components.month,
-            day: components.day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split("-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to an NSDate, in the default time zone.
-
-     - returns: An NSDate from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> NSDate? {
-        let components = NSDateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = NSTimeZone.defaultTimeZone()
-        let calendar = NSCalendar(identifier: NSCalendarIdentifierGregorian)
-        return calendar?.dateFromComponents(components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> AnyObject {
-        return "\(year)-\(month)-\(day)"
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models.swift
deleted file mode 100644
index 774bb1737b7..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models.swift
+++ /dev/null
@@ -1,234 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> AnyObject
-}
-
-public enum ErrorResponse: ErrorType {
-    case Error(Int, NSData?, ErrorType)
-}
-
-public class Response<T> {
-    public let statusCode: Int
-    public let header: [String: String]
-    public let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: NSHTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String: String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-private var once = dispatch_once_t()
-class Decoders {
-    static private var decoders = [String: ((AnyObject) -] AnyObject)>()
-
-    static func addDecoder<T>(clazz clazz: T.Type, decoder: ((AnyObject) -> T)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0) as! AnyObject }
-    }
-
-    static func decode<T>(clazz clazz: [T].Type, source: AnyObject) -> [T] {
-        let array = source as! [AnyObject]
-        return array.map { Decoders.decode(clazz: T.self, source: $0) }
-    }
-
-    static func decode<T, Key: Hashable>(clazz clazz: [Key: T].Type, source: AnyObject) -> [Key: T] {
-        let sourceDictionary = source as! [Key: AnyObject]
-        var dictionary = [Key: T]()
-        for (key, value) in sourceDictionary {
-            dictionary[key] = Decoders.decode(clazz: T.self, source: value)
-        }
-        return dictionary
-    }
-
-    static func decode<T>(clazz clazz: T.Type, source: AnyObject) -> T {
-        initialize()
-        if T.self is Int32.Type && source is NSNumber {
-            return source.intValue as! T
-        }
-        if T.self is Int64.Type && source is NSNumber {
-            return source.longLongValue as! T
-        }
-        if T.self is NSUUID.Type && source is String {
-            return NSUUID(UUIDString: source as! String) as! T
-        }
-        if source is T {
-            return source as! T
-        }
-        if T.self is NSData.Type && source is String {
-            return NSData(base64EncodedString: source as! String, options: NSDataBase64DecodingOptions()) as! T
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key] {
-           return decoder(source) as! T
-        } else {
-            fatalError("Source \(source) is not convertible to type \(clazz): Maybe OpenAPI spec file is insufficient")
-        }
-    }
-
-    static func decodeOptional<T>(clazz clazz: T.Type, source: AnyObject?) -> T? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (source: AnyObject) -> T in
-            Decoders.decode(clazz: clazz, source: source)
-        }
-    }
-
-    static func decodeOptional<T>(clazz clazz: [T].Type, source: AnyObject?) -> [T]? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (someSource: AnyObject) -> [T] in
-            Decoders.decode(clazz: clazz, source: someSource)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz clazz: [Key: T].Type, source: AnyObject?) -> [Key: T]? {
-        if source is NSNull {
-            return nil
-        }
-        return source.map { (someSource: AnyObject) -> [Key: T] in
-            Decoders.decode(clazz: clazz, source: someSource)
-        }
-    }
-
-    static private func initialize() {
-        dispatch_once(&once) {
-            let formatters = [
-                "yyyy-MM-dd",
-                "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-                "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-                "yyyy-MM-dd'T'HH:mm:ss'Z'",
-                "yyyy-MM-dd'T'HH:mm:ss.SSS"
-            ].map { (format: String) -> NSDateFormatter in
-                let formatter = NSDateFormatter()
-                formatter.locale = NSLocale(localeIdentifier: "en_US_POSIX")
-                formatter.dateFormat = format
-                return formatter
-            }
-            // Decoder for NSDate
-            Decoders.addDecoder(clazz: NSDate.self) { (source: AnyObject) -> NSDate in
-               if let sourceString = source as? String {
-                    for formatter in formatters {
-                        if let date = formatter.dateFromString(sourceString) {
-                            return date
-                        }
-                    }
-
-                }
-                if let sourceInt = source as? Int {
-                    // treat as a java date
-                    return NSDate(timeIntervalSince1970: Double(sourceInt / 1000) )
-                }
-                fatalError("formatter failed to parse \(source)")
-            }
-
-            // Decoder for ISOFullDate
-            Decoders.addDecoder(clazz: ISOFullDate.self, decoder: { (source: AnyObject) -> ISOFullDate in
-                if let string = source as? String,
-                   let isoDate = ISOFullDate.from(string: string) {
-                    return isoDate
-                }
-                fatalError("formatter failed to parse \(source)")
-            })
-
-            // Decoder for [Category]
-            Decoders.addDecoder(clazz: [Category].self) { (source: AnyObject) -> [Category] in
-                return Decoders.decode(clazz: [Category].self, source: source)
-            }
-            // Decoder for Category
-            Decoders.addDecoder(clazz: Category.self) { (source: AnyObject) -> Category in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Category()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                return instance
-            }
-
-            // Decoder for [Order]
-            Decoders.addDecoder(clazz: [Order].self) { (source: AnyObject) -> [Order] in
-                return Decoders.decode(clazz: [Order].self, source: source)
-            }
-            // Decoder for Order
-            Decoders.addDecoder(clazz: Order.self) { (source: AnyObject) -> Order in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Order()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.petId = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["petId"])
-                instance.quantity = Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["quantity"])
-                instance.shipDate = Decoders.decodeOptional(clazz: NSDate.self, source: sourceDictionary["shipDate"])
-                instance.status = Order.Status(rawValue: (sourceDictionary["status"] as? String) ?? "")
-                instance.complete = Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["complete"])
-                return instance
-            }
-
-            // Decoder for [Pet]
-            Decoders.addDecoder(clazz: [Pet].self) { (source: AnyObject) -> [Pet] in
-                return Decoders.decode(clazz: [Pet].self, source: source)
-            }
-            // Decoder for Pet
-            Decoders.addDecoder(clazz: Pet.self) { (source: AnyObject) -> Pet in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Pet()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.category = Decoders.decodeOptional(clazz: Category.self, source: sourceDictionary["category"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                instance.photoUrls = Decoders.decodeOptional(clazz: Array.self, source: sourceDictionary["photoUrls"])
-                instance.tags = Decoders.decodeOptional(clazz: Array.self, source: sourceDictionary["tags"])
-                instance.status = Pet.Status(rawValue: (sourceDictionary["status"] as? String) ?? "")
-                return instance
-            }
-
-            // Decoder for [Tag]
-            Decoders.addDecoder(clazz: [Tag].self) { (source: AnyObject) -> [Tag] in
-                return Decoders.decode(clazz: [Tag].self, source: source)
-            }
-            // Decoder for Tag
-            Decoders.addDecoder(clazz: Tag.self) { (source: AnyObject) -> Tag in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = Tag()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.name = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"])
-                return instance
-            }
-
-            // Decoder for [User]
-            Decoders.addDecoder(clazz: [User].self) { (source: AnyObject) -> [User] in
-                return Decoders.decode(clazz: [User].self, source: source)
-            }
-            // Decoder for User
-            Decoders.addDecoder(clazz: User.self) { (source: AnyObject) -> User in
-                let sourceDictionary = source as! [NSObject: AnyObject]
-                let instance = User()
-                instance.id = Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"])
-                instance.username = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["username"])
-                instance.firstName = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["firstName"])
-                instance.lastName = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["lastName"])
-                instance.email = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["email"])
-                instance.password = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"])
-                instance.phone = Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["phone"])
-                instance.userStatus = Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["userStatus"])
-                return instance
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Category.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
deleted file mode 100644
index b3cbea28b69..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Category.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Category: JSONEncodable {
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
deleted file mode 100644
index bb7860b9483..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Order.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Order: JSONEncodable {
-    public enum Status: String {
-        case Placed = "placed"
-        case Approved = "approved"
-        case Delivered = "delivered"
-    }
-    public var id: Int64?
-    public var petId: Int64?
-    public var quantity: Int32?
-    public var shipDate: NSDate?
-    /** Order Status */
-    public var status: Status?
-    public var complete: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["petId"] = self.petId?.encodeToJSON()
-        nillableDictionary["quantity"] = self.quantity?.encodeToJSON()
-        nillableDictionary["shipDate"] = self.shipDate?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        nillableDictionary["complete"] = self.complete
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
deleted file mode 100644
index 5fa39ec431a..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Pet.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Pet: JSONEncodable {
-    public enum Status: String {
-        case Available = "available"
-        case Pending = "pending"
-        case Sold = "sold"
-    }
-    public var id: Int64?
-    public var category: Category?
-    public var name: String?
-    public var photoUrls: [String]?
-    public var tags: [Tag]?
-    /** pet status in the store */
-    public var status: Status?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["category"] = self.category?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        nillableDictionary["photoUrls"] = self.photoUrls?.encodeToJSON()
-        nillableDictionary["tags"] = self.tags?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
deleted file mode 100644
index df2d12e84fc..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-// Tag.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class Tag: JSONEncodable {
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/User.swift b/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/User.swift
deleted file mode 100644
index d24a2154417..00000000000
--- a/samples/client/petstore/swift/rxswift/PetstoreClient/Classes/OpenAPIs/Models/User.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// User.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public class User: JSONEncodable {
-    public var id: Int64?
-    public var username: String?
-    public var firstName: String?
-    public var lastName: String?
-    public var email: String?
-    public var password: String?
-    public var phone: String?
-    /** User Status */
-    public var userStatus: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    func encodeToJSON() -> AnyObject {
-        var nillableDictionary = [String: AnyObject?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["username"] = self.username
-        nillableDictionary["firstName"] = self.firstName
-        nillableDictionary["lastName"] = self.lastName
-        nillableDictionary["email"] = self.email
-        nillableDictionary["password"] = self.password
-        nillableDictionary["phone"] = self.phone
-        nillableDictionary["userStatus"] = self.userStatus?.encodeToJSON()
-        let dictionary: [String: AnyObject] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/Podfile b/samples/client/petstore/swift/rxswift/SwaggerClientTests/Podfile
deleted file mode 100644
index 29843508b65..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/Podfile
+++ /dev/null
@@ -1,10 +0,0 @@
-use_frameworks!
-source 'https://github.com/CocoaPods/Specs.git'
-
-target 'SwaggerClient' do
-    pod "PetstoreClient", :path => "../"
-
-    target 'SwaggerClientTests' do
-        inherit! :search_paths
-    end
-end
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
deleted file mode 100644
index d6a4062151e..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,649 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		B024164FBFF71BF644D4419A /* Pods_SwaggerClient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 177A58DD5CF63F2989335DCC /* Pods_SwaggerClient.framework */; };
-		B1D0246C8960F47A60098F37 /* Pods_SwaggerClientTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F96A0131101344CC5406CB3 /* Pods_SwaggerClientTests.framework */; };
-		EAEC0BC21D4E30CE00C908A3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BC11D4E30CE00C908A3 /* AppDelegate.swift */; };
-		EAEC0BC41D4E30CE00C908A3 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BC31D4E30CE00C908A3 /* ViewController.swift */; };
-		EAEC0BC71D4E30CE00C908A3 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EAEC0BC51D4E30CE00C908A3 /* Main.storyboard */; };
-		EAEC0BC91D4E30CE00C908A3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EAEC0BC81D4E30CE00C908A3 /* Assets.xcassets */; };
-		EAEC0BCC1D4E30CE00C908A3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EAEC0BCA1D4E30CE00C908A3 /* LaunchScreen.storyboard */; };
-		EAEC0BE41D4E330700C908A3 /* PetAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BE31D4E330700C908A3 /* PetAPITests.swift */; };
-		EAEC0BE61D4E379000C908A3 /* StoreAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BE51D4E379000C908A3 /* StoreAPITests.swift */; };
-		EAEC0BE81D4E38CB00C908A3 /* UserAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BE71D4E38CB00C908A3 /* UserAPITests.swift */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		EAEC0BD31D4E30CE00C908A3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = EAEC0BB61D4E30CE00C908A3 /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = EAEC0BBD1D4E30CE00C908A3;
-			remoteInfo = SwaggerClient;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		177A58DD5CF63F2989335DCC /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		2DEFA8828BD4E38FA5262F53 /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-		4EF2021609D112A6F5AE0F55 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		6F96A0131101344CC5406CB3 /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClientTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		8D99518E8E05FD856A952698 /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		EAEC0BBE1D4E30CE00C908A3 /* SwaggerClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwaggerClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
-		EAEC0BC11D4E30CE00C908A3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
-		EAEC0BC31D4E30CE00C908A3 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
-		EAEC0BC61D4E30CE00C908A3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
-		EAEC0BC81D4E30CE00C908A3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		EAEC0BCB1D4E30CE00C908A3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		EAEC0BCD1D4E30CE00C908A3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		EAEC0BD21D4E30CE00C908A3 /* SwaggerClientTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwaggerClientTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
-		EAEC0BD81D4E30CE00C908A3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		EAEC0BE31D4E330700C908A3 /* PetAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PetAPITests.swift; sourceTree = "<group>"; };
-		EAEC0BE51D4E379000C908A3 /* StoreAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoreAPITests.swift; sourceTree = "<group>"; };
-		EAEC0BE71D4E38CB00C908A3 /* UserAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserAPITests.swift; sourceTree = "<group>"; };
-		EFD8AB05F53C74985527D117 /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		EAEC0BBB1D4E30CE00C908A3 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				B024164FBFF71BF644D4419A /* Pods_SwaggerClient.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		EAEC0BCF1D4E30CE00C908A3 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				B1D0246C8960F47A60098F37 /* Pods_SwaggerClientTests.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		55DC454FF5FFEF8A9CBC1CA3 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				177A58DD5CF63F2989335DCC /* Pods_SwaggerClient.framework */,
-				6F96A0131101344CC5406CB3 /* Pods_SwaggerClientTests.framework */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		CB19142D951AB5DD885404A8 /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				8D99518E8E05FD856A952698 /* Pods-SwaggerClient.debug.xcconfig */,
-				2DEFA8828BD4E38FA5262F53 /* Pods-SwaggerClient.release.xcconfig */,
-				4EF2021609D112A6F5AE0F55 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				EFD8AB05F53C74985527D117 /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		EAEC0BB51D4E30CE00C908A3 = {
-			isa = PBXGroup;
-			children = (
-				EAEC0BC01D4E30CE00C908A3 /* SwaggerClient */,
-				EAEC0BD51D4E30CE00C908A3 /* SwaggerClientTests */,
-				EAEC0BBF1D4E30CE00C908A3 /* Products */,
-				CB19142D951AB5DD885404A8 /* Pods */,
-				55DC454FF5FFEF8A9CBC1CA3 /* Frameworks */,
-			);
-			sourceTree = "<group>";
-		};
-		EAEC0BBF1D4E30CE00C908A3 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				EAEC0BBE1D4E30CE00C908A3 /* SwaggerClient.app */,
-				EAEC0BD21D4E30CE00C908A3 /* SwaggerClientTests.xctest */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		EAEC0BC01D4E30CE00C908A3 /* SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				EAEC0BC11D4E30CE00C908A3 /* AppDelegate.swift */,
-				EAEC0BC31D4E30CE00C908A3 /* ViewController.swift */,
-				EAEC0BC51D4E30CE00C908A3 /* Main.storyboard */,
-				EAEC0BC81D4E30CE00C908A3 /* Assets.xcassets */,
-				EAEC0BCA1D4E30CE00C908A3 /* LaunchScreen.storyboard */,
-				EAEC0BCD1D4E30CE00C908A3 /* Info.plist */,
-			);
-			path = SwaggerClient;
-			sourceTree = "<group>";
-		};
-		EAEC0BD51D4E30CE00C908A3 /* SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				EAEC0BD81D4E30CE00C908A3 /* Info.plist */,
-				EAEC0BE31D4E330700C908A3 /* PetAPITests.swift */,
-				EAEC0BE51D4E379000C908A3 /* StoreAPITests.swift */,
-				EAEC0BE71D4E38CB00C908A3 /* UserAPITests.swift */,
-			);
-			path = SwaggerClientTests;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		EAEC0BBD1D4E30CE00C908A3 /* SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = EAEC0BDB1D4E30CE00C908A3 /* Build configuration list for PBXNativeTarget "SwaggerClient" */;
-			buildPhases = (
-				C70A8FFDB7B0A20D2C3436C9 /* [CP] Check Pods Manifest.lock */,
-				898E536ECC2C4811DDDF67C1 /* [CP] Check Pods Manifest.lock */,
-				EAEC0BBA1D4E30CE00C908A3 /* Sources */,
-				EAEC0BBB1D4E30CE00C908A3 /* Frameworks */,
-				EAEC0BBC1D4E30CE00C908A3 /* Resources */,
-				8A7961360961F06AADAF17C9 /* [CP] Embed Pods Frameworks */,
-				E008DDC7FA2126F111F972F5 /* [CP] Copy Pods Resources */,
-				374C38046621787C3C859B01 /* 📦 Embed Pods Frameworks */,
-				73DCA4494CB87F25D3D5F63E /* 📦 Copy Pods Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = SwaggerClient;
-			productName = SwaggerClient;
-			productReference = EAEC0BBE1D4E30CE00C908A3 /* SwaggerClient.app */;
-			productType = "com.apple.product-type.application";
-		};
-		EAEC0BD11D4E30CE00C908A3 /* SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = EAEC0BDE1D4E30CE00C908A3 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */;
-			buildPhases = (
-				48EADFABBF79C1D5C79CE9A6 /* [CP] Check Pods Manifest.lock */,
-				82CB35D52E274C6177DAC0DD /* [CP] Check Pods Manifest.lock */,
-				EAEC0BCE1D4E30CE00C908A3 /* Sources */,
-				EAEC0BCF1D4E30CE00C908A3 /* Frameworks */,
-				EAEC0BD01D4E30CE00C908A3 /* Resources */,
-				3920D9C143B997879E5A5B9C /* [CP] Embed Pods Frameworks */,
-				60E7B02FBDEB028CCE7CCCC5 /* [CP] Copy Pods Resources */,
-				5879911F238B959C753C7FC4 /* 📦 Embed Pods Frameworks */,
-				AA1A263EEA3CDAE83EC2DFB9 /* 📦 Copy Pods Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				EAEC0BD41D4E30CE00C908A3 /* PBXTargetDependency */,
-			);
-			name = SwaggerClientTests;
-			productName = SwaggerClientTests;
-			productReference = EAEC0BD21D4E30CE00C908A3 /* SwaggerClientTests.xctest */;
-			productType = "com.apple.product-type.bundle.unit-test";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		EAEC0BB61D4E30CE00C908A3 /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0730;
-				LastUpgradeCheck = 0730;
-				ORGANIZATIONNAME = Swagger;
-				TargetAttributes = {
-					EAEC0BBD1D4E30CE00C908A3 = {
-						CreatedOnToolsVersion = 7.3.1;
-					};
-					EAEC0BD11D4E30CE00C908A3 = {
-						CreatedOnToolsVersion = 7.3.1;
-						TestTargetID = EAEC0BBD1D4E30CE00C908A3;
-					};
-				};
-			};
-			buildConfigurationList = EAEC0BB91D4E30CE00C908A3 /* Build configuration list for PBXProject "SwaggerClient" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = EAEC0BB51D4E30CE00C908A3;
-			productRefGroup = EAEC0BBF1D4E30CE00C908A3 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				EAEC0BBD1D4E30CE00C908A3 /* SwaggerClient */,
-				EAEC0BD11D4E30CE00C908A3 /* SwaggerClientTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-		EAEC0BBC1D4E30CE00C908A3 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				EAEC0BCC1D4E30CE00C908A3 /* LaunchScreen.storyboard in Resources */,
-				EAEC0BC91D4E30CE00C908A3 /* Assets.xcassets in Resources */,
-				EAEC0BC71D4E30CE00C908A3 /* Main.storyboard in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		EAEC0BD01D4E30CE00C908A3 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
-		374C38046621787C3C859B01 /* 📦 Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "📦 Embed Pods Frameworks";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		3920D9C143B997879E5A5B9C /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		48EADFABBF79C1D5C79CE9A6 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n";
-			showEnvVarsInLog = 0;
-		};
-		5879911F238B959C753C7FC4 /* 📦 Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "📦 Embed Pods Frameworks";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		60E7B02FBDEB028CCE7CCCC5 /* [CP] Copy Pods Resources */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Copy Pods Resources";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-resources.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		73DCA4494CB87F25D3D5F63E /* 📦 Copy Pods Resources */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "📦 Copy Pods Resources";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-resources.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		82CB35D52E274C6177DAC0DD /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n    cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n    exit 1\nfi\n";
-			showEnvVarsInLog = 0;
-		};
-		898E536ECC2C4811DDDF67C1 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n    cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n    exit 1\nfi\n";
-			showEnvVarsInLog = 0;
-		};
-		8A7961360961F06AADAF17C9 /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		AA1A263EEA3CDAE83EC2DFB9 /* 📦 Copy Pods Resources */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "📦 Copy Pods Resources";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-resources.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		C70A8FFDB7B0A20D2C3436C9 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n";
-			showEnvVarsInLog = 0;
-		};
-		E008DDC7FA2126F111F972F5 /* [CP] Copy Pods Resources */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Copy Pods Resources";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-resources.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		EAEC0BBA1D4E30CE00C908A3 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				EAEC0BC41D4E30CE00C908A3 /* ViewController.swift in Sources */,
-				EAEC0BC21D4E30CE00C908A3 /* AppDelegate.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		EAEC0BCE1D4E30CE00C908A3 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				EAEC0BE81D4E38CB00C908A3 /* UserAPITests.swift in Sources */,
-				EAEC0BE61D4E379000C908A3 /* StoreAPITests.swift in Sources */,
-				EAEC0BE41D4E330700C908A3 /* PetAPITests.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		EAEC0BD41D4E30CE00C908A3 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = EAEC0BBD1D4E30CE00C908A3 /* SwaggerClient */;
-			targetProxy = EAEC0BD31D4E30CE00C908A3 /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-		EAEC0BC51D4E30CE00C908A3 /* Main.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				EAEC0BC61D4E30CE00C908A3 /* Base */,
-			);
-			name = Main.storyboard;
-			sourceTree = "<group>";
-		};
-		EAEC0BCA1D4E30CE00C908A3 /* LaunchScreen.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				EAEC0BCB1D4E30CE00C908A3 /* Base */,
-			);
-			name = LaunchScreen.storyboard;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		EAEC0BD91D4E30CE00C908A3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				SDKROOT = iphoneos;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-			};
-			name = Debug;
-		};
-		EAEC0BDA1D4E30CE00C908A3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				SDKROOT = iphoneos;
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		EAEC0BDC1D4E30CE00C908A3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 8D99518E8E05FD856A952698 /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Debug;
-		};
-		EAEC0BDD1D4E30CE00C908A3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 2DEFA8828BD4E38FA5262F53 /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Release;
-		};
-		EAEC0BDF1D4E30CE00C908A3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 4EF2021609D112A6F5AE0F55 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				CLANG_ENABLE_MODULES = YES;
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Debug;
-		};
-		EAEC0BE01D4E30CE00C908A3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = EFD8AB05F53C74985527D117 /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				CLANG_ENABLE_MODULES = YES;
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		EAEC0BB91D4E30CE00C908A3 /* Build configuration list for PBXProject "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				EAEC0BD91D4E30CE00C908A3 /* Debug */,
-				EAEC0BDA1D4E30CE00C908A3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		EAEC0BDB1D4E30CE00C908A3 /* Build configuration list for PBXNativeTarget "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				EAEC0BDC1D4E30CE00C908A3 /* Debug */,
-				EAEC0BDD1D4E30CE00C908A3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		EAEC0BDE1D4E30CE00C908A3 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				EAEC0BDF1D4E30CE00C908A3 /* Debug */,
-				EAEC0BE01D4E30CE00C908A3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = EAEC0BB61D4E30CE00C908A3 /* Project object */;
-}
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 13bdd8ab8b7..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "self:SwaggerClient.xcodeproj">
-   </FileRef>
-</Workspace>
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
deleted file mode 100644
index ec4a1f5eb1c..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "0730"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "EAEC0BBD1D4E30CE00C908A3"
-               BuildableName = "SwaggerClient.app"
-               BlueprintName = "SwaggerClient"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "EAEC0BD11D4E30CE00C908A3"
-               BuildableName = "SwaggerClientTests.xctest"
-               BlueprintName = "SwaggerClientTests"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "EAEC0BBD1D4E30CE00C908A3"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </MacroExpansion>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "EAEC0BBD1D4E30CE00C908A3"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "EAEC0BBD1D4E30CE00C908A3"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 9b3fa18954f..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "group:SwaggerClient.xcodeproj">
-   </FileRef>
-   <FileRef
-      location = "group:Pods/Pods.xcodeproj">
-   </FileRef>
-</Workspace>
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/AppDelegate.swift b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/AppDelegate.swift
deleted file mode 100644
index 30d48791d7b..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/AppDelegate.swift
+++ /dev/null
@@ -1,43 +0,0 @@
-//
-//  AppDelegate.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-
-    var window: UIWindow?
-
-    func application(application: UIApplication, didFinishLaunchingWithOptions launchOptions: [NSObject: AnyObject]?) -> Bool {
-        // Override point for customization after application launch.
-        return true
-    }
-
-    func applicationWillResignActive(application: UIApplication) {
-        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
-        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
-    }
-
-    func applicationDidEnterBackground(application: UIApplication) {
-        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
-        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
-    }
-
-    func applicationWillEnterForeground(application: UIApplication) {
-        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
-    }
-
-    func applicationDidBecomeActive(application: UIApplication) {
-        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
-    }
-
-    func applicationWillTerminate(application: UIApplication) {
-        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-    }
-
-}
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 118c98f7461..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,38 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}
\ No newline at end of file
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 2e721e1833f..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="EHf-IW-A2E">
-            <objects>
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
-                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <animations/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="53" y="375"/>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
deleted file mode 100644
index 3a2a49bad8c..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Info.plist b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Info.plist
deleted file mode 100644
index 3d8b6fc4a70..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/Info.plist
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UILaunchStoryboardName</key>
-	<string>LaunchScreen</string>
-	<key>UIMainStoryboardFile</key>
-	<string>Main</string>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>armv7</string>
-	</array>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>NSAppTransportSecurity</key>
-	<dict>
-		<key>NSExceptionDomains</key>
-		<dict>
-			<key>petstore.swagger.io</key>
-			<dict>
-				<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-				<true/>
-			</dict>
-		</dict>
-	</dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/ViewController.swift b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/ViewController.swift
deleted file mode 100644
index 3a45ba8fc53..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClient/ViewController.swift
+++ /dev/null
@@ -1,23 +0,0 @@
-//
-//  ViewController.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-class ViewController: UIViewController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        // Do any additional setup after loading the view, typically from a nib.
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-
-}
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/Info.plist b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/Info.plist
deleted file mode 100644
index 619bf44ed70..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/Info.plist
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>BNDL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>NSAppTransportSecurity</key>
-	<dict>
-		<key>NSExceptionDomains</key>
-		<dict>
-			<key>petstore.swagger.io</key>
-			<dict>
-				<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-				<true/>
-			</dict>
-		</dict>
-	</dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
deleted file mode 100644
index 60a8f61bd82..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-//  PetAPITests.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import RxSwift
-import XCTest
-@testable import SwaggerClient
-
-class PetAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-    let disposeBag = DisposeBag()
-
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-
-    func test1CreatePet() {
-        let expectation = self.expectationWithDescription("testCreatePet")
-        let newPet = Pet()
-        let category = PetstoreClient.Category()
-        category.id = 1234
-        category.name = "eyeColor"
-        newPet.category = category
-        newPet.id = 1000
-        newPet.name = "Fluffy"
-        newPet.status = .Available
-        PetAPI.addPet(body: newPet).subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { _ in
-                XCTFail("error creating pet")
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetPet() {
-        let expectation = self.expectationWithDescription("testGetPet")
-        PetAPI.getPetById(petId: 1000).subscribe(onNext: { pet in
-            XCTAssert(pet.id == 1000, "invalid id")
-            XCTAssert(pet.name == "Fluffy", "invalid name")
-            expectation.fulfill()
-            }, onError: { _ in
-                XCTFail("error getting pet")
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeletePet() {
-        let expectation = self.expectationWithDescription("testDeletePet")
-        PetAPI.deletePet(petId: 1000).subscribe(onNext: {
-//            expectation.fulfill()
-            }, onError: { errorType in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error deleting pet")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-}
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
deleted file mode 100644
index d4f7a85c53d..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-//  StoreAPITests.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import RxSwift
-import XCTest
-@testable import SwaggerClient
-
-class StoreAPITests: XCTestCase {
-
-    let isoDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-    let testTimeout = 10.0
-    let disposeBag = DisposeBag()
-
-    func test1PlaceOrder() {
-        let order = Order()
-        let shipDate = NSDate()
-        order.id = 1000
-        order.petId = 1000
-        order.complete = false
-        order.quantity = 10
-        order.shipDate = shipDate
-        // use explicit naming to reference the enum so that we test we don't regress on enum naming
-        order.status = Order.Status.Placed
-        let expectation = self.expectationWithDescription("testPlaceOrder")
-        StoreAPI.placeOrder(body: order).subscribe(onNext: { order in
-            XCTAssert(order.id == 1000, "invalid id")
-            XCTAssert(order.quantity == 10, "invalid quantity")
-            XCTAssert(order.status == .Placed, "invalid status")
-            XCTAssert(order.shipDate!.isEqual(shipDate, format: self.isoDateFormat),
-                "Date should be idempotent")
-
-            expectation.fulfill()
-        }, onError: { _ in
-            XCTFail("error placing order")
-        }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetOrder() {
-        let expectation = self.expectationWithDescription("testGetOrder")
-        StoreAPI.getOrderById(orderId: "1000").subscribe(onNext: { order -> Void in
-            XCTAssert(order.id == 1000, "invalid id")
-            XCTAssert(order.quantity == 10, "invalid quantity")
-            XCTAssert(order.status == .Placed, "invalid status")
-            expectation.fulfill()
-            }, onError: { _ in
-                XCTFail("error placing order")
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeleteOrder() {
-        let expectation = self.expectationWithDescription("testDeleteOrder")
-        StoreAPI.deleteOrder(orderId: "1000").subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType -> Void in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error deleting order")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-}
-
-private extension NSDate {
-
-    /**
-     Returns true if the dates are equal given the format string.
-
-     - parameter date:   The date to compare to.
-     - parameter format: The format string to use to compare.
-
-     - returns: true if the dates are equal, given the format string.
-     */
-    func isEqual(date: NSDate, format: String) -> Bool {
-        let fmt = NSDateFormatter()
-        fmt.dateFormat = format
-        return fmt.stringFromDate(self).isEqual(fmt.stringFromDate(date))
-    }
-
-}
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift b/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
deleted file mode 100644
index d0c7177aaff..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
+++ /dev/null
@@ -1,133 +0,0 @@
-//
-//  UserAPITests.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import RxSwift
-import XCTest
-@testable import SwaggerClient
-
-class UserAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-    let disposeBag = DisposeBag()
-
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-
-    func testLogin() {
-        let expectation = self.expectationWithDescription("testLogin")
-        UserAPI.loginUser(username: "swiftTester", password: "swift").subscribe(onNext: { _ in
-            expectation.fulfill()
-            }, onError: { errorType in
-                // The server isn't returning JSON - and currently the alamofire implementation
-                // always parses responses as JSON, so making an exception for this here
-                // Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around character 0."
-                // UserInfo={NSDebugDescription=Invalid value around character 0.}
-                let error = errorType as NSError
-                if error.code == 3840 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error logging in")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func testLogout() {
-        let expectation = self.expectationWithDescription("testLogout")
-        UserAPI.logoutUser().subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error logging out")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test1CreateUser() {
-        let expectation = self.expectationWithDescription("testCreateUser")
-        let newUser = User()
-        newUser.email = "test@test.com"
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-        UserAPI.createUser(body: newUser).subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error creating user")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test2GetUser() {
-        let expectation = self.expectationWithDescription("testGetUser")
-        UserAPI.getUserByName(username: "test@test.com").subscribe(onNext: {user -> Void in
-            XCTAssert(user.userStatus == 0, "invalid userStatus")
-            XCTAssert(user.email == "test@test.com", "invalid email")
-            XCTAssert(user.firstName == "Test", "invalid firstName")
-            XCTAssert(user.lastName == "Tester", "invalid lastName")
-            XCTAssert(user.password == "test!", "invalid password")
-            XCTAssert(user.phone == "867-5309", "invalid phone")
-            expectation.fulfill()
-            }, onError: { _ in
-                XCTFail("error getting user")
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-    func test3DeleteUser() {
-        let expectation = self.expectationWithDescription("testDeleteUser")
-        UserAPI.deleteUser(username: "test@test.com").subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType -> Void in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error deleting user")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectationsWithTimeout(testTimeout, handler: nil)
-    }
-
-}
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/pom.xml b/samples/client/petstore/swift/rxswift/SwaggerClientTests/pom.xml
deleted file mode 100644
index 86f773d7a25..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<project>
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>io.swagger</groupId>
-    <artifactId>SwiftRxSwiftPetstoreClientTests</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0-SNAPSHOT</version>
-    <name>Swift RxSwift Swagger Petstore Client</name>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <version>1.2.1</version>
-                <executions>
-                    <execution>
-                        <id>xcodebuild-test</id>
-                        <phase>integration-test</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                        <configuration>
-                            <executable>./run_xcodebuild.sh</executable>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/samples/client/petstore/swift/rxswift/SwaggerClientTests/run_xcodebuild.sh b/samples/client/petstore/swift/rxswift/SwaggerClientTests/run_xcodebuild.sh
deleted file mode 100755
index edcc142971b..00000000000
--- a/samples/client/petstore/swift/rxswift/SwaggerClientTests/run_xcodebuild.sh
+++ /dev/null
@@ -1,5 +0,0 @@
-#!/bin/sh
-
-#pod install && xcodebuild clean test -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -sdk iphonesimulator GCC_INSTRUMENT_PROGRAM_FLOW_ARCS=YES GCC_GENERATE_TEST_COVERAGE_FILES=YES | xcpretty
-
-pod install && xcodebuild -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" test -destination "platform=iOS Simulator,name=iPhone 6,OS=9.3" | xcpretty
diff --git a/samples/client/petstore/swift/rxswift/git_push.sh b/samples/client/petstore/swift/rxswift/git_push.sh
deleted file mode 100644
index 8442b80bb44..00000000000
--- a/samples/client/petstore/swift/rxswift/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="GIT_USER_ID"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="GIT_REPO_ID"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="Minor update"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository. 
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/samples/client/petstore/swift3/.gitignore b/samples/client/petstore/swift3/.gitignore
deleted file mode 100644
index 5e5d5cebcf4..00000000000
--- a/samples/client/petstore/swift3/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the 
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift3/.openapi-generator-ignore b/samples/client/petstore/swift3/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift3/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift3/default/.gitignore b/samples/client/petstore/swift3/default/.gitignore
deleted file mode 100644
index fc4e330f8fa..00000000000
--- a/samples/client/petstore/swift3/default/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift3/default/.openapi-generator-ignore b/samples/client/petstore/swift3/default/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift3/default/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift3/default/.openapi-generator/VERSION b/samples/client/petstore/swift3/default/.openapi-generator/VERSION
deleted file mode 100644
index 6d94c9c2e12..00000000000
--- a/samples/client/petstore/swift3/default/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/default/Cartfile b/samples/client/petstore/swift3/default/Cartfile
deleted file mode 100644
index 4abedca178d..00000000000
--- a/samples/client/petstore/swift3/default/Cartfile
+++ /dev/null
@@ -1 +0,0 @@
-github "Alamofire/Alamofire" ~> 4.5
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/default/PetstoreClient.podspec b/samples/client/petstore/swift3/default/PetstoreClient.podspec
deleted file mode 100644
index 1ff9b50b5e0..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient.podspec
+++ /dev/null
@@ -1,14 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = 'PetstoreClient'
-  s.ios.deployment_target = '9.0'
-  s.osx.deployment_target = '10.11'
-  s.tvos.deployment_target = '9.0'
-  s.version = '0.0.1'
-  s.source = { :git => 'git@github.com:OpenAPITools/openapi-generator.git', :tag => 'v1.0.0' }
-  s.authors = ''
-  s.license = 'Proprietary'
-  s.homepage = 'https://github.com/openapitools/openapi-generator'
-  s.summary = 'PetstoreClient'
-  s.source_files = 'PetstoreClient/Classes/**/*.swift'
-  s.dependency 'Alamofire', '~> 4.5.0'
-end
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIHelper.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
deleted file mode 100644
index d99d4858ff8..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
+++ /dev/null
@@ -1,75 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-class APIHelper {
-    static func rejectNil(_ source: [String:Any?]) -> [String:Any]? {
-        var destination = [String:Any]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(_ source: [String:Any?]) -> [String:String] {
-        var destination = [String:String]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(_ source: [String: Any]?) -> [String:Any]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String:Any]()
-        let theTrue = NSNumber(value: true as Bool)
-        let theFalse = NSNumber(value: false as Bool)
-        for (key, value) in source {
-            switch value {
-            case let x where x as? NSNumber === theTrue || x as? NSNumber === theFalse:
-                destination[key] = "\(value as! Bool)" as Any?
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-    static func mapValuesToQueryItems(values: [String:Any?]) -> [URLQueryItem]? {
-        let returnValues = values
-            .filter { $0.1 != nil }
-            .map { (item: (_key: String, _value: Any?)) -> [URLQueryItem] in
-                if let value = item._value as? Array<String> {
-                    return value.map { (v) -> URLQueryItem in
-                        URLQueryItem(
-                            name: item._key,
-                            value: v
-                        )
-                    }
-                } else {
-                    return [URLQueryItem(
-                        name: item._key,
-                        value: "\(item._value!)"
-                    )]
-                }
-            }
-            .flatMap { $0 }
-
-        if returnValues.isEmpty { return nil }
-        return returnValues
-    }
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs.swift
deleted file mode 100644
index c474dd4a9fa..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs.swift
+++ /dev/null
@@ -1,77 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class PetstoreClientAPI {
-    open static var basePath = "http://petstore.swagger.io:80/v2"
-    open static var credential: URLCredential?
-    open static var customHeaders: [String:String] = [:]
-    open static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-open class APIBase {
-    func toParameters(_ encodable: JSONEncodable?) -> [String: Any]? {
-        let encoded: Any? = encodable?.encodeToJSON()
-
-        if encoded! is [Any] {
-            var dictionary = [String:Any]()
-            for (index, item) in (encoded as! [Any]).enumerated() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String:Any]
-        }
-    }
-}
-
-open class RequestBuilder<T> {
-    var credential: URLCredential?
-    var headers: [String:String]
-    public let parameters: Any?
-    public let isBody: Bool
-    public let method: String
-    public let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((Progress) -> ())?
-
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String:String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders(PetstoreClientAPI.customHeaders)
-    }
-
-    open func addHeaders(_ aHeaders:[String:String]) {
-        for (header, value) in aHeaders {
-            addHeader(name: header, value: value)
-        }
-    }
-
-    open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) { }
-
-    @discardableResult public func addHeader(name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    open func addCredential() -> Self {
-        self.credential = PetstoreClientAPI.credential
-        return self
-    }
-}
-
-public protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
deleted file mode 100644
index ea37e8c5966..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// AnotherFakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class AnotherFakeAPI: APIBase {
-    /**
-     To test special tags
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testSpecialTags(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testSpecialTagsWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test special tags
-     - PATCH /another-fake/dummy
-     - To test special tags
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testSpecialTagsWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/another-fake/dummy"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
deleted file mode 100644
index e44709f2459..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
+++ /dev/null
@@ -1,405 +0,0 @@
-//
-// FakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class FakeAPI: APIBase {
-    /**
-     - parameter body: (body) Input boolean as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterBooleanSerialize(body: Bool? = nil, completion: @escaping ((_ data: Bool?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterBooleanSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/boolean
-     - Test serialization of outer boolean types
-     - parameter body: (body) Input boolean as post body (optional)
-     - returns: RequestBuilder<Bool> 
-     */
-    open class func fakeOuterBooleanSerializeWithRequestBuilder(body: Bool? = nil) -> RequestBuilder<Bool> {
-        let path = "/fake/outer/boolean"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Bool>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterCompositeSerialize(outerComposite: OuterComposite? = nil, completion: @escaping ((_ data: OuterComposite?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: outerComposite).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/composite
-     - Test serialization of object with outer number type
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - returns: RequestBuilder<OuterComposite> 
-     */
-    open class func fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: OuterComposite? = nil) -> RequestBuilder<OuterComposite> {
-        let path = "/fake/outer/composite"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = outerComposite?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<OuterComposite>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input number as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterNumberSerialize(body: Double? = nil, completion: @escaping ((_ data: Double?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterNumberSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/number
-     - Test serialization of outer number types
-     - parameter body: (body) Input number as post body (optional)
-     - returns: RequestBuilder<Double> 
-     */
-    open class func fakeOuterNumberSerializeWithRequestBuilder(body: Double? = nil) -> RequestBuilder<Double> {
-        let path = "/fake/outer/number"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Double>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input string as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterStringSerialize(body: String? = nil, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterStringSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/string
-     - Test serialization of outer string types
-     - parameter body: (body) Input string as post body (optional)
-     - returns: RequestBuilder<String> 
-     */
-    open class func fakeOuterStringSerializeWithRequestBuilder(body: String? = nil) -> RequestBuilder<String> {
-        let path = "/fake/outer/string"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     To test \"client\" model
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClientModel(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClientModelWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test \"client\" model
-     - PATCH /fake
-     - To test \"client\" model
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClientModelWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEndpointParameters(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEndpointParametersWithRequestBuilder(number: number, double: double, patternWithoutDelimiter: patternWithoutDelimiter, byte: byte, integer: integer, int32: int32, int64: int64, float: float, string: string, binary: binary, date: date, dateTime: dateTime, password: password, callback: callback).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - POST /fake
-     - Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - BASIC:
-       - type: http
-       - name: http_basic_test
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEndpointParametersWithRequestBuilder(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "integer": integer?.encodeToJSON(),
-            "int32": int32?.encodeToJSON(),
-            "int64": int64?.encodeToJSON(),
-            "number": number,
-            "float": float,
-            "double": double,
-            "string": string,
-            "pattern_without_delimiter": patternWithoutDelimiter,
-            "byte": byte,
-            "binary": binary,
-            "date": date?.encodeToJSON(),
-            "dateTime": dateTime?.encodeToJSON(),
-            "password": password,
-            "callback": callback
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     * enum for parameter enumHeaderStringArray
-     */
-    public enum EnumHeaderStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumHeaderString
-     */
-    public enum EnumHeaderString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryStringArray
-     */
-    public enum EnumQueryStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumQueryString
-     */
-    public enum EnumQueryString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryInteger
-     */
-    public enum EnumQueryInteger_testEnumParameters: Int32 { 
-        case _1 = 1
-        case number2 = -2
-    }
-
-    /**
-     * enum for parameter enumFormStringArray
-     */
-    public enum EnumFormStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumFormString
-     */
-    public enum EnumFormString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryDouble
-     */
-    public enum EnumQueryDouble_testEnumParameters: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-
-    /**
-     To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEnumParameters(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEnumParametersWithRequestBuilder(enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString, enumQueryDouble: enumQueryDouble).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     To test enum parameters
-     - GET /fake
-     - To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEnumParametersWithRequestBuilder(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "enum_form_string_array": enumFormStringArray,
-            "enum_form_string": enumFormString?.rawValue,
-            "enum_query_double": enumQueryDouble?.rawValue
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "enum_query_string_array": enumQueryStringArray,
-            "enum_query_string": enumQueryString?.rawValue,
-            "enum_query_integer": enumQueryInteger?.rawValue
-        ])
-        let nillableHeaders: [String: Any?] = [
-            "enum_header_string_array": enumHeaderStringArray,
-            "enum_header_string": enumHeaderString?.rawValue
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     test json serialization of form data
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testJsonFormData(param: String, param2: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testJsonFormDataWithRequestBuilder(param: param, param2: param2).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     test json serialization of form data
-     - GET /fake/jsonFormData
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testJsonFormDataWithRequestBuilder(param: String, param2: String) -> RequestBuilder<Void> {
-        let path = "/fake/jsonFormData"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "param": param,
-            "param2": param2
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
deleted file mode 100644
index 20514a3b6e6..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// FakeClassnameTags123API.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class FakeClassnameTags123API: APIBase {
-    /**
-     To test class name in snake case
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClassname(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClassnameWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test class name in snake case
-     - PATCH /fake_classname_test
-     - To test class name in snake case
-     - API Key:
-       - type: apiKey api_key_query (QUERY)
-       - name: api_key_query
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClassnameWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake_classname_test"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
deleted file mode 100644
index 8648214c730..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
+++ /dev/null
@@ -1,333 +0,0 @@
-//
-// PetAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class PetAPI: APIBase {
-    /**
-     Add a new pet to the store
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func addPet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        addPetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Add a new pet to the store
-     - POST /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func addPetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Deletes a pet
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deletePet(petId: Int64, apiKey: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deletePetWithRequestBuilder(petId: petId, apiKey: apiKey).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Deletes a pet
-     - DELETE /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deletePetWithRequestBuilder(petId: Int64, apiKey: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-        let nillableHeaders: [String: Any?] = [
-            "api_key": apiKey
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     * enum for parameter status
-     */
-    public enum Status_findPetsByStatus: String { 
-        case available = ""available""
-        case pending = ""pending""
-        case sold = ""sold""
-    }
-
-    /**
-     Finds Pets by status
-     - parameter status: (query) Status values that need to be considered for filter 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByStatus(status: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByStatusWithRequestBuilder(status: status).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Finds Pets by status
-     - GET /pet/findByStatus
-     - Multiple status values can be provided with comma separated strings
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter status: (query) Status values that need to be considered for filter 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByStatusWithRequestBuilder(status: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByStatus"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "status": status
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Finds Pets by tags
-     - parameter tags: (query) Tags to filter by 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByTags(tags: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByTagsWithRequestBuilder(tags: tags).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Finds Pets by tags
-     - GET /pet/findByTags
-     - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter tags: (query) Tags to filter by 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByTagsWithRequestBuilder(tags: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByTags"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "tags": tags
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find pet by ID
-     - parameter petId: (path) ID of pet to return 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getPetById(petId: Int64, completion: @escaping ((_ data: Pet?, _ error: ErrorResponse?) -> Void)) {
-        getPetByIdWithRequestBuilder(petId: petId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Find pet by ID
-     - GET /pet/{petId}
-     - Returns a single pet
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - parameter petId: (path) ID of pet to return 
-     - returns: RequestBuilder<Pet> 
-     */
-    open class func getPetByIdWithRequestBuilder(petId: Int64) -> RequestBuilder<Pet> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Pet>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Update an existing pet
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Update an existing pet
-     - PUT /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePetWithForm(petId: Int64, name: String? = nil, status: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithFormWithRequestBuilder(petId: petId, name: name, status: status).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Updates a pet in the store with form data
-     - POST /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithFormWithRequestBuilder(petId: Int64, name: String? = nil, status: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "name": name,
-            "status": status
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     uploads an image
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func uploadFile(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil, completion: @escaping ((_ data: ApiResponse?, _ error: ErrorResponse?) -> Void)) {
-        uploadFileWithRequestBuilder(petId: petId, additionalMetadata: additionalMetadata, file: file).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     uploads an image
-     - POST /pet/{petId}/uploadImage
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: RequestBuilder<ApiResponse> 
-     */
-    open class func uploadFileWithRequestBuilder(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil) -> RequestBuilder<ApiResponse> {
-        var path = "/pet/{petId}/uploadImage"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "additionalMetadata": additionalMetadata,
-            "file": file
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<ApiResponse>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
deleted file mode 100644
index 66dbd6f25d8..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
+++ /dev/null
@@ -1,143 +0,0 @@
-//
-// StoreAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class StoreAPI: APIBase {
-    /**
-     Delete purchase order by ID
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteOrder(orderId: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteOrderWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Delete purchase order by ID
-     - DELETE /store/order/{order_id}
-     - For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteOrderWithRequestBuilder(orderId: String) -> RequestBuilder<Void> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Returns pet inventories by status
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getInventory(completion: @escaping ((_ data: [String:Int32]?, _ error: ErrorResponse?) -> Void)) {
-        getInventoryWithRequestBuilder().execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Returns pet inventories by status
-     - GET /store/inventory
-     - Returns a map of status codes to quantities
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - returns: RequestBuilder<[String:Int32]> 
-     */
-    open class func getInventoryWithRequestBuilder() -> RequestBuilder<[String:Int32]> {
-        let path = "/store/inventory"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<[String:Int32]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find purchase order by ID
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getOrderById(orderId: Int64, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        getOrderByIdWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Find purchase order by ID
-     - GET /store/order/{order_id}
-     - For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func getOrderByIdWithRequestBuilder(orderId: Int64) -> RequestBuilder<Order> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Place an order for a pet
-     - parameter order: (body) order placed for purchasing the pet 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func placeOrder(order: Order, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        placeOrderWithRequestBuilder(order: order).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Place an order for a pet
-     - POST /store/order
-     - parameter order: (body) order placed for purchasing the pet 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func placeOrderWithRequestBuilder(order: Order) -> RequestBuilder<Order> {
-        let path = "/store/order"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = order.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
deleted file mode 100644
index eee28ea249a..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
+++ /dev/null
@@ -1,272 +0,0 @@
-//
-// UserAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class UserAPI: APIBase {
-    /**
-     Create user
-     - parameter user: (body) Created user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUser(user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUserWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Create user
-     - POST /user
-     - This can only be done by the logged in user.
-     - parameter user: (body) Created user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUserWithRequestBuilder(user: User) -> RequestBuilder<Void> {
-        let path = "/user"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithArrayInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithArrayInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithArray
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithArrayInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithArray"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithListInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithListInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithList
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithListInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithList"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Delete user
-     - parameter username: (path) The name that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteUser(username: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteUserWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Delete user
-     - DELETE /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteUserWithRequestBuilder(username: String) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Get user by user name
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getUserByName(username: String, completion: @escaping ((_ data: User?, _ error: ErrorResponse?) -> Void)) {
-        getUserByNameWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Get user by user name
-     - GET /user/{username}
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: RequestBuilder<User> 
-     */
-    open class func getUserByNameWithRequestBuilder(username: String) -> RequestBuilder<User> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<User>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs user into the system
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func loginUser(username: String, password: String, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        loginUserWithRequestBuilder(username: username, password: password).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Logs user into the system
-     - GET /user/login
-     - responseHeaders: [X-Rate-Limit(Int32), X-Expires-After(Date)]
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - returns: RequestBuilder<String> 
-     */
-    open class func loginUserWithRequestBuilder(username: String, password: String) -> RequestBuilder<String> {
-        let path = "/user/login"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "username": username,
-            "password": password
-        ])
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs out current logged in user session
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func logoutUser(completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        logoutUserWithRequestBuilder().execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Logs out current logged in user session
-     - GET /user/logout
-     - returns: RequestBuilder<Void> 
-     */
-    open class func logoutUserWithRequestBuilder() -> RequestBuilder<Void> {
-        let path = "/user/logout"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Updated user
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updateUser(username: String, user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updateUserWithRequestBuilder(username: username, user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Updated user
-     - PUT /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updateUserWithRequestBuilder(username: String, user: User) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
deleted file mode 100644
index 5be6b2b08cf..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
+++ /dev/null
@@ -1,374 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-private struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = DispatchQueue(
-        label: "SynchronizedDictionary",
-        qos: DispatchQoS.userInitiated,
-        attributes: [DispatchQueue.Attributes.concurrent],
-        autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit,
-        target: nil
-    )
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            queue.sync {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-        set {
-            queue.sync(flags: DispatchWorkItemFlags.barrier) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-class JSONEncodingWrapper: ParameterEncoding {
-    var bodyParameters: Any?
-    var encoding: JSONEncoding = JSONEncoding()
-
-    public init(parameters: Any?) {
-        self.bodyParameters = parameters
-    }
-
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        return try encoding.encode(urlRequest, withJSONObject: bodyParameters)
-    }
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.SessionManager>()
-
-open class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String : String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the session
-     configuration.
-     */
-    open func createSessionManager() -> Alamofire.SessionManager {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = buildHeaders()
-        return Alamofire.SessionManager(configuration: configuration)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the Content-Type
-     that is given to an uploaded form part.
-
-     Return nil to use the default behavior (inferring the Content-Type from
-     the file extension).  Return the desired Content-Type otherwise.
-     */
-    open func contentTypeForFormPart(fileURL: URL) -> String? {
-        return nil
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the request
-     configuration (e.g. to override the cache policy).
-     */
-    open func makeRequest(manager: SessionManager, method: HTTPMethod, encoding: ParameterEncoding, headers: [String:String]) -> DataRequest {
-        return manager.request(URLString, method: method, parameters: parameters as? Parameters, encoding: encoding, headers: headers)
-    }
-
-    override open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        let managerId:String = UUID().uuidString
-        // Create a new manager for each request to customize its request header
-        let manager = createSessionManager()
-        managerStore[managerId] = manager
-
-        let encoding:ParameterEncoding = isBody ? JSONEncodingWrapper(parameters: parameters) : URLEncoding()
-
-        let xMethod = Alamofire.HTTPMethod(rawValue: method)
-
-        let param = parameters as? Parameters
-        let fileKeys = param == nil ? [] : param!.filter { $1 is NSURL }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(multipartFormData: { mpForm in
-                for (k, v) in param! {
-                    switch v {
-                    case let fileURL as URL:
-                        if let mimeType = self.contentTypeForFormPart(fileURL: fileURL) {
-                            mpForm.append(fileURL, withName: k, fileName: fileURL.lastPathComponent, mimeType: mimeType)
-                        }
-                        else {
-                            mpForm.append(fileURL, withName: k)
-                        }
-                    case let string as String:
-                        mpForm.append(string.data(using: String.Encoding.utf8)!, withName: k)
-                    case let number as NSNumber:
-                        mpForm.append(number.stringValue.data(using: String.Encoding.utf8)!, withName: k)
-                    default:
-                        fatalError("Unprocessable value \(v) with key \(k)")
-                    }
-                }
-                }, to: URLString, method: xMethod!, headers: nil, encodingCompletion: { encodingResult in
-                switch encodingResult {
-                case .success(let upload, _, _):
-                    if let onProgressReady = self.onProgressReady {
-                        onProgressReady(upload.uploadProgress)
-                    }
-                    self.processRequest(request: upload, managerId, completion)
-                case .failure(let encodingError):
-                    completion(nil, ErrorResponse.HttpError(statusCode: 415, data: nil, error: encodingError))
-                }
-            })
-        } else {
-            let request = makeRequest(manager: manager, method: xMethod!, encoding: encoding, headers: headers)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request: request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: DataRequest, _ managerId: String, _ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: stringResponse.response?.statusCode ?? 500, data: stringResponse.data, error: stringResponse.result.error as Error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: stringResponse.response!,
-                        body: ((stringResponse.result.value ?? "") as! T)
-                    ),
-                    nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: voidResponse.response?.statusCode ?? 500, data: voidResponse.data, error: voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: voidResponse.response!,
-                        body: nil),
-                    nil
-                )
-            })
-        case is Data.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: dataResponse.response?.statusCode ?? 500, data: dataResponse.data, error: dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: dataResponse.response!,
-                        body: (dataResponse.data as! T)
-                    ),
-                    nil
-                )
-            })
-        case is URL.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                do {
-
-                    guard !dataResponse.result.isFailure else {
-                        throw DownloadException.responseFailed
-                    }
-
-                    guard let data = dataResponse.data else {
-                        throw DownloadException.responseDataMissing
-                    }
-
-                    guard let request = request.request else {
-                        throw DownloadException.requestMissing
-                    }
-
-                    let fileManager = FileManager.default
-                    let urlRequest = try request.asURLRequest()
-                    let documentsDirectory = fileManager.urls(for: .documentDirectory, in: .userDomainMask)[0]
-                    let requestURL = try self.getURL(from: urlRequest)
-
-                    var requestPath = try self.getPath(from: requestURL)
-
-                    if let headerFileName = self.getFileName(fromContentDisposition: dataResponse.response?.allHeaderFields["Content-Disposition"] as? String) {
-                        requestPath = requestPath.appending("/\(headerFileName)")
-                    }
-
-                    let filePath = documentsDirectory.appendingPathComponent(requestPath)
-                    let directoryPath = filePath.deletingLastPathComponent().path
-
-                    try fileManager.createDirectory(atPath: directoryPath, withIntermediateDirectories: true, attributes: nil)
-                    try data.write(to: filePath, options: .atomic)
-
-                    completion(
-                        Response(
-                            response: dataResponse.response!,
-                            body: (filePath as! T)
-                        ),
-                        nil
-                    )
-
-                } catch let requestParserError as DownloadException {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data:  dataResponse.data, error: requestParserError))
-                } catch let error {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data: dataResponse.data, error: error))
-                }
-                return
-            })
-        default:
-            validatedRequest.responseJSON(options: .allowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(nil, ErrorResponse.HttpError(statusCode: response.response?.statusCode ?? 500, data: response.data, error: response.result.error!))
-                    return
-                }
-
-                // handle HTTP 204 No Content
-                // NSNull would crash decoders
-                if response.response?.statusCode == 204 && response.result.value is NSNull{
-                    completion(nil, nil)
-                    return
-                }
-
-                if () is T {
-                    completion(Response(response: response.response!, body: (() as! T)), nil)
-                    return
-                }
-                if let json: Any = response.result.value {
-                    let decoded = Decoders.decode(clazz: T.self, source: json as AnyObject, instance: nil)
-                    switch decoded {
-                    case let .success(object): completion(Response(response: response.response!, body: object), nil)
-                    case let .failure(error): completion(nil, ErrorResponse.DecodeError(response: response.data, decodeError: error))
-                    }
-                    return
-                } else if "" is T {
-                    completion(Response(response: response.response!, body: ("" as! T)), nil)
-                    return
-                }
-
-                completion(nil, ErrorResponse.HttpError(statusCode: 500, data: nil, error: NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    open func buildHeaders() -> [String: String] {
-        var httpHeaders = SessionManager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-
-    fileprivate func getFileName(fromContentDisposition contentDisposition : String?) -> String? {
-
-        guard let contentDisposition = contentDisposition else {
-            return nil
-        }
-
-        let items = contentDisposition.components(separatedBy: ";")
-
-        var filename : String? = nil
-
-        for contentItem in items {
-
-            let filenameKey = "filename="
-            guard let range = contentItem.range(of: filenameKey) else {
-                break
-            }
-
-            filename = contentItem
-            return filename?
-                .replacingCharacters(in: range, with:"")
-                .replacingOccurrences(of: "\"", with: "")
-                .trimmingCharacters(in: .whitespacesAndNewlines)
-        }
-
-        return filename
-
-    }
-
-    fileprivate func getPath(from url : URL) throws -> String {
-
-        guard var path = URLComponents(url: url, resolvingAgainstBaseURL: true)?.path else {
-            throw DownloadException.requestMissingPath
-        }
-
-        if path.hasPrefix("/") {
-            path.remove(at: path.startIndex)
-        }
-
-        return path
-
-    }
-
-    fileprivate func getURL(from urlRequest : URLRequest) throws -> URL {
-
-        guard let url = urlRequest.url else {
-            throw DownloadException.requestMissingURL
-        }
-
-        return url
-    }
-}
-
-fileprivate enum DownloadException : Error {
-    case responseDataMissing
-    case responseFailed
-    case requestMissing
-    case requestMissingPath
-    case requestMissingURL
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Configuration.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Configuration.swift
deleted file mode 100644
index b9e2e497683..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Configuration.swift
+++ /dev/null
@@ -1,15 +0,0 @@
-// Configuration.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class Configuration {
-
-	// This value is used to configure the date formatter that is used to serialize dates into JSON format.
-	// You must set it prior to encoding any dates, and it will only be read once.
-    open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Extensions.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Extensions.swift
deleted file mode 100644
index e83bfe67cb7..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Extensions.swift
+++ /dev/null
@@ -1,187 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int32) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int64) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-private func encodeIfPossible<T>(_ object: T) -> Any {
-    if let encodableObject = object as? JSONEncodable {
-        return encodableObject.encodeToJSON()
-    } else {
-        return object as Any
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> Any {
-        var dictionary = [AnyHashable: Any]()
-        for (key, value) in self {
-            dictionary[key] = encodeIfPossible(value)
-        }
-        return dictionary as Any
-    }
-}
-
-extension Data: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.base64EncodedString(options: Data.Base64EncodingOptions())
-    }
-}
-
-private let dateFormatter: DateFormatter = {
-    let fmt = DateFormatter()
-    fmt.dateFormat = Configuration.dateFormat
-    fmt.locale = Locale(identifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension Date: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return dateFormatter.string(from: self) as Any
-    }
-}
-
-extension UUID: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.uuidString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts a Date to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date: Date) -> ISOFullDate? {
-        let calendar = Calendar(identifier: .gregorian)
-
-        let components = calendar.dateComponents(
-            [
-                .year,
-                .month,
-                .day,
-            ],
-            from: date
-        )
-
-        guard
-            let year = components.year,
-            let month = components.month,
-            let day = components.day
-        else {
-            return nil
-        }
-
-        return ISOFullDate(
-            year: year,
-            month: month,
-            day: day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split(separator: "-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to a Date, in the default time zone.
-
-     - returns: A Date from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> Date? {
-        var components = DateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = TimeZone.ReferenceType.default
-        let calendar = Calendar(identifier: .gregorian)
-        return calendar.date(from: components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> Any {
-        return "\(year)-\(month)-\(day)"
-    }
-}
-
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models.swift
deleted file mode 100644
index d1465fe4cbe..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models.swift
+++ /dev/null
@@ -1,1292 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> Any
-}
-
-public enum ErrorResponse : Error {
-    case HttpError(statusCode: Int, data: Data?, error: Error)
-    case DecodeError(response: Data?, decodeError: DecodeError)
-}
-
-open class Response<T> {
-    open let statusCode: Int
-    open let header: [String: String]
-    open let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: HTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String:String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-public enum Decoded<ValueType> {
-    case success(ValueType)
-    case failure(DecodeError)
-}
-
-public extension Decoded {
-    var value: ValueType? {
-        switch self {
-        case let .success(value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-}
-
-public enum DecodeError {
-    case typeMismatch(expected: String, actual: String)
-    case missingKey(key: String)
-    case parseError(message: String)
-}
-
-private var once = Int()
-class Decoders {
-    static fileprivate var decoders = Dictionary<String, ((AnyObject, AnyObject?) -> AnyObject)>()
-
-    static func addDecoder<T>(clazz: T.Type, decoder: @escaping ((AnyObject, AnyObject?) -> Decoded<T>)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0, $1) as AnyObject }
-    }
-
-    static func decode<T>(clazz: T.Type, discriminator: String, source: AnyObject) -> Decoded<T> {
-        let key = discriminator
-        if let decoder = decoders[key], let value = decoder(source, nil) as? Decoded<T> {
-            return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: [T].Type, source: AnyObject) -> Decoded<[T]> {
-        if let sourceArray = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in sourceArray {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value):
-                    values.append(value)
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        switch Decoders.decode(clazz: T.self, source: source, instance: nil) {
-    	    case let .success(value):
-                return .success(value)
-            case let .failure(error):
-                return .failure(error)
-        }
-    }
-
-    static open func decode<T: RawRepresentable>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject) -> Decoded<[Key:T]> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value):
-                    dictionary[key] = value
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        guard !(source is NSNull), source != nil else { return .success(nil) }
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject, instance: AnyObject?) -> Decoded<T> {
-        initialize()
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int32.Type {
-            return .success(value)
-        }
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int64.Type {
-     	    return .success(value)
-        }
-        if let intermediate = source as? String, let value = UUID(uuidString: intermediate) as? T, source is String, T.self is UUID.Type {
-            return .success(value)
-        }
-        if let value = source as? T {
-            return .success(value)
-        }
-        if let intermediate = source as? String, let value = Data(base64Encoded: intermediate) as? T {
-            return .success(value)
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key], let value = decoder(source, instance) as? Decoded<T> {
-           return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    //Convert a Decoded so that its value is optional. DO WE STILL NEED THIS?
-    static func toOptional<T>(decoded: Decoded<T>) -> Decoded<T?> {
-        return .success(decoded.value)
-    }
-
-    static func decodeOptional<T>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        if let source = source, !(source is NSNull) {
-            switch Decoders.decode(clazz: clazz, source: source, instance: nil) {
-            case let .success(value): return .success(value)
-            case let .failure(error): return .failure(error)
-            }
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> where T: RawRepresentable {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decodeOptional(clazz: T.self, source: sourceValue) {
-                case let .success(value): if let value = value { values.append(value) }
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value): values.append(value)
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject?) -> Decoded<[Key:T]?> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value): dictionary[key] = value
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable, U: AnyObject>(clazz: T, source: AnyObject) -> Decoded<T?> where T.RawValue == U {
-        if let value = source as? U {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "String", actual: String(describing: type(of: source))))
-        }
-    }
-
-
-    private static var __once: () = {
-        let formatters = [
-            "yyyy-MM-dd",
-            "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss'Z'",
-            "yyyy-MM-dd'T'HH:mm:ss.SSS",
-            "yyyy-MM-dd HH:mm:ss"
-        ].map { (format: String) -> DateFormatter in
-            let formatter = DateFormatter()
-            formatter.locale = Locale(identifier: "en_US_POSIX")
-            formatter.dateFormat = format
-            return formatter
-        }
-        // Decoder for Date
-        Decoders.addDecoder(clazz: Date.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Date> in
-           if let sourceString = source as? String {
-                for formatter in formatters {
-                    if let date = formatter.date(from: sourceString) {
-                        return .success(date)
-                    }
-                }
-            }
-            if let sourceInt = source as? Int {
-                // treat as a java date
-                return .success(Date(timeIntervalSince1970: Double(sourceInt / 1000) ))
-            }
-            if source is String || source is Int {
-                return .failure(.parseError(message: "Could not decode date"))
-            } else {
-                return .failure(.typeMismatch(expected: "String or Int", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for ISOFullDate
-        Decoders.addDecoder(clazz: ISOFullDate.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ISOFullDate> in
-            if let string = source as? String,
-               let isoDate = ISOFullDate.from(string: string) {
-                return .success(isoDate)
-            } else {
-            	return .failure(.typeMismatch(expected: "ISO date", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for [AdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [AdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[AdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [AdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for AdditionalPropertiesClass
-        Decoders.addDecoder(clazz: AdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<AdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? AdditionalPropertiesClass() : instance as! AdditionalPropertiesClass
-                switch Decoders.decodeOptional(clazz: [String:String].self, source: sourceDictionary["map_property"] as AnyObject?) {
-                
-                case let .success(value): _result.mapProperty = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_of_map_property"] as AnyObject?) {
-                
-                case let .success(value): _result.mapOfMapProperty = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "AdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Animal]
-        Decoders.addDecoder(clazz: [Animal].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Animal]> in
-            return Decoders.decode(clazz: [Animal].self, source: source)
-        }
-
-        // Decoder for Animal
-        Decoders.addDecoder(clazz: Animal.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Animal> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                // Check discriminator to support inheritance
-                if let discriminator = sourceDictionary["className"] as? String, instance == nil && discriminator != "Animal"{
-                    return Decoders.decode(clazz: Animal.self, discriminator: discriminator, source: source)
-                }
-                let _result = instance == nil ? Animal() : instance as! Animal
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Animal", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ApiResponse]
-        Decoders.addDecoder(clazz: [ApiResponse].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ApiResponse]> in
-            return Decoders.decode(clazz: [ApiResponse].self, source: source)
-        }
-
-        // Decoder for ApiResponse
-        Decoders.addDecoder(clazz: ApiResponse.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ApiResponse> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ApiResponse() : instance as! ApiResponse
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["code"] as AnyObject?) {
-                
-                case let .success(value): _result.code = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["type"] as AnyObject?) {
-                
-                case let .success(value): _result.type = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["message"] as AnyObject?) {
-                
-                case let .success(value): _result.message = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ApiResponse", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayOfArrayOfNumberOnly() : instance as! ArrayOfArrayOfNumberOnly
-                switch Decoders.decodeOptional(clazz: [[Double]].self, source: sourceDictionary["ArrayArrayNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayOfNumberOnly() : instance as! ArrayOfNumberOnly
-                switch Decoders.decodeOptional(clazz: [Double].self, source: sourceDictionary["ArrayNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayTest]
-        Decoders.addDecoder(clazz: [ArrayTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayTest]> in
-            return Decoders.decode(clazz: [ArrayTest].self, source: source)
-        }
-
-        // Decoder for ArrayTest
-        Decoders.addDecoder(clazz: ArrayTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayTest() : instance as! ArrayTest
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["array_of_string"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayOfString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [[Int64]].self, source: sourceDictionary["array_array_of_integer"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayOfInteger = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [[ReadOnlyFirst]].self, source: sourceDictionary["array_array_of_model"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayOfModel = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Capitalization]
-        Decoders.addDecoder(clazz: [Capitalization].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Capitalization]> in
-            return Decoders.decode(clazz: [Capitalization].self, source: source)
-        }
-
-        // Decoder for Capitalization
-        Decoders.addDecoder(clazz: Capitalization.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Capitalization> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Capitalization() : instance as! Capitalization
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["smallCamel"] as AnyObject?) {
-                
-                case let .success(value): _result.smallCamel = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["CapitalCamel"] as AnyObject?) {
-                
-                case let .success(value): _result.capitalCamel = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["small_Snake"] as AnyObject?) {
-                
-                case let .success(value): _result.smallSnake = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["Capital_Snake"] as AnyObject?) {
-                
-                case let .success(value): _result.capitalSnake = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["SCA_ETH_Flow_Points"] as AnyObject?) {
-                
-                case let .success(value): _result.sCAETHFlowPoints = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["ATT_NAME"] as AnyObject?) {
-                
-                case let .success(value): _result.ATT_NAME = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Capitalization", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Cat]
-        Decoders.addDecoder(clazz: [Cat].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Cat]> in
-            return Decoders.decode(clazz: [Cat].self, source: source)
-        }
-
-        // Decoder for Cat
-        Decoders.addDecoder(clazz: Cat.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Cat> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Cat() : instance as! Cat
-                if decoders["\(Animal.self)"] != nil {
-                  _ = Decoders.decode(clazz: Animal.self, source: source, instance: _result)
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["declawed"] as AnyObject?) {
-                
-                case let .success(value): _result.declawed = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Cat", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Category]
-        Decoders.addDecoder(clazz: [Category].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Category]> in
-            return Decoders.decode(clazz: [Category].self, source: source)
-        }
-
-        // Decoder for Category
-        Decoders.addDecoder(clazz: Category.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Category> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Category() : instance as! Category
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Category", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ClassModel]
-        Decoders.addDecoder(clazz: [ClassModel].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ClassModel]> in
-            return Decoders.decode(clazz: [ClassModel].self, source: source)
-        }
-
-        // Decoder for ClassModel
-        Decoders.addDecoder(clazz: ClassModel.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ClassModel> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ClassModel() : instance as! ClassModel
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["_class"] as AnyObject?) {
-                
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ClassModel", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Client]
-        Decoders.addDecoder(clazz: [Client].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Client]> in
-            return Decoders.decode(clazz: [Client].self, source: source)
-        }
-
-        // Decoder for Client
-        Decoders.addDecoder(clazz: Client.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Client> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Client() : instance as! Client
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["client"] as AnyObject?) {
-                
-                case let .success(value): _result.client = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Client", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Dog]
-        Decoders.addDecoder(clazz: [Dog].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Dog]> in
-            return Decoders.decode(clazz: [Dog].self, source: source)
-        }
-
-        // Decoder for Dog
-        Decoders.addDecoder(clazz: Dog.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Dog> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Dog() : instance as! Dog
-                if decoders["\(Animal.self)"] != nil {
-                  _ = Decoders.decode(clazz: Animal.self, source: source, instance: _result)
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["breed"] as AnyObject?) {
-                
-                case let .success(value): _result.breed = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Dog", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumArrays]
-        Decoders.addDecoder(clazz: [EnumArrays].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumArrays]> in
-            return Decoders.decode(clazz: [EnumArrays].self, source: source)
-        }
-
-        // Decoder for EnumArrays
-        Decoders.addDecoder(clazz: EnumArrays.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumArrays> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? EnumArrays() : instance as! EnumArrays
-                switch Decoders.decodeOptional(clazz: EnumArrays.JustSymbol.self, source: sourceDictionary["just_symbol"] as AnyObject?) {
-                
-                case let .success(value): _result.justSymbol = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Array<EnumArrays.ArrayEnum>.self, source: sourceDictionary["array_enum"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayEnum = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumArrays", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumClass]
-        Decoders.addDecoder(clazz: [EnumClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumClass]> in
-            return Decoders.decode(clazz: [EnumClass].self, source: source)
-        }
-
-        // Decoder for EnumClass
-        Decoders.addDecoder(clazz: EnumClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumClass> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: EnumClass.self, source: source, instance: instance)
-        }
-        // Decoder for [EnumTest]
-        Decoders.addDecoder(clazz: [EnumTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumTest]> in
-            return Decoders.decode(clazz: [EnumTest].self, source: source)
-        }
-
-        // Decoder for EnumTest
-        Decoders.addDecoder(clazz: EnumTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? EnumTest() : instance as! EnumTest
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumString.self, source: sourceDictionary["enum_string"] as AnyObject?) {
-                
-                case let .success(value): _result.enumString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumInteger.self, source: sourceDictionary["enum_integer"] as AnyObject?) {
-                
-                case let .success(value): _result.enumInteger = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumNumber.self, source: sourceDictionary["enum_number"] as AnyObject?) {
-                
-                case let .success(value): _result.enumNumber = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: OuterEnum.self, source: sourceDictionary["outerEnum"] as AnyObject?) {
-                
-                case let .success(value): _result.outerEnum = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [FormatTest]
-        Decoders.addDecoder(clazz: [FormatTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[FormatTest]> in
-            return Decoders.decode(clazz: [FormatTest].self, source: source)
-        }
-
-        // Decoder for FormatTest
-        Decoders.addDecoder(clazz: FormatTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<FormatTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? FormatTest() : instance as! FormatTest
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["integer"] as AnyObject?) {
-                
-                case let .success(value): _result.integer = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["int32"] as AnyObject?) {
-                
-                case let .success(value): _result.int32 = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["int64"] as AnyObject?) {
-                
-                case let .success(value): _result.int64 = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["number"] as AnyObject?) {
-                
-                case let .success(value): _result.number = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Float.self, source: sourceDictionary["float"] as AnyObject?) {
-                
-                case let .success(value): _result.float = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["double"] as AnyObject?) {
-                
-                case let .success(value): _result.double = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["string"] as AnyObject?) {
-                
-                case let .success(value): _result.string = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Data.self, source: sourceDictionary["byte"] as AnyObject?) {
-                
-                case let .success(value): _result.byte = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: URL.self, source: sourceDictionary["binary"] as AnyObject?) {
-                
-                case let .success(value): _result.binary = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: ISOFullDate.self, source: sourceDictionary["date"] as AnyObject?) {
-                
-                case let .success(value): _result.date = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "FormatTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [HasOnlyReadOnly]
-        Decoders.addDecoder(clazz: [HasOnlyReadOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[HasOnlyReadOnly]> in
-            return Decoders.decode(clazz: [HasOnlyReadOnly].self, source: source)
-        }
-
-        // Decoder for HasOnlyReadOnly
-        Decoders.addDecoder(clazz: HasOnlyReadOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<HasOnlyReadOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? HasOnlyReadOnly() : instance as! HasOnlyReadOnly
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["foo"] as AnyObject?) {
-                
-                case let .success(value): _result.foo = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "HasOnlyReadOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [List]
-        Decoders.addDecoder(clazz: [List].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[List]> in
-            return Decoders.decode(clazz: [List].self, source: source)
-        }
-
-        // Decoder for List
-        Decoders.addDecoder(clazz: List.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<List> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? List() : instance as! List
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["123-list"] as AnyObject?) {
-                
-                case let .success(value): _result._123list = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "List", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MapTest]
-        Decoders.addDecoder(clazz: [MapTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MapTest]> in
-            return Decoders.decode(clazz: [MapTest].self, source: source)
-        }
-
-        // Decoder for MapTest
-        Decoders.addDecoder(clazz: MapTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MapTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? MapTest() : instance as! MapTest
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_map_of_string"] as AnyObject?) {
-                
-                case let .success(value): _result.mapMapOfString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: MapTest.MapOfEnumString.self, source: sourceDictionary["map_of_enum_string"] as AnyObject?) {
-                /*
-                case let .success(value): _result.mapOfEnumString = value
-                case let .failure(error): break
-                */ default: break //TODO: handle enum map scenario
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MapTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MixedPropertiesAndAdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MixedPropertiesAndAdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for MixedPropertiesAndAdditionalPropertiesClass
-        Decoders.addDecoder(clazz: MixedPropertiesAndAdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MixedPropertiesAndAdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? MixedPropertiesAndAdditionalPropertiesClass() : instance as! MixedPropertiesAndAdditionalPropertiesClass
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String:Animal].self, source: sourceDictionary["map"] as AnyObject?) {
-                
-                case let .success(value): _result.map = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MixedPropertiesAndAdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Model200Response]
-        Decoders.addDecoder(clazz: [Model200Response].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Model200Response]> in
-            return Decoders.decode(clazz: [Model200Response].self, source: source)
-        }
-
-        // Decoder for Model200Response
-        Decoders.addDecoder(clazz: Model200Response.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Model200Response> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Model200Response() : instance as! Model200Response
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["class"] as AnyObject?) {
-                
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Model200Response", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Name]
-        Decoders.addDecoder(clazz: [Name].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Name]> in
-            return Decoders.decode(clazz: [Name].self, source: source)
-        }
-
-        // Decoder for Name
-        Decoders.addDecoder(clazz: Name.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Name> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Name() : instance as! Name
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["snake_case"] as AnyObject?) {
-                
-                case let .success(value): _result.snakeCase = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["property"] as AnyObject?) {
-                
-                case let .success(value): _result.property = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["123Number"] as AnyObject?) {
-                
-                case let .success(value): _result._123number = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Name", actual: "\(source)"))
-            }
-        }
-        // Decoder for [NumberOnly]
-        Decoders.addDecoder(clazz: [NumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[NumberOnly]> in
-            return Decoders.decode(clazz: [NumberOnly].self, source: source)
-        }
-
-        // Decoder for NumberOnly
-        Decoders.addDecoder(clazz: NumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<NumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? NumberOnly() : instance as! NumberOnly
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["JustNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.justNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "NumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Order]
-        Decoders.addDecoder(clazz: [Order].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Order]> in
-            return Decoders.decode(clazz: [Order].self, source: source)
-        }
-
-        // Decoder for Order
-        Decoders.addDecoder(clazz: Order.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Order> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Order() : instance as! Order
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["petId"] as AnyObject?) {
-                
-                case let .success(value): _result.petId = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["quantity"] as AnyObject?) {
-                
-                case let .success(value): _result.quantity = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["shipDate"] as AnyObject?) {
-                
-                case let .success(value): _result.shipDate = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Order.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["complete"] as AnyObject?) {
-                
-                case let .success(value): _result.complete = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Order", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterComposite]
-        Decoders.addDecoder(clazz: [OuterComposite].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterComposite]> in
-            return Decoders.decode(clazz: [OuterComposite].self, source: source)
-        }
-
-        // Decoder for OuterComposite
-        Decoders.addDecoder(clazz: OuterComposite.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterComposite> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? OuterComposite() : instance as! OuterComposite
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["my_number"] as AnyObject?) {
-                
-                case let .success(value): _result.myNumber = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["my_string"] as AnyObject?) {
-                
-                case let .success(value): _result.myString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["my_boolean"] as AnyObject?) {
-                
-                case let .success(value): _result.myBoolean = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "OuterComposite", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterEnum]
-        Decoders.addDecoder(clazz: [OuterEnum].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterEnum]> in
-            return Decoders.decode(clazz: [OuterEnum].self, source: source)
-        }
-
-        // Decoder for OuterEnum
-        Decoders.addDecoder(clazz: OuterEnum.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterEnum> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: OuterEnum.self, source: source, instance: instance)
-        }
-        // Decoder for [Pet]
-        Decoders.addDecoder(clazz: [Pet].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Pet]> in
-            return Decoders.decode(clazz: [Pet].self, source: source)
-        }
-
-        // Decoder for Pet
-        Decoders.addDecoder(clazz: Pet.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Pet> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Pet() : instance as! Pet
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Category.self, source: sourceDictionary["category"] as AnyObject?) {
-                
-                case let .success(value): _result.category = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["photoUrls"] as AnyObject?) {
-                
-                case let .success(value): _result.photoUrls = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [Tag].self, source: sourceDictionary["tags"] as AnyObject?) {
-                
-                case let .success(value): _result.tags = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Pet.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Pet", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ReadOnlyFirst]
-        Decoders.addDecoder(clazz: [ReadOnlyFirst].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ReadOnlyFirst]> in
-            return Decoders.decode(clazz: [ReadOnlyFirst].self, source: source)
-        }
-
-        // Decoder for ReadOnlyFirst
-        Decoders.addDecoder(clazz: ReadOnlyFirst.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ReadOnlyFirst> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ReadOnlyFirst() : instance as! ReadOnlyFirst
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["baz"] as AnyObject?) {
-                
-                case let .success(value): _result.baz = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ReadOnlyFirst", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Return]
-        Decoders.addDecoder(clazz: [Return].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Return]> in
-            return Decoders.decode(clazz: [Return].self, source: source)
-        }
-
-        // Decoder for Return
-        Decoders.addDecoder(clazz: Return.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Return> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Return() : instance as! Return
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["return"] as AnyObject?) {
-                
-                case let .success(value): _result._return = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Return", actual: "\(source)"))
-            }
-        }
-        // Decoder for [SpecialModelName]
-        Decoders.addDecoder(clazz: [SpecialModelName].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[SpecialModelName]> in
-            return Decoders.decode(clazz: [SpecialModelName].self, source: source)
-        }
-
-        // Decoder for SpecialModelName
-        Decoders.addDecoder(clazz: SpecialModelName.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<SpecialModelName> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? SpecialModelName() : instance as! SpecialModelName
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["$special[property.name]"] as AnyObject?) {
-                
-                case let .success(value): _result.specialPropertyName = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "SpecialModelName", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Tag]
-        Decoders.addDecoder(clazz: [Tag].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Tag]> in
-            return Decoders.decode(clazz: [Tag].self, source: source)
-        }
-
-        // Decoder for Tag
-        Decoders.addDecoder(clazz: Tag.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Tag> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Tag() : instance as! Tag
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Tag", actual: "\(source)"))
-            }
-        }
-        // Decoder for [User]
-        Decoders.addDecoder(clazz: [User].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[User]> in
-            return Decoders.decode(clazz: [User].self, source: source)
-        }
-
-        // Decoder for User
-        Decoders.addDecoder(clazz: User.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<User> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? User() : instance as! User
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["username"] as AnyObject?) {
-                
-                case let .success(value): _result.username = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["firstName"] as AnyObject?) {
-                
-                case let .success(value): _result.firstName = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["lastName"] as AnyObject?) {
-                
-                case let .success(value): _result.lastName = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["email"] as AnyObject?) {
-                
-                case let .success(value): _result.email = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["phone"] as AnyObject?) {
-                
-                case let .success(value): _result.phone = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["userStatus"] as AnyObject?) {
-                
-                case let .success(value): _result.userStatus = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "User", actual: "\(source)"))
-            }
-        }
-    }()
-
-    static fileprivate func initialize() {
-        _ = Decoders.__once
-    }
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
deleted file mode 100644
index 48724b45a3d..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// AdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class AdditionalPropertiesClass: JSONEncodable {
-
-    public var mapProperty: [String:String]?
-    public var mapOfMapProperty: [String:[String:String]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_property"] = self.mapProperty?.encodeToJSON()
-        nillableDictionary["map_of_map_property"] = self.mapOfMapProperty?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
deleted file mode 100644
index c88f4c243e6..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Animal.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Animal: JSONEncodable {
-
-    public var className: String?
-    public var color: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["className"] = self.className
-        nillableDictionary["color"] = self.color
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
deleted file mode 100644
index e09b0e9efdc..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
+++ /dev/null
@@ -1,10 +0,0 @@
-//
-// AnimalFarm.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public typealias AnimalFarm = [Animal]
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
deleted file mode 100644
index 5e71afe30e2..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// ApiResponse.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ApiResponse: JSONEncodable {
-
-    public var code: Int32?
-    public var type: String?
-    public var message: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["code"] = self.code?.encodeToJSON()
-        nillableDictionary["type"] = self.type
-        nillableDictionary["message"] = self.message
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
deleted file mode 100644
index 117028338c9..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// ArrayOfArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayArrayNumber: [[Double]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayArrayNumber"] = self.arrayArrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
deleted file mode 100644
index 0ef1486af41..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// ArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayNumber: [Double]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayNumber"] = self.arrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
deleted file mode 100644
index 7a6f225b4f1..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// ArrayTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayTest: JSONEncodable {
-
-    public var arrayOfString: [String]?
-    public var arrayArrayOfInteger: [[Int64]]?
-    public var arrayArrayOfModel: [[ReadOnlyFirst]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["array_of_string"] = self.arrayOfString?.encodeToJSON()
-        nillableDictionary["array_array_of_integer"] = self.arrayArrayOfInteger?.encodeToJSON()
-        nillableDictionary["array_array_of_model"] = self.arrayArrayOfModel?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
deleted file mode 100644
index 7576f6e34e9..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Capitalization.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Capitalization: JSONEncodable {
-
-    public var smallCamel: String?
-    public var capitalCamel: String?
-    public var smallSnake: String?
-    public var capitalSnake: String?
-    public var sCAETHFlowPoints: String?
-    /** Name of the pet  */
-    public var ATT_NAME: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["smallCamel"] = self.smallCamel
-        nillableDictionary["CapitalCamel"] = self.capitalCamel
-        nillableDictionary["small_Snake"] = self.smallSnake
-        nillableDictionary["Capital_Snake"] = self.capitalSnake
-        nillableDictionary["SCA_ETH_Flow_Points"] = self.sCAETHFlowPoints
-        nillableDictionary["ATT_NAME"] = self.ATT_NAME
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
deleted file mode 100644
index 176f1d2cdce..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Cat.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Cat: Animal {
-
-    public var declawed: Bool?
-
-    
-
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["declawed"] = self.declawed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Category.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
deleted file mode 100644
index f655cdfbd1b..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Category.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Category: JSONEncodable {
-
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
deleted file mode 100644
index 8bcb3246540..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// ClassModel.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model with \&quot;_class\&quot; property */
-open class ClassModel: JSONEncodable {
-
-    public var _class: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["_class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Client.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
deleted file mode 100644
index 15911001e94..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Client.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Client: JSONEncodable {
-
-    public var client: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["client"] = self.client
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
deleted file mode 100644
index 93fd2df434b..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Dog.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Dog: Animal {
-
-    public var breed: String?
-
-    
-
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["breed"] = self.breed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
deleted file mode 100644
index c2414d1023e..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// EnumArrays.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumArrays: JSONEncodable {
-
-    public enum JustSymbol: String { 
-        case greaterThanOrEqualTo = ">="
-        case dollar = "$"
-    }
-    public enum ArrayEnum: String { 
-        case fish = ""fish""
-        case crab = ""crab""
-    }
-    public var justSymbol: JustSymbol?
-    public var arrayEnum: [ArrayEnum]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["just_symbol"] = self.justSymbol?.rawValue
-        nillableDictionary["array_enum"] = self.arrayEnum?.map({$0.rawValue}).encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
deleted file mode 100644
index 73a74ff53f7..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// EnumClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum EnumClass: String {
-    case abc = "_abc"
-    case efg = "-efg"
-    case xyz = "(xyz)"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
deleted file mode 100644
index 59c0660b900..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// EnumTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumTest: JSONEncodable {
-
-    public enum EnumString: String { 
-        case upper = "UPPER"
-        case lower = "lower"
-        case empty = ""
-    }
-    public enum EnumInteger: Int32 { 
-        case _1 = 1
-        case number1 = -1
-    }
-    public enum EnumNumber: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-    public var enumString: EnumString?
-    public var enumInteger: EnumInteger?
-    public var enumNumber: EnumNumber?
-    public var outerEnum: OuterEnum?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["enum_string"] = self.enumString?.rawValue
-        nillableDictionary["enum_integer"] = self.enumInteger?.rawValue
-        nillableDictionary["enum_number"] = self.enumNumber?.rawValue
-        nillableDictionary["outerEnum"] = self.outerEnum?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
deleted file mode 100644
index 4e1ac026572..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// FormatTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class FormatTest: JSONEncodable {
-
-    public var integer: Int32?
-    public var int32: Int32?
-    public var int64: Int64?
-    public var number: Double?
-    public var float: Float?
-    public var double: Double?
-    public var string: String?
-    public var byte: Data?
-    public var binary: URL?
-    public var date: ISOFullDate?
-    public var dateTime: Date?
-    public var uuid: UUID?
-    public var password: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["integer"] = self.integer?.encodeToJSON()
-        nillableDictionary["int32"] = self.int32?.encodeToJSON()
-        nillableDictionary["int64"] = self.int64?.encodeToJSON()
-        nillableDictionary["number"] = self.number
-        nillableDictionary["float"] = self.float
-        nillableDictionary["double"] = self.double
-        nillableDictionary["string"] = self.string
-        nillableDictionary["byte"] = self.byte?.encodeToJSON()
-        nillableDictionary["binary"] = self.binary?.encodeToJSON()
-        nillableDictionary["date"] = self.date?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["password"] = self.password
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
deleted file mode 100644
index 8b30c111dea..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// HasOnlyReadOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class HasOnlyReadOnly: JSONEncodable {
-
-    public var bar: String?
-    public var foo: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["foo"] = self.foo
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/List.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/List.swift
deleted file mode 100644
index 2336d92501a..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/List.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// List.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class List: JSONEncodable {
-
-    public var _123list: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["123-list"] = self._123list
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
deleted file mode 100644
index 7b6af62b057..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// MapTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MapTest: JSONEncodable {
-
-    public enum MapOfEnumString: String { 
-        case upper = ""UPPER""
-        case lower = ""lower""
-    }
-    public var mapMapOfString: [String:[String:String]]?
-    public var mapOfEnumString: [String:String]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_map_of_string"] = self.mapMapOfString?.encodeToJSON()//TODO: handle enum map scenario
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
deleted file mode 100644
index 451a2275252..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// MixedPropertiesAndAdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MixedPropertiesAndAdditionalPropertiesClass: JSONEncodable {
-
-    public var uuid: UUID?
-    public var dateTime: Date?
-    public var map: [String:Animal]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["map"] = self.map?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
deleted file mode 100644
index 4e5fe497d0e..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// Model200Response.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name starting with number */
-open class Model200Response: JSONEncodable {
-
-    public var name: Int32?
-    public var _class: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Name.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
deleted file mode 100644
index 56b9a73d3f5..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Name.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name same as property name */
-open class Name: JSONEncodable {
-
-    public var name: Int32?
-    public var snakeCase: Int32?
-    public var property: String?
-    public var _123number: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["snake_case"] = self.snakeCase?.encodeToJSON()
-        nillableDictionary["property"] = self.property
-        nillableDictionary["123Number"] = self._123number?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
deleted file mode 100644
index bbcf6dc330c..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// NumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class NumberOnly: JSONEncodable {
-
-    public var justNumber: Double?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["JustNumber"] = self.justNumber
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
deleted file mode 100644
index 53615e31d18..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Order.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Order: JSONEncodable {
-
-    public enum Status: String { 
-        case placed = "placed"
-        case approved = "approved"
-        case delivered = "delivered"
-    }
-    public var id: Int64?
-    public var petId: Int64?
-    public var quantity: Int32?
-    public var shipDate: Date?
-    /** Order Status */
-    public var status: Status?
-    public var complete: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["petId"] = self.petId?.encodeToJSON()
-        nillableDictionary["quantity"] = self.quantity?.encodeToJSON()
-        nillableDictionary["shipDate"] = self.shipDate?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        nillableDictionary["complete"] = self.complete
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
deleted file mode 100644
index b346eb47e5f..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// OuterComposite.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class OuterComposite: JSONEncodable {
-
-    public var myNumber: Double?
-    public var myString: String?
-    public var myBoolean: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["my_number"] = self.myNumber
-        nillableDictionary["my_string"] = self.myString
-        nillableDictionary["my_boolean"] = self.myBoolean
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
deleted file mode 100644
index 29609ed6517..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// OuterEnum.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum OuterEnum: String {
-    case placed = "placed"
-    case approved = "approved"
-    case delivered = "delivered"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
deleted file mode 100644
index 51785677759..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Pet.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Pet: JSONEncodable {
-
-    public enum Status: String { 
-        case available = "available"
-        case pending = "pending"
-        case sold = "sold"
-    }
-    public var id: Int64?
-    public var category: Category?
-    public var name: String?
-    public var photoUrls: [String]?
-    public var tags: [Tag]?
-    /** pet status in the store */
-    public var status: Status?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["category"] = self.category?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        nillableDictionary["photoUrls"] = self.photoUrls?.encodeToJSON()
-        nillableDictionary["tags"] = self.tags?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
deleted file mode 100644
index 2f169a93509..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// ReadOnlyFirst.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ReadOnlyFirst: JSONEncodable {
-
-    public var bar: String?
-    public var baz: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["baz"] = self.baz
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Return.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
deleted file mode 100644
index ceac4d7366b..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// Return.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing reserved words */
-open class Return: JSONEncodable {
-
-    public var _return: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["return"] = self._return?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
deleted file mode 100644
index 5c6dc68f54a..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// SpecialModelName.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class SpecialModelName: JSONEncodable {
-
-    public var specialPropertyName: Int64?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["$special[property.name]"] = self.specialPropertyName?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
deleted file mode 100644
index aacc34cb98f..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Tag.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Tag: JSONEncodable {
-
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/User.swift b/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/User.swift
deleted file mode 100644
index a60b91ea67c..00000000000
--- a/samples/client/petstore/swift3/default/PetstoreClient/Classes/OpenAPIs/Models/User.swift
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// User.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class User: JSONEncodable {
-
-    public var id: Int64?
-    public var username: String?
-    public var firstName: String?
-    public var lastName: String?
-    public var email: String?
-    public var password: String?
-    public var phone: String?
-    /** User Status */
-    public var userStatus: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["username"] = self.username
-        nillableDictionary["firstName"] = self.firstName
-        nillableDictionary["lastName"] = self.lastName
-        nillableDictionary["email"] = self.email
-        nillableDictionary["password"] = self.password
-        nillableDictionary["phone"] = self.phone
-        nillableDictionary["userStatus"] = self.userStatus?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Podfile b/samples/client/petstore/swift3/default/SwaggerClientTests/Podfile
deleted file mode 100644
index 77b1f16f2fe..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Podfile
+++ /dev/null
@@ -1,18 +0,0 @@
-use_frameworks!
-source 'https://github.com/CocoaPods/Specs.git'
-
-target 'SwaggerClient' do
-    pod "PetstoreClient", :path => "../"
-
-    target 'SwaggerClientTests' do
-        inherit! :search_paths
-    end
-end
-
-post_install do |installer|
-    installer.pods_project.targets.each do |target|
-        target.build_configurations.each do |configuration|
-            configuration.build_settings['SWIFT_VERSION'] = "3.0"
-        end
-    end
-end
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Podfile.lock b/samples/client/petstore/swift3/default/SwaggerClientTests/Podfile.lock
deleted file mode 100644
index cd2b8ac82ec..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Podfile.lock
+++ /dev/null
@@ -1,23 +0,0 @@
-PODS:
-  - Alamofire (4.5.0)
-  - PetstoreClient (0.0.1):
-    - Alamofire (~> 4.5.0)
-
-DEPENDENCIES:
-  - PetstoreClient (from `../`)
-
-SPEC REPOS:
-  https://github.com/cocoapods/specs.git:
-    - Alamofire
-
-EXTERNAL SOURCES:
-  PetstoreClient:
-    :path: "../"
-
-SPEC CHECKSUMS:
-  Alamofire: f28cdffd29de33a7bfa022cbd63ae95a27fae140
-  PetstoreClient: a9f241d378687facad5c691a1747b21f64b405fa
-
-PODFILE CHECKSUM: 417049e9ed0e4680602b34d838294778389bd418
-
-COCOAPODS: 1.5.3
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/LICENSE b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/LICENSE
deleted file mode 100644
index 4cfbf72a4d8..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/README.md b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/README.md
deleted file mode 100644
index e1966fdca00..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/README.md
+++ /dev/null
@@ -1,1857 +0,0 @@
-![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/assets/alamofire.png)
-
-[![Build Status](https://travis-ci.org/Alamofire/Alamofire.svg?branch=master)](https://travis-ci.org/Alamofire/Alamofire)
-[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg)](https://img.shields.io/cocoapods/v/Alamofire.svg)
-[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
-[![Platform](https://img.shields.io/cocoapods/p/Alamofire.svg?style=flat)](http://cocoadocs.org/docsets/Alamofire)
-[![Twitter](https://img.shields.io/badge/twitter-@AlamofireSF-blue.svg?style=flat)](http://twitter.com/AlamofireSF)
-[![Gitter](https://badges.gitter.im/Alamofire/Alamofire.svg)](https://gitter.im/Alamofire/Alamofire?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
-
-Alamofire is an HTTP networking library written in Swift.
-
-- [Features](#features)
-- [Component Libraries](#component-libraries)
-- [Requirements](#requirements)
-- [Migration Guides](#migration-guides)
-- [Communication](#communication)
-- [Installation](#installation)
-- [Usage](#usage)
-    - **Intro -** [Making a Request](#making-a-request), [Response Handling](#response-handling), [Response Validation](#response-validation), [Response Caching](#response-caching)
-	- **HTTP -** [HTTP Methods](#http-methods), [Parameter Encoding](#parameter-encoding), [HTTP Headers](#http-headers), [Authentication](#authentication)
-	- **Large Data -** [Downloading Data to a File](#downloading-data-to-a-file), [Uploading Data to a Server](#uploading-data-to-a-server)
-	- **Tools -** [Statistical Metrics](#statistical-metrics), [cURL Command Output](#curl-command-output)
-- [Advanced Usage](#advanced-usage)
-	- **URL Session -** [Session Manager](#session-manager), [Session Delegate](#session-delegate), [Request](#request)
-	- **Routing -** [Routing Requests](#routing-requests), [Adapting and Retrying Requests](#adapting-and-retrying-requests)
-	- **Model Objects -** [Custom Response Serialization](#custom-response-serialization)
-	- **Connection -** [Security](#security), [Network Reachability](#network-reachability)
-- [Open Radars](#open-radars)
-- [FAQ](#faq)
-- [Credits](#credits)
-- [Donations](#donations)
-- [License](#license)
-
-## Features
-
-- [x] Chainable Request / Response Methods
-- [x] URL / JSON / plist Parameter Encoding
-- [x] Upload File / Data / Stream / MultipartFormData
-- [x] Download File using Request or Resume Data
-- [x] Authentication with URLCredential
-- [x] HTTP Response Validation
-- [x] Upload and Download Progress Closures with Progress
-- [x] cURL Command Output
-- [x] Dynamically Adapt and Retry Requests
-- [x] TLS Certificate and Public Key Pinning
-- [x] Network Reachability
-- [x] Comprehensive Unit and Integration Test Coverage
-- [x] [Complete Documentation](http://cocoadocs.org/docsets/Alamofire)
-
-## Component Libraries
-
-In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) to bring additional functionality to the Alamofire ecosystem.
-
-- [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache and a priority-based image downloading system.
-- [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator) - Controls the visibility of the network activity indicator on iOS using Alamofire. It contains configurable delay timers to help mitigate flicker and can support `URLSession` instances not managed by Alamofire.
-
-## Requirements
-
-- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
-- Xcode 8.1, 8.2, 8.3, and 9.0
-- Swift 3.0, 3.1, 3.2, and 4.0
-
-## Migration Guides
-
-- [Alamofire 4.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%204.0%20Migration%20Guide.md)
-- [Alamofire 3.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%203.0%20Migration%20Guide.md)
-- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md)
-
-## Communication
-
-- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). (Tag 'alamofire')
-- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire).
-- If you **found a bug**, open an issue.
-- If you **have a feature request**, open an issue.
-- If you **want to contribute**, submit a pull request.
-
-## Installation
-
-### CocoaPods
-
-[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
-
-```bash
-$ gem install cocoapods
-```
-
-> CocoaPods 1.1.0+ is required to build Alamofire 4.0.0+.
-
-To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`:
-
-```ruby
-source 'https://github.com/CocoaPods/Specs.git'
-platform :ios, '10.0'
-use_frameworks!
-
-target '<Your Target Name>' do
-    pod 'Alamofire', '~> 4.4'
-end
-```
-
-Then, run the following command:
-
-```bash
-$ pod install
-```
-
-### Carthage
-
-[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
-
-You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
-
-```bash
-$ brew update
-$ brew install carthage
-```
-
-To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
-
-```ogdl
-github "Alamofire/Alamofire" ~> 4.4
-```
-
-Run `carthage update` to build the framework and drag the built `Alamofire.framework` into your Xcode project.
-
-### Swift Package Manager
-
-The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but Alamofire does support its use on supported platforms. 
-
-Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
-
-```swift
-dependencies: [
-    .Package(url: "https://github.com/Alamofire/Alamofire.git", majorVersion: 4)
-]
-```
-
-### Manually
-
-If you prefer not to use any of the aforementioned dependency managers, you can integrate Alamofire into your project manually.
-
-#### Embedded Framework
-
-- Open up Terminal, `cd` into your top-level project directory, and run the following command "if" your project is not initialized as a git repository:
-
-  ```bash
-  $ git init
-  ```
-
-- Add Alamofire as a git [submodule](http://git-scm.com/docs/git-submodule) by running the following command:
-
-  ```bash
-  $ git submodule add https://github.com/Alamofire/Alamofire.git
-  ```
-
-- Open the new `Alamofire` folder, and drag the `Alamofire.xcodeproj` into the Project Navigator of your application's Xcode project.
-
-    > It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.
-
-- Select the `Alamofire.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target.
-- Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
-- In the tab bar at the top of that window, open the "General" panel.
-- Click on the `+` button under the "Embedded Binaries" section.
-- You will see two different `Alamofire.xcodeproj` folders each with two different versions of the `Alamofire.framework` nested inside a `Products` folder.
-
-    > It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Alamofire.framework`.
-
-- Select the top `Alamofire.framework` for iOS and the bottom one for OS X.
-
-    > You can verify which one you selected by inspecting the build log for your project. The build target for `Alamofire` will be listed as either `Alamofire iOS`, `Alamofire macOS`, `Alamofire tvOS` or `Alamofire watchOS`.
-
-- And that's it!
-
-  > The `Alamofire.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
-
----
-
-## Usage
-
-### Making a Request
-
-```swift
-import Alamofire
-
-Alamofire.request("https://httpbin.org/get")
-```
-
-### Response Handling
-
-Handling the `Response` of a `Request` made in Alamofire involves chaining a response handler onto the `Request`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print("Request: \(String(describing: response.request))")   // original url request
-    print("Response: \(String(describing: response.response))") // http url response
-    print("Result: \(response.result)")                         // response serialization result
-
-    if let json = response.result.value {
-        print("JSON: \(json)") // serialized json response
-    }
-
-    if let data = response.data, let utf8Text = String(data: data, encoding: .utf8) {
-        print("Data: \(utf8Text)") // original server data as UTF8 string
-    }
-}
-```
-
-In the above example, the `responseJSON` handler is appended to the `Request` to be executed once the `Request` is complete. Rather than blocking execution to wait for a response from the server, a [callback](http://en.wikipedia.org/wiki/Callback_%28computer_programming%29) in the form of a closure is specified to handle the response once it's received. The result of a request is only available inside the scope of a response closure. Any execution contingent on the response or data received from the server must be done within a response closure.
-
-> Networking in Alamofire is done _asynchronously_. Asynchronous programming may be a source of frustration to programmers unfamiliar with the concept, but there are [very good reasons](https://developer.apple.com/library/ios/qa/qa1693/_index.html) for doing it this way.
-
-Alamofire contains five different response handlers by default including:
-
-```swift
-// Response Handler - Unserialized Response
-func response(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DefaultDataResponse) -> Void)
-    -> Self
-
-// Response Data Handler - Serialized into Data
-func responseData(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Data>) -> Void)
-    -> Self
-
-// Response String Handler - Serialized into String
-func responseString(
-    queue: DispatchQueue?,
-    encoding: String.Encoding?,
-    completionHandler: @escaping (DataResponse<String>) -> Void)
-    -> Self
-
-// Response JSON Handler - Serialized into Any
-func responseJSON(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Any>) -> Void)
-    -> Self
-
-// Response PropertyList (plist) Handler - Serialized into Any
-func responsePropertyList(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Any>) -> Void))
-    -> Self
-```
-
-None of the response handlers perform any validation of the `HTTPURLResponse` it gets back from the server.
-
-> For example, response status codes in the `400..<500` and `500..<600` ranges do NOT automatically trigger an `Error`. Alamofire uses [Response Validation](#response-validation) method chaining to achieve this.
-
-#### Response Handler
-
-The `response` handler does NOT evaluate any of the response data. It merely forwards on all information directly from the URL session delegate. It is the Alamofire equivalent of using `cURL` to execute a `Request`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").response { response in
-    print("Request: \(response.request)")
-    print("Response: \(response.response)")
-    print("Error: \(response.error)")
-
-    if let data = response.data, let utf8Text = String(data: data, encoding: .utf8) {
-    	print("Data: \(utf8Text)")
-    }
-}
-```
-
-> We strongly encourage you to leverage the other response serializers taking advantage of `Response` and `Result` types.
-
-#### Response Data Handler
-
-The `responseData` handler uses the `responseDataSerializer` (the object that serializes the server data into some other type) to extract the `Data` returned by the server. If no errors occur and `Data` is returned, the response `Result` will be a `.success` and the `value` will be of type `Data`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseData { response in
-    debugPrint("All Response Info: \(response)")
-
-    if let data = response.result.value, let utf8Text = String(data: data, encoding: .utf8) {
-    	print("Data: \(utf8Text)")
-    }
-}
-```
-
-#### Response String Handler
-
-The `responseString` handler uses the `responseStringSerializer` to convert the `Data` returned by the server into a `String` with the specified encoding. If no errors occur and the server data is successfully serialized into a `String`, the response `Result` will be a `.success` and the `value` will be of type `String`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseString { response in
-    print("Success: \(response.result.isSuccess)")
-    print("Response String: \(response.result.value)")
-}
-```
-
-> If no encoding is specified, Alamofire will use the text encoding specified in the `HTTPURLResponse` from the server. If the text encoding cannot be determined by the server response, it defaults to `.isoLatin1`.
-
-#### Response JSON Handler
-
-The `responseJSON` handler uses the `responseJSONSerializer` to convert the `Data` returned by the server into an `Any` type using the specified `JSONSerialization.ReadingOptions`. If no errors occur and the server data is successfully serialized into a JSON object, the response `Result` will be a `.success` and the `value` will be of type `Any`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    debugPrint(response)
-
-    if let json = response.result.value {
-        print("JSON: \(json)")
-    }
-}
-```
-
-> All JSON serialization is handled by the `JSONSerialization` API in the `Foundation` framework.
-
-#### Chained Response Handlers
-
-Response handlers can even be chained:
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-    .responseString { response in
-        print("Response String: \(response.result.value)")
-    }
-    .responseJSON { response in
-        print("Response JSON: \(response.result.value)")
-    }
-```
-
-> It is important to note that using multiple response handlers on the same `Request` requires the server data to be serialized multiple times. Once for each response handler.
-
-#### Response Handler Queue
-
-Response handlers by default are executed on the main dispatch queue. However, a custom dispatch queue can be provided instead.
-
-```swift
-let utilityQueue = DispatchQueue.global(qos: .utility)
-
-Alamofire.request("https://httpbin.org/get").responseJSON(queue: utilityQueue) { response in
-    print("Executing response handler on utility queue")
-}
-```
-
-### Response Validation
-
-By default, Alamofire treats any completed request to be successful, regardless of the content of the response. Calling `validate` before a response handler causes an error to be generated if the response had an unacceptable status code or MIME type.
-
-#### Manual Validation
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-    .validate(statusCode: 200..<300)
-    .validate(contentType: ["application/json"])
-    .responseData { response in
-        switch response.result {
-        case .success:
-            print("Validation Successful")
-        case .failure(let error):
-            print(error)
-        }
-    }
-```
-
-#### Automatic Validation
-
-Automatically validates status code within `200..<300` range, and that the `Content-Type` header of the response matches the `Accept` header of the request, if one is provided.
-
-```swift
-Alamofire.request("https://httpbin.org/get").validate().responseJSON { response in
-    switch response.result {
-    case .success:
-        print("Validation Successful")
-    case .failure(let error):
-        print(error)
-    }
-}
-```
-
-### Response Caching
-
-Response Caching is handled on the system framework level by [`URLCache`](https://developer.apple.com/reference/foundation/urlcache). It provides a composite in-memory and on-disk cache and lets you manipulate the sizes of both the in-memory and on-disk portions.
-
-> By default, Alamofire leverages the shared `URLCache`. In order to customize it, see the [Session Manager Configurations](#session-manager) section.
-
-### HTTP Methods
-
-The `HTTPMethod` enumeration lists the HTTP methods defined in [RFC 7231 §4.3](http://tools.ietf.org/html/rfc7231#section-4.3):
-
-```swift
-public enum HTTPMethod: String {
-    case options = "OPTIONS"
-    case get     = "GET"
-    case head    = "HEAD"
-    case post    = "POST"
-    case put     = "PUT"
-    case patch   = "PATCH"
-    case delete  = "DELETE"
-    case trace   = "TRACE"
-    case connect = "CONNECT"
-}
-```
-
-These values can be passed as the `method` argument to the `Alamofire.request` API:
-
-```swift
-Alamofire.request("https://httpbin.org/get") // method defaults to `.get`
-
-Alamofire.request("https://httpbin.org/post", method: .post)
-Alamofire.request("https://httpbin.org/put", method: .put)
-Alamofire.request("https://httpbin.org/delete", method: .delete)
-```
-
-> The `Alamofire.request` method parameter defaults to `.get`.
-
-### Parameter Encoding
-
-Alamofire supports three types of parameter encoding including: `URL`, `JSON` and `PropertyList`. It can also support any custom encoding that conforms to the `ParameterEncoding` protocol.
-
-#### URL Encoding
-
-The `URLEncoding` type creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP body of the URL request. Whether the query string is set or appended to any existing URL query string or set as the HTTP body depends on the `Destination` of the encoding. The `Destination` enumeration has three cases:
-
-- `.methodDependent` - Applies encoded query string result to existing query string for `GET`, `HEAD` and `DELETE` requests and sets as the HTTP body for requests with any other HTTP method.
-- `.queryString` - Sets or appends encoded query string result to existing query string.
-- `.httpBody` - Sets encoded query string result as the HTTP body of the URL request.
-
-The `Content-Type` HTTP header field of an encoded request with HTTP body is set to `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode collection types, the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`).
-
-##### GET Request With URL-Encoded Parameters
-
-```swift
-let parameters: Parameters = ["foo": "bar"]
-
-// All three of these calls are equivalent
-Alamofire.request("https://httpbin.org/get", parameters: parameters) // encoding defaults to `URLEncoding.default`
-Alamofire.request("https://httpbin.org/get", parameters: parameters, encoding: URLEncoding.default)
-Alamofire.request("https://httpbin.org/get", parameters: parameters, encoding: URLEncoding(destination: .methodDependent))
-
-// https://httpbin.org/get?foo=bar
-```
-
-##### POST Request With URL-Encoded Parameters
-
-```swift
-let parameters: Parameters = [
-    "foo": "bar",
-    "baz": ["a", 1],
-    "qux": [
-        "x": 1,
-        "y": 2,
-        "z": 3
-    ]
-]
-
-// All three of these calls are equivalent
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: URLEncoding.default)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: URLEncoding.httpBody)
-
-// HTTP body: foo=bar&baz[]=a&baz[]=1&qux[x]=1&qux[y]=2&qux[z]=3
-```
-
-#### JSON Encoding
-
-The `JSONEncoding` type creates a JSON representation of the parameters object, which is set as the HTTP body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`.
-
-##### POST Request with JSON-Encoded Parameters
-
-```swift
-let parameters: Parameters = [
-    "foo": [1,2,3],
-    "bar": [
-        "baz": "qux"
-    ]
-]
-
-// Both calls are equivalent
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: JSONEncoding.default)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: JSONEncoding(options: []))
-
-// HTTP body: {"foo": [1, 2, 3], "bar": {"baz": "qux"}}
-```
-
-#### Property List Encoding
-
-The `PropertyListEncoding` uses `PropertyListSerialization` to create a plist representation of the parameters object, according to the associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/x-plist`.
-
-#### Custom Encoding
-
-In the event that the provided `ParameterEncoding` types do not meet your needs, you can create your own custom encoding. Here's a quick example of how you could build a custom `JSONStringArrayEncoding` type to encode a JSON string array onto a `Request`.
-
-```swift
-struct JSONStringArrayEncoding: ParameterEncoding {
-	private let array: [String]
-
-    init(array: [String]) {
-        self.array = array
-    }
-
-    func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        let data = try JSONSerialization.data(withJSONObject: array, options: [])
-
-        if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-            urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-        }
-
-        urlRequest.httpBody = data
-
-        return urlRequest
-    }
-}
-```
-
-#### Manual Parameter Encoding of a URLRequest
-
-The `ParameterEncoding` APIs can be used outside of making network requests.
-
-```swift
-let url = URL(string: "https://httpbin.org/get")!
-var urlRequest = URLRequest(url: url)
-
-let parameters: Parameters = ["foo": "bar"]
-let encodedURLRequest = try URLEncoding.queryString.encode(urlRequest, with: parameters)
-```
-
-### HTTP Headers
-
-Adding a custom HTTP header to a `Request` is supported directly in the global `request` method. This makes it easy to attach HTTP headers to a `Request` that can be constantly changing.
-
-```swift
-let headers: HTTPHeaders = [
-    "Authorization": "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==",
-    "Accept": "application/json"
-]
-
-Alamofire.request("https://httpbin.org/headers", headers: headers).responseJSON { response in
-    debugPrint(response)
-}
-```
-
-> For HTTP headers that do not change, it is recommended to set them on the `URLSessionConfiguration` so they are automatically applied to any `URLSessionTask` created by the underlying `URLSession`. For more information, see the [Session Manager Configurations](#session-manager) section.
-
-The default Alamofire `SessionManager` provides a default set of headers for every `Request`. These include:
-
-- `Accept-Encoding`, which defaults to `gzip;q=1.0, compress;q=0.5`, per [RFC 7230 §4.2.3](https://tools.ietf.org/html/rfc7230#section-4.2.3).
-- `Accept-Language`, which defaults to up to the top 6 preferred languages on the system, formatted like `en;q=1.0`, per [RFC 7231 §5.3.5](https://tools.ietf.org/html/rfc7231#section-5.3.5).
-- `User-Agent`, which contains versioning information about the current app. For example: `iOS Example/1.0 (com.alamofire.iOS-Example; build:1; iOS 10.0.0) Alamofire/4.0.0`, per [RFC 7231 §5.5.3](https://tools.ietf.org/html/rfc7231#section-5.5.3).
-
-If you need to customize these headers, a custom `URLSessionConfiguration` should be created, the `defaultHTTPHeaders` property updated and the configuration applied to a new `SessionManager` instance.
-
-### Authentication
-
-Authentication is handled on the system framework level by [`URLCredential`](https://developer.apple.com/reference/foundation/nsurlcredential) and [`URLAuthenticationChallenge`](https://developer.apple.com/reference/foundation/urlauthenticationchallenge).
-
-**Supported Authentication Schemes**
-
-- [HTTP Basic](http://en.wikipedia.org/wiki/Basic_access_authentication)
-- [HTTP Digest](http://en.wikipedia.org/wiki/Digest_access_authentication)
-- [Kerberos](http://en.wikipedia.org/wiki/Kerberos_%28protocol%29)
-- [NTLM](http://en.wikipedia.org/wiki/NT_LAN_Manager)
-
-#### HTTP Basic Authentication
-
-The `authenticate` method on a `Request` will automatically provide a `URLCredential` to a `URLAuthenticationChallenge` when appropriate:
-
-```swift
-let user = "user"
-let password = "password"
-
-Alamofire.request("https://httpbin.org/basic-auth/\(user)/\(password)")
-    .authenticate(user: user, password: password)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-Depending upon your server implementation, an `Authorization` header may also be appropriate:
-
-```swift
-let user = "user"
-let password = "password"
-
-var headers: HTTPHeaders = [:]
-
-if let authorizationHeader = Request.authorizationHeader(user: user, password: password) {
-    headers[authorizationHeader.key] = authorizationHeader.value
-}
-
-Alamofire.request("https://httpbin.org/basic-auth/user/password", headers: headers)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-#### Authentication with URLCredential
-
-```swift
-let user = "user"
-let password = "password"
-
-let credential = URLCredential(user: user, password: password, persistence: .forSession)
-
-Alamofire.request("https://httpbin.org/basic-auth/\(user)/\(password)")
-    .authenticate(usingCredential: credential)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-> It is important to note that when using a `URLCredential` for authentication, the underlying `URLSession` will actually end up making two requests if a challenge is issued by the server. The first request will not include the credential which "may" trigger a challenge from the server. The challenge is then received by Alamofire, the credential is appended and the request is retried by the underlying `URLSession`.
-
-### Downloading Data to a File
-
-Requests made in Alamofire that fetch data from a server can download the data in-memory or on-disk. The `Alamofire.request` APIs used in all the examples so far always downloads the server data in-memory. This is great for smaller payloads because it's more efficient, but really bad for larger payloads because the download could run your entire application out-of-memory. Because of this, you can also use the `Alamofire.download` APIs to download the server data to a temporary file on-disk.
-
-> This will only work on `macOS` as is. Other platforms don't allow access to the filesystem outside of your app's sandbox. To download files on other platforms, see the [Download File Destination](#download-file-destination) section.
-
-```swift
-Alamofire.download("https://httpbin.org/image/png").responseData { response in
-    if let data = response.result.value {
-        let image = UIImage(data: data)
-    }
-}
-```
-
-> The `Alamofire.download` APIs should also be used if you need to download data while your app is in the background. For more information, please see the [Session Manager Configurations](#session-manager) section.
-
-#### Download File Destination
-
-You can also provide a `DownloadFileDestination` closure to move the file from the temporary directory to a final destination. Before the temporary file is actually moved to the `destinationURL`, the `DownloadOptions` specified in the closure will be executed. The two currently supported `DownloadOptions` are:
-
-- `.createIntermediateDirectories` - Creates intermediate directories for the destination URL if specified.
-- `.removePreviousFile` - Removes a previous file from the destination URL if specified.
-
-```swift
-let destination: DownloadRequest.DownloadFileDestination = { _, _ in
-    let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
-    let fileURL = documentsURL.appendingPathComponent("pig.png")
-
-    return (fileURL, [.removePreviousFile, .createIntermediateDirectories])
-}
-
-Alamofire.download(urlString, to: destination).response { response in
-    print(response)
-
-    if response.error == nil, let imagePath = response.destinationURL?.path {
-        let image = UIImage(contentsOfFile: imagePath)
-    }
-}
-```
-
-You can also use the suggested download destination API.
-
-```swift
-let destination = DownloadRequest.suggestedDownloadDestination(for: .documentDirectory)
-Alamofire.download("https://httpbin.org/image/png", to: destination)
-```
-
-#### Download Progress
-
-Many times it can be helpful to report download progress to the user. Any `DownloadRequest` can report download progress using the `downloadProgress` API.
-
-```swift
-Alamofire.download("https://httpbin.org/image/png")
-    .downloadProgress { progress in
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseData { response in
-        if let data = response.result.value {
-            let image = UIImage(data: data)
-        }
-    }
-```
-
-The `downloadProgress` API also takes a `queue` parameter which defines which `DispatchQueue` the download progress closure should be called on.
-
-```swift
-let utilityQueue = DispatchQueue.global(qos: .utility)
-
-Alamofire.download("https://httpbin.org/image/png")
-    .downloadProgress(queue: utilityQueue) { progress in
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseData { response in
-        if let data = response.result.value {
-            let image = UIImage(data: data)
-        }
-    }
-```
-
-#### Resuming a Download
-
-If a `DownloadRequest` is cancelled or interrupted, the underlying URL session may generate resume data for the active `DownloadRequest`. If this happens, the resume data can be re-used to restart the `DownloadRequest` where it left off. The resume data can be accessed through the download response, then reused when trying to restart the request.
-
-> **IMPORTANT:** On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the data is written incorrectly and will always fail to resume the download. For more information about the bug and possible workarounds, please see this Stack Overflow [post](http://stackoverflow.com/a/39347461/1342462).
-
-```swift
-class ImageRequestor {
-    private var resumeData: Data?
-    private var image: UIImage?
-
-    func fetchImage(completion: (UIImage?) -> Void) {
-        guard image == nil else { completion(image) ; return }
-
-        let destination: DownloadRequest.DownloadFileDestination = { _, _ in
-            let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
-            let fileURL = documentsURL.appendingPathComponent("pig.png")
-
-            return (fileURL, [.removePreviousFile, .createIntermediateDirectories])
-        }
-
-        let request: DownloadRequest
-
-        if let resumeData = resumeData {
-            request = Alamofire.download(resumingWith: resumeData)
-        } else {
-            request = Alamofire.download("https://httpbin.org/image/png")
-        }
-
-        request.responseData { response in
-            switch response.result {
-            case .success(let data):
-                self.image = UIImage(data: data)
-            case .failure:
-                self.resumeData = response.resumeData
-            }
-        }
-    }
-}
-```
-
-### Uploading Data to a Server
-
-When sending relatively small amounts of data to a server using JSON or URL encoded parameters, the `Alamofire.request` APIs are usually sufficient. If you need to send much larger amounts of data from a file URL or an `InputStream`, then the `Alamofire.upload` APIs are what you want to use.
-
-> The `Alamofire.upload` APIs should also be used if you need to upload data while your app is in the background. For more information, please see the [Session Manager Configurations](#session-manager) section.
-
-#### Uploading Data
-
-```swift
-let imageData = UIPNGRepresentation(image)!
-
-Alamofire.upload(imageData, to: "https://httpbin.org/post").responseJSON { response in
-    debugPrint(response)
-}
-```
-
-#### Uploading a File
-
-```swift
-let fileURL = Bundle.main.url(forResource: "video", withExtension: "mov")
-
-Alamofire.upload(fileURL, to: "https://httpbin.org/post").responseJSON { response in
-    debugPrint(response)
-}
-```
-
-#### Uploading Multipart Form Data
-
-```swift
-Alamofire.upload(
-    multipartFormData: { multipartFormData in
-        multipartFormData.append(unicornImageURL, withName: "unicorn")
-        multipartFormData.append(rainbowImageURL, withName: "rainbow")
-    },
-    to: "https://httpbin.org/post",
-    encodingCompletion: { encodingResult in
-    	switch encodingResult {
-    	case .success(let upload, _, _):
-            upload.responseJSON { response in
-                debugPrint(response)
-            }
-    	case .failure(let encodingError):
-    	    print(encodingError)
-    	}
-    }
-)
-```
-
-#### Upload Progress
-
-While your user is waiting for their upload to complete, sometimes it can be handy to show the progress of the upload to the user. Any `UploadRequest` can report both upload progress and download progress of the response data using the `uploadProgress` and `downloadProgress` APIs.
-
-```swift
-let fileURL = Bundle.main.url(forResource: "video", withExtension: "mov")
-
-Alamofire.upload(fileURL, to: "https://httpbin.org/post")
-    .uploadProgress { progress in // main queue by default
-        print("Upload Progress: \(progress.fractionCompleted)")
-    }
-    .downloadProgress { progress in // main queue by default
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-### Statistical Metrics
-
-#### Timeline
-
-Alamofire collects timings throughout the lifecycle of a `Request` and creates a `Timeline` object exposed as a property on all response types.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print(response.timeline)
-}
-```
-
-The above reports the following `Timeline` info:
-
-- `Latency`: 0.428 seconds
-- `Request Duration`: 0.428 seconds
-- `Serialization Duration`: 0.001 seconds
-- `Total Duration`: 0.429 seconds
-
-#### URL Session Task Metrics
-
-In iOS and tvOS 10 and macOS 10.12, Apple introduced the new [URLSessionTaskMetrics](https://developer.apple.com/reference/foundation/urlsessiontaskmetrics) APIs. The task metrics encapsulate some fantastic statistical information about the request and response execution. The API is very similar to the `Timeline`, but provides many more statistics that Alamofire doesn't have access to compute. The metrics can be accessed through any response type.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print(response.metrics)
-}
-```
-
-It's important to note that these APIs are only available on iOS and tvOS 10 and macOS 10.12. Therefore, depending on your deployment target, you may need to use these inside availability checks:
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    if #available(iOS 10.0, *) {
-        print(response.metrics)
-    }
-}
-```
-
-### cURL Command Output
-
-Debugging platform issues can be frustrating. Thankfully, Alamofire `Request` objects conform to both the `CustomStringConvertible` and `CustomDebugStringConvertible` protocols to provide some VERY helpful debugging tools.
-
-#### CustomStringConvertible
-
-```swift
-let request = Alamofire.request("https://httpbin.org/ip")
-
-print(request)
-// GET https://httpbin.org/ip (200)
-```
-
-#### CustomDebugStringConvertible
-
-```swift
-let request = Alamofire.request("https://httpbin.org/get", parameters: ["foo": "bar"])
-debugPrint(request)
-```
-
-Outputs:
-
-```bash
-$ curl -i \
-    -H "User-Agent: Alamofire/4.0.0" \
-    -H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \
-    -H "Accept-Language: en;q=1.0,fr;q=0.9,de;q=0.8,zh-Hans;q=0.7,zh-Hant;q=0.6,ja;q=0.5" \
-    "https://httpbin.org/get?foo=bar"
-```
-
----
-
-## Advanced Usage
-
-Alamofire is built on `URLSession` and the Foundation URL Loading System. To make the most of this framework, it is recommended that you be familiar with the concepts and capabilities of the underlying networking stack.
-
-**Recommended Reading**
-
-- [URL Loading System Programming Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html)
-- [URLSession Class Reference](https://developer.apple.com/reference/foundation/nsurlsession)
-- [URLCache Class Reference](https://developer.apple.com/reference/foundation/urlcache)
-- [URLAuthenticationChallenge Class Reference](https://developer.apple.com/reference/foundation/urlauthenticationchallenge)
-
-### Session Manager
-
-Top-level convenience methods like `Alamofire.request` use a default instance of `Alamofire.SessionManager`, which is configured with the default `URLSessionConfiguration`.
-
-As such, the following two statements are equivalent:
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-```
-
-```swift
-let sessionManager = Alamofire.SessionManager.default
-sessionManager.request("https://httpbin.org/get")
-```
-
-Applications can create session managers for background and ephemeral sessions, as well as new managers that customize the default session configuration, such as for default headers (`httpAdditionalHeaders`) or timeout interval (`timeoutIntervalForRequest`).
-
-#### Creating a Session Manager with Default Configuration
-
-```swift
-let configuration = URLSessionConfiguration.default
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Creating a Session Manager with Background Configuration
-
-```swift
-let configuration = URLSessionConfiguration.background(withIdentifier: "com.example.app.background")
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Creating a Session Manager with Ephemeral Configuration
-
-```swift
-let configuration = URLSessionConfiguration.ephemeral
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Modifying the Session Configuration
-
-```swift
-var defaultHeaders = Alamofire.SessionManager.defaultHTTPHeaders
-defaultHeaders["DNT"] = "1 (Do Not Track Enabled)"
-
-let configuration = URLSessionConfiguration.default
-configuration.httpAdditionalHeaders = defaultHeaders
-
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-> This is **not** recommended for `Authorization` or `Content-Type` headers. Instead, use the `headers` parameter in the top-level `Alamofire.request` APIs, `URLRequestConvertible` and `ParameterEncoding`, respectively.
-
-### Session Delegate
-
-By default, an Alamofire `SessionManager` instance creates a `SessionDelegate` object to handle all the various types of delegate callbacks that are generated by the underlying `URLSession`. The implementations of each delegate method handle the most common use cases for these types of calls abstracting the complexity away from the top-level APIs. However, advanced users may find the need to override the default functionality for various reasons.
-
-#### Override Closures
-
-The first way to customize the `SessionDelegate` behavior is through the use of the override closures. Each closure gives you the ability to override the implementation of the matching `SessionDelegate` API, yet still use the default implementation for all other APIs. This makes it easy to customize subsets of the delegate functionality. Here are a few examples of some of the override closures available:
-
-```swift
-/// Overrides default behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)`.
-open var sessionDidReceiveChallenge: ((URLSession, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-/// Overrides default behavior for URLSessionDelegate method `urlSessionDidFinishEvents(forBackgroundURLSession:)`.
-open var sessionDidFinishEventsForBackgroundURLSession: ((URLSession) -> Void)?
-
-/// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)`.
-open var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-
-/// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)`.
-open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-```
-
-The following is a short example of how to use the `taskWillPerformHTTPRedirection` to avoid following redirects to any `apple.com` domains.
-
-```swift
-let sessionManager = Alamofire.SessionManager(configuration: URLSessionConfiguration.default)
-let delegate: Alamofire.SessionDelegate = sessionManager.delegate
-
-delegate.taskWillPerformHTTPRedirection = { session, task, response, request in
-    var finalRequest = request
-
-    if
-        let originalRequest = task.originalRequest,
-        let urlString = originalRequest.url?.urlString,
-        urlString.contains("apple.com")
-    {
-        finalRequest = originalRequest
-    }
-
-    return finalRequest
-}
-```
-
-#### Subclassing
-
-Another way to override the default implementation of the `SessionDelegate` is to subclass it. Subclassing allows you completely customize the behavior of the API or to create a proxy for the API and still use the default implementation. Creating a proxy allows you to log events, emit notifications, provide pre and post hook implementations, etc. Here's a quick example of subclassing the `SessionDelegate` and logging a message when a redirect occurs.
-
-```swift
-class LoggingSessionDelegate: SessionDelegate {
-    override func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        print("URLSession will perform HTTP redirection to request: \(request)")
-
-        super.urlSession(
-            session,
-            task: task,
-            willPerformHTTPRedirection: response,
-            newRequest: request,
-            completionHandler: completionHandler
-        )
-    }
-}
-```
-
-Generally speaking, either the default implementation or the override closures should provide the necessary functionality required. Subclassing should only be used as a last resort.
-
-> It is important to keep in mind that the `subdelegates` are initialized and destroyed in the default implementation. Be careful when subclassing to not introduce memory leaks.
-
-### Request
-
-The result of a `request`, `download`, `upload` or `stream` methods are a `DataRequest`, `DownloadRequest`, `UploadRequest` and `StreamRequest` which all inherit from `Request`. All `Request` instances are always created by an owning session manager, and never initialized directly.
-
-Each subclass has specialized methods such as `authenticate`, `validate`, `responseJSON` and `uploadProgress` that each return the caller instance in order to facilitate method chaining.
-
-Requests can be suspended, resumed and cancelled:
-
-- `suspend()`: Suspends the underlying task and dispatch queue.
-- `resume()`: Resumes the underlying task and dispatch queue. If the owning manager does not have `startRequestsImmediately` set to `true`, the request must call `resume()` in order to start.
-- `cancel()`: Cancels the underlying task, producing an error that is passed to any registered response handlers.
-
-### Routing Requests
-
-As apps grow in size, it's important to adopt common patterns as you build out your network stack. An important part of that design is how to route your requests. The Alamofire `URLConvertible` and `URLRequestConvertible` protocols along with the `Router` design pattern are here to help.
-
-#### URLConvertible
-
-Types adopting the `URLConvertible` protocol can be used to construct URLs, which are then used to construct URL requests internally. `String`, `URL`, and `URLComponents` conform to `URLConvertible` by default, allowing any of them to be passed as `url` parameters to the `request`, `upload`, and `download` methods:
-
-```swift
-let urlString = "https://httpbin.org/post"
-Alamofire.request(urlString, method: .post)
-
-let url = URL(string: urlString)!
-Alamofire.request(url, method: .post)
-
-let urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: true)!
-Alamofire.request(urlComponents, method: .post)
-```
-
-Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLConvertible` as a convenient way to map domain-specific models to server resources.
-
-##### Type-Safe Routing
-
-```swift
-extension User: URLConvertible {
-    static let baseURLString = "https://example.com"
-
-    func asURL() throws -> URL {
-    	let urlString = User.baseURLString + "/users/\(username)/"
-        return try urlString.asURL()
-    }
-}
-```
-
-```swift
-let user = User(username: "mattt")
-Alamofire.request(user) // https://example.com/users/mattt
-```
-
-#### URLRequestConvertible
-
-Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. `URLRequest` conforms to `URLRequestConvertible` by default, allowing it to be passed into `request`, `upload`, and `download` methods directly (this is the recommended way to specify custom HTTP body for individual requests):
-
-```swift
-let url = URL(string: "https://httpbin.org/post")!
-var urlRequest = URLRequest(url: url)
-urlRequest.httpMethod = "POST"
-
-let parameters = ["foo": "bar"]
-
-do {
-    urlRequest.httpBody = try JSONSerialization.data(withJSONObject: parameters, options: [])
-} catch {
-    // No-op
-}
-
-urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-
-Alamofire.request(urlRequest)
-```
-
-Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLRequestConvertible` as a way to ensure consistency of requested endpoints. Such an approach can be used to abstract away server-side inconsistencies and provide type-safe routing, as well as manage authentication credentials and other state.
-
-##### API Parameter Abstraction
-
-```swift
-enum Router: URLRequestConvertible {
-    case search(query: String, page: Int)
-
-    static let baseURLString = "https://example.com"
-    static let perPage = 50
-
-    // MARK: URLRequestConvertible
-
-    func asURLRequest() throws -> URLRequest {
-        let result: (path: String, parameters: Parameters) = {
-            switch self {
-            case let .search(query, page) where page > 0:
-                return ("/search", ["q": query, "offset": Router.perPage * page])
-            case let .search(query, _):
-                return ("/search", ["q": query])
-            }
-        }()
-
-        let url = try Router.baseURLString.asURL()
-        let urlRequest = URLRequest(url: url.appendingPathComponent(result.path))
-
-        return try URLEncoding.default.encode(urlRequest, with: result.parameters)
-    }
-}
-```
-
-```swift
-Alamofire.request(Router.search(query: "foo bar", page: 1)) // https://example.com/search?q=foo%20bar&offset=50
-```
-
-##### CRUD & Authorization
-
-```swift
-import Alamofire
-
-enum Router: URLRequestConvertible {
-    case createUser(parameters: Parameters)
-    case readUser(username: String)
-    case updateUser(username: String, parameters: Parameters)
-    case destroyUser(username: String)
-
-    static let baseURLString = "https://example.com"
-
-    var method: HTTPMethod {
-        switch self {
-        case .createUser:
-            return .post
-        case .readUser:
-            return .get
-        case .updateUser:
-            return .put
-        case .destroyUser:
-            return .delete
-        }
-    }
-
-    var path: String {
-        switch self {
-        case .createUser:
-            return "/users"
-        case .readUser(let username):
-            return "/users/\(username)"
-        case .updateUser(let username, _):
-            return "/users/\(username)"
-        case .destroyUser(let username):
-            return "/users/\(username)"
-        }
-    }
-
-    // MARK: URLRequestConvertible
-
-    func asURLRequest() throws -> URLRequest {
-    	let url = try Router.baseURLString.asURL()
-
-        var urlRequest = URLRequest(url: url.appendingPathComponent(path))
-        urlRequest.httpMethod = method.rawValue
-
-        switch self {
-        case .createUser(let parameters):
-            urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters)
-        case .updateUser(_, let parameters):
-            urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters)
-        default:
-            break
-        }
-
-        return urlRequest
-    }
-}
-```
-
-```swift
-Alamofire.request(Router.readUser("mattt")) // GET https://example.com/users/mattt
-```
-
-### Adapting and Retrying Requests
-
-Most web services these days are behind some sort of authentication system. One of the more common ones today is OAuth. This generally involves generating an access token authorizing your application or user to call the various supported web services. While creating these initial access tokens can be laborsome, it can be even more complicated when your access token expires and you need to fetch a new one. There are many thread-safety issues that need to be considered.
-
-The `RequestAdapter` and `RequestRetrier` protocols were created to make it much easier to create a thread-safe authentication system for a specific set of web services.
-
-#### RequestAdapter
-
-The `RequestAdapter` protocol allows each `Request` made on a `SessionManager` to be inspected and adapted before being created. One very specific way to use an adapter is to append an `Authorization` header to requests behind a certain type of authentication.
-
-```swift
-class AccessTokenAdapter: RequestAdapter {
-    private let accessToken: String
-
-    init(accessToken: String) {
-        self.accessToken = accessToken
-    }
-
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest {
-        var urlRequest = urlRequest
-
-        if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix("https://httpbin.org") {
-            urlRequest.setValue("Bearer " + accessToken, forHTTPHeaderField: "Authorization")
-        }
-
-        return urlRequest
-	}
-}
-```
-
-```swift
-let sessionManager = SessionManager()
-sessionManager.adapter = AccessTokenAdapter(accessToken: "1234")
-
-sessionManager.request("https://httpbin.org/get")
-```
-
-#### RequestRetrier
-
-The `RequestRetrier` protocol allows a `Request` that encountered an `Error` while being executed to be retried. When using both the `RequestAdapter` and `RequestRetrier` protocols together, you can create credential refresh systems for OAuth1, OAuth2, Basic Auth and even exponential backoff retry policies. The possibilities are endless. Here's an example of how you could implement a refresh flow for OAuth2 access tokens.
-
-> **DISCLAIMER:** This is **NOT** a global `OAuth2` solution. It is merely an example demonstrating how one could use the `RequestAdapter` in conjunction with the `RequestRetrier` to create a thread-safe refresh system.
-
-> To reiterate, **do NOT copy** this sample code and drop it into a production application. This is merely an example. Each authentication system must be tailored to a particular platform and authentication type.
-
-```swift
-class OAuth2Handler: RequestAdapter, RequestRetrier {
-    private typealias RefreshCompletion = (_ succeeded: Bool, _ accessToken: String?, _ refreshToken: String?) -> Void
-
-    private let sessionManager: SessionManager = {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders
-
-        return SessionManager(configuration: configuration)
-    }()
-
-    private let lock = NSLock()
-
-    private var clientID: String
-    private var baseURLString: String
-    private var accessToken: String
-    private var refreshToken: String
-
-    private var isRefreshing = false
-    private var requestsToRetry: [RequestRetryCompletion] = []
-
-    // MARK: - Initialization
-
-    public init(clientID: String, baseURLString: String, accessToken: String, refreshToken: String) {
-        self.clientID = clientID
-        self.baseURLString = baseURLString
-        self.accessToken = accessToken
-        self.refreshToken = refreshToken
-    }
-
-    // MARK: - RequestAdapter
-
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest {
-        if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix(baseURLString) {
-            var urlRequest = urlRequest
-            urlRequest.setValue("Bearer " + accessToken, forHTTPHeaderField: "Authorization")
-            return urlRequest
-        }
-
-        return urlRequest
-    }
-
-    // MARK: - RequestRetrier
-
-    func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion) {
-        lock.lock() ; defer { lock.unlock() }
-
-        if let response = request.task?.response as? HTTPURLResponse, response.statusCode == 401 {
-            requestsToRetry.append(completion)
-
-            if !isRefreshing {
-                refreshTokens { [weak self] succeeded, accessToken, refreshToken in
-                    guard let strongSelf = self else { return }
-
-                    strongSelf.lock.lock() ; defer { strongSelf.lock.unlock() }
-
-                    if let accessToken = accessToken, let refreshToken = refreshToken {
-                        strongSelf.accessToken = accessToken
-                        strongSelf.refreshToken = refreshToken
-                    }
-
-                    strongSelf.requestsToRetry.forEach { $0(succeeded, 0.0) }
-                    strongSelf.requestsToRetry.removeAll()
-                }
-            }
-        } else {
-            completion(false, 0.0)
-        }
-    }
-
-    // MARK: - Private - Refresh Tokens
-
-    private func refreshTokens(completion: @escaping RefreshCompletion) {
-        guard !isRefreshing else { return }
-
-        isRefreshing = true
-
-        let urlString = "\(baseURLString)/oauth2/token"
-
-        let parameters: [String: Any] = [
-            "access_token": accessToken,
-            "refresh_token": refreshToken,
-            "client_id": clientID,
-            "grant_type": "refresh_token"
-        ]
-
-        sessionManager.request(urlString, method: .post, parameters: parameters, encoding: JSONEncoding.default)
-            .responseJSON { [weak self] response in
-                guard let strongSelf = self else { return }
-
-                if 
-                    let json = response.result.value as? [String: Any], 
-                    let accessToken = json["access_token"] as? String, 
-                    let refreshToken = json["refresh_token"] as? String 
-                {
-                    completion(true, accessToken, refreshToken)
-                } else {
-                    completion(false, nil, nil)
-                }
-
-                strongSelf.isRefreshing = false
-            }
-    }
-}
-```
-
-```swift
-let baseURLString = "https://some.domain-behind-oauth2.com"
-
-let oauthHandler = OAuth2Handler(
-    clientID: "12345678",
-    baseURLString: baseURLString,
-    accessToken: "abcd1234",
-    refreshToken: "ef56789a"
-)
-
-let sessionManager = SessionManager()
-sessionManager.adapter = oauthHandler
-sessionManager.retrier = oauthHandler
-
-let urlString = "\(baseURLString)/some/endpoint"
-
-sessionManager.request(urlString).validate().responseJSON { response in
-    debugPrint(response)
-}
-```
-
-Once the `OAuth2Handler` is applied as both the `adapter` and `retrier` for the `SessionManager`, it will handle an invalid access token error by automatically refreshing the access token and retrying all failed requests in the same order they failed.
-
-> If you needed them to execute in the same order they were created, you could sort them by their task identifiers.
-
-The example above only checks for a `401` response code which is not nearly robust enough, but does demonstrate how one could check for an invalid access token error. In a production application, one would want to check the `realm` and most likely the `www-authenticate` header response although it depends on the OAuth2 implementation.
-
-Another important note is that this authentication system could be shared between multiple session managers. For example, you may need to use both a `default` and `ephemeral` session configuration for the same set of web services. The example above allows the same `oauthHandler` instance to be shared across multiple session managers to manage the single refresh flow.
-
-### Custom Response Serialization
-
-Alamofire provides built-in response serialization for data, strings, JSON, and property lists:
-
-```swift
-Alamofire.request(...).responseData { (resp: DataResponse<Data>) in ... }
-Alamofire.request(...).responseString { (resp: DataResponse<String>) in ... }
-Alamofire.request(...).responseJSON { (resp: DataResponse<Any>) in ... }
-Alamofire.request(...).responsePropertyList { resp: DataResponse<Any>) in ... }
-```
-
-Those responses wrap deserialized *values* (Data, String, Any) or *errors* (network, validation errors), as well as *meta-data* (URL request, HTTP headers, status code, [metrics](#statistical-metrics), ...).
-
-You have several ways to customize all of those response elements:
-
-- [Response Mapping](#response-mapping)
-- [Handling Errors](#handling-errors)
-- [Creating a Custom Response Serializer](#creating-a-custom-response-serializer)
-- [Generic Response Object Serialization](#generic-response-object-serialization)
-
-#### Response Mapping
-
-Response mapping is the simplest way to produce customized responses. It transforms the value of a response, while preserving eventual errors and meta-data. For example, you can turn a json response `DataResponse<Any>` into a response that holds an application model, such as `DataResponse<User>`. You perform response mapping with the `DataResponse.map` method:
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseJSON { (response: DataResponse<Any>) in
-    let userResponse = response.map { json in
-        // We assume an existing User(json: Any) initializer
-        return User(json: json)
-    }
-
-    // Process userResponse, of type DataResponse<User>:
-    if let user = userResponse.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-When the transformation may throw an error, use `flatMap` instead:
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseJSON { response in
-    let userResponse = response.flatMap { json in
-        try User(json: json)
-    }
-}
-```
-
-Response mapping is a good fit for your custom completion handlers:
-
-```swift
-@discardableResult
-func loadUser(completionHandler: @escaping (DataResponse<User>) -> Void) -> Alamofire.DataRequest {
-    return Alamofire.request("https://example.com/users/mattt").responseJSON { response in
-        let userResponse = response.flatMap { json in
-            try User(json: json)
-        }
-
-        completionHandler(userResponse)
-    }
-}
-
-loadUser { response in
-    if let user = response.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-When the map/flatMap closure may process a big amount of data, make sure you execute it outside of the main thread:
-
-```swift
-@discardableResult
-func loadUser(completionHandler: @escaping (DataResponse<User>) -> Void) -> Alamofire.DataRequest {
-    let utilityQueue = DispatchQueue.global(qos: .utility)
-
-    return Alamofire.request("https://example.com/users/mattt").responseJSON(queue: utilityQueue) { response in
-        let userResponse = response.flatMap { json in
-            try User(json: json)
-        }
-
-        DispatchQueue.main.async {
-            completionHandler(userResponse)
-        }
-    }
-}
-```
-
-`map` and `flatMap` are also available for [download responses](#downloading-data-to-a-file).
-
-#### Handling Errors
-
-Before implementing custom response serializers or object serialization methods, it's important to consider how to handle any errors that may occur. There are two basic options: passing existing errors along unmodified, to be dealt with at response time; or, wrapping all errors in an `Error` type specific to your app.
-
-For example, here's a simple `BackendError` enum which will be used in later examples:
-
-```swift
-enum BackendError: Error {
-    case network(error: Error) // Capture any underlying Error from the URLSession API
-    case dataSerialization(error: Error)
-    case jsonSerialization(error: Error)
-    case xmlSerialization(error: Error)
-    case objectSerialization(reason: String)
-}
-```
-
-#### Creating a Custom Response Serializer
-
-Alamofire provides built-in response serialization for strings, JSON, and property lists, but others can be added in extensions on `Alamofire.DataRequest` and / or `Alamofire.DownloadRequest`.
-
-For example, here's how a response handler using [Ono](https://github.com/mattt/Ono) might be implemented:
-
-```swift
-extension DataRequest {
-    static func xmlResponseSerializer() -> DataResponseSerializer<ONOXMLDocument> {
-        return DataResponseSerializer { request, response, data, error in
-            // Pass through any underlying URLSession error to the .network case.
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            // Use Alamofire's existing data serializer to extract the data, passing the error as nil, as it has
-            // already been handled.
-            let result = Request.serializeResponseData(response: response, data: data, error: nil)
-
-            guard case let .success(validData) = result else {
-                return .failure(BackendError.dataSerialization(error: result.error! as! AFError))
-            }
-
-            do {
-                let xml = try ONOXMLDocument(data: validData)
-                return .success(xml)
-            } catch {
-                return .failure(BackendError.xmlSerialization(error: error))
-            }
-        }
-    }
-
-    @discardableResult
-    func responseXMLDocument(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<ONOXMLDocument>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.xmlResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-```
-
-#### Generic Response Object Serialization
-
-Generics can be used to provide automatic, type-safe response object serialization.
-
-```swift
-protocol ResponseObjectSerializable {
-    init?(response: HTTPURLResponse, representation: Any)
-}
-
-extension DataRequest {
-    func responseObject<T: ResponseObjectSerializable>(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<T>) -> Void)
-        -> Self
-    {
-        let responseSerializer = DataResponseSerializer<T> { request, response, data, error in
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            let jsonResponseSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments)
-            let result = jsonResponseSerializer.serializeResponse(request, response, data, nil)
-
-            guard case let .success(jsonObject) = result else {
-                return .failure(BackendError.jsonSerialization(error: result.error!))
-            }
-
-            guard let response = response, let responseObject = T(response: response, representation: jsonObject) else {
-                return .failure(BackendError.objectSerialization(reason: "JSON could not be serialized: \(jsonObject)"))
-            }
-
-            return .success(responseObject)
-        }
-
-        return response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler)
-    }
-}
-```
-
-```swift
-struct User: ResponseObjectSerializable, CustomStringConvertible {
-    let username: String
-    let name: String
-
-    var description: String {
-        return "User: { username: \(username), name: \(name) }"
-    }
-
-    init?(response: HTTPURLResponse, representation: Any) {
-        guard
-            let username = response.url?.lastPathComponent,
-            let representation = representation as? [String: Any],
-            let name = representation["name"] as? String
-        else { return nil }
-
-        self.username = username
-        self.name = name
-    }
-}
-```
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseObject { (response: DataResponse<User>) in
-    debugPrint(response)
-
-    if let user = response.result.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-The same approach can also be used to handle endpoints that return a representation of a collection of objects:
-
-```swift
-protocol ResponseCollectionSerializable {
-    static func collection(from response: HTTPURLResponse, withRepresentation representation: Any) -> [Self]
-}
-
-extension ResponseCollectionSerializable where Self: ResponseObjectSerializable {
-    static func collection(from response: HTTPURLResponse, withRepresentation representation: Any) -> [Self] {
-        var collection: [Self] = []
-
-        if let representation = representation as? [[String: Any]] {
-            for itemRepresentation in representation {
-                if let item = Self(response: response, representation: itemRepresentation) {
-                    collection.append(item)
-                }
-            }
-        }
-
-        return collection
-    }
-}
-```
-
-```swift
-extension DataRequest {
-    @discardableResult
-    func responseCollection<T: ResponseCollectionSerializable>(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<[T]>) -> Void) -> Self
-    {
-        let responseSerializer = DataResponseSerializer<[T]> { request, response, data, error in
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            let jsonSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments)
-            let result = jsonSerializer.serializeResponse(request, response, data, nil)
-
-            guard case let .success(jsonObject) = result else {
-                return .failure(BackendError.jsonSerialization(error: result.error!))
-            }
-
-            guard let response = response else {
-                let reason = "Response collection could not be serialized due to nil response."
-                return .failure(BackendError.objectSerialization(reason: reason))
-            }
-
-            return .success(T.collection(from: response, withRepresentation: jsonObject))
-        }
-
-        return response(responseSerializer: responseSerializer, completionHandler: completionHandler)
-    }
-}
-```
-
-```swift
-struct User: ResponseObjectSerializable, ResponseCollectionSerializable, CustomStringConvertible {
-    let username: String
-    let name: String
-
-    var description: String {
-        return "User: { username: \(username), name: \(name) }"
-    }
-
-    init?(response: HTTPURLResponse, representation: Any) {
-        guard
-            let username = response.url?.lastPathComponent,
-            let representation = representation as? [String: Any],
-            let name = representation["name"] as? String
-        else { return nil }
-
-        self.username = username
-        self.name = name
-    }
-}
-```
-
-```swift
-Alamofire.request("https://example.com/users").responseCollection { (response: DataResponse<[User]>) in
-    debugPrint(response)
-
-    if let users = response.result.value {
-        users.forEach { print("- \($0)") }
-    }
-}
-```
-
-### Security
-
-Using a secure HTTPS connection when communicating with servers and web services is an important step in securing sensitive data. By default, Alamofire will evaluate the certificate chain provided by the server using Apple's built in validation provided by the Security framework. While this guarantees the certificate chain is valid, it does not prevent man-in-the-middle (MITM) attacks or other potential vulnerabilities. In order to mitigate MITM attacks, applications dealing with sensitive customer data or financial information should use certificate or public key pinning provided by the `ServerTrustPolicy`.
-
-#### ServerTrustPolicy
-
-The `ServerTrustPolicy` enumeration evaluates the server trust generally provided by an `URLAuthenticationChallenge` when connecting to a server over a secure HTTPS connection.
-
-```swift
-let serverTrustPolicy = ServerTrustPolicy.pinCertificates(
-    certificates: ServerTrustPolicy.certificates(),
-    validateCertificateChain: true,
-    validateHost: true
-)
-```
-
-There are many different cases of server trust evaluation giving you complete control over the validation process:
-
-* `performDefaultEvaluation`: Uses the default server trust evaluation while allowing you to control whether to validate the host provided by the challenge.
-* `pinCertificates`: Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates.
-* `pinPublicKeys`: Uses the pinned public keys to validate the server trust. The server trust is considered valid if one of the pinned public keys match one of the server certificate public keys.
-* `disableEvaluation`: Disables all evaluation which in turn will always consider any server trust as valid.
-* `customEvaluation`: Uses the associated closure to evaluate the validity of the server trust thus giving you complete control over the validation process. Use with caution.
-
-#### Server Trust Policy Manager
-
-The `ServerTrustPolicyManager` is responsible for storing an internal mapping of server trust policies to a particular host. This allows Alamofire to evaluate each host against a different server trust policy.
-
-```swift
-let serverTrustPolicies: [String: ServerTrustPolicy] = [
-    "test.example.com": .pinCertificates(
-        certificates: ServerTrustPolicy.certificates(),
-        validateCertificateChain: true,
-        validateHost: true
-    ),
-    "insecure.expired-apis.com": .disableEvaluation
-]
-
-let sessionManager = SessionManager(
-    serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverTrustPolicies)
-)
-```
-
-> Make sure to keep a reference to the new `SessionManager` instance, otherwise your requests will all get cancelled when your `sessionManager` is deallocated.
-
-These server trust policies will result in the following behavior:
-
-- `test.example.com` will always use certificate pinning with certificate chain and host validation enabled thus requiring the following criteria to be met to allow the TLS handshake to succeed:
-	- Certificate chain MUST be valid.
-	- Certificate chain MUST include one of the pinned certificates.
-	- Challenge host MUST match the host in the certificate chain's leaf certificate.
-- `insecure.expired-apis.com` will never evaluate the certificate chain and will always allow the TLS handshake to succeed.
-- All other hosts will use the default evaluation provided by Apple.
-
-##### Subclassing Server Trust Policy Manager
-
-If you find yourself needing more flexible server trust policy matching behavior (i.e. wildcarded domains), then subclass the `ServerTrustPolicyManager` and override the `serverTrustPolicyForHost` method with your own custom implementation.
-
-```swift
-class CustomServerTrustPolicyManager: ServerTrustPolicyManager {
-    override func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? {
-        var policy: ServerTrustPolicy?
-
-        // Implement your custom domain matching behavior...
-
-        return policy
-    }
-}
-```
-
-#### Validating the Host
-
-The `.performDefaultEvaluation`, `.pinCertificates` and `.pinPublicKeys` server trust policies all take a `validateHost` parameter. Setting the value to `true` will cause the server trust evaluation to verify that hostname in the certificate matches the hostname of the challenge. If they do not match, evaluation will fail. A `validateHost` value of `false` will still evaluate the full certificate chain, but will not validate the hostname of the leaf certificate.
-
-> It is recommended that `validateHost` always be set to `true` in production environments.
-
-#### Validating the Certificate Chain
-
-Pinning certificates and public keys both have the option of validating the certificate chain using the `validateCertificateChain` parameter. By setting this value to `true`, the full certificate chain will be evaluated in addition to performing a byte equality check against the pinned certificates or public keys. A value of `false` will skip the certificate chain validation, but will still perform the byte equality check.
-
-There are several cases where it may make sense to disable certificate chain validation. The most common use cases for disabling validation are self-signed and expired certificates. The evaluation would always fail in both of these cases, but the byte equality check will still ensure you are receiving the certificate you expect from the server.
-
-> It is recommended that `validateCertificateChain` always be set to `true` in production environments.
-
-#### App Transport Security
-
-With the addition of App Transport Security (ATS) in iOS 9, it is possible that using a custom `ServerTrustPolicyManager` with several `ServerTrustPolicy` objects will have no effect. If you continuously see `CFNetwork SSLHandshake failed (-9806)` errors, you have probably run into this problem. Apple's ATS system overrides the entire challenge system unless you configure the ATS settings in your app's plist to disable enough of it to allow your app to evaluate the server trust.
-
-If you run into this problem (high probability with self-signed certificates), you can work around this issue by adding the following to your `Info.plist`.
-
-```xml
-<dict>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>example.com</key>
-            <dict>
-                <key>NSExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-                <key>NSExceptionRequiresForwardSecrecy</key>
-                <false/>
-                <key>NSIncludesSubdomains</key>
-                <true/>
-                <!-- Optional: Specify minimum TLS version -->
-                <key>NSTemporaryExceptionMinimumTLSVersion</key>
-                <string>TLSv1.2</string>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-```
-
-Whether you need to set the `NSExceptionRequiresForwardSecrecy` to `NO` depends on whether your TLS connection is using an allowed cipher suite. In certain cases, it will need to be set to `NO`. The `NSExceptionAllowsInsecureHTTPLoads` MUST be set to `YES` in order to allow the `SessionDelegate` to receive challenge callbacks. Once the challenge callbacks are being called, the `ServerTrustPolicyManager` will take over the server trust evaluation. You may also need to specify the `NSTemporaryExceptionMinimumTLSVersion` if you're trying to connect to a host that only supports TLS versions less than `1.2`.
-
-> It is recommended to always use valid certificates in production environments.
-
-### Network Reachability
-
-The `NetworkReachabilityManager` listens for reachability changes of hosts and addresses for both WWAN and WiFi network interfaces.
-
-```swift
-let manager = NetworkReachabilityManager(host: "www.apple.com")
-
-manager?.listener = { status in
-    print("Network Status Changed: \(status)")
-}
-
-manager?.startListening()
-```
-
-> Make sure to remember to retain the `manager` in the above example, or no status changes will be reported.
-> Also, do not include the scheme in the `host` string or reachability won't function correctly.
-
-There are some important things to remember when using network reachability to determine what to do next.
-
-- **Do NOT** use Reachability to determine if a network request should be sent.
-    - You should **ALWAYS** send it.
-- When Reachability is restored, use the event to retry failed network requests.
-    - Even though the network requests may still fail, this is a good moment to retry them.
-- The network reachability status can be useful for determining why a network request may have failed.
-    - If a network request fails, it is more useful to tell the user that the network request failed due to being offline rather than a more technical error, such as "request timed out."
-
-> It is recommended to check out [WWDC 2012 Session 706, "Networking Best Practices"](https://developer.apple.com/videos/play/wwdc2012-706/) for more info.
-
----
-
-## Open Radars
-
-The following radars have some effect on the current implementation of Alamofire.
-
-- [`rdar://21349340`](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case
-- [`rdar://26761490`](http://www.openradar.me/radar?id=5010235949318144) - Swift string interpolation causing memory leak with common usage
-- `rdar://26870455` - Background URL Session Configurations do not work in the simulator
-- `rdar://26849668` - Some URLProtocol APIs do not properly handle `URLRequest`
-
-## FAQ
-
-### What's the origin of the name Alamofire?
-
-Alamofire is named after the [Alamo Fire flower](https://aggie-horticulture.tamu.edu/wildseed/alamofire.html), a hybrid variant of the Bluebonnet, the official state flower of Texas.
-
-### What logic belongs in a Router vs. a Request Adapter?
-
-Simple, static data such as paths, parameters and common headers belong in the `Router`. Dynamic data such as an `Authorization` header whose value can changed based on an authentication system belongs in a `RequestAdapter`.
-
-The reason the dynamic data MUST be placed into the `RequestAdapter` is to support retry operations. When a `Request` is retried, the original request is not rebuilt meaning the `Router` will not be called again. The `RequestAdapter` is called again allowing the dynamic data to be updated on the original request before retrying the `Request`.
-
----
-
-## Credits
-
-Alamofire is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org). You can follow them on Twitter at [@AlamofireSF](https://twitter.com/AlamofireSF) for project updates and releases.
-
-### Security Disclosure
-
-If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker.
-
-## Donations
-
-The [ASF](https://github.com/Alamofire/Foundation#members) is looking to raise money to officially register as a federal non-profit organization. Registering will allow us members to gain some legal protections and also allow us to put donations to use, tax free. Donating to the ASF will enable us to:
-
-- Pay our legal fees to register as a federal non-profit organization
-- Pay our yearly legal fees to keep the non-profit in good status
-- Pay for our mail servers to help us stay on top of all questions and security issues
-- Potentially fund test servers to make it easier for us to test the edge cases
-- Potentially fund developers to work on one of our projects full-time
-
-The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiasm around the projects, and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. Our initial goal is to raise $1000 to get all our legal ducks in a row and kickstart this campaign. Any amount you can donate today to help us reach our goal would be greatly appreciated.
-
-<a href='https://pledgie.com/campaigns/31474'><img alt='Click here to lend your support to: Alamofire Software Foundation and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/31474.png?skin_name=chrome' border='0' ></a>
-
-## License
-
-Alamofire is released under the MIT license. [See LICENSE](https://github.com/Alamofire/Alamofire/blob/master/LICENSE) for details.
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
deleted file mode 100644
index f047695b6d6..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
+++ /dev/null
@@ -1,460 +0,0 @@
-//
-//  AFError.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// `AFError` is the error type returned by Alamofire. It encompasses a few different types of errors, each with
-/// their own associated reasons.
-///
-/// - invalidURL:                  Returned when a `URLConvertible` type fails to create a valid `URL`.
-/// - parameterEncodingFailed:     Returned when a parameter encoding object throws an error during the encoding process.
-/// - multipartEncodingFailed:     Returned when some step in the multipart encoding process fails.
-/// - responseValidationFailed:    Returned when a `validate()` call fails.
-/// - responseSerializationFailed: Returned when a response serializer encounters an error in the serialization process.
-public enum AFError: Error {
-    /// The underlying reason the parameter encoding error occurred.
-    ///
-    /// - missingURL:                 The URL request did not have a URL to encode.
-    /// - jsonEncodingFailed:         JSON serialization failed with an underlying system error during the
-    ///                               encoding process.
-    /// - propertyListEncodingFailed: Property list serialization failed with an underlying system error during
-    ///                               encoding process.
-    public enum ParameterEncodingFailureReason {
-        case missingURL
-        case jsonEncodingFailed(error: Error)
-        case propertyListEncodingFailed(error: Error)
-    }
-
-    /// The underlying reason the multipart encoding error occurred.
-    ///
-    /// - bodyPartURLInvalid:                   The `fileURL` provided for reading an encodable body part isn't a
-    ///                                         file URL.
-    /// - bodyPartFilenameInvalid:              The filename of the `fileURL` provided has either an empty
-    ///                                         `lastPathComponent` or `pathExtension.
-    /// - bodyPartFileNotReachable:             The file at the `fileURL` provided was not reachable.
-    /// - bodyPartFileNotReachableWithError:    Attempting to check the reachability of the `fileURL` provided threw
-    ///                                         an error.
-    /// - bodyPartFileIsDirectory:              The file at the `fileURL` provided is actually a directory.
-    /// - bodyPartFileSizeNotAvailable:         The size of the file at the `fileURL` provided was not returned by
-    ///                                         the system.
-    /// - bodyPartFileSizeQueryFailedWithError: The attempt to find the size of the file at the `fileURL` provided
-    ///                                         threw an error.
-    /// - bodyPartInputStreamCreationFailed:    An `InputStream` could not be created for the provided `fileURL`.
-    /// - outputStreamCreationFailed:           An `OutputStream` could not be created when attempting to write the
-    ///                                         encoded data to disk.
-    /// - outputStreamFileAlreadyExists:        The encoded body data could not be writtent disk because a file
-    ///                                         already exists at the provided `fileURL`.
-    /// - outputStreamURLInvalid:               The `fileURL` provided for writing the encoded body data to disk is
-    ///                                         not a file URL.
-    /// - outputStreamWriteFailed:              The attempt to write the encoded body data to disk failed with an
-    ///                                         underlying error.
-    /// - inputStreamReadFailed:                The attempt to read an encoded body part `InputStream` failed with
-    ///                                         underlying system error.
-    public enum MultipartEncodingFailureReason {
-        case bodyPartURLInvalid(url: URL)
-        case bodyPartFilenameInvalid(in: URL)
-        case bodyPartFileNotReachable(at: URL)
-        case bodyPartFileNotReachableWithError(atURL: URL, error: Error)
-        case bodyPartFileIsDirectory(at: URL)
-        case bodyPartFileSizeNotAvailable(at: URL)
-        case bodyPartFileSizeQueryFailedWithError(forURL: URL, error: Error)
-        case bodyPartInputStreamCreationFailed(for: URL)
-
-        case outputStreamCreationFailed(for: URL)
-        case outputStreamFileAlreadyExists(at: URL)
-        case outputStreamURLInvalid(url: URL)
-        case outputStreamWriteFailed(error: Error)
-
-        case inputStreamReadFailed(error: Error)
-    }
-
-    /// The underlying reason the response validation error occurred.
-    ///
-    /// - dataFileNil:             The data file containing the server response did not exist.
-    /// - dataFileReadFailed:      The data file containing the server response could not be read.
-    /// - missingContentType:      The response did not contain a `Content-Type` and the `acceptableContentTypes`
-    ///                            provided did not contain wildcard type.
-    /// - unacceptableContentType: The response `Content-Type` did not match any type in the provided
-    ///                            `acceptableContentTypes`.
-    /// - unacceptableStatusCode:  The response status code was not acceptable.
-    public enum ResponseValidationFailureReason {
-        case dataFileNil
-        case dataFileReadFailed(at: URL)
-        case missingContentType(acceptableContentTypes: [String])
-        case unacceptableContentType(acceptableContentTypes: [String], responseContentType: String)
-        case unacceptableStatusCode(code: Int)
-    }
-
-    /// The underlying reason the response serialization error occurred.
-    ///
-    /// - inputDataNil:                    The server response contained no data.
-    /// - inputDataNilOrZeroLength:        The server response contained no data or the data was zero length.
-    /// - inputFileNil:                    The file containing the server response did not exist.
-    /// - inputFileReadFailed:             The file containing the server response could not be read.
-    /// - stringSerializationFailed:       String serialization failed using the provided `String.Encoding`.
-    /// - jsonSerializationFailed:         JSON serialization failed with an underlying system error.
-    /// - propertyListSerializationFailed: Property list serialization failed with an underlying system error.
-    public enum ResponseSerializationFailureReason {
-        case inputDataNil
-        case inputDataNilOrZeroLength
-        case inputFileNil
-        case inputFileReadFailed(at: URL)
-        case stringSerializationFailed(encoding: String.Encoding)
-        case jsonSerializationFailed(error: Error)
-        case propertyListSerializationFailed(error: Error)
-    }
-
-    case invalidURL(url: URLConvertible)
-    case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
-    case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
-    case responseValidationFailed(reason: ResponseValidationFailureReason)
-    case responseSerializationFailed(reason: ResponseSerializationFailureReason)
-}
-
-// MARK: - Adapt Error
-
-struct AdaptError: Error {
-    let error: Error
-}
-
-extension Error {
-    var underlyingAdaptError: Error? { return (self as? AdaptError)?.error }
-}
-
-// MARK: - Error Booleans
-
-extension AFError {
-    /// Returns whether the AFError is an invalid URL error.
-    public var isInvalidURLError: Bool {
-        if case .invalidURL = self { return true }
-        return false
-    }
-
-    /// Returns whether the AFError is a parameter encoding error. When `true`, the `underlyingError` property will
-    /// contain the associated value.
-    public var isParameterEncodingError: Bool {
-        if case .parameterEncodingFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the AFError is a multipart encoding error. When `true`, the `url` and `underlyingError` properties
-    /// will contain the associated values.
-    public var isMultipartEncodingError: Bool {
-        if case .multipartEncodingFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the `AFError` is a response validation error. When `true`, the `acceptableContentTypes`,
-    /// `responseContentType`, and `responseCode` properties will contain the associated values.
-    public var isResponseValidationError: Bool {
-        if case .responseValidationFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the `AFError` is a response serialization error. When `true`, the `failedStringEncoding` and
-    /// `underlyingError` properties will contain the associated values.
-    public var isResponseSerializationError: Bool {
-        if case .responseSerializationFailed = self { return true }
-        return false
-    }
-}
-
-// MARK: - Convenience Properties
-
-extension AFError {
-    /// The `URLConvertible` associated with the error.
-    public var urlConvertible: URLConvertible? {
-        switch self {
-        case .invalidURL(let url):
-            return url
-        default:
-            return nil
-        }
-    }
-
-    /// The `URL` associated with the error.
-    public var url: URL? {
-        switch self {
-        case .multipartEncodingFailed(let reason):
-            return reason.url
-        default:
-            return nil
-        }
-    }
-
-    /// The `Error` returned by a system framework associated with a `.parameterEncodingFailed`,
-    /// `.multipartEncodingFailed` or `.responseSerializationFailed` error.
-    public var underlyingError: Error? {
-        switch self {
-        case .parameterEncodingFailed(let reason):
-            return reason.underlyingError
-        case .multipartEncodingFailed(let reason):
-            return reason.underlyingError
-        case .responseSerializationFailed(let reason):
-            return reason.underlyingError
-        default:
-            return nil
-        }
-    }
-
-    /// The acceptable `Content-Type`s of a `.responseValidationFailed` error.
-    public var acceptableContentTypes: [String]? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.acceptableContentTypes
-        default:
-            return nil
-        }
-    }
-
-    /// The response `Content-Type` of a `.responseValidationFailed` error.
-    public var responseContentType: String? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.responseContentType
-        default:
-            return nil
-        }
-    }
-
-    /// The response code of a `.responseValidationFailed` error.
-    public var responseCode: Int? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.responseCode
-        default:
-            return nil
-        }
-    }
-
-    /// The `String.Encoding` associated with a failed `.stringResponse()` call.
-    public var failedStringEncoding: String.Encoding? {
-        switch self {
-        case .responseSerializationFailed(let reason):
-            return reason.failedStringEncoding
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ParameterEncodingFailureReason {
-    var underlyingError: Error? {
-        switch self {
-        case .jsonEncodingFailed(let error), .propertyListEncodingFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.MultipartEncodingFailureReason {
-    var url: URL? {
-        switch self {
-        case .bodyPartURLInvalid(let url), .bodyPartFilenameInvalid(let url), .bodyPartFileNotReachable(let url),
-             .bodyPartFileIsDirectory(let url), .bodyPartFileSizeNotAvailable(let url),
-             .bodyPartInputStreamCreationFailed(let url), .outputStreamCreationFailed(let url),
-             .outputStreamFileAlreadyExists(let url), .outputStreamURLInvalid(let url),
-             .bodyPartFileNotReachableWithError(let url, _), .bodyPartFileSizeQueryFailedWithError(let url, _):
-            return url
-        default:
-            return nil
-        }
-    }
-
-    var underlyingError: Error? {
-        switch self {
-        case .bodyPartFileNotReachableWithError(_, let error), .bodyPartFileSizeQueryFailedWithError(_, let error),
-             .outputStreamWriteFailed(let error), .inputStreamReadFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ResponseValidationFailureReason {
-    var acceptableContentTypes: [String]? {
-        switch self {
-        case .missingContentType(let types), .unacceptableContentType(let types, _):
-            return types
-        default:
-            return nil
-        }
-    }
-
-    var responseContentType: String? {
-        switch self {
-        case .unacceptableContentType(_, let responseType):
-            return responseType
-        default:
-            return nil
-        }
-    }
-
-    var responseCode: Int? {
-        switch self {
-        case .unacceptableStatusCode(let code):
-            return code
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ResponseSerializationFailureReason {
-    var failedStringEncoding: String.Encoding? {
-        switch self {
-        case .stringSerializationFailed(let encoding):
-            return encoding
-        default:
-            return nil
-        }
-    }
-
-    var underlyingError: Error? {
-        switch self {
-        case .jsonSerializationFailed(let error), .propertyListSerializationFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-// MARK: - Error Descriptions
-
-extension AFError: LocalizedError {
-    public var errorDescription: String? {
-        switch self {
-        case .invalidURL(let url):
-            return "URL is not valid: \(url)"
-        case .parameterEncodingFailed(let reason):
-            return reason.localizedDescription
-        case .multipartEncodingFailed(let reason):
-            return reason.localizedDescription
-        case .responseValidationFailed(let reason):
-            return reason.localizedDescription
-        case .responseSerializationFailed(let reason):
-            return reason.localizedDescription
-        }
-    }
-}
-
-extension AFError.ParameterEncodingFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .missingURL:
-            return "URL request to encode was missing a URL"
-        case .jsonEncodingFailed(let error):
-            return "JSON could not be encoded because of error:\n\(error.localizedDescription)"
-        case .propertyListEncodingFailed(let error):
-            return "PropertyList could not be encoded because of error:\n\(error.localizedDescription)"
-        }
-    }
-}
-
-extension AFError.MultipartEncodingFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .bodyPartURLInvalid(let url):
-            return "The URL provided is not a file URL: \(url)"
-        case .bodyPartFilenameInvalid(let url):
-            return "The URL provided does not have a valid filename: \(url)"
-        case .bodyPartFileNotReachable(let url):
-            return "The URL provided is not reachable: \(url)"
-        case .bodyPartFileNotReachableWithError(let url, let error):
-            return (
-                "The system returned an error while checking the provided URL for " +
-                "reachability.\nURL: \(url)\nError: \(error)"
-            )
-        case .bodyPartFileIsDirectory(let url):
-            return "The URL provided is a directory: \(url)"
-        case .bodyPartFileSizeNotAvailable(let url):
-            return "Could not fetch the file size from the provided URL: \(url)"
-        case .bodyPartFileSizeQueryFailedWithError(let url, let error):
-            return (
-                "The system returned an error while attempting to fetch the file size from the " +
-                "provided URL.\nURL: \(url)\nError: \(error)"
-            )
-        case .bodyPartInputStreamCreationFailed(let url):
-            return "Failed to create an InputStream for the provided URL: \(url)"
-        case .outputStreamCreationFailed(let url):
-            return "Failed to create an OutputStream for URL: \(url)"
-        case .outputStreamFileAlreadyExists(let url):
-            return "A file already exists at the provided URL: \(url)"
-        case .outputStreamURLInvalid(let url):
-            return "The provided OutputStream URL is invalid: \(url)"
-        case .outputStreamWriteFailed(let error):
-            return "OutputStream write failed with error: \(error)"
-        case .inputStreamReadFailed(let error):
-            return "InputStream read failed with error: \(error)"
-        }
-    }
-}
-
-extension AFError.ResponseSerializationFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .inputDataNil:
-            return "Response could not be serialized, input data was nil."
-        case .inputDataNilOrZeroLength:
-            return "Response could not be serialized, input data was nil or zero length."
-        case .inputFileNil:
-            return "Response could not be serialized, input file was nil."
-        case .inputFileReadFailed(let url):
-            return "Response could not be serialized, input file could not be read: \(url)."
-        case .stringSerializationFailed(let encoding):
-            return "String could not be serialized with encoding: \(encoding)."
-        case .jsonSerializationFailed(let error):
-            return "JSON could not be serialized because of error:\n\(error.localizedDescription)"
-        case .propertyListSerializationFailed(let error):
-            return "PropertyList could not be serialized because of error:\n\(error.localizedDescription)"
-        }
-    }
-}
-
-extension AFError.ResponseValidationFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .dataFileNil:
-            return "Response could not be validated, data file was nil."
-        case .dataFileReadFailed(let url):
-            return "Response could not be validated, data file could not be read: \(url)."
-        case .missingContentType(let types):
-            return (
-                "Response Content-Type was missing and acceptable content types " +
-                "(\(types.joined(separator: ","))) do not match \"*/*\"."
-            )
-        case .unacceptableContentType(let acceptableTypes, let responseType):
-            return (
-                "Response Content-Type \"\(responseType)\" does not match any acceptable types: " +
-                "\(acceptableTypes.joined(separator: ","))."
-            )
-        case .unacceptableStatusCode(let code):
-            return "Response status code was unacceptable: \(code)."
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
deleted file mode 100644
index edcf717ca9e..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
+++ /dev/null
@@ -1,465 +0,0 @@
-//
-//  Alamofire.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Types adopting the `URLConvertible` protocol can be used to construct URLs, which are then used to construct
-/// URL requests.
-public protocol URLConvertible {
-    /// Returns a URL that conforms to RFC 2396 or throws an `Error`.
-    ///
-    /// - throws: An `Error` if the type cannot be converted to a `URL`.
-    ///
-    /// - returns: A URL or throws an `Error`.
-    func asURL() throws -> URL
-}
-
-extension String: URLConvertible {
-    /// Returns a URL if `self` represents a valid URL string that conforms to RFC 2396 or throws an `AFError`.
-    ///
-    /// - throws: An `AFError.invalidURL` if `self` is not a valid URL string.
-    ///
-    /// - returns: A URL or throws an `AFError`.
-    public func asURL() throws -> URL {
-        guard let url = URL(string: self) else { throw AFError.invalidURL(url: self) }
-        return url
-    }
-}
-
-extension URL: URLConvertible {
-    /// Returns self.
-    public func asURL() throws -> URL { return self }
-}
-
-extension URLComponents: URLConvertible {
-    /// Returns a URL if `url` is not nil, otherwise throws an `Error`.
-    ///
-    /// - throws: An `AFError.invalidURL` if `url` is `nil`.
-    ///
-    /// - returns: A URL or throws an `AFError`.
-    public func asURL() throws -> URL {
-        guard let url = url else { throw AFError.invalidURL(url: self) }
-        return url
-    }
-}
-
-// MARK: -
-
-/// Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests.
-public protocol URLRequestConvertible {
-    /// Returns a URL request or throws if an `Error` was encountered.
-    ///
-    /// - throws: An `Error` if the underlying `URLRequest` is `nil`.
-    ///
-    /// - returns: A URL request.
-    func asURLRequest() throws -> URLRequest
-}
-
-extension URLRequestConvertible {
-    /// The URL request.
-    public var urlRequest: URLRequest? { return try? asURLRequest() }
-}
-
-extension URLRequest: URLRequestConvertible {
-    /// Returns a URL request or throws if an `Error` was encountered.
-    public func asURLRequest() throws -> URLRequest { return self }
-}
-
-// MARK: -
-
-extension URLRequest {
-    /// Creates an instance with the specified `method`, `urlString` and `headers`.
-    ///
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The new `URLRequest` instance.
-    public init(url: URLConvertible, method: HTTPMethod, headers: HTTPHeaders? = nil) throws {
-        let url = try url.asURL()
-
-        self.init(url: url)
-
-        httpMethod = method.rawValue
-
-        if let headers = headers {
-            for (headerField, headerValue) in headers {
-                setValue(headerValue, forHTTPHeaderField: headerField)
-            }
-        }
-    }
-
-    func adapt(using adapter: RequestAdapter?) throws -> URLRequest {
-        guard let adapter = adapter else { return self }
-        return try adapter.adapt(self)
-    }
-}
-
-// MARK: - Data Request
-
-/// Creates a `DataRequest` using the default `SessionManager` to retrieve the contents of the specified `url`,
-/// `method`, `parameters`, `encoding` and `headers`.
-///
-/// - parameter url:        The URL.
-/// - parameter method:     The HTTP method. `.get` by default.
-/// - parameter parameters: The parameters. `nil` by default.
-/// - parameter encoding:   The parameter encoding. `URLEncoding.default` by default.
-/// - parameter headers:    The HTTP headers. `nil` by default.
-///
-/// - returns: The created `DataRequest`.
-@discardableResult
-public func request(
-    _ url: URLConvertible,
-    method: HTTPMethod = .get,
-    parameters: Parameters? = nil,
-    encoding: ParameterEncoding = URLEncoding.default,
-    headers: HTTPHeaders? = nil)
-    -> DataRequest
-{
-    return SessionManager.default.request(
-        url,
-        method: method,
-        parameters: parameters,
-        encoding: encoding,
-        headers: headers
-    )
-}
-
-/// Creates a `DataRequest` using the default `SessionManager` to retrieve the contents of a URL based on the
-/// specified `urlRequest`.
-///
-/// - parameter urlRequest: The URL request
-///
-/// - returns: The created `DataRequest`.
-@discardableResult
-public func request(_ urlRequest: URLRequestConvertible) -> DataRequest {
-    return SessionManager.default.request(urlRequest)
-}
-
-// MARK: - Download Request
-
-// MARK: URL Request
-
-/// Creates a `DownloadRequest` using the default `SessionManager` to retrieve the contents of the specified `url`,
-/// `method`, `parameters`, `encoding`, `headers` and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// - parameter url:         The URL.
-/// - parameter method:      The HTTP method. `.get` by default.
-/// - parameter parameters:  The parameters. `nil` by default.
-/// - parameter encoding:    The parameter encoding. `URLEncoding.default` by default.
-/// - parameter headers:     The HTTP headers. `nil` by default.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    _ url: URLConvertible,
-    method: HTTPMethod = .get,
-    parameters: Parameters? = nil,
-    encoding: ParameterEncoding = URLEncoding.default,
-    headers: HTTPHeaders? = nil,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(
-        url,
-        method: method,
-        parameters: parameters,
-        encoding: encoding,
-        headers: headers,
-        to: destination
-    )
-}
-
-/// Creates a `DownloadRequest` using the default `SessionManager` to retrieve the contents of a URL based on the
-/// specified `urlRequest` and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// - parameter urlRequest:  The URL request.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    _ urlRequest: URLRequestConvertible,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(urlRequest, to: destination)
-}
-
-// MARK: Resume Data
-
-/// Creates a `DownloadRequest` using the default `SessionManager` from the `resumeData` produced from a
-/// previous request cancellation to retrieve the contents of the original request and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken
-/// on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the
-/// data is written incorrectly and will always fail to resume the download. For more information about the bug and
-/// possible workarounds, please refer to the following Stack Overflow post:
-///
-///    - http://stackoverflow.com/a/39347461/1342462
-///
-/// - parameter resumeData:  The resume data. This is an opaque data blob produced by `URLSessionDownloadTask`
-///                          when a task is cancelled. See `URLSession -downloadTask(withResumeData:)` for additional
-///                          information.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    resumingWith resumeData: Data,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(resumingWith: resumeData, to: destination)
-}
-
-// MARK: - Upload Request
-
-// MARK: File
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `file`.
-///
-/// - parameter file:    The file to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ fileURL: URL,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(fileURL, to: url, method: method, headers: headers)
-}
-
-/// Creates a `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `file`.
-///
-/// - parameter file:       The file to upload.
-/// - parameter urlRequest: The URL request.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ fileURL: URL, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(fileURL, with: urlRequest)
-}
-
-// MARK: Data
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `data`.
-///
-/// - parameter data:    The data to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ data: Data,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(data, to: url, method: method, headers: headers)
-}
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `data`.
-///
-/// - parameter data:       The data to upload.
-/// - parameter urlRequest: The URL request.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ data: Data, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(data, with: urlRequest)
-}
-
-// MARK: InputStream
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `stream`.
-///
-/// - parameter stream:  The stream to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ stream: InputStream,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(stream, to: url, method: method, headers: headers)
-}
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `stream`.
-///
-/// - parameter urlRequest: The URL request.
-/// - parameter stream:     The stream to upload.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ stream: InputStream, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(stream, with: urlRequest)
-}
-
-// MARK: MultipartFormData
-
-/// Encodes `multipartFormData` using `encodingMemoryThreshold` with the default `SessionManager` and calls
-/// `encodingCompletion` with new `UploadRequest` using the `url`, `method` and `headers`.
-///
-/// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-/// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-/// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-/// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-/// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-/// used for larger payloads such as video content.
-///
-/// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-/// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-/// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-/// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-/// technique was used.
-///
-/// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-/// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-/// - parameter url:                     The URL.
-/// - parameter method:                  The HTTP method. `.post` by default.
-/// - parameter headers:                 The HTTP headers. `nil` by default.
-/// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-public func upload(
-    multipartFormData: @escaping (MultipartFormData) -> Void,
-    usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil,
-    encodingCompletion: ((SessionManager.MultipartFormDataEncodingResult) -> Void)?)
-{
-    return SessionManager.default.upload(
-        multipartFormData: multipartFormData,
-        usingThreshold: encodingMemoryThreshold,
-        to: url,
-        method: method,
-        headers: headers,
-        encodingCompletion: encodingCompletion
-    )
-}
-
-/// Encodes `multipartFormData` using `encodingMemoryThreshold` and the default `SessionManager` and
-/// calls `encodingCompletion` with new `UploadRequest` using the `urlRequest`.
-///
-/// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-/// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-/// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-/// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-/// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-/// used for larger payloads such as video content.
-///
-/// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-/// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-/// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-/// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-/// technique was used.
-///
-/// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-/// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-/// - parameter urlRequest:              The URL request.
-/// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-public func upload(
-    multipartFormData: @escaping (MultipartFormData) -> Void,
-    usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-    with urlRequest: URLRequestConvertible,
-    encodingCompletion: ((SessionManager.MultipartFormDataEncodingResult) -> Void)?)
-{
-    return SessionManager.default.upload(
-        multipartFormData: multipartFormData,
-        usingThreshold: encodingMemoryThreshold,
-        with: urlRequest,
-        encodingCompletion: encodingCompletion
-    )
-}
-
-#if !os(watchOS)
-
-// MARK: - Stream Request
-
-// MARK: Hostname and Port
-
-/// Creates a `StreamRequest` using the default `SessionManager` for bidirectional streaming with the `hostname`
-/// and `port`.
-///
-/// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-///
-/// - parameter hostName: The hostname of the server to connect to.
-/// - parameter port:     The port of the server to connect to.
-///
-/// - returns: The created `StreamRequest`.
-@discardableResult
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-public func stream(withHostName hostName: String, port: Int) -> StreamRequest {
-    return SessionManager.default.stream(withHostName: hostName, port: port)
-}
-
-// MARK: NetService
-
-/// Creates a `StreamRequest` using the default `SessionManager` for bidirectional streaming with the `netService`.
-///
-/// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-///
-/// - parameter netService: The net service used to identify the endpoint.
-///
-/// - returns: The created `StreamRequest`.
-@discardableResult
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-public func stream(with netService: NetService) -> StreamRequest {
-    return SessionManager.default.stream(with: netService)
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
deleted file mode 100644
index 78e214ea179..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-//  DispatchQueue+Alamofire.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Dispatch
-import Foundation
-
-extension DispatchQueue {
-    static var userInteractive: DispatchQueue { return DispatchQueue.global(qos: .userInteractive) }
-    static var userInitiated: DispatchQueue { return DispatchQueue.global(qos: .userInitiated) }
-    static var utility: DispatchQueue { return DispatchQueue.global(qos: .utility) }
-    static var background: DispatchQueue { return DispatchQueue.global(qos: .background) }
-
-    func after(_ delay: TimeInterval, execute closure: @escaping () -> Void) {
-        asyncAfter(deadline: .now() + delay, execute: closure)
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
deleted file mode 100644
index c5093f9f857..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
+++ /dev/null
@@ -1,580 +0,0 @@
-//
-//  MultipartFormData.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-#if os(iOS) || os(watchOS) || os(tvOS)
-import MobileCoreServices
-#elseif os(macOS)
-import CoreServices
-#endif
-
-/// Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode
-/// multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead
-/// to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the
-/// data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for
-/// larger datasets such as video content, otherwise your app may run out of memory when trying to encode the dataset.
-///
-/// For more information on `multipart/form-data` in general, please refer to the RFC-2388 and RFC-2045 specs as well
-/// and the w3 form documentation.
-///
-/// - https://www.ietf.org/rfc/rfc2388.txt
-/// - https://www.ietf.org/rfc/rfc2045.txt
-/// - https://www.w3.org/TR/html401/interact/forms.html#h-17.13
-open class MultipartFormData {
-
-    // MARK: - Helper Types
-
-    struct EncodingCharacters {
-        static let crlf = "\r\n"
-    }
-
-    struct BoundaryGenerator {
-        enum BoundaryType {
-            case initial, encapsulated, final
-        }
-
-        static func randomBoundary() -> String {
-            return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
-        }
-
-        static func boundaryData(forBoundaryType boundaryType: BoundaryType, boundary: String) -> Data {
-            let boundaryText: String
-
-            switch boundaryType {
-            case .initial:
-                boundaryText = "--\(boundary)\(EncodingCharacters.crlf)"
-            case .encapsulated:
-                boundaryText = "\(EncodingCharacters.crlf)--\(boundary)\(EncodingCharacters.crlf)"
-            case .final:
-                boundaryText = "\(EncodingCharacters.crlf)--\(boundary)--\(EncodingCharacters.crlf)"
-            }
-
-            return boundaryText.data(using: String.Encoding.utf8, allowLossyConversion: false)!
-        }
-    }
-
-    class BodyPart {
-        let headers: HTTPHeaders
-        let bodyStream: InputStream
-        let bodyContentLength: UInt64
-        var hasInitialBoundary = false
-        var hasFinalBoundary = false
-
-        init(headers: HTTPHeaders, bodyStream: InputStream, bodyContentLength: UInt64) {
-            self.headers = headers
-            self.bodyStream = bodyStream
-            self.bodyContentLength = bodyContentLength
-        }
-    }
-
-    // MARK: - Properties
-
-    /// The `Content-Type` header value containing the boundary used to generate the `multipart/form-data`.
-    open lazy var contentType: String = "multipart/form-data; boundary=\(self.boundary)"
-
-    /// The content length of all body parts used to generate the `multipart/form-data` not including the boundaries.
-    public var contentLength: UInt64 { return bodyParts.reduce(0) { $0 + $1.bodyContentLength } }
-
-    /// The boundary used to separate the body parts in the encoded form data.
-    public let boundary: String
-
-    private var bodyParts: [BodyPart]
-    private var bodyPartError: AFError?
-    private let streamBufferSize: Int
-
-    // MARK: - Lifecycle
-
-    /// Creates a multipart form data object.
-    ///
-    /// - returns: The multipart form data object.
-    public init() {
-        self.boundary = BoundaryGenerator.randomBoundary()
-        self.bodyParts = []
-
-        ///
-        /// The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more
-        /// information, please refer to the following article:
-        ///   - https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/ReadingInputStreams.html
-        ///
-
-        self.streamBufferSize = 1024
-    }
-
-    // MARK: - Body Parts
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
-    /// - Encoded data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data: The data to encode into the multipart form data.
-    /// - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header.
-    public func append(_ data: Data, withName name: String) {
-        let headers = contentHeaders(withName: name)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
-    /// - `Content-Type: #{generated mimeType}` (HTTP Header)
-    /// - Encoded data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data:     The data to encode into the multipart form data.
-    /// - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the data content type in the `Content-Type` HTTP header.
-    public func append(_ data: Data, withName name: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, mimeType: mimeType)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
-    /// - `Content-Type: #{mimeType}` (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data:     The data to encode into the multipart form data.
-    /// - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the data in the `Content-Type` HTTP header.
-    public func append(_ data: Data, withName name: String, fileName: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the file and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{generated filename}` (HTTP Header)
-    /// - `Content-Type: #{generated mimeType}` (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// The filename in the `Content-Disposition` HTTP header is generated from the last path component of the
-    /// `fileURL`. The `Content-Type` HTTP header MIME type is generated by mapping the `fileURL` extension to the
-    /// system associated MIME type.
-    ///
-    /// - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data.
-    /// - parameter name:    The name to associate with the file content in the `Content-Disposition` HTTP header.
-    public func append(_ fileURL: URL, withName name: String) {
-        let fileName = fileURL.lastPathComponent
-        let pathExtension = fileURL.pathExtension
-
-        if !fileName.isEmpty && !pathExtension.isEmpty {
-            let mime = mimeType(forPathExtension: pathExtension)
-            append(fileURL, withName: name, fileName: fileName, mimeType: mime)
-        } else {
-            setBodyPartError(withReason: .bodyPartFilenameInvalid(in: fileURL))
-        }
-    }
-
-    /// Creates a body part from the file and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - Content-Disposition: form-data; name=#{name}; filename=#{filename} (HTTP Header)
-    /// - Content-Type: #{mimeType} (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// - parameter fileURL:  The URL of the file whose content will be encoded into the multipart form data.
-    /// - parameter name:     The name to associate with the file content in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the file content in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the file content in the `Content-Type` HTTP header.
-    public func append(_ fileURL: URL, withName name: String, fileName: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-
-        //============================================================
-        //                 Check 1 - is file URL?
-        //============================================================
-
-        guard fileURL.isFileURL else {
-            setBodyPartError(withReason: .bodyPartURLInvalid(url: fileURL))
-            return
-        }
-
-        //============================================================
-        //              Check 2 - is file URL reachable?
-        //============================================================
-
-        do {
-            let isReachable = try fileURL.checkPromisedItemIsReachable()
-            guard isReachable else {
-                setBodyPartError(withReason: .bodyPartFileNotReachable(at: fileURL))
-                return
-            }
-        } catch {
-            setBodyPartError(withReason: .bodyPartFileNotReachableWithError(atURL: fileURL, error: error))
-            return
-        }
-
-        //============================================================
-        //            Check 3 - is file URL a directory?
-        //============================================================
-
-        var isDirectory: ObjCBool = false
-        let path = fileURL.path
-
-        guard FileManager.default.fileExists(atPath: path, isDirectory: &isDirectory) && !isDirectory.boolValue else {
-            setBodyPartError(withReason: .bodyPartFileIsDirectory(at: fileURL))
-            return
-        }
-
-        //============================================================
-        //          Check 4 - can the file size be extracted?
-        //============================================================
-
-        let bodyContentLength: UInt64
-
-        do {
-            guard let fileSize = try FileManager.default.attributesOfItem(atPath: path)[.size] as? NSNumber else {
-                setBodyPartError(withReason: .bodyPartFileSizeNotAvailable(at: fileURL))
-                return
-            }
-
-            bodyContentLength = fileSize.uint64Value
-        }
-        catch {
-            setBodyPartError(withReason: .bodyPartFileSizeQueryFailedWithError(forURL: fileURL, error: error))
-            return
-        }
-
-        //============================================================
-        //       Check 5 - can a stream be created from file URL?
-        //============================================================
-
-        guard let stream = InputStream(url: fileURL) else {
-            setBodyPartError(withReason: .bodyPartInputStreamCreationFailed(for: fileURL))
-            return
-        }
-
-        append(stream, withLength: bodyContentLength, headers: headers)
-    }
-
-    /// Creates a body part from the stream and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
-    /// - `Content-Type: #{mimeType}` (HTTP Header)
-    /// - Encoded stream data
-    /// - Multipart form boundary
-    ///
-    /// - parameter stream:   The input stream to encode in the multipart form data.
-    /// - parameter length:   The content length of the stream.
-    /// - parameter name:     The name to associate with the stream content in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the stream content in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the stream content in the `Content-Type` HTTP header.
-    public func append(
-        _ stream: InputStream,
-        withLength length: UInt64,
-        name: String,
-        fileName: String,
-        mimeType: String)
-    {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part with the headers, stream and length and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - HTTP headers
-    /// - Encoded stream data
-    /// - Multipart form boundary
-    ///
-    /// - parameter stream:  The input stream to encode in the multipart form data.
-    /// - parameter length:  The content length of the stream.
-    /// - parameter headers: The HTTP headers for the body part.
-    public func append(_ stream: InputStream, withLength length: UInt64, headers: HTTPHeaders) {
-        let bodyPart = BodyPart(headers: headers, bodyStream: stream, bodyContentLength: length)
-        bodyParts.append(bodyPart)
-    }
-
-    // MARK: - Data Encoding
-
-    /// Encodes all the appended body parts into a single `Data` value.
-    ///
-    /// It is important to note that this method will load all the appended body parts into memory all at the same
-    /// time. This method should only be used when the encoded data will have a small memory footprint. For large data
-    /// cases, please use the `writeEncodedDataToDisk(fileURL:completionHandler:)` method.
-    ///
-    /// - throws: An `AFError` if encoding encounters an error.
-    ///
-    /// - returns: The encoded `Data` if encoding is successful.
-    public func encode() throws -> Data {
-        if let bodyPartError = bodyPartError {
-            throw bodyPartError
-        }
-
-        var encoded = Data()
-
-        bodyParts.first?.hasInitialBoundary = true
-        bodyParts.last?.hasFinalBoundary = true
-
-        for bodyPart in bodyParts {
-            let encodedData = try encode(bodyPart)
-            encoded.append(encodedData)
-        }
-
-        return encoded
-    }
-
-    /// Writes the appended body parts into the given file URL.
-    ///
-    /// This process is facilitated by reading and writing with input and output streams, respectively. Thus,
-    /// this approach is very memory efficient and should be used for large body part data.
-    ///
-    /// - parameter fileURL: The file URL to write the multipart form data into.
-    ///
-    /// - throws: An `AFError` if encoding encounters an error.
-    public func writeEncodedData(to fileURL: URL) throws {
-        if let bodyPartError = bodyPartError {
-            throw bodyPartError
-        }
-
-        if FileManager.default.fileExists(atPath: fileURL.path) {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamFileAlreadyExists(at: fileURL))
-        } else if !fileURL.isFileURL {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamURLInvalid(url: fileURL))
-        }
-
-        guard let outputStream = OutputStream(url: fileURL, append: false) else {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamCreationFailed(for: fileURL))
-        }
-
-        outputStream.open()
-        defer { outputStream.close() }
-
-        self.bodyParts.first?.hasInitialBoundary = true
-        self.bodyParts.last?.hasFinalBoundary = true
-
-        for bodyPart in self.bodyParts {
-            try write(bodyPart, to: outputStream)
-        }
-    }
-
-    // MARK: - Private - Body Part Encoding
-
-    private func encode(_ bodyPart: BodyPart) throws -> Data {
-        var encoded = Data()
-
-        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
-        encoded.append(initialData)
-
-        let headerData = encodeHeaders(for: bodyPart)
-        encoded.append(headerData)
-
-        let bodyStreamData = try encodeBodyStream(for: bodyPart)
-        encoded.append(bodyStreamData)
-
-        if bodyPart.hasFinalBoundary {
-            encoded.append(finalBoundaryData())
-        }
-
-        return encoded
-    }
-
-    private func encodeHeaders(for bodyPart: BodyPart) -> Data {
-        var headerText = ""
-
-        for (key, value) in bodyPart.headers {
-            headerText += "\(key): \(value)\(EncodingCharacters.crlf)"
-        }
-        headerText += EncodingCharacters.crlf
-
-        return headerText.data(using: String.Encoding.utf8, allowLossyConversion: false)!
-    }
-
-    private func encodeBodyStream(for bodyPart: BodyPart) throws -> Data {
-        let inputStream = bodyPart.bodyStream
-        inputStream.open()
-        defer { inputStream.close() }
-
-        var encoded = Data()
-
-        while inputStream.hasBytesAvailable {
-            var buffer = [UInt8](repeating: 0, count: streamBufferSize)
-            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
-
-            if let error = inputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .inputStreamReadFailed(error: error))
-            }
-
-            if bytesRead > 0 {
-                encoded.append(buffer, count: bytesRead)
-            } else {
-                break
-            }
-        }
-
-        return encoded
-    }
-
-    // MARK: - Private - Writing Body Part to Output Stream
-
-    private func write(_ bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        try writeInitialBoundaryData(for: bodyPart, to: outputStream)
-        try writeHeaderData(for: bodyPart, to: outputStream)
-        try writeBodyStream(for: bodyPart, to: outputStream)
-        try writeFinalBoundaryData(for: bodyPart, to: outputStream)
-    }
-
-    private func writeInitialBoundaryData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
-        return try write(initialData, to: outputStream)
-    }
-
-    private func writeHeaderData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let headerData = encodeHeaders(for: bodyPart)
-        return try write(headerData, to: outputStream)
-    }
-
-    private func writeBodyStream(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let inputStream = bodyPart.bodyStream
-
-        inputStream.open()
-        defer { inputStream.close() }
-
-        while inputStream.hasBytesAvailable {
-            var buffer = [UInt8](repeating: 0, count: streamBufferSize)
-            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
-
-            if let streamError = inputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .inputStreamReadFailed(error: streamError))
-            }
-
-            if bytesRead > 0 {
-                if buffer.count != bytesRead {
-                    buffer = Array(buffer[0..<bytesRead])
-                }
-
-                try write(&buffer, to: outputStream)
-            } else {
-                break
-            }
-        }
-    }
-
-    private func writeFinalBoundaryData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        if bodyPart.hasFinalBoundary {
-            return try write(finalBoundaryData(), to: outputStream)
-        }
-    }
-
-    // MARK: - Private - Writing Buffered Data to Output Stream
-
-    private func write(_ data: Data, to outputStream: OutputStream) throws {
-        var buffer = [UInt8](repeating: 0, count: data.count)
-        data.copyBytes(to: &buffer, count: data.count)
-
-        return try write(&buffer, to: outputStream)
-    }
-
-    private func write(_ buffer: inout [UInt8], to outputStream: OutputStream) throws {
-        var bytesToWrite = buffer.count
-
-        while bytesToWrite > 0, outputStream.hasSpaceAvailable {
-            let bytesWritten = outputStream.write(buffer, maxLength: bytesToWrite)
-
-            if let error = outputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .outputStreamWriteFailed(error: error))
-            }
-
-            bytesToWrite -= bytesWritten
-
-            if bytesToWrite > 0 {
-                buffer = Array(buffer[bytesWritten..<buffer.count])
-            }
-        }
-    }
-
-    // MARK: - Private - Mime Type
-
-    private func mimeType(forPathExtension pathExtension: String) -> String {
-        if
-            let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
-            let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
-        {
-            return contentType as String
-        }
-
-        return "application/octet-stream"
-    }
-
-    // MARK: - Private - Content Headers
-
-    private func contentHeaders(withName name: String, fileName: String? = nil, mimeType: String? = nil) -> [String: String] {
-        var disposition = "form-data; name=\"\(name)\""
-        if let fileName = fileName { disposition += "; filename=\"\(fileName)\"" }
-
-        var headers = ["Content-Disposition": disposition]
-        if let mimeType = mimeType { headers["Content-Type"] = mimeType }
-
-        return headers
-    }
-
-    // MARK: - Private - Boundary Encoding
-
-    private func initialBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .initial, boundary: boundary)
-    }
-
-    private func encapsulatedBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .encapsulated, boundary: boundary)
-    }
-
-    private func finalBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .final, boundary: boundary)
-    }
-
-    // MARK: - Private - Errors
-
-    private func setBodyPartError(withReason reason: AFError.MultipartEncodingFailureReason) {
-        guard bodyPartError == nil else { return }
-        bodyPartError = AFError.multipartEncodingFailed(reason: reason)
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
deleted file mode 100644
index 30443b99b29..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
+++ /dev/null
@@ -1,233 +0,0 @@
-//
-//  NetworkReachabilityManager.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-#if !os(watchOS)
-
-import Foundation
-import SystemConfiguration
-
-/// The `NetworkReachabilityManager` class listens for reachability changes of hosts and addresses for both WWAN and
-/// WiFi network interfaces.
-///
-/// Reachability can be used to determine background information about why a network operation failed, or to retry
-/// network requests when a connection is established. It should not be used to prevent a user from initiating a network
-/// request, as it's possible that an initial request may be required to establish reachability.
-public class NetworkReachabilityManager {
-    /// Defines the various states of network reachability.
-    ///
-    /// - unknown:      It is unknown whether the network is reachable.
-    /// - notReachable: The network is not reachable.
-    /// - reachable:    The network is reachable.
-    public enum NetworkReachabilityStatus {
-        case unknown
-        case notReachable
-        case reachable(ConnectionType)
-    }
-
-    /// Defines the various connection types detected by reachability flags.
-    ///
-    /// - ethernetOrWiFi: The connection type is either over Ethernet or WiFi.
-    /// - wwan:           The connection type is a WWAN connection.
-    public enum ConnectionType {
-        case ethernetOrWiFi
-        case wwan
-    }
-
-    /// A closure executed when the network reachability status changes. The closure takes a single argument: the
-    /// network reachability status.
-    public typealias Listener = (NetworkReachabilityStatus) -> Void
-
-    // MARK: - Properties
-
-    /// Whether the network is currently reachable.
-    public var isReachable: Bool { return isReachableOnWWAN || isReachableOnEthernetOrWiFi }
-
-    /// Whether the network is currently reachable over the WWAN interface.
-    public var isReachableOnWWAN: Bool { return networkReachabilityStatus == .reachable(.wwan) }
-
-    /// Whether the network is currently reachable over Ethernet or WiFi interface.
-    public var isReachableOnEthernetOrWiFi: Bool { return networkReachabilityStatus == .reachable(.ethernetOrWiFi) }
-
-    /// The current network reachability status.
-    public var networkReachabilityStatus: NetworkReachabilityStatus {
-        guard let flags = self.flags else { return .unknown }
-        return networkReachabilityStatusForFlags(flags)
-    }
-
-    /// The dispatch queue to execute the `listener` closure on.
-    public var listenerQueue: DispatchQueue = DispatchQueue.main
-
-    /// A closure executed when the network reachability status changes.
-    public var listener: Listener?
-
-    private var flags: SCNetworkReachabilityFlags? {
-        var flags = SCNetworkReachabilityFlags()
-
-        if SCNetworkReachabilityGetFlags(reachability, &flags) {
-            return flags
-        }
-
-        return nil
-    }
-
-    private let reachability: SCNetworkReachability
-    private var previousFlags: SCNetworkReachabilityFlags
-
-    // MARK: - Initialization
-
-    /// Creates a `NetworkReachabilityManager` instance with the specified host.
-    ///
-    /// - parameter host: The host used to evaluate network reachability.
-    ///
-    /// - returns: The new `NetworkReachabilityManager` instance.
-    public convenience init?(host: String) {
-        guard let reachability = SCNetworkReachabilityCreateWithName(nil, host) else { return nil }
-        self.init(reachability: reachability)
-    }
-
-    /// Creates a `NetworkReachabilityManager` instance that monitors the address 0.0.0.0.
-    ///
-    /// Reachability treats the 0.0.0.0 address as a special token that causes it to monitor the general routing
-    /// status of the device, both IPv4 and IPv6.
-    ///
-    /// - returns: The new `NetworkReachabilityManager` instance.
-    public convenience init?() {
-        var address = sockaddr_in()
-        address.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
-        address.sin_family = sa_family_t(AF_INET)
-
-        guard let reachability = withUnsafePointer(to: &address, { pointer in
-            return pointer.withMemoryRebound(to: sockaddr.self, capacity: MemoryLayout<sockaddr>.size) {
-                return SCNetworkReachabilityCreateWithAddress(nil, $0)
-            }
-        }) else { return nil }
-
-        self.init(reachability: reachability)
-    }
-
-    private init(reachability: SCNetworkReachability) {
-        self.reachability = reachability
-        self.previousFlags = SCNetworkReachabilityFlags()
-    }
-
-    deinit {
-        stopListening()
-    }
-
-    // MARK: - Listening
-
-    /// Starts listening for changes in network reachability status.
-    ///
-    /// - returns: `true` if listening was started successfully, `false` otherwise.
-    @discardableResult
-    public func startListening() -> Bool {
-        var context = SCNetworkReachabilityContext(version: 0, info: nil, retain: nil, release: nil, copyDescription: nil)
-        context.info = Unmanaged.passUnretained(self).toOpaque()
-
-        let callbackEnabled = SCNetworkReachabilitySetCallback(
-            reachability,
-            { (_, flags, info) in
-                let reachability = Unmanaged<NetworkReachabilityManager>.fromOpaque(info!).takeUnretainedValue()
-                reachability.notifyListener(flags)
-            },
-            &context
-        )
-
-        let queueEnabled = SCNetworkReachabilitySetDispatchQueue(reachability, listenerQueue)
-
-        listenerQueue.async {
-            self.previousFlags = SCNetworkReachabilityFlags()
-            self.notifyListener(self.flags ?? SCNetworkReachabilityFlags())
-        }
-
-        return callbackEnabled && queueEnabled
-    }
-
-    /// Stops listening for changes in network reachability status.
-    public func stopListening() {
-        SCNetworkReachabilitySetCallback(reachability, nil, nil)
-        SCNetworkReachabilitySetDispatchQueue(reachability, nil)
-    }
-
-    // MARK: - Internal - Listener Notification
-
-    func notifyListener(_ flags: SCNetworkReachabilityFlags) {
-        guard previousFlags != flags else { return }
-        previousFlags = flags
-
-        listener?(networkReachabilityStatusForFlags(flags))
-    }
-
-    // MARK: - Internal - Network Reachability Status
-
-    func networkReachabilityStatusForFlags(_ flags: SCNetworkReachabilityFlags) -> NetworkReachabilityStatus {
-        guard isNetworkReachable(with: flags) else { return .notReachable }
-
-        var networkStatus: NetworkReachabilityStatus = .reachable(.ethernetOrWiFi)
-
-    #if os(iOS)
-        if flags.contains(.isWWAN) { networkStatus = .reachable(.wwan) }
-    #endif
-
-        return networkStatus
-    }
-
-    func isNetworkReachable(with flags: SCNetworkReachabilityFlags) -> Bool {
-        let isReachable = flags.contains(.reachable)
-        let needsConnection = flags.contains(.connectionRequired)
-        let canConnectAutomatically = flags.contains(.connectionOnDemand) || flags.contains(.connectionOnTraffic)
-        let canConnectWithoutUserInteraction = canConnectAutomatically && !flags.contains(.interventionRequired)
-
-        return isReachable && (!needsConnection || canConnectWithoutUserInteraction)
-    }
-}
-
-// MARK: -
-
-extension NetworkReachabilityManager.NetworkReachabilityStatus: Equatable {}
-
-/// Returns whether the two network reachability status values are equal.
-///
-/// - parameter lhs: The left-hand side value to compare.
-/// - parameter rhs: The right-hand side value to compare.
-///
-/// - returns: `true` if the two values are equal, `false` otherwise.
-public func ==(
-    lhs: NetworkReachabilityManager.NetworkReachabilityStatus,
-    rhs: NetworkReachabilityManager.NetworkReachabilityStatus)
-    -> Bool
-{
-    switch (lhs, rhs) {
-    case (.unknown, .unknown):
-        return true
-    case (.notReachable, .notReachable):
-        return true
-    case let (.reachable(lhsConnectionType), .reachable(rhsConnectionType)):
-        return lhsConnectionType == rhsConnectionType
-    default:
-        return false
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
deleted file mode 100644
index 81f6e378c89..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
+++ /dev/null
@@ -1,52 +0,0 @@
-//
-//  Notifications.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Notification.Name {
-    /// Used as a namespace for all `URLSessionTask` related notifications.
-    public struct Task {
-        /// Posted when a `URLSessionTask` is resumed. The notification `object` contains the resumed `URLSessionTask`.
-        public static let DidResume = Notification.Name(rawValue: "org.alamofire.notification.name.task.didResume")
-
-        /// Posted when a `URLSessionTask` is suspended. The notification `object` contains the suspended `URLSessionTask`.
-        public static let DidSuspend = Notification.Name(rawValue: "org.alamofire.notification.name.task.didSuspend")
-
-        /// Posted when a `URLSessionTask` is cancelled. The notification `object` contains the cancelled `URLSessionTask`.
-        public static let DidCancel = Notification.Name(rawValue: "org.alamofire.notification.name.task.didCancel")
-
-        /// Posted when a `URLSessionTask` is completed. The notification `object` contains the completed `URLSessionTask`.
-        public static let DidComplete = Notification.Name(rawValue: "org.alamofire.notification.name.task.didComplete")
-    }
-}
-
-// MARK: -
-
-extension Notification {
-    /// Used as a namespace for all `Notification` user info dictionary keys.
-    public struct Key {
-        /// User info dictionary key representing the `URLSessionTask` associated with the notification.
-        public static let Task = "org.alamofire.notification.key.task"
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
deleted file mode 100644
index 959af6f9365..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
+++ /dev/null
@@ -1,436 +0,0 @@
-//
-//  ParameterEncoding.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// HTTP method definitions.
-///
-/// See https://tools.ietf.org/html/rfc7231#section-4.3
-public enum HTTPMethod: String {
-    case options = "OPTIONS"
-    case get     = "GET"
-    case head    = "HEAD"
-    case post    = "POST"
-    case put     = "PUT"
-    case patch   = "PATCH"
-    case delete  = "DELETE"
-    case trace   = "TRACE"
-    case connect = "CONNECT"
-}
-
-// MARK: -
-
-/// A dictionary of parameters to apply to a `URLRequest`.
-public typealias Parameters = [String: Any]
-
-/// A type used to define how a set of parameters are applied to a `URLRequest`.
-public protocol ParameterEncoding {
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `AFError.parameterEncodingFailed` error if encoding fails.
-    ///
-    /// - returns: The encoded request.
-    func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
-}
-
-// MARK: -
-
-/// Creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP
-/// body of the URL request. Whether the query string is set or appended to any existing URL query string or set as
-/// the HTTP body depends on the destination of the encoding.
-///
-/// The `Content-Type` HTTP header field of an encoded request with HTTP body is set to
-/// `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode
-/// collection types, the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending
-/// the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`).
-public struct URLEncoding: ParameterEncoding {
-
-    // MARK: Helper Types
-
-    /// Defines whether the url-encoded query string is applied to the existing query string or HTTP body of the
-    /// resulting URL request.
-    ///
-    /// - methodDependent: Applies encoded query string result to existing query string for `GET`, `HEAD` and `DELETE`
-    ///                    requests and sets as the HTTP body for requests with any other HTTP method.
-    /// - queryString:     Sets or appends encoded query string result to existing query string.
-    /// - httpBody:        Sets encoded query string result as the HTTP body of the URL request.
-    public enum Destination {
-        case methodDependent, queryString, httpBody
-    }
-
-    // MARK: Properties
-
-    /// Returns a default `URLEncoding` instance.
-    public static var `default`: URLEncoding { return URLEncoding() }
-
-    /// Returns a `URLEncoding` instance with a `.methodDependent` destination.
-    public static var methodDependent: URLEncoding { return URLEncoding() }
-
-    /// Returns a `URLEncoding` instance with a `.queryString` destination.
-    public static var queryString: URLEncoding { return URLEncoding(destination: .queryString) }
-
-    /// Returns a `URLEncoding` instance with an `.httpBody` destination.
-    public static var httpBody: URLEncoding { return URLEncoding(destination: .httpBody) }
-
-    /// The destination defining where the encoded query string is to be applied to the URL request.
-    public let destination: Destination
-
-    // MARK: Initialization
-
-    /// Creates a `URLEncoding` instance using the specified destination.
-    ///
-    /// - parameter destination: The destination defining where the encoded query string is to be applied.
-    ///
-    /// - returns: The new `URLEncoding` instance.
-    public init(destination: Destination = .methodDependent) {
-        self.destination = destination
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        if let method = HTTPMethod(rawValue: urlRequest.httpMethod ?? "GET"), encodesParametersInURL(with: method) {
-            guard let url = urlRequest.url else {
-                throw AFError.parameterEncodingFailed(reason: .missingURL)
-            }
-
-            if var urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: false), !parameters.isEmpty {
-                let percentEncodedQuery = (urlComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters)
-                urlComponents.percentEncodedQuery = percentEncodedQuery
-                urlRequest.url = urlComponents.url
-            }
-        } else {
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/x-www-form-urlencoded; charset=utf-8", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = query(parameters).data(using: .utf8, allowLossyConversion: false)
-        }
-
-        return urlRequest
-    }
-
-    /// Creates percent-escaped, URL encoded query string components from the given key-value pair using recursion.
-    ///
-    /// - parameter key:   The key of the query component.
-    /// - parameter value: The value of the query component.
-    ///
-    /// - returns: The percent-escaped, URL encoded query string components.
-    public func queryComponents(fromKey key: String, value: Any) -> [(String, String)] {
-        var components: [(String, String)] = []
-
-        if let dictionary = value as? [String: Any] {
-            for (nestedKey, value) in dictionary {
-                components += queryComponents(fromKey: "\(key)[\(nestedKey)]", value: value)
-            }
-        } else if let array = value as? [Any] {
-            for value in array {
-                components += queryComponents(fromKey: "\(key)[]", value: value)
-            }
-        } else if let value = value as? NSNumber {
-            if value.isBool {
-                components.append((escape(key), escape((value.boolValue ? "1" : "0"))))
-            } else {
-                components.append((escape(key), escape("\(value)")))
-            }
-        } else if let bool = value as? Bool {
-            components.append((escape(key), escape((bool ? "1" : "0"))))
-        } else {
-            components.append((escape(key), escape("\(value)")))
-        }
-
-        return components
-    }
-
-    /// Returns a percent-escaped string following RFC 3986 for a query string key or value.
-    ///
-    /// RFC 3986 states that the following characters are "reserved" characters.
-    ///
-    /// - General Delimiters: ":", "#", "[", "]", "@", "?", "/"
-    /// - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="
-    ///
-    /// In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow
-    /// query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/"
-    /// should be percent-escaped in the query string.
-    ///
-    /// - parameter string: The string to be percent-escaped.
-    ///
-    /// - returns: The percent-escaped string.
-    public func escape(_ string: String) -> String {
-        let generalDelimitersToEncode = ":#[]@" // does not include "?" or "/" due to RFC 3986 - Section 3.4
-        let subDelimitersToEncode = "!$&'()*+,;="
-
-        var allowedCharacterSet = CharacterSet.urlQueryAllowed
-        allowedCharacterSet.remove(charactersIn: "\(generalDelimitersToEncode)\(subDelimitersToEncode)")
-
-        var escaped = ""
-
-        //==========================================================================================================
-        //
-        //  Batching is required for escaping due to an internal bug in iOS 8.1 and 8.2. Encoding more than a few
-        //  hundred Chinese characters causes various malloc error crashes. To avoid this issue until iOS 8 is no
-        //  longer supported, batching MUST be used for encoding. This introduces roughly a 20% overhead. For more
-        //  info, please refer to:
-        //
-        //      - https://github.com/Alamofire/Alamofire/issues/206
-        //
-        //==========================================================================================================
-
-        if #available(iOS 8.3, *) {
-            escaped = string.addingPercentEncoding(withAllowedCharacters: allowedCharacterSet) ?? string
-        } else {
-            let batchSize = 50
-            var index = string.startIndex
-
-            while index != string.endIndex {
-                let startIndex = index
-                let endIndex = string.index(index, offsetBy: batchSize, limitedBy: string.endIndex) ?? string.endIndex
-                let range = startIndex..<endIndex
-
-                let substring = string.substring(with: range)
-
-                escaped += substring.addingPercentEncoding(withAllowedCharacters: allowedCharacterSet) ?? substring
-
-                index = endIndex
-            }
-        }
-
-        return escaped
-    }
-
-    private func query(_ parameters: [String: Any]) -> String {
-        var components: [(String, String)] = []
-
-        for key in parameters.keys.sorted(by: <) {
-            let value = parameters[key]!
-            components += queryComponents(fromKey: key, value: value)
-        }
-    #if swift(>=4.0)
-        return components.map { "\($0.0)=\($0.1)" }.joined(separator: "&")
-    #else
-        return components.map { "\($0)=\($1)" }.joined(separator: "&")
-    #endif
-    }
-
-    private func encodesParametersInURL(with method: HTTPMethod) -> Bool {
-        switch destination {
-        case .queryString:
-            return true
-        case .httpBody:
-            return false
-        default:
-            break
-        }
-
-        switch method {
-        case .get, .head, .delete:
-            return true
-        default:
-            return false
-        }
-    }
-}
-
-// MARK: -
-
-/// Uses `JSONSerialization` to create a JSON representation of the parameters object, which is set as the body of the
-/// request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`.
-public struct JSONEncoding: ParameterEncoding {
-
-    // MARK: Properties
-
-    /// Returns a `JSONEncoding` instance with default writing options.
-    public static var `default`: JSONEncoding { return JSONEncoding() }
-
-    /// Returns a `JSONEncoding` instance with `.prettyPrinted` writing options.
-    public static var prettyPrinted: JSONEncoding { return JSONEncoding(options: .prettyPrinted) }
-
-    /// The options for writing the parameters as JSON data.
-    public let options: JSONSerialization.WritingOptions
-
-    // MARK: Initialization
-
-    /// Creates a `JSONEncoding` instance using the specified options.
-    ///
-    /// - parameter options: The options for writing the parameters as JSON data.
-    ///
-    /// - returns: The new `JSONEncoding` instance.
-    public init(options: JSONSerialization.WritingOptions = []) {
-        self.options = options
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        do {
-            let data = try JSONSerialization.data(withJSONObject: parameters, options: options)
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .jsonEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-
-    /// Creates a URL request by encoding the JSON object and setting the resulting data on the HTTP body.
-    ///
-    /// - parameter urlRequest: The request to apply the JSON object to.
-    /// - parameter jsonObject: The JSON object to apply to the request.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let jsonObject = jsonObject else { return urlRequest }
-
-        do {
-            let data = try JSONSerialization.data(withJSONObject: jsonObject, options: options)
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .jsonEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-}
-
-// MARK: -
-
-/// Uses `PropertyListSerialization` to create a plist representation of the parameters object, according to the
-/// associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header
-/// field of an encoded request is set to `application/x-plist`.
-public struct PropertyListEncoding: ParameterEncoding {
-
-    // MARK: Properties
-
-    /// Returns a default `PropertyListEncoding` instance.
-    public static var `default`: PropertyListEncoding { return PropertyListEncoding() }
-
-    /// Returns a `PropertyListEncoding` instance with xml formatting and default writing options.
-    public static var xml: PropertyListEncoding { return PropertyListEncoding(format: .xml) }
-
-    /// Returns a `PropertyListEncoding` instance with binary formatting and default writing options.
-    public static var binary: PropertyListEncoding { return PropertyListEncoding(format: .binary) }
-
-    /// The property list serialization format.
-    public let format: PropertyListSerialization.PropertyListFormat
-
-    /// The options for writing the parameters as plist data.
-    public let options: PropertyListSerialization.WriteOptions
-
-    // MARK: Initialization
-
-    /// Creates a `PropertyListEncoding` instance using the specified format and options.
-    ///
-    /// - parameter format:  The property list serialization format.
-    /// - parameter options: The options for writing the parameters as plist data.
-    ///
-    /// - returns: The new `PropertyListEncoding` instance.
-    public init(
-        format: PropertyListSerialization.PropertyListFormat = .xml,
-        options: PropertyListSerialization.WriteOptions = 0)
-    {
-        self.format = format
-        self.options = options
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        do {
-            let data = try PropertyListSerialization.data(
-                fromPropertyList: parameters,
-                format: format,
-                options: options
-            )
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/x-plist", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .propertyListEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-}
-
-// MARK: -
-
-extension NSNumber {
-    fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Request.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
deleted file mode 100644
index 4f6350c5bfe..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
+++ /dev/null
@@ -1,647 +0,0 @@
-//
-//  Request.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// A type that can inspect and optionally adapt a `URLRequest` in some manner if necessary.
-public protocol RequestAdapter {
-    /// Inspects and adapts the specified `URLRequest` in some manner if necessary and returns the result.
-    ///
-    /// - parameter urlRequest: The URL request to adapt.
-    ///
-    /// - throws: An `Error` if the adaptation encounters an error.
-    ///
-    /// - returns: The adapted `URLRequest`.
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest
-}
-
-// MARK: -
-
-/// A closure executed when the `RequestRetrier` determines whether a `Request` should be retried or not.
-public typealias RequestRetryCompletion = (_ shouldRetry: Bool, _ timeDelay: TimeInterval) -> Void
-
-/// A type that determines whether a request should be retried after being executed by the specified session manager
-/// and encountering an error.
-public protocol RequestRetrier {
-    /// Determines whether the `Request` should be retried by calling the `completion` closure.
-    ///
-    /// This operation is fully asynchronous. Any amount of time can be taken to determine whether the request needs
-    /// to be retried. The one requirement is that the completion closure is called to ensure the request is properly
-    /// cleaned up after.
-    ///
-    /// - parameter manager:    The session manager the request was executed on.
-    /// - parameter request:    The request that failed due to the encountered error.
-    /// - parameter error:      The error encountered when executing the request.
-    /// - parameter completion: The completion closure to be executed when retry decision has been determined.
-    func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion)
-}
-
-// MARK: -
-
-protocol TaskConvertible {
-    func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask
-}
-
-/// A dictionary of headers to apply to a `URLRequest`.
-public typealias HTTPHeaders = [String: String]
-
-// MARK: -
-
-/// Responsible for sending a request and receiving the response and associated data from the server, as well as
-/// managing its underlying `URLSessionTask`.
-open class Request {
-
-    // MARK: Helper Types
-
-    /// A closure executed when monitoring upload or download progress of a request.
-    public typealias ProgressHandler = (Progress) -> Void
-
-    enum RequestTask {
-        case data(TaskConvertible?, URLSessionTask?)
-        case download(TaskConvertible?, URLSessionTask?)
-        case upload(TaskConvertible?, URLSessionTask?)
-        case stream(TaskConvertible?, URLSessionTask?)
-    }
-
-    // MARK: Properties
-
-    /// The delegate for the underlying task.
-    open internal(set) var delegate: TaskDelegate {
-        get {
-            taskDelegateLock.lock() ; defer { taskDelegateLock.unlock() }
-            return taskDelegate
-        }
-        set {
-            taskDelegateLock.lock() ; defer { taskDelegateLock.unlock() }
-            taskDelegate = newValue
-        }
-    }
-
-    /// The underlying task.
-    open var task: URLSessionTask? { return delegate.task }
-
-    /// The session belonging to the underlying task.
-    open let session: URLSession
-
-    /// The request sent or to be sent to the server.
-    open var request: URLRequest? { return task?.originalRequest }
-
-    /// The response received from the server, if any.
-    open var response: HTTPURLResponse? { return task?.response as? HTTPURLResponse }
-
-    /// The number of times the request has been retried.
-    open internal(set) var retryCount: UInt = 0
-
-    let originalTask: TaskConvertible?
-
-    var startTime: CFAbsoluteTime?
-    var endTime: CFAbsoluteTime?
-
-    var validations: [() -> Void] = []
-
-    private var taskDelegate: TaskDelegate
-    private var taskDelegateLock = NSLock()
-
-    // MARK: Lifecycle
-
-    init(session: URLSession, requestTask: RequestTask, error: Error? = nil) {
-        self.session = session
-
-        switch requestTask {
-        case .data(let originalTask, let task):
-            taskDelegate = DataTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .download(let originalTask, let task):
-            taskDelegate = DownloadTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .upload(let originalTask, let task):
-            taskDelegate = UploadTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .stream(let originalTask, let task):
-            taskDelegate = TaskDelegate(task: task)
-            self.originalTask = originalTask
-        }
-
-        delegate.error = error
-        delegate.queue.addOperation { self.endTime = CFAbsoluteTimeGetCurrent() }
-    }
-
-    // MARK: Authentication
-
-    /// Associates an HTTP Basic credential with the request.
-    ///
-    /// - parameter user:        The user.
-    /// - parameter password:    The password.
-    /// - parameter persistence: The URL credential persistence. `.ForSession` by default.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func authenticate(
-        user: String,
-        password: String,
-        persistence: URLCredential.Persistence = .forSession)
-        -> Self
-    {
-        let credential = URLCredential(user: user, password: password, persistence: persistence)
-        return authenticate(usingCredential: credential)
-    }
-
-    /// Associates a specified credential with the request.
-    ///
-    /// - parameter credential: The credential.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func authenticate(usingCredential credential: URLCredential) -> Self {
-        delegate.credential = credential
-        return self
-    }
-
-    /// Returns a base64 encoded basic authentication credential as an authorization header tuple.
-    ///
-    /// - parameter user:     The user.
-    /// - parameter password: The password.
-    ///
-    /// - returns: A tuple with Authorization header and credential value if encoding succeeds, `nil` otherwise.
-    open static func authorizationHeader(user: String, password: String) -> (key: String, value: String)? {
-        guard let data = "\(user):\(password)".data(using: .utf8) else { return nil }
-
-        let credential = data.base64EncodedString(options: [])
-
-        return (key: "Authorization", value: "Basic \(credential)")
-    }
-
-    // MARK: State
-
-    /// Resumes the request.
-    open func resume() {
-        guard let task = task else { delegate.queue.isSuspended = false ; return }
-
-        if startTime == nil { startTime = CFAbsoluteTimeGetCurrent() }
-
-        task.resume()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidResume,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-
-    /// Suspends the request.
-    open func suspend() {
-        guard let task = task else { return }
-
-        task.suspend()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidSuspend,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-
-    /// Cancels the request.
-    open func cancel() {
-        guard let task = task else { return }
-
-        task.cancel()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidCancel,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Request: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the HTTP method and URL, as
-    /// well as the response status code if a response has been received.
-    open var description: String {
-        var components: [String] = []
-
-        if let HTTPMethod = request?.httpMethod {
-            components.append(HTTPMethod)
-        }
-
-        if let urlString = request?.url?.absoluteString {
-            components.append(urlString)
-        }
-
-        if let response = response {
-            components.append("(\(response.statusCode))")
-        }
-
-        return components.joined(separator: " ")
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Request: CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, in the form of a cURL command.
-    open var debugDescription: String {
-        return cURLRepresentation()
-    }
-
-    func cURLRepresentation() -> String {
-        var components = ["$ curl -v"]
-
-        guard let request = self.request,
-              let url = request.url,
-              let host = url.host
-        else {
-            return "$ curl command could not be created"
-        }
-
-        if let httpMethod = request.httpMethod, httpMethod != "GET" {
-            components.append("-X \(httpMethod)")
-        }
-
-        if let credentialStorage = self.session.configuration.urlCredentialStorage {
-            let protectionSpace = URLProtectionSpace(
-                host: host,
-                port: url.port ?? 0,
-                protocol: url.scheme,
-                realm: host,
-                authenticationMethod: NSURLAuthenticationMethodHTTPBasic
-            )
-
-            if let credentials = credentialStorage.credentials(for: protectionSpace)?.values {
-                for credential in credentials {
-                    components.append("-u \(credential.user!):\(credential.password!)")
-                }
-            } else {
-                if let credential = delegate.credential {
-                    components.append("-u \(credential.user!):\(credential.password!)")
-                }
-            }
-        }
-
-        if session.configuration.httpShouldSetCookies {
-            if
-                let cookieStorage = session.configuration.httpCookieStorage,
-                let cookies = cookieStorage.cookies(for: url), !cookies.isEmpty
-            {
-                let string = cookies.reduce("") { $0 + "\($1.name)=\($1.value);" }
-                components.append("-b \"\(string.substring(to: string.characters.index(before: string.endIndex)))\"")
-            }
-        }
-
-        var headers: [AnyHashable: Any] = [:]
-
-        if let additionalHeaders = session.configuration.httpAdditionalHeaders {
-            for (field, value) in additionalHeaders where field != AnyHashable("Cookie") {
-                headers[field] = value
-            }
-        }
-
-        if let headerFields = request.allHTTPHeaderFields {
-            for (field, value) in headerFields where field != "Cookie" {
-                headers[field] = value
-            }
-        }
-
-        for (field, value) in headers {
-            components.append("-H \"\(field): \(value)\"")
-        }
-
-        if let httpBodyData = request.httpBody, let httpBody = String(data: httpBodyData, encoding: .utf8) {
-            var escapedBody = httpBody.replacingOccurrences(of: "\\\"", with: "\\\\\"")
-            escapedBody = escapedBody.replacingOccurrences(of: "\"", with: "\\\"")
-
-            components.append("-d \"\(escapedBody)\"")
-        }
-
-        components.append("\"\(url.absoluteString)\"")
-
-        return components.joined(separator: " \\\n\t")
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionDataTask`.
-open class DataRequest: Request {
-
-    // MARK: Helper Types
-
-    struct Requestable: TaskConvertible {
-        let urlRequest: URLRequest
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let urlRequest = try self.urlRequest.adapt(using: adapter)
-                return queue.sync { session.dataTask(with: urlRequest) }
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-        if let requestable = originalTask as? Requestable { return requestable.urlRequest }
-
-        return nil
-    }
-
-    /// The progress of fetching the response data from the server for the request.
-    open var progress: Progress { return dataDelegate.progress }
-
-    var dataDelegate: DataTaskDelegate { return delegate as! DataTaskDelegate }
-
-    // MARK: Stream
-
-    /// Sets a closure to be called periodically during the lifecycle of the request as data is read from the server.
-    ///
-    /// This closure returns the bytes most recently received from the server, not including data from previous calls.
-    /// If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is
-    /// also important to note that the server data in any `Response` object will be `nil`.
-    ///
-    /// - parameter closure: The code to be executed periodically during the lifecycle of the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func stream(closure: ((Data) -> Void)? = nil) -> Self {
-        dataDelegate.dataStream = closure
-        return self
-    }
-
-    // MARK: Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `Request` as data is read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is read from the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func downloadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        dataDelegate.progressHandler = (closure, queue)
-        return self
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionDownloadTask`.
-open class DownloadRequest: Request {
-
-    // MARK: Helper Types
-
-    /// A collection of options to be executed prior to moving a downloaded file from the temporary URL to the
-    /// destination URL.
-    public struct DownloadOptions: OptionSet {
-        /// Returns the raw bitmask value of the option and satisfies the `RawRepresentable` protocol.
-        public let rawValue: UInt
-
-        /// A `DownloadOptions` flag that creates intermediate directories for the destination URL if specified.
-        public static let createIntermediateDirectories = DownloadOptions(rawValue: 1 << 0)
-
-        /// A `DownloadOptions` flag that removes a previous file from the destination URL if specified.
-        public static let removePreviousFile = DownloadOptions(rawValue: 1 << 1)
-
-        /// Creates a `DownloadFileDestinationOptions` instance with the specified raw value.
-        ///
-        /// - parameter rawValue: The raw bitmask value for the option.
-        ///
-        /// - returns: A new log level instance.
-        public init(rawValue: UInt) {
-            self.rawValue = rawValue
-        }
-    }
-
-    /// A closure executed once a download request has successfully completed in order to determine where to move the
-    /// temporary file written to during the download process. The closure takes two arguments: the temporary file URL
-    /// and the URL response, and returns a two arguments: the file URL where the temporary file should be moved and
-    /// the options defining how the file should be moved.
-    public typealias DownloadFileDestination = (
-        _ temporaryURL: URL,
-        _ response: HTTPURLResponse)
-        -> (destinationURL: URL, options: DownloadOptions)
-
-    enum Downloadable: TaskConvertible {
-        case request(URLRequest)
-        case resumeData(Data)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let task: URLSessionTask
-
-                switch self {
-                case let .request(urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.downloadTask(with: urlRequest) }
-                case let .resumeData(resumeData):
-                    task = queue.sync { session.downloadTask(withResumeData: resumeData) }
-                }
-
-                return task
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-
-        if let downloadable = originalTask as? Downloadable, case let .request(urlRequest) = downloadable {
-            return urlRequest
-        }
-
-        return nil
-    }
-
-    /// The resume data of the underlying download task if available after a failure.
-    open var resumeData: Data? { return downloadDelegate.resumeData }
-
-    /// The progress of downloading the response data from the server for the request.
-    open var progress: Progress { return downloadDelegate.progress }
-
-    var downloadDelegate: DownloadTaskDelegate { return delegate as! DownloadTaskDelegate }
-
-    // MARK: State
-
-    /// Cancels the request.
-    open override func cancel() {
-        downloadDelegate.downloadTask.cancel { self.downloadDelegate.resumeData = $0 }
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidCancel,
-            object: self,
-            userInfo: [Notification.Key.Task: task as Any]
-        )
-    }
-
-    // MARK: Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `Request` as data is read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is read from the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func downloadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        downloadDelegate.progressHandler = (closure, queue)
-        return self
-    }
-
-    // MARK: Destination
-
-    /// Creates a download file destination closure which uses the default file manager to move the temporary file to a
-    /// file URL in the first available directory with the specified search path directory and search path domain mask.
-    ///
-    /// - parameter directory: The search path directory. `.DocumentDirectory` by default.
-    /// - parameter domain:    The search path domain mask. `.UserDomainMask` by default.
-    ///
-    /// - returns: A download file destination closure.
-    open class func suggestedDownloadDestination(
-        for directory: FileManager.SearchPathDirectory = .documentDirectory,
-        in domain: FileManager.SearchPathDomainMask = .userDomainMask)
-        -> DownloadFileDestination
-    {
-        return { temporaryURL, response in
-            let directoryURLs = FileManager.default.urls(for: directory, in: domain)
-
-            if !directoryURLs.isEmpty {
-                return (directoryURLs[0].appendingPathComponent(response.suggestedFilename!), [])
-            }
-
-            return (temporaryURL, [])
-        }
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionUploadTask`.
-open class UploadRequest: DataRequest {
-
-    // MARK: Helper Types
-
-    enum Uploadable: TaskConvertible {
-        case data(Data, URLRequest)
-        case file(URL, URLRequest)
-        case stream(InputStream, URLRequest)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let task: URLSessionTask
-
-                switch self {
-                case let .data(data, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(with: urlRequest, from: data) }
-                case let .file(url, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(with: urlRequest, fromFile: url) }
-                case let .stream(_, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(withStreamedRequest: urlRequest) }
-                }
-
-                return task
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-
-        guard let uploadable = originalTask as? Uploadable else { return nil }
-
-        switch uploadable {
-        case .data(_, let urlRequest), .file(_, let urlRequest), .stream(_, let urlRequest):
-            return urlRequest
-        }
-    }
-
-    /// The progress of uploading the payload to the server for the upload request.
-    open var uploadProgress: Progress { return uploadDelegate.uploadProgress }
-
-    var uploadDelegate: UploadTaskDelegate { return delegate as! UploadTaskDelegate }
-
-    // MARK: Upload Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `UploadRequest` as data is sent to
-    /// the server.
-    ///
-    /// After the data is sent to the server, the `progress(queue:closure:)` APIs can be used to monitor the progress
-    /// of data being read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is sent to the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func uploadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        uploadDelegate.uploadProgressHandler = (closure, queue)
-        return self
-    }
-}
-
-// MARK: -
-
-#if !os(watchOS)
-
-/// Specific type of `Request` that manages an underlying `URLSessionStreamTask`.
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-open class StreamRequest: Request {
-    enum Streamable: TaskConvertible {
-        case stream(hostName: String, port: Int)
-        case netService(NetService)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            let task: URLSessionTask
-
-            switch self {
-            case let .stream(hostName, port):
-                task = queue.sync { session.streamTask(withHostName: hostName, port: port) }
-            case let .netService(netService):
-                task = queue.sync { session.streamTask(with: netService) }
-            }
-
-            return task
-        }
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Response.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
deleted file mode 100644
index 5d3b6d2542e..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
+++ /dev/null
@@ -1,465 +0,0 @@
-//
-//  Response.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Used to store all data associated with an non-serialized response of a data or upload request.
-public struct DefaultDataResponse {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The data returned by the server.
-    public let data: Data?
-
-    /// The error encountered while executing or validating the request.
-    public let error: Error?
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DefaultDataResponse` instance from the specified parameters.
-    ///
-    /// - Parameters:
-    ///   - request:  The URL request sent to the server.
-    ///   - response: The server's response to the URL request.
-    ///   - data:     The data returned by the server.
-    ///   - error:    The error encountered while executing or validating the request.
-    ///   - timeline: The timeline of the complete lifecycle of the request. `Timeline()` by default.
-    ///   - metrics:  The task metrics containing the request / response statistics. `nil` by default.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?,
-        timeline: Timeline = Timeline(),
-        metrics: AnyObject? = nil)
-    {
-        self.request = request
-        self.response = response
-        self.data = data
-        self.error = error
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with a serialized response of a data or upload request.
-public struct DataResponse<Value> {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The data returned by the server.
-    public let data: Data?
-
-    /// The result of response serialization.
-    public let result: Result<Value>
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    /// Returns the associated value of the result if it is a success, `nil` otherwise.
-    public var value: Value? { return result.value }
-
-    /// Returns the associated error value if the result if it is a failure, `nil` otherwise.
-    public var error: Error? { return result.error }
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DataResponse` instance with the specified parameters derived from response serialization.
-    ///
-    /// - parameter request:  The URL request sent to the server.
-    /// - parameter response: The server's response to the URL request.
-    /// - parameter data:     The data returned by the server.
-    /// - parameter result:   The result of response serialization.
-    /// - parameter timeline: The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`.
-    ///
-    /// - returns: The new `DataResponse` instance.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        result: Result<Value>,
-        timeline: Timeline = Timeline())
-    {
-        self.request = request
-        self.response = response
-        self.data = data
-        self.result = result
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-extension DataResponse: CustomStringConvertible, CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        return result.debugDescription
-    }
-
-    /// The debug textual representation used when written to an output stream, which includes the URL request, the URL
-    /// response, the server data, the response serialization result and the timeline.
-    public var debugDescription: String {
-        var output: [String] = []
-
-        output.append(request != nil ? "[Request]: \(request!.httpMethod ?? "GET") \(request!)" : "[Request]: nil")
-        output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil")
-        output.append("[Data]: \(data?.count ?? 0) bytes")
-        output.append("[Result]: \(result.debugDescription)")
-        output.append("[Timeline]: \(timeline.debugDescription)")
-
-        return output.joined(separator: "\n")
-    }
-}
-
-// MARK: -
-
-extension DataResponse {
-    /// Evaluates the specified closure when the result of this `DataResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: DataResponse<Data> = ...
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A `DataResponse` whose result wraps the value returned by the given closure. If this instance's
-    ///            result is a failure, returns a response wrapping the same failure.
-    public func map<T>(_ transform: (Value) -> T) -> DataResponse<T> {
-        var response = DataResponse<T>(
-            request: request,
-            response: self.response,
-            data: data,
-            result: result.map(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-
-    /// Evaluates the given closure when the result of this `DataResponse` is a success, passing the unwrapped result
-    /// value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: DataResponse<Data> = ...
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A success or failure `DataResponse` depending on the result of the given closure. If this instance's
-    ///            result is a failure, returns the same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> DataResponse<T> {
-        var response = DataResponse<T>(
-            request: request,
-            response: self.response,
-            data: data,
-            result: result.flatMap(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with an non-serialized response of a download request.
-public struct DefaultDownloadResponse {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The temporary destination URL of the data returned from the server.
-    public let temporaryURL: URL?
-
-    /// The final destination URL of the data returned from the server if it was moved.
-    public let destinationURL: URL?
-
-    /// The resume data generated if the request was cancelled.
-    public let resumeData: Data?
-
-    /// The error encountered while executing or validating the request.
-    public let error: Error?
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DefaultDownloadResponse` instance from the specified parameters.
-    ///
-    /// - Parameters:
-    ///   - request:        The URL request sent to the server.
-    ///   - response:       The server's response to the URL request.
-    ///   - temporaryURL:   The temporary destination URL of the data returned from the server.
-    ///   - destinationURL: The final destination URL of the data returned from the server if it was moved.
-    ///   - resumeData:     The resume data generated if the request was cancelled.
-    ///   - error:          The error encountered while executing or validating the request.
-    ///   - timeline:       The timeline of the complete lifecycle of the request. `Timeline()` by default.
-    ///   - metrics:        The task metrics containing the request / response statistics. `nil` by default.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        temporaryURL: URL?,
-        destinationURL: URL?,
-        resumeData: Data?,
-        error: Error?,
-        timeline: Timeline = Timeline(),
-        metrics: AnyObject? = nil)
-    {
-        self.request = request
-        self.response = response
-        self.temporaryURL = temporaryURL
-        self.destinationURL = destinationURL
-        self.resumeData = resumeData
-        self.error = error
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with a serialized response of a download request.
-public struct DownloadResponse<Value> {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The temporary destination URL of the data returned from the server.
-    public let temporaryURL: URL?
-
-    /// The final destination URL of the data returned from the server if it was moved.
-    public let destinationURL: URL?
-
-    /// The resume data generated if the request was cancelled.
-    public let resumeData: Data?
-
-    /// The result of response serialization.
-    public let result: Result<Value>
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    /// Returns the associated value of the result if it is a success, `nil` otherwise.
-    public var value: Value? { return result.value }
-
-    /// Returns the associated error value if the result if it is a failure, `nil` otherwise.
-    public var error: Error? { return result.error }
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DownloadResponse` instance with the specified parameters derived from response serialization.
-    ///
-    /// - parameter request:        The URL request sent to the server.
-    /// - parameter response:       The server's response to the URL request.
-    /// - parameter temporaryURL:   The temporary destination URL of the data returned from the server.
-    /// - parameter destinationURL: The final destination URL of the data returned from the server if it was moved.
-    /// - parameter resumeData:     The resume data generated if the request was cancelled.
-    /// - parameter result:         The result of response serialization.
-    /// - parameter timeline:       The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`.
-    ///
-    /// - returns: The new `DownloadResponse` instance.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        temporaryURL: URL?,
-        destinationURL: URL?,
-        resumeData: Data?,
-        result: Result<Value>,
-        timeline: Timeline = Timeline())
-    {
-        self.request = request
-        self.response = response
-        self.temporaryURL = temporaryURL
-        self.destinationURL = destinationURL
-        self.resumeData = resumeData
-        self.result = result
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-extension DownloadResponse: CustomStringConvertible, CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        return result.debugDescription
-    }
-
-    /// The debug textual representation used when written to an output stream, which includes the URL request, the URL
-    /// response, the temporary and destination URLs, the resume data, the response serialization result and the
-    /// timeline.
-    public var debugDescription: String {
-        var output: [String] = []
-
-        output.append(request != nil ? "[Request]: \(request!.httpMethod ?? "GET") \(request!)" : "[Request]: nil")
-        output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil")
-        output.append("[TemporaryURL]: \(temporaryURL?.path ?? "nil")")
-        output.append("[DestinationURL]: \(destinationURL?.path ?? "nil")")
-        output.append("[ResumeData]: \(resumeData?.count ?? 0) bytes")
-        output.append("[Result]: \(result.debugDescription)")
-        output.append("[Timeline]: \(timeline.debugDescription)")
-
-        return output.joined(separator: "\n")
-    }
-}
-
-// MARK: -
-
-extension DownloadResponse {
-    /// Evaluates the given closure when the result of this `DownloadResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: DownloadResponse<Data> = ...
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A `DownloadResponse` whose result wraps the value returned by the given closure. If this instance's
-    ///            result is a failure, returns a response wrapping the same failure.
-    public func map<T>(_ transform: (Value) -> T) -> DownloadResponse<T> {
-        var response = DownloadResponse<T>(
-            request: request,
-            response: self.response,
-            temporaryURL: temporaryURL,
-            destinationURL: destinationURL,
-            resumeData: resumeData,
-            result: result.map(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-
-    /// Evaluates the given closure when the result of this `DownloadResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: DownloadResponse<Data> = ...
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A success or failure `DownloadResponse` depending on the result of the given closure. If this
-    /// instance's result is a failure, returns the same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> DownloadResponse<T> {
-        var response = DownloadResponse<T>(
-            request: request,
-            response: self.response,
-            temporaryURL: temporaryURL,
-            destinationURL: destinationURL,
-            resumeData: resumeData,
-            result: result.flatMap(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-}
-
-// MARK: -
-
-protocol Response {
-    /// The task metrics containing the request / response statistics.
-    var _metrics: AnyObject? { get set }
-    mutating func add(_ metrics: AnyObject?)
-}
-
-extension Response {
-    mutating func add(_ metrics: AnyObject?) {
-        #if !os(watchOS)
-            guard #available(iOS 10.0, macOS 10.12, tvOS 10.0, *) else { return }
-            guard let metrics = metrics as? URLSessionTaskMetrics else { return }
-
-            _metrics = metrics
-        #endif
-    }
-}
-
-// MARK: -
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DefaultDataResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DataResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DefaultDownloadResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DownloadResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
deleted file mode 100644
index 1a59da550a7..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
+++ /dev/null
@@ -1,715 +0,0 @@
-//
-//  ResponseSerialization.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// The type in which all data response serializers must conform to in order to serialize a response.
-public protocol DataResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DataResponseSerializerType`.
-    associatedtype SerializedObject
-
-    /// A closure used by response handlers that takes a request, response, data and error and returns a result.
-    var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<SerializedObject> { get }
-}
-
-// MARK: -
-
-/// A generic `DataResponseSerializerType` used to serialize a request, response, and data into a serialized object.
-public struct DataResponseSerializer<Value>: DataResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DataResponseSerializer`.
-    public typealias SerializedObject = Value
-
-    /// A closure used by response handlers that takes a request, response, data and error and returns a result.
-    public var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<Value>
-
-    /// Initializes the `ResponseSerializer` instance with the given serialize response closure.
-    ///
-    /// - parameter serializeResponse: The closure used to serialize the response.
-    ///
-    /// - returns: The new generic response serializer instance.
-    public init(serializeResponse: @escaping (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<Value>) {
-        self.serializeResponse = serializeResponse
-    }
-}
-
-// MARK: -
-
-/// The type in which all download response serializers must conform to in order to serialize a response.
-public protocol DownloadResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DownloadResponseSerializerType`.
-    associatedtype SerializedObject
-
-    /// A closure used by response handlers that takes a request, response, url and error and returns a result.
-    var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<SerializedObject> { get }
-}
-
-// MARK: -
-
-/// A generic `DownloadResponseSerializerType` used to serialize a request, response, and data into a serialized object.
-public struct DownloadResponseSerializer<Value>: DownloadResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DownloadResponseSerializer`.
-    public typealias SerializedObject = Value
-
-    /// A closure used by response handlers that takes a request, response, url and error and returns a result.
-    public var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<Value>
-
-    /// Initializes the `ResponseSerializer` instance with the given serialize response closure.
-    ///
-    /// - parameter serializeResponse: The closure used to serialize the response.
-    ///
-    /// - returns: The new generic response serializer instance.
-    public init(serializeResponse: @escaping (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<Value>) {
-        self.serializeResponse = serializeResponse
-    }
-}
-
-// MARK: - Timeline
-
-extension Request {
-    var timeline: Timeline {
-        let requestStartTime = self.startTime ?? CFAbsoluteTimeGetCurrent()
-        let requestCompletedTime = self.endTime ?? CFAbsoluteTimeGetCurrent()
-        let initialResponseTime = self.delegate.initialResponseTime ?? requestCompletedTime
-
-        return Timeline(
-            requestStartTime: requestStartTime,
-            initialResponseTime: initialResponseTime,
-            requestCompletedTime: requestCompletedTime,
-            serializationCompletedTime: CFAbsoluteTimeGetCurrent()
-        )
-    }
-}
-
-// MARK: - Default
-
-extension DataRequest {
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:             The queue on which the completion handler is dispatched.
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response(queue: DispatchQueue? = nil, completionHandler: @escaping (DefaultDataResponse) -> Void) -> Self {
-        delegate.queue.addOperation {
-            (queue ?? DispatchQueue.main).async {
-                var dataResponse = DefaultDataResponse(
-                    request: self.request,
-                    response: self.response,
-                    data: self.delegate.data,
-                    error: self.delegate.error,
-                    timeline: self.timeline
-                )
-
-                dataResponse.add(self.delegate.metrics)
-
-                completionHandler(dataResponse)
-            }
-        }
-
-        return self
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:              The queue on which the completion handler is dispatched.
-    /// - parameter responseSerializer: The response serializer responsible for serializing the request, response,
-    ///                                 and data.
-    /// - parameter completionHandler:  The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response<T: DataResponseSerializerProtocol>(
-        queue: DispatchQueue? = nil,
-        responseSerializer: T,
-        completionHandler: @escaping (DataResponse<T.SerializedObject>) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            let result = responseSerializer.serializeResponse(
-                self.request,
-                self.response,
-                self.delegate.data,
-                self.delegate.error
-            )
-
-            var dataResponse = DataResponse<T.SerializedObject>(
-                request: self.request,
-                response: self.response,
-                data: self.delegate.data,
-                result: result,
-                timeline: self.timeline
-            )
-
-            dataResponse.add(self.delegate.metrics)
-
-            (queue ?? DispatchQueue.main).async { completionHandler(dataResponse) }
-        }
-
-        return self
-    }
-}
-
-extension DownloadRequest {
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:             The queue on which the completion handler is dispatched.
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DefaultDownloadResponse) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            (queue ?? DispatchQueue.main).async {
-                var downloadResponse = DefaultDownloadResponse(
-                    request: self.request,
-                    response: self.response,
-                    temporaryURL: self.downloadDelegate.temporaryURL,
-                    destinationURL: self.downloadDelegate.destinationURL,
-                    resumeData: self.downloadDelegate.resumeData,
-                    error: self.downloadDelegate.error,
-                    timeline: self.timeline
-                )
-
-                downloadResponse.add(self.delegate.metrics)
-
-                completionHandler(downloadResponse)
-            }
-        }
-
-        return self
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:              The queue on which the completion handler is dispatched.
-    /// - parameter responseSerializer: The response serializer responsible for serializing the request, response,
-    ///                                 and data contained in the destination url.
-    /// - parameter completionHandler:  The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response<T: DownloadResponseSerializerProtocol>(
-        queue: DispatchQueue? = nil,
-        responseSerializer: T,
-        completionHandler: @escaping (DownloadResponse<T.SerializedObject>) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            let result = responseSerializer.serializeResponse(
-                self.request,
-                self.response,
-                self.downloadDelegate.fileURL,
-                self.downloadDelegate.error
-            )
-
-            var downloadResponse = DownloadResponse<T.SerializedObject>(
-                request: self.request,
-                response: self.response,
-                temporaryURL: self.downloadDelegate.temporaryURL,
-                destinationURL: self.downloadDelegate.destinationURL,
-                resumeData: self.downloadDelegate.resumeData,
-                result: result,
-                timeline: self.timeline
-            )
-
-            downloadResponse.add(self.delegate.metrics)
-
-            (queue ?? DispatchQueue.main).async { completionHandler(downloadResponse) }
-        }
-
-        return self
-    }
-}
-
-// MARK: - Data
-
-extension Request {
-    /// Returns a result data type that contains the response data as-is.
-    ///
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseData(response: HTTPURLResponse?, data: Data?, error: Error?) -> Result<Data> {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(Data()) }
-
-        guard let validData = data else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNil))
-        }
-
-        return .success(validData)
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns the associated data as-is.
-    ///
-    /// - returns: A data response serializer.
-    public static func dataResponseSerializer() -> DataResponseSerializer<Data> {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseData(response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseData(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<Data>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.dataResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns the associated data as-is.
-    ///
-    /// - returns: A data response serializer.
-    public static func dataResponseSerializer() -> DownloadResponseSerializer<Data> {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseData(response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseData(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DownloadResponse<Data>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.dataResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - String
-
-extension Request {
-    /// Returns a result string type initialized from the response data with the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseString(
-        encoding: String.Encoding?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<String>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success("") }
-
-        guard let validData = data else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNil))
-        }
-
-        var convertedEncoding = encoding
-
-        if let encodingName = response?.textEncodingName as CFString!, convertedEncoding == nil {
-            convertedEncoding = String.Encoding(rawValue: CFStringConvertEncodingToNSStringEncoding(
-                CFStringConvertIANACharSetNameToEncoding(encodingName))
-            )
-        }
-
-        let actualEncoding = convertedEncoding ?? String.Encoding.isoLatin1
-
-        if let string = String(data: validData, encoding: actualEncoding) {
-            return .success(string)
-        } else {
-            return .failure(AFError.responseSerializationFailed(reason: .stringSerializationFailed(encoding: actualEncoding)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns a result string type initialized from the response data with
-    /// the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    ///
-    /// - returns: A string response serializer.
-    public static func stringResponseSerializer(encoding: String.Encoding? = nil) -> DataResponseSerializer<String> {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseString(encoding: encoding, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter encoding:          The string encoding. If `nil`, the string encoding will be determined from the
-    ///                                server response, falling back to the default HTTP default character set,
-    ///                                ISO-8859-1.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseString(
-        queue: DispatchQueue? = nil,
-        encoding: String.Encoding? = nil,
-        completionHandler: @escaping (DataResponse<String>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.stringResponseSerializer(encoding: encoding),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns a result string type initialized from the response data with
-    /// the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    ///
-    /// - returns: A string response serializer.
-    public static func stringResponseSerializer(encoding: String.Encoding? = nil) -> DownloadResponseSerializer<String> {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseString(encoding: encoding, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter encoding:          The string encoding. If `nil`, the string encoding will be determined from the
-    ///                                server response, falling back to the default HTTP default character set,
-    ///                                ISO-8859-1.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseString(
-        queue: DispatchQueue? = nil,
-        encoding: String.Encoding? = nil,
-        completionHandler: @escaping (DownloadResponse<String>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.stringResponseSerializer(encoding: encoding),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - JSON
-
-extension Request {
-    /// Returns a JSON object contained in a result type constructed from the response data using `JSONSerialization`
-    /// with the specified reading options.
-    ///
-    /// - parameter options:  The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseJSON(
-        options: JSONSerialization.ReadingOptions,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<Any>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(NSNull()) }
-
-        guard let validData = data, validData.count > 0 else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength))
-        }
-
-        do {
-            let json = try JSONSerialization.jsonObject(with: validData, options: options)
-            return .success(json)
-        } catch {
-            return .failure(AFError.responseSerializationFailed(reason: .jsonSerializationFailed(error: error)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns a JSON object result type constructed from the response data using
-    /// `JSONSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`.
-    ///
-    /// - returns: A JSON object response serializer.
-    public static func jsonResponseSerializer(
-        options: JSONSerialization.ReadingOptions = .allowFragments)
-        -> DataResponseSerializer<Any>
-    {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseJSON(options: options, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseJSON(
-        queue: DispatchQueue? = nil,
-        options: JSONSerialization.ReadingOptions = .allowFragments,
-        completionHandler: @escaping (DataResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.jsonResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns a JSON object result type constructed from the response data using
-    /// `JSONSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`.
-    ///
-    /// - returns: A JSON object response serializer.
-    public static func jsonResponseSerializer(
-        options: JSONSerialization.ReadingOptions = .allowFragments)
-        -> DownloadResponseSerializer<Any>
-    {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseJSON(options: options, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseJSON(
-        queue: DispatchQueue? = nil,
-        options: JSONSerialization.ReadingOptions = .allowFragments,
-        completionHandler: @escaping (DownloadResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.jsonResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - Property List
-
-extension Request {
-    /// Returns a plist object contained in a result type constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options:  The property list reading options. Defaults to `[]`.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponsePropertyList(
-        options: PropertyListSerialization.ReadOptions,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<Any>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(NSNull()) }
-
-        guard let validData = data, validData.count > 0 else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength))
-        }
-
-        do {
-            let plist = try PropertyListSerialization.propertyList(from: validData, options: options, format: nil)
-            return .success(plist)
-        } catch {
-            return .failure(AFError.responseSerializationFailed(reason: .propertyListSerializationFailed(error: error)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns an object constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The property list reading options. Defaults to `[]`.
-    ///
-    /// - returns: A property list object response serializer.
-    public static func propertyListResponseSerializer(
-        options: PropertyListSerialization.ReadOptions = [])
-        -> DataResponseSerializer<Any>
-    {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponsePropertyList(options: options, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The property list reading options. Defaults to `[]`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responsePropertyList(
-        queue: DispatchQueue? = nil,
-        options: PropertyListSerialization.ReadOptions = [],
-        completionHandler: @escaping (DataResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.propertyListResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns an object constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The property list reading options. Defaults to `[]`.
-    ///
-    /// - returns: A property list object response serializer.
-    public static func propertyListResponseSerializer(
-        options: PropertyListSerialization.ReadOptions = [])
-        -> DownloadResponseSerializer<Any>
-    {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponsePropertyList(options: options, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The property list reading options. Defaults to `[]`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responsePropertyList(
-        queue: DispatchQueue? = nil,
-        options: PropertyListSerialization.ReadOptions = [],
-        completionHandler: @escaping (DownloadResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.propertyListResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-/// A set of HTTP response status code that do not contain response data.
-private let emptyDataStatusCodes: Set<Int> = [204, 205]
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Result.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
deleted file mode 100644
index bf7e70255b7..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
+++ /dev/null
@@ -1,300 +0,0 @@
-//
-//  Result.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Used to represent whether a request was successful or encountered an error.
-///
-/// - success: The request and all post processing operations were successful resulting in the serialization of the
-///            provided associated value.
-///
-/// - failure: The request encountered an error resulting in a failure. The associated values are the original data
-///            provided by the server as well as the error that caused the failure.
-public enum Result<Value> {
-    case success(Value)
-    case failure(Error)
-
-    /// Returns `true` if the result is a success, `false` otherwise.
-    public var isSuccess: Bool {
-        switch self {
-        case .success:
-            return true
-        case .failure:
-            return false
-        }
-    }
-
-    /// Returns `true` if the result is a failure, `false` otherwise.
-    public var isFailure: Bool {
-        return !isSuccess
-    }
-
-    /// Returns the associated value if the result is a success, `nil` otherwise.
-    public var value: Value? {
-        switch self {
-        case .success(let value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-
-    /// Returns the associated error value if the result is a failure, `nil` otherwise.
-    public var error: Error? {
-        switch self {
-        case .success:
-            return nil
-        case .failure(let error):
-            return error
-        }
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Result: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        switch self {
-        case .success:
-            return "SUCCESS"
-        case .failure:
-            return "FAILURE"
-        }
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Result: CustomDebugStringConvertible {
-    /// The debug textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure in addition to the value or error.
-    public var debugDescription: String {
-        switch self {
-        case .success(let value):
-            return "SUCCESS: \(value)"
-        case .failure(let error):
-            return "FAILURE: \(error)"
-        }
-    }
-}
-
-// MARK: - Functional APIs
-
-extension Result {
-    /// Creates a `Result` instance from the result of a closure.
-    ///
-    /// A failure result is created when the closure throws, and a success result is created when the closure
-    /// succeeds without throwing an error.
-    ///
-    ///     func someString() throws -> String { ... }
-    ///
-    ///     let result = Result(value: {
-    ///         return try someString()
-    ///     })
-    ///
-    ///     // The type of result is Result<String>
-    ///
-    /// The trailing closure syntax is also supported:
-    ///
-    ///     let result = Result { try someString() }
-    ///
-    /// - parameter value: The closure to execute and create the result for.
-    public init(value: () throws -> Value) {
-        do {
-            self = try .success(value())
-        } catch {
-            self = .failure(error)
-        }
-    }
-
-    /// Returns the success value, or throws the failure error.
-    ///
-    ///     let possibleString: Result<String> = .success("success")
-    ///     try print(possibleString.unwrap())
-    ///     // Prints "success"
-    ///
-    ///     let noString: Result<String> = .failure(error)
-    ///     try print(noString.unwrap())
-    ///     // Throws error
-    public func unwrap() throws -> Value {
-        switch self {
-        case .success(let value):
-            return value
-        case .failure(let error):
-            throw error
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data())
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///     try print(possibleInt.unwrap())
-    ///     // Prints "0"
-    ///
-    ///     let noData: Result<Data> = .failure(error)
-    ///     let noInt = noData.map { $0.count }
-    ///     try print(noInt.unwrap())
-    ///     // Throws error
-    ///
-    /// - parameter transform: A closure that takes the success value of the `Result` instance.
-    ///
-    /// - returns: A `Result` containing the result of the given closure. If this instance is a failure, returns the
-    ///            same failure.
-    public func map<T>(_ transform: (Value) -> T) -> Result<T> {
-        switch self {
-        case .success(let value):
-            return .success(transform(value))
-        case .failure(let error):
-            return .failure(error)
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data(...))
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance.
-    ///
-    /// - returns: A `Result` containing the result of the given closure. If this instance is a failure, returns the
-    ///            same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> Result<T> {
-        switch self {
-        case .success(let value):
-            do {
-                return try .success(transform(value))
-            } catch {
-                return .failure(error)
-            }
-        case .failure(let error):
-            return .failure(error)
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `mapError` function with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: Result<Data> = .failure(someError)
-    ///     let withMyError: Result<Data> = possibleData.mapError { MyError.error($0) }
-    ///
-    /// - Parameter transform: A closure that takes the error of the instance.
-    /// - Returns: A `Result` instance containing the result of the transform. If this instance is a success, returns
-    ///            the same instance.
-    public func mapError<T: Error>(_ transform: (Error) -> T) -> Result {
-        switch self {
-        case .failure(let error):
-            return .failure(transform(error))
-        case .success:
-            return self
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `flatMapError` function with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data(...))
-    ///     let possibleObject = possibleData.flatMapError {
-    ///         try someFailableFunction(taking: $0)
-    ///     }
-    ///
-    /// - Parameter transform: A throwing closure that takes the error of the instance.
-    ///
-    /// - Returns: A `Result` instance containing the result of the transform. If this instance is a success, returns
-    ///            the same instance.
-    public func flatMapError<T: Error>(_ transform: (Error) throws -> T) -> Result {
-        switch self {
-        case .failure(let error):
-            do {
-                return try .failure(transform(error))
-            } catch {
-                return .failure(error)
-            }
-        case .success:
-            return self
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `withValue` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A closure that takes the success value of this instance.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func withValue(_ closure: (Value) -> Void) -> Result {
-        if case let .success(value) = self { closure(value) }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `withError` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A closure that takes the success value of this instance.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func withError(_ closure: (Error) -> Void) -> Result {
-        if case let .failure(error) = self { closure(error) }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success.
-    ///
-    /// Use the `ifSuccess` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A `Void` closure.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func ifSuccess(_ closure: () -> Void) -> Result {
-        if isSuccess { closure() }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure.
-    ///
-    /// Use the `ifFailure` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A `Void` closure.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func ifFailure(_ closure: () -> Void) -> Result {
-        if isFailure { closure() }
-
-        return self
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
deleted file mode 100644
index 9c0e7c8d508..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
+++ /dev/null
@@ -1,307 +0,0 @@
-//
-//  ServerTrustPolicy.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for managing the mapping of `ServerTrustPolicy` objects to a given host.
-open class ServerTrustPolicyManager {
-    /// The dictionary of policies mapped to a particular host.
-    open let policies: [String: ServerTrustPolicy]
-
-    /// Initializes the `ServerTrustPolicyManager` instance with the given policies.
-    ///
-    /// Since different servers and web services can have different leaf certificates, intermediate and even root
-    /// certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This
-    /// allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key
-    /// pinning for host3 and disabling evaluation for host4.
-    ///
-    /// - parameter policies: A dictionary of all policies mapped to a particular host.
-    ///
-    /// - returns: The new `ServerTrustPolicyManager` instance.
-    public init(policies: [String: ServerTrustPolicy]) {
-        self.policies = policies
-    }
-
-    /// Returns the `ServerTrustPolicy` for the given host if applicable.
-    ///
-    /// By default, this method will return the policy that perfectly matches the given host. Subclasses could override
-    /// this method and implement more complex mapping implementations such as wildcards.
-    ///
-    /// - parameter host: The host to use when searching for a matching policy.
-    ///
-    /// - returns: The server trust policy for the given host if found.
-    open func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? {
-        return policies[host]
-    }
-}
-
-// MARK: -
-
-extension URLSession {
-    private struct AssociatedKeys {
-        static var managerKey = "URLSession.ServerTrustPolicyManager"
-    }
-
-    var serverTrustPolicyManager: ServerTrustPolicyManager? {
-        get {
-            return objc_getAssociatedObject(self, &AssociatedKeys.managerKey) as? ServerTrustPolicyManager
-        }
-        set (manager) {
-            objc_setAssociatedObject(self, &AssociatedKeys.managerKey, manager, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
-        }
-    }
-}
-
-// MARK: - ServerTrustPolicy
-
-/// The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when
-/// connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust
-/// with a given set of criteria to determine whether the server trust is valid and the connection should be made.
-///
-/// Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other
-/// vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged
-/// to route all communication over an HTTPS connection with pinning enabled.
-///
-/// - performDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to
-///                             validate the host provided by the challenge. Applications are encouraged to always
-///                             validate the host in production environments to guarantee the validity of the server's
-///                             certificate chain.
-///
-/// - performRevokedEvaluation: Uses the default and revoked server trust evaluations allowing you to control whether to
-///                             validate the host provided by the challenge as well as specify the revocation flags for
-///                             testing for revoked certificates. Apple platforms did not start testing for revoked
-///                             certificates automatically until iOS 10.1, macOS 10.12 and tvOS 10.1 which is
-///                             demonstrated in our TLS tests. Applications are encouraged to always validate the host
-///                             in production environments to guarantee the validity of the server's certificate chain.
-///
-/// - pinCertificates:          Uses the pinned certificates to validate the server trust. The server trust is
-///                             considered valid if one of the pinned certificates match one of the server certificates.
-///                             By validating both the certificate chain and host, certificate pinning provides a very
-///                             secure form of server trust validation mitigating most, if not all, MITM attacks.
-///                             Applications are encouraged to always validate the host and require a valid certificate
-///                             chain in production environments.
-///
-/// - pinPublicKeys:            Uses the pinned public keys to validate the server trust. The server trust is considered
-///                             valid if one of the pinned public keys match one of the server certificate public keys.
-///                             By validating both the certificate chain and host, public key pinning provides a very
-///                             secure form of server trust validation mitigating most, if not all, MITM attacks.
-///                             Applications are encouraged to always validate the host and require a valid certificate
-///                             chain in production environments.
-///
-/// - disableEvaluation:        Disables all evaluation which in turn will always consider any server trust as valid.
-///
-/// - customEvaluation:         Uses the associated closure to evaluate the validity of the server trust.
-public enum ServerTrustPolicy {
-    case performDefaultEvaluation(validateHost: Bool)
-    case performRevokedEvaluation(validateHost: Bool, revocationFlags: CFOptionFlags)
-    case pinCertificates(certificates: [SecCertificate], validateCertificateChain: Bool, validateHost: Bool)
-    case pinPublicKeys(publicKeys: [SecKey], validateCertificateChain: Bool, validateHost: Bool)
-    case disableEvaluation
-    case customEvaluation((_ serverTrust: SecTrust, _ host: String) -> Bool)
-
-    // MARK: - Bundle Location
-
-    /// Returns all certificates within the given bundle with a `.cer` file extension.
-    ///
-    /// - parameter bundle: The bundle to search for all `.cer` files.
-    ///
-    /// - returns: All certificates within the given bundle.
-    public static func certificates(in bundle: Bundle = Bundle.main) -> [SecCertificate] {
-        var certificates: [SecCertificate] = []
-
-        let paths = Set([".cer", ".CER", ".crt", ".CRT", ".der", ".DER"].map { fileExtension in
-            bundle.paths(forResourcesOfType: fileExtension, inDirectory: nil)
-        }.joined())
-
-        for path in paths {
-            if
-                let certificateData = try? Data(contentsOf: URL(fileURLWithPath: path)) as CFData,
-                let certificate = SecCertificateCreateWithData(nil, certificateData)
-            {
-                certificates.append(certificate)
-            }
-        }
-
-        return certificates
-    }
-
-    /// Returns all public keys within the given bundle with a `.cer` file extension.
-    ///
-    /// - parameter bundle: The bundle to search for all `*.cer` files.
-    ///
-    /// - returns: All public keys within the given bundle.
-    public static func publicKeys(in bundle: Bundle = Bundle.main) -> [SecKey] {
-        var publicKeys: [SecKey] = []
-
-        for certificate in certificates(in: bundle) {
-            if let publicKey = publicKey(for: certificate) {
-                publicKeys.append(publicKey)
-            }
-        }
-
-        return publicKeys
-    }
-
-    // MARK: - Evaluation
-
-    /// Evaluates whether the server trust is valid for the given host.
-    ///
-    /// - parameter serverTrust: The server trust to evaluate.
-    /// - parameter host:        The host of the challenge protection space.
-    ///
-    /// - returns: Whether the server trust is valid.
-    public func evaluate(_ serverTrust: SecTrust, forHost host: String) -> Bool {
-        var serverTrustIsValid = false
-
-        switch self {
-        case let .performDefaultEvaluation(validateHost):
-            let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-            SecTrustSetPolicies(serverTrust, policy)
-
-            serverTrustIsValid = trustIsValid(serverTrust)
-        case let .performRevokedEvaluation(validateHost, revocationFlags):
-            let defaultPolicy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-            let revokedPolicy = SecPolicyCreateRevocation(revocationFlags)
-            SecTrustSetPolicies(serverTrust, [defaultPolicy, revokedPolicy] as CFTypeRef)
-
-            serverTrustIsValid = trustIsValid(serverTrust)
-        case let .pinCertificates(pinnedCertificates, validateCertificateChain, validateHost):
-            if validateCertificateChain {
-                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-                SecTrustSetPolicies(serverTrust, policy)
-
-                SecTrustSetAnchorCertificates(serverTrust, pinnedCertificates as CFArray)
-                SecTrustSetAnchorCertificatesOnly(serverTrust, true)
-
-                serverTrustIsValid = trustIsValid(serverTrust)
-            } else {
-                let serverCertificatesDataArray = certificateData(for: serverTrust)
-                let pinnedCertificatesDataArray = certificateData(for: pinnedCertificates)
-
-                outerLoop: for serverCertificateData in serverCertificatesDataArray {
-                    for pinnedCertificateData in pinnedCertificatesDataArray {
-                        if serverCertificateData == pinnedCertificateData {
-                            serverTrustIsValid = true
-                            break outerLoop
-                        }
-                    }
-                }
-            }
-        case let .pinPublicKeys(pinnedPublicKeys, validateCertificateChain, validateHost):
-            var certificateChainEvaluationPassed = true
-
-            if validateCertificateChain {
-                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-                SecTrustSetPolicies(serverTrust, policy)
-
-                certificateChainEvaluationPassed = trustIsValid(serverTrust)
-            }
-
-            if certificateChainEvaluationPassed {
-                outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeys(for: serverTrust) as [AnyObject] {
-                    for pinnedPublicKey in pinnedPublicKeys as [AnyObject] {
-                        if serverPublicKey.isEqual(pinnedPublicKey) {
-                            serverTrustIsValid = true
-                            break outerLoop
-                        }
-                    }
-                }
-            }
-        case .disableEvaluation:
-            serverTrustIsValid = true
-        case let .customEvaluation(closure):
-            serverTrustIsValid = closure(serverTrust, host)
-        }
-
-        return serverTrustIsValid
-    }
-
-    // MARK: - Private - Trust Validation
-
-    private func trustIsValid(_ trust: SecTrust) -> Bool {
-        var isValid = false
-
-        var result = SecTrustResultType.invalid
-        let status = SecTrustEvaluate(trust, &result)
-
-        if status == errSecSuccess {
-            let unspecified = SecTrustResultType.unspecified
-            let proceed = SecTrustResultType.proceed
-
-
-            isValid = result == unspecified || result == proceed
-        }
-
-        return isValid
-    }
-
-    // MARK: - Private - Certificate Data
-
-    private func certificateData(for trust: SecTrust) -> [Data] {
-        var certificates: [SecCertificate] = []
-
-        for index in 0..<SecTrustGetCertificateCount(trust) {
-            if let certificate = SecTrustGetCertificateAtIndex(trust, index) {
-                certificates.append(certificate)
-            }
-        }
-
-        return certificateData(for: certificates)
-    }
-
-    private func certificateData(for certificates: [SecCertificate]) -> [Data] {
-        return certificates.map { SecCertificateCopyData($0) as Data }
-    }
-
-    // MARK: - Private - Public Key Extraction
-
-    private static func publicKeys(for trust: SecTrust) -> [SecKey] {
-        var publicKeys: [SecKey] = []
-
-        for index in 0..<SecTrustGetCertificateCount(trust) {
-            if
-                let certificate = SecTrustGetCertificateAtIndex(trust, index),
-                let publicKey = publicKey(for: certificate)
-            {
-                publicKeys.append(publicKey)
-            }
-        }
-
-        return publicKeys
-    }
-
-    private static func publicKey(for certificate: SecCertificate) -> SecKey? {
-        var publicKey: SecKey?
-
-        let policy = SecPolicyCreateBasicX509()
-        var trust: SecTrust?
-        let trustCreationStatus = SecTrustCreateWithCertificates(certificate, policy, &trust)
-
-        if let trust = trust, trustCreationStatus == errSecSuccess {
-            publicKey = SecTrustCopyPublicKey(trust)
-        }
-
-        return publicKey
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
deleted file mode 100644
index 8edb492b699..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
+++ /dev/null
@@ -1,719 +0,0 @@
-//
-//  SessionDelegate.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for handling all delegate callbacks for the underlying session.
-open class SessionDelegate: NSObject {
-
-    // MARK: URLSessionDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSession(_:didBecomeInvalidWithError:)`.
-    open var sessionDidBecomeInvalidWithError: ((URLSession, Error?) -> Void)?
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)`.
-    open var sessionDidReceiveChallenge: ((URLSession, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-    /// Overrides all behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)` and requires the caller to call the `completionHandler`.
-    open var sessionDidReceiveChallengeWithCompletion: ((URLSession, URLAuthenticationChallenge, @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSessionDidFinishEvents(forBackgroundURLSession:)`.
-    open var sessionDidFinishEventsForBackgroundURLSession: ((URLSession) -> Void)?
-
-    // MARK: URLSessionTaskDelegate Overrides
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)`.
-    open var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskWillPerformHTTPRedirectionWithCompletion: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping (URLRequest?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didReceive:completionHandler:)`.
-    open var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:didReceive:completionHandler:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskDidReceiveChallengeWithCompletion: ((URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:needNewBodyStream:)`.
-    open var taskNeedNewBodyStream: ((URLSession, URLSessionTask) -> InputStream?)?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:needNewBodyStream:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskNeedNewBodyStreamWithCompletion: ((URLSession, URLSessionTask, @escaping (InputStream?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:)`.
-    open var taskDidSendBodyData: ((URLSession, URLSessionTask, Int64, Int64, Int64) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didCompleteWithError:)`.
-    open var taskDidComplete: ((URLSession, URLSessionTask, Error?) -> Void)?
-
-    // MARK: URLSessionDataDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:completionHandler:)`.
-    open var dataTaskDidReceiveResponse: ((URLSession, URLSessionDataTask, URLResponse) -> URLSession.ResponseDisposition)?
-
-    /// Overrides all behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:completionHandler:)` and
-    /// requires caller to call the `completionHandler`.
-    open var dataTaskDidReceiveResponseWithCompletion: ((URLSession, URLSessionDataTask, URLResponse, @escaping (URLSession.ResponseDisposition) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didBecome:)`.
-    open var dataTaskDidBecomeDownloadTask: ((URLSession, URLSessionDataTask, URLSessionDownloadTask) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:)`.
-    open var dataTaskDidReceiveData: ((URLSession, URLSessionDataTask, Data) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)`.
-    open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-
-    /// Overrides all behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)` and
-    /// requires caller to call the `completionHandler`.
-    open var dataTaskWillCacheResponseWithCompletion: ((URLSession, URLSessionDataTask, CachedURLResponse, @escaping (CachedURLResponse?) -> Void) -> Void)?
-
-    // MARK: URLSessionDownloadDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didFinishDownloadingTo:)`.
-    open var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> Void)?
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:)`.
-    open var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)`.
-    open var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)?
-
-    // MARK: URLSessionStreamDelegate Overrides
-
-#if !os(watchOS)
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:readClosedFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskReadClosed: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskReadClosed as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskReadClosed = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:writeClosedFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskWriteClosed: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskWriteClosed as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskWriteClosed = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:betterRouteDiscoveredFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskBetterRouteDiscovered: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskBetterRouteDiscovered as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskBetterRouteDiscovered = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:streamTask:didBecome:outputStream:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskDidBecomeInputAndOutputStreams: ((URLSession, URLSessionStreamTask, InputStream, OutputStream) -> Void)? {
-        get {
-            return _streamTaskDidBecomeInputStream as? (URLSession, URLSessionStreamTask, InputStream, OutputStream) -> Void
-        }
-        set {
-            _streamTaskDidBecomeInputStream = newValue
-        }
-    }
-
-    var _streamTaskReadClosed: Any?
-    var _streamTaskWriteClosed: Any?
-    var _streamTaskBetterRouteDiscovered: Any?
-    var _streamTaskDidBecomeInputStream: Any?
-
-#endif
-
-    // MARK: Properties
-
-    var retrier: RequestRetrier?
-    weak var sessionManager: SessionManager?
-
-    private var requests: [Int: Request] = [:]
-    private let lock = NSLock()
-
-    /// Access the task delegate for the specified task in a thread-safe manner.
-    open subscript(task: URLSessionTask) -> Request? {
-        get {
-            lock.lock() ; defer { lock.unlock() }
-            return requests[task.taskIdentifier]
-        }
-        set {
-            lock.lock() ; defer { lock.unlock() }
-            requests[task.taskIdentifier] = newValue
-        }
-    }
-
-    // MARK: Lifecycle
-
-    /// Initializes the `SessionDelegate` instance.
-    ///
-    /// - returns: The new `SessionDelegate` instance.
-    public override init() {
-        super.init()
-    }
-
-    // MARK: NSObject Overrides
-
-    /// Returns a `Bool` indicating whether the `SessionDelegate` implements or inherits a method that can respond
-    /// to a specified message.
-    ///
-    /// - parameter selector: A selector that identifies a message.
-    ///
-    /// - returns: `true` if the receiver implements or inherits a method that can respond to selector, otherwise `false`.
-    open override func responds(to selector: Selector) -> Bool {
-        #if !os(macOS)
-            if selector == #selector(URLSessionDelegate.urlSessionDidFinishEvents(forBackgroundURLSession:)) {
-                return sessionDidFinishEventsForBackgroundURLSession != nil
-            }
-        #endif
-
-        #if !os(watchOS)
-            if #available(iOS 9.0, macOS 10.11, tvOS 9.0, *) {
-                switch selector {
-                case #selector(URLSessionStreamDelegate.urlSession(_:readClosedFor:)):
-                    return streamTaskReadClosed != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:writeClosedFor:)):
-                    return streamTaskWriteClosed != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:betterRouteDiscoveredFor:)):
-                    return streamTaskBetterRouteDiscovered != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:streamTask:didBecome:outputStream:)):
-                    return streamTaskDidBecomeInputAndOutputStreams != nil
-                default:
-                    break
-                }
-            }
-        #endif
-
-        switch selector {
-        case #selector(URLSessionDelegate.urlSession(_:didBecomeInvalidWithError:)):
-            return sessionDidBecomeInvalidWithError != nil
-        case #selector(URLSessionDelegate.urlSession(_:didReceive:completionHandler:)):
-            return (sessionDidReceiveChallenge != nil  || sessionDidReceiveChallengeWithCompletion != nil)
-        case #selector(URLSessionTaskDelegate.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)):
-            return (taskWillPerformHTTPRedirection != nil || taskWillPerformHTTPRedirectionWithCompletion != nil)
-        case #selector(URLSessionDataDelegate.urlSession(_:dataTask:didReceive:completionHandler:)):
-            return (dataTaskDidReceiveResponse != nil || dataTaskDidReceiveResponseWithCompletion != nil)
-        default:
-            return type(of: self).instancesRespond(to: selector)
-        }
-    }
-}
-
-// MARK: - URLSessionDelegate
-
-extension SessionDelegate: URLSessionDelegate {
-    /// Tells the delegate that the session has been invalidated.
-    ///
-    /// - parameter session: The session object that was invalidated.
-    /// - parameter error:   The error that caused invalidation, or nil if the invalidation was explicit.
-    open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
-        sessionDidBecomeInvalidWithError?(session, error)
-    }
-
-    /// Requests credentials from the delegate in response to a session-level authentication request from the
-    /// remote server.
-    ///
-    /// - parameter session:           The session containing the task that requested authentication.
-    /// - parameter challenge:         An object that contains the request for authentication.
-    /// - parameter completionHandler: A handler that your delegate method must call providing the disposition
-    ///                                and credential.
-    open func urlSession(
-        _ session: URLSession,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        guard sessionDidReceiveChallengeWithCompletion == nil else {
-            sessionDidReceiveChallengeWithCompletion?(session, challenge, completionHandler)
-            return
-        }
-
-        var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
-        var credential: URLCredential?
-
-        if let sessionDidReceiveChallenge = sessionDidReceiveChallenge {
-            (disposition, credential) = sessionDidReceiveChallenge(session, challenge)
-        } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
-            let host = challenge.protectionSpace.host
-
-            if
-                let serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicy(forHost: host),
-                let serverTrust = challenge.protectionSpace.serverTrust
-            {
-                if serverTrustPolicy.evaluate(serverTrust, forHost: host) {
-                    disposition = .useCredential
-                    credential = URLCredential(trust: serverTrust)
-                } else {
-                    disposition = .cancelAuthenticationChallenge
-                }
-            }
-        }
-
-        completionHandler(disposition, credential)
-    }
-
-#if !os(macOS)
-
-    /// Tells the delegate that all messages enqueued for a session have been delivered.
-    ///
-    /// - parameter session: The session that no longer has any outstanding requests.
-    open func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
-        sessionDidFinishEventsForBackgroundURLSession?(session)
-    }
-
-#endif
-}
-
-// MARK: - URLSessionTaskDelegate
-
-extension SessionDelegate: URLSessionTaskDelegate {
-    /// Tells the delegate that the remote server requested an HTTP redirect.
-    ///
-    /// - parameter session:           The session containing the task whose request resulted in a redirect.
-    /// - parameter task:              The task whose request resulted in a redirect.
-    /// - parameter response:          An object containing the server’s response to the original request.
-    /// - parameter request:           A URL request object filled out with the new location.
-    /// - parameter completionHandler: A closure that your handler should call with either the value of the request
-    ///                                parameter, a modified URL request object, or NULL to refuse the redirect and
-    ///                                return the body of the redirect response.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        guard taskWillPerformHTTPRedirectionWithCompletion == nil else {
-            taskWillPerformHTTPRedirectionWithCompletion?(session, task, response, request, completionHandler)
-            return
-        }
-
-        var redirectRequest: URLRequest? = request
-
-        if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
-            redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
-        }
-
-        completionHandler(redirectRequest)
-    }
-
-    /// Requests credentials from the delegate in response to an authentication request from the remote server.
-    ///
-    /// - parameter session:           The session containing the task whose request requires authentication.
-    /// - parameter task:              The task whose request requires authentication.
-    /// - parameter challenge:         An object that contains the request for authentication.
-    /// - parameter completionHandler: A handler that your delegate method must call providing the disposition
-    ///                                and credential.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        guard taskDidReceiveChallengeWithCompletion == nil else {
-            taskDidReceiveChallengeWithCompletion?(session, task, challenge, completionHandler)
-            return
-        }
-
-        if let taskDidReceiveChallenge = taskDidReceiveChallenge {
-            let result = taskDidReceiveChallenge(session, task, challenge)
-            completionHandler(result.0, result.1)
-        } else if let delegate = self[task]?.delegate {
-            delegate.urlSession(
-                session,
-                task: task,
-                didReceive: challenge,
-                completionHandler: completionHandler
-            )
-        } else {
-            urlSession(session, didReceive: challenge, completionHandler: completionHandler)
-        }
-    }
-
-    /// Tells the delegate when a task requires a new request body stream to send to the remote server.
-    ///
-    /// - parameter session:           The session containing the task that needs a new body stream.
-    /// - parameter task:              The task that needs a new body stream.
-    /// - parameter completionHandler: A completion handler that your delegate method should call with the new body stream.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void)
-    {
-        guard taskNeedNewBodyStreamWithCompletion == nil else {
-            taskNeedNewBodyStreamWithCompletion?(session, task, completionHandler)
-            return
-        }
-
-        if let taskNeedNewBodyStream = taskNeedNewBodyStream {
-            completionHandler(taskNeedNewBodyStream(session, task))
-        } else if let delegate = self[task]?.delegate {
-            delegate.urlSession(session, task: task, needNewBodyStream: completionHandler)
-        }
-    }
-
-    /// Periodically informs the delegate of the progress of sending body content to the server.
-    ///
-    /// - parameter session:                  The session containing the data task.
-    /// - parameter task:                     The data task.
-    /// - parameter bytesSent:                The number of bytes sent since the last time this delegate method was called.
-    /// - parameter totalBytesSent:           The total number of bytes sent so far.
-    /// - parameter totalBytesExpectedToSend: The expected length of the body data.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didSendBodyData bytesSent: Int64,
-        totalBytesSent: Int64,
-        totalBytesExpectedToSend: Int64)
-    {
-        if let taskDidSendBodyData = taskDidSendBodyData {
-            taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
-        } else if let delegate = self[task]?.delegate as? UploadTaskDelegate {
-            delegate.URLSession(
-                session,
-                task: task,
-                didSendBodyData: bytesSent,
-                totalBytesSent: totalBytesSent,
-                totalBytesExpectedToSend: totalBytesExpectedToSend
-            )
-        }
-    }
-
-#if !os(watchOS)
-
-    /// Tells the delegate that the session finished collecting metrics for the task.
-    ///
-    /// - parameter session: The session collecting the metrics.
-    /// - parameter task:    The task whose metrics have been collected.
-    /// - parameter metrics: The collected metrics.
-    @available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-    @objc(URLSession:task:didFinishCollectingMetrics:)
-    open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
-        self[task]?.delegate.metrics = metrics
-    }
-
-#endif
-
-    /// Tells the delegate that the task finished transferring data.
-    ///
-    /// - parameter session: The session containing the task whose request finished transferring data.
-    /// - parameter task:    The task whose request finished transferring data.
-    /// - parameter error:   If an error occurred, an error object indicating how the transfer failed, otherwise nil.
-    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
-        /// Executed after it is determined that the request is not going to be retried
-        let completeTask: (URLSession, URLSessionTask, Error?) -> Void = { [weak self] session, task, error in
-            guard let strongSelf = self else { return }
-
-            strongSelf.taskDidComplete?(session, task, error)
-
-            strongSelf[task]?.delegate.urlSession(session, task: task, didCompleteWithError: error)
-
-            NotificationCenter.default.post(
-                name: Notification.Name.Task.DidComplete,
-                object: strongSelf,
-                userInfo: [Notification.Key.Task: task]
-            )
-
-            strongSelf[task] = nil
-        }
-
-        guard let request = self[task], let sessionManager = sessionManager else {
-            completeTask(session, task, error)
-            return
-        }
-
-        // Run all validations on the request before checking if an error occurred
-        request.validations.forEach { $0() }
-
-        // Determine whether an error has occurred
-        var error: Error? = error
-
-        if request.delegate.error != nil {
-            error = request.delegate.error
-        }
-
-        /// If an error occurred and the retrier is set, asynchronously ask the retrier if the request
-        /// should be retried. Otherwise, complete the task by notifying the task delegate.
-        if let retrier = retrier, let error = error {
-            retrier.should(sessionManager, retry: request, with: error) { [weak self] shouldRetry, timeDelay in
-                guard shouldRetry else { completeTask(session, task, error) ; return }
-
-                DispatchQueue.utility.after(timeDelay) { [weak self] in
-                    guard let strongSelf = self else { return }
-
-                    let retrySucceeded = strongSelf.sessionManager?.retry(request) ?? false
-
-                    if retrySucceeded, let task = request.task {
-                        strongSelf[task] = request
-                        return
-                    } else {
-                        completeTask(session, task, error)
-                    }
-                }
-            }
-        } else {
-            completeTask(session, task, error)
-        }
-    }
-}
-
-// MARK: - URLSessionDataDelegate
-
-extension SessionDelegate: URLSessionDataDelegate {
-    /// Tells the delegate that the data task received the initial reply (headers) from the server.
-    ///
-    /// - parameter session:           The session containing the data task that received an initial reply.
-    /// - parameter dataTask:          The data task that received an initial reply.
-    /// - parameter response:          A URL response object populated with headers.
-    /// - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a
-    ///                                constant to indicate whether the transfer should continue as a data task or
-    ///                                should become a download task.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didReceive response: URLResponse,
-        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
-    {
-        guard dataTaskDidReceiveResponseWithCompletion == nil else {
-            dataTaskDidReceiveResponseWithCompletion?(session, dataTask, response, completionHandler)
-            return
-        }
-
-        var disposition: URLSession.ResponseDisposition = .allow
-
-        if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
-            disposition = dataTaskDidReceiveResponse(session, dataTask, response)
-        }
-
-        completionHandler(disposition)
-    }
-
-    /// Tells the delegate that the data task was changed to a download task.
-    ///
-    /// - parameter session:      The session containing the task that was replaced by a download task.
-    /// - parameter dataTask:     The data task that was replaced by a download task.
-    /// - parameter downloadTask: The new download task that replaced the data task.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didBecome downloadTask: URLSessionDownloadTask)
-    {
-        if let dataTaskDidBecomeDownloadTask = dataTaskDidBecomeDownloadTask {
-            dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask)
-        } else {
-            self[downloadTask]?.delegate = DownloadTaskDelegate(task: downloadTask)
-        }
-    }
-
-    /// Tells the delegate that the data task has received some of the expected data.
-    ///
-    /// - parameter session:  The session containing the data task that provided data.
-    /// - parameter dataTask: The data task that provided data.
-    /// - parameter data:     A data object containing the transferred data.
-    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
-        if let dataTaskDidReceiveData = dataTaskDidReceiveData {
-            dataTaskDidReceiveData(session, dataTask, data)
-        } else if let delegate = self[dataTask]?.delegate as? DataTaskDelegate {
-            delegate.urlSession(session, dataTask: dataTask, didReceive: data)
-        }
-    }
-
-    /// Asks the delegate whether the data (or upload) task should store the response in the cache.
-    ///
-    /// - parameter session:           The session containing the data (or upload) task.
-    /// - parameter dataTask:          The data (or upload) task.
-    /// - parameter proposedResponse:  The default caching behavior. This behavior is determined based on the current
-    ///                                caching policy and the values of certain received headers, such as the Pragma
-    ///                                and Cache-Control headers.
-    /// - parameter completionHandler: A block that your handler must call, providing either the original proposed
-    ///                                response, a modified version of that response, or NULL to prevent caching the
-    ///                                response. If your delegate implements this method, it must call this completion
-    ///                                handler; otherwise, your app leaks memory.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        willCacheResponse proposedResponse: CachedURLResponse,
-        completionHandler: @escaping (CachedURLResponse?) -> Void)
-    {
-        guard dataTaskWillCacheResponseWithCompletion == nil else {
-            dataTaskWillCacheResponseWithCompletion?(session, dataTask, proposedResponse, completionHandler)
-            return
-        }
-
-        if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
-            completionHandler(dataTaskWillCacheResponse(session, dataTask, proposedResponse))
-        } else if let delegate = self[dataTask]?.delegate as? DataTaskDelegate {
-            delegate.urlSession(
-                session,
-                dataTask: dataTask,
-                willCacheResponse: proposedResponse,
-                completionHandler: completionHandler
-            )
-        } else {
-            completionHandler(proposedResponse)
-        }
-    }
-}
-
-// MARK: - URLSessionDownloadDelegate
-
-extension SessionDelegate: URLSessionDownloadDelegate {
-    /// Tells the delegate that a download task has finished downloading.
-    ///
-    /// - parameter session:      The session containing the download task that finished.
-    /// - parameter downloadTask: The download task that finished.
-    /// - parameter location:     A file URL for the temporary file. Because the file is temporary, you must either
-    ///                           open the file for reading or move it to a permanent location in your app’s sandbox
-    ///                           container directory before returning from this delegate method.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didFinishDownloadingTo location: URL)
-    {
-        if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL {
-            downloadTaskDidFinishDownloadingToURL(session, downloadTask, location)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
-        }
-    }
-
-    /// Periodically informs the delegate about the download’s progress.
-    ///
-    /// - parameter session:                   The session containing the download task.
-    /// - parameter downloadTask:              The download task.
-    /// - parameter bytesWritten:              The number of bytes transferred since the last time this delegate
-    ///                                        method was called.
-    /// - parameter totalBytesWritten:         The total number of bytes transferred so far.
-    /// - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length
-    ///                                        header. If this header was not provided, the value is
-    ///                                        `NSURLSessionTransferSizeUnknown`.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didWriteData bytesWritten: Int64,
-        totalBytesWritten: Int64,
-        totalBytesExpectedToWrite: Int64)
-    {
-        if let downloadTaskDidWriteData = downloadTaskDidWriteData {
-            downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(
-                session,
-                downloadTask: downloadTask,
-                didWriteData: bytesWritten,
-                totalBytesWritten: totalBytesWritten,
-                totalBytesExpectedToWrite: totalBytesExpectedToWrite
-            )
-        }
-    }
-
-    /// Tells the delegate that the download task has resumed downloading.
-    ///
-    /// - parameter session:            The session containing the download task that finished.
-    /// - parameter downloadTask:       The download task that resumed. See explanation in the discussion.
-    /// - parameter fileOffset:         If the file's cache policy or last modified date prevents reuse of the
-    ///                                 existing content, then this value is zero. Otherwise, this value is an
-    ///                                 integer representing the number of bytes on disk that do not need to be
-    ///                                 retrieved again.
-    /// - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header.
-    ///                                 If this header was not provided, the value is NSURLSessionTransferSizeUnknown.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didResumeAtOffset fileOffset: Int64,
-        expectedTotalBytes: Int64)
-    {
-        if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
-            downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(
-                session,
-                downloadTask: downloadTask,
-                didResumeAtOffset: fileOffset,
-                expectedTotalBytes: expectedTotalBytes
-            )
-        }
-    }
-}
-
-// MARK: - URLSessionStreamDelegate
-
-#if !os(watchOS)
-
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-extension SessionDelegate: URLSessionStreamDelegate {
-    /// Tells the delegate that the read side of the connection has been closed.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
-        streamTaskReadClosed?(session, streamTask)
-    }
-
-    /// Tells the delegate that the write side of the connection has been closed.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
-        streamTaskWriteClosed?(session, streamTask)
-    }
-
-    /// Tells the delegate that the system has determined that a better route to the host is available.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
-        streamTaskBetterRouteDiscovered?(session, streamTask)
-    }
-
-    /// Tells the delegate that the stream task has been completed and provides the unopened stream objects.
-    ///
-    /// - parameter session:      The session.
-    /// - parameter streamTask:   The stream task.
-    /// - parameter inputStream:  The new input stream.
-    /// - parameter outputStream: The new output stream.
-    open func urlSession(
-        _ session: URLSession,
-        streamTask: URLSessionStreamTask,
-        didBecome inputStream: InputStream,
-        outputStream: OutputStream)
-    {
-        streamTaskDidBecomeInputAndOutputStreams?(session, streamTask, inputStream, outputStream)
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
deleted file mode 100644
index 493ce29cb4e..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
+++ /dev/null
@@ -1,899 +0,0 @@
-//
-//  SessionManager.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for creating and managing `Request` objects, as well as their underlying `NSURLSession`.
-open class SessionManager {
-
-    // MARK: - Helper Types
-
-    /// Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as
-    /// associated values.
-    ///
-    /// - Success: Represents a successful `MultipartFormData` encoding and contains the new `UploadRequest` along with
-    ///            streaming information.
-    /// - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding
-    ///            error.
-    public enum MultipartFormDataEncodingResult {
-        case success(request: UploadRequest, streamingFromDisk: Bool, streamFileURL: URL?)
-        case failure(Error)
-    }
-
-    // MARK: - Properties
-
-    /// A default instance of `SessionManager`, used by top-level Alamofire request methods, and suitable for use
-    /// directly for any ad hoc requests.
-    open static let `default`: SessionManager = {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders
-
-        return SessionManager(configuration: configuration)
-    }()
-
-    /// Creates default values for the "Accept-Encoding", "Accept-Language" and "User-Agent" headers.
-    open static let defaultHTTPHeaders: HTTPHeaders = {
-        // Accept-Encoding HTTP Header; see https://tools.ietf.org/html/rfc7230#section-4.2.3
-        let acceptEncoding: String = "gzip;q=1.0, compress;q=0.5"
-
-        // Accept-Language HTTP Header; see https://tools.ietf.org/html/rfc7231#section-5.3.5
-    #if swift(>=4.0)
-        let acceptLanguage = Locale.preferredLanguages.prefix(6).enumerated().map { enumeratedLanguage in
-            let (index, languageCode) = enumeratedLanguage
-            let quality = 1.0 - (Double(index) * 0.1)
-            return "\(languageCode);q=\(quality)"
-        }.joined(separator: ", ")
-    #else
-        let acceptLanguage = Locale.preferredLanguages.prefix(6).enumerated().map { index, languageCode in
-            let quality = 1.0 - (Double(index) * 0.1)
-            return "\(languageCode);q=\(quality)"
-        }.joined(separator: ", ")
-    #endif
-
-        // User-Agent Header; see https://tools.ietf.org/html/rfc7231#section-5.5.3
-        // Example: `iOS Example/1.0 (org.alamofire.iOS-Example; build:1; iOS 10.0.0) Alamofire/4.0.0`
-        let userAgent: String = {
-            if let info = Bundle.main.infoDictionary {
-                let executable = info[kCFBundleExecutableKey as String] as? String ?? "Unknown"
-                let bundle = info[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
-                let appVersion = info["CFBundleShortVersionString"] as? String ?? "Unknown"
-                let appBuild = info[kCFBundleVersionKey as String] as? String ?? "Unknown"
-
-                let osNameVersion: String = {
-                    let version = ProcessInfo.processInfo.operatingSystemVersion
-                    let versionString = "\(version.majorVersion).\(version.minorVersion).\(version.patchVersion)"
-
-                    let osName: String = {
-                        #if os(iOS)
-                            return "iOS"
-                        #elseif os(watchOS)
-                            return "watchOS"
-                        #elseif os(tvOS)
-                            return "tvOS"
-                        #elseif os(macOS)
-                            return "OS X"
-                        #elseif os(Linux)
-                            return "Linux"
-                        #else
-                            return "Unknown"
-                        #endif
-                    }()
-
-                    return "\(osName) \(versionString)"
-                }()
-
-                let alamofireVersion: String = {
-                    guard
-                        let afInfo = Bundle(for: SessionManager.self).infoDictionary,
-                        let build = afInfo["CFBundleShortVersionString"]
-                    else { return "Unknown" }
-
-                    return "Alamofire/\(build)"
-                }()
-
-                return "\(executable)/\(appVersion) (\(bundle); build:\(appBuild); \(osNameVersion)) \(alamofireVersion)"
-            }
-
-            return "Alamofire"
-        }()
-
-        return [
-            "Accept-Encoding": acceptEncoding,
-            "Accept-Language": acceptLanguage,
-            "User-Agent": userAgent
-        ]
-    }()
-
-    /// Default memory threshold used when encoding `MultipartFormData` in bytes.
-    open static let multipartFormDataEncodingMemoryThreshold: UInt64 = 10_000_000
-
-    /// The underlying session.
-    open let session: URLSession
-
-    /// The session delegate handling all the task and session delegate callbacks.
-    open let delegate: SessionDelegate
-
-    /// Whether to start requests immediately after being constructed. `true` by default.
-    open var startRequestsImmediately: Bool = true
-
-    /// The request adapter called each time a new request is created.
-    open var adapter: RequestAdapter?
-
-    /// The request retrier called each time a request encounters an error to determine whether to retry the request.
-    open var retrier: RequestRetrier? {
-        get { return delegate.retrier }
-        set { delegate.retrier = newValue }
-    }
-
-    /// The background completion handler closure provided by the UIApplicationDelegate
-    /// `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background
-    /// completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation
-    /// will automatically call the handler.
-    ///
-    /// If you need to handle your own events before the handler is called, then you need to override the
-    /// SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` and manually call the handler when finished.
-    ///
-    /// `nil` by default.
-    open var backgroundCompletionHandler: (() -> Void)?
-
-    let queue = DispatchQueue(label: "org.alamofire.session-manager." + UUID().uuidString)
-
-    // MARK: - Lifecycle
-
-    /// Creates an instance with the specified `configuration`, `delegate` and `serverTrustPolicyManager`.
-    ///
-    /// - parameter configuration:            The configuration used to construct the managed session.
-    ///                                       `URLSessionConfiguration.default` by default.
-    /// - parameter delegate:                 The delegate used when initializing the session. `SessionDelegate()` by
-    ///                                       default.
-    /// - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
-    ///                                       challenges. `nil` by default.
-    ///
-    /// - returns: The new `SessionManager` instance.
-    public init(
-        configuration: URLSessionConfiguration = URLSessionConfiguration.default,
-        delegate: SessionDelegate = SessionDelegate(),
-        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
-    {
-        self.delegate = delegate
-        self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
-
-        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
-    }
-
-    /// Creates an instance with the specified `session`, `delegate` and `serverTrustPolicyManager`.
-    ///
-    /// - parameter session:                  The URL session.
-    /// - parameter delegate:                 The delegate of the URL session. Must equal the URL session's delegate.
-    /// - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
-    ///                                       challenges. `nil` by default.
-    ///
-    /// - returns: The new `SessionManager` instance if the URL session's delegate matches; `nil` otherwise.
-    public init?(
-        session: URLSession,
-        delegate: SessionDelegate,
-        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
-    {
-        guard delegate === session.delegate else { return nil }
-
-        self.delegate = delegate
-        self.session = session
-
-        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
-    }
-
-    private func commonInit(serverTrustPolicyManager: ServerTrustPolicyManager?) {
-        session.serverTrustPolicyManager = serverTrustPolicyManager
-
-        delegate.sessionManager = self
-
-        delegate.sessionDidFinishEventsForBackgroundURLSession = { [weak self] session in
-            guard let strongSelf = self else { return }
-            DispatchQueue.main.async { strongSelf.backgroundCompletionHandler?() }
-        }
-    }
-
-    deinit {
-        session.invalidateAndCancel()
-    }
-
-    // MARK: - Data Request
-
-    /// Creates a `DataRequest` to retrieve the contents of the specified `url`, `method`, `parameters`, `encoding`
-    /// and `headers`.
-    ///
-    /// - parameter url:        The URL.
-    /// - parameter method:     The HTTP method. `.get` by default.
-    /// - parameter parameters: The parameters. `nil` by default.
-    /// - parameter encoding:   The parameter encoding. `URLEncoding.default` by default.
-    /// - parameter headers:    The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `DataRequest`.
-    @discardableResult
-    open func request(
-        _ url: URLConvertible,
-        method: HTTPMethod = .get,
-        parameters: Parameters? = nil,
-        encoding: ParameterEncoding = URLEncoding.default,
-        headers: HTTPHeaders? = nil)
-        -> DataRequest
-    {
-        var originalRequest: URLRequest?
-
-        do {
-            originalRequest = try URLRequest(url: url, method: method, headers: headers)
-            let encodedURLRequest = try encoding.encode(originalRequest!, with: parameters)
-            return request(encodedURLRequest)
-        } catch {
-            return request(originalRequest, failedWith: error)
-        }
-    }
-
-    /// Creates a `DataRequest` to retrieve the contents of a URL based on the specified `urlRequest`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `DataRequest`.
-    open func request(_ urlRequest: URLRequestConvertible) -> DataRequest {
-        var originalRequest: URLRequest?
-
-        do {
-            originalRequest = try urlRequest.asURLRequest()
-            let originalTask = DataRequest.Requestable(urlRequest: originalRequest!)
-
-            let task = try originalTask.task(session: session, adapter: adapter, queue: queue)
-            let request = DataRequest(session: session, requestTask: .data(originalTask, task))
-
-            delegate[task] = request
-
-            if startRequestsImmediately { request.resume() }
-
-            return request
-        } catch {
-            return request(originalRequest, failedWith: error)
-        }
-    }
-
-    // MARK: Private - Request Implementation
-
-    private func request(_ urlRequest: URLRequest?, failedWith error: Error) -> DataRequest {
-        var requestTask: Request.RequestTask = .data(nil, nil)
-
-        if let urlRequest = urlRequest {
-            let originalTask = DataRequest.Requestable(urlRequest: urlRequest)
-            requestTask = .data(originalTask, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-        let request = DataRequest(session: session, requestTask: requestTask, error: underlyingError)
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: request, with: underlyingError)
-        } else {
-            if startRequestsImmediately { request.resume() }
-        }
-
-        return request
-    }
-
-    // MARK: - Download Request
-
-    // MARK: URL Request
-
-    /// Creates a `DownloadRequest` to retrieve the contents the specified `url`, `method`, `parameters`, `encoding`,
-    /// `headers` and save them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter url:         The URL.
-    /// - parameter method:      The HTTP method. `.get` by default.
-    /// - parameter parameters:  The parameters. `nil` by default.
-    /// - parameter encoding:    The parameter encoding. `URLEncoding.default` by default.
-    /// - parameter headers:     The HTTP headers. `nil` by default.
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        _ url: URLConvertible,
-        method: HTTPMethod = .get,
-        parameters: Parameters? = nil,
-        encoding: ParameterEncoding = URLEncoding.default,
-        headers: HTTPHeaders? = nil,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            let encodedURLRequest = try encoding.encode(urlRequest, with: parameters)
-            return download(encodedURLRequest, to: destination)
-        } catch {
-            return download(nil, to: destination, failedWith: error)
-        }
-    }
-
-    /// Creates a `DownloadRequest` to retrieve the contents of a URL based on the specified `urlRequest` and save
-    /// them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter urlRequest:  The URL request
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        _ urlRequest: URLRequestConvertible,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return download(.request(urlRequest), to: destination)
-        } catch {
-            return download(nil, to: destination, failedWith: error)
-        }
-    }
-
-    // MARK: Resume Data
-
-    /// Creates a `DownloadRequest` from the `resumeData` produced from a previous request cancellation to retrieve
-    /// the contents of the original request and save them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken
-    /// on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the
-    /// data is written incorrectly and will always fail to resume the download. For more information about the bug and
-    /// possible workarounds, please refer to the following Stack Overflow post:
-    ///
-    ///    - http://stackoverflow.com/a/39347461/1342462
-    ///
-    /// - parameter resumeData:  The resume data. This is an opaque data blob produced by `URLSessionDownloadTask`
-    ///                          when a task is cancelled. See `URLSession -downloadTask(withResumeData:)` for
-    ///                          additional information.
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        resumingWith resumeData: Data,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        return download(.resumeData(resumeData), to: destination)
-    }
-
-    // MARK: Private - Download Implementation
-
-    private func download(
-        _ downloadable: DownloadRequest.Downloadable,
-        to destination: DownloadRequest.DownloadFileDestination?)
-        -> DownloadRequest
-    {
-        do {
-            let task = try downloadable.task(session: session, adapter: adapter, queue: queue)
-            let download = DownloadRequest(session: session, requestTask: .download(downloadable, task))
-
-            download.downloadDelegate.destination = destination
-
-            delegate[task] = download
-
-            if startRequestsImmediately { download.resume() }
-
-            return download
-        } catch {
-            return download(downloadable, to: destination, failedWith: error)
-        }
-    }
-
-    private func download(
-        _ downloadable: DownloadRequest.Downloadable?,
-        to destination: DownloadRequest.DownloadFileDestination?,
-        failedWith error: Error)
-        -> DownloadRequest
-    {
-        var downloadTask: Request.RequestTask = .download(nil, nil)
-
-        if let downloadable = downloadable {
-            downloadTask = .download(downloadable, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-
-        let download = DownloadRequest(session: session, requestTask: downloadTask, error: underlyingError)
-        download.downloadDelegate.destination = destination
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: download, with: underlyingError)
-        } else {
-            if startRequestsImmediately { download.resume() }
-        }
-
-        return download
-    }
-
-    // MARK: - Upload Request
-
-    // MARK: File
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `file`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter file:    The file to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ fileURL: URL,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(fileURL, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates a `UploadRequest` from the specified `urlRequest` for uploading the `file`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter file:       The file to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ fileURL: URL, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.file(fileURL, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: Data
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `data`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter data:    The data to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ data: Data,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(data, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates an `UploadRequest` from the specified `urlRequest` for uploading the `data`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter data:       The data to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ data: Data, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.data(data, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: InputStream
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `stream`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter stream:  The stream to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ stream: InputStream,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(stream, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates an `UploadRequest` from the specified `urlRequest` for uploading the `stream`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter stream:     The stream to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ stream: InputStream, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.stream(stream, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: MultipartFormData
-
-    /// Encodes `multipartFormData` using `encodingMemoryThreshold` and calls `encodingCompletion` with new
-    /// `UploadRequest` using the `url`, `method` and `headers`.
-    ///
-    /// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-    /// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-    /// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-    /// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-    /// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-    /// used for larger payloads such as video content.
-    ///
-    /// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-    /// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-    /// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-    /// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-    /// technique was used.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-    /// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-    ///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-    /// - parameter url:                     The URL.
-    /// - parameter method:                  The HTTP method. `.post` by default.
-    /// - parameter headers:                 The HTTP headers. `nil` by default.
-    /// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-    open func upload(
-        multipartFormData: @escaping (MultipartFormData) -> Void,
-        usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil,
-        encodingCompletion: ((MultipartFormDataEncodingResult) -> Void)?)
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-
-            return upload(
-                multipartFormData: multipartFormData,
-                usingThreshold: encodingMemoryThreshold,
-                with: urlRequest,
-                encodingCompletion: encodingCompletion
-            )
-        } catch {
-            DispatchQueue.main.async { encodingCompletion?(.failure(error)) }
-        }
-    }
-
-    /// Encodes `multipartFormData` using `encodingMemoryThreshold` and calls `encodingCompletion` with new
-    /// `UploadRequest` using the `urlRequest`.
-    ///
-    /// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-    /// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-    /// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-    /// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-    /// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-    /// used for larger payloads such as video content.
-    ///
-    /// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-    /// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-    /// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-    /// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-    /// technique was used.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-    /// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-    ///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-    /// - parameter urlRequest:              The URL request.
-    /// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-    open func upload(
-        multipartFormData: @escaping (MultipartFormData) -> Void,
-        usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-        with urlRequest: URLRequestConvertible,
-        encodingCompletion: ((MultipartFormDataEncodingResult) -> Void)?)
-    {
-        DispatchQueue.global(qos: .utility).async {
-            let formData = MultipartFormData()
-            multipartFormData(formData)
-
-            var tempFileURL: URL?
-
-            do {
-                var urlRequestWithContentType = try urlRequest.asURLRequest()
-                urlRequestWithContentType.setValue(formData.contentType, forHTTPHeaderField: "Content-Type")
-
-                let isBackgroundSession = self.session.configuration.identifier != nil
-
-                if formData.contentLength < encodingMemoryThreshold && !isBackgroundSession {
-                    let data = try formData.encode()
-
-                    let encodingResult = MultipartFormDataEncodingResult.success(
-                        request: self.upload(data, with: urlRequestWithContentType),
-                        streamingFromDisk: false,
-                        streamFileURL: nil
-                    )
-
-                    DispatchQueue.main.async { encodingCompletion?(encodingResult) }
-                } else {
-                    let fileManager = FileManager.default
-                    let tempDirectoryURL = URL(fileURLWithPath: NSTemporaryDirectory())
-                    let directoryURL = tempDirectoryURL.appendingPathComponent("org.alamofire.manager/multipart.form.data")
-                    let fileName = UUID().uuidString
-                    let fileURL = directoryURL.appendingPathComponent(fileName)
-
-                    tempFileURL = fileURL
-
-                    var directoryError: Error?
-
-                    // Create directory inside serial queue to ensure two threads don't do this in parallel
-                    self.queue.sync {
-                        do {
-                            try fileManager.createDirectory(at: directoryURL, withIntermediateDirectories: true, attributes: nil)
-                        } catch {
-                            directoryError = error
-                        }
-                    }
-
-                    if let directoryError = directoryError { throw directoryError }
-
-                    try formData.writeEncodedData(to: fileURL)
-
-                    let upload = self.upload(fileURL, with: urlRequestWithContentType)
-
-                    // Cleanup the temp file once the upload is complete
-                    upload.delegate.queue.addOperation {
-                        do {
-                            try FileManager.default.removeItem(at: fileURL)
-                        } catch {
-                            // No-op
-                        }
-                    }
-
-                    DispatchQueue.main.async {
-                        let encodingResult = MultipartFormDataEncodingResult.success(
-                            request: upload,
-                            streamingFromDisk: true,
-                            streamFileURL: fileURL
-                        )
-
-                        encodingCompletion?(encodingResult)
-                    }
-                }
-            } catch {
-                // Cleanup the temp file in the event that the multipart form data encoding failed
-                if let tempFileURL = tempFileURL {
-                    do {
-                        try FileManager.default.removeItem(at: tempFileURL)
-                    } catch {
-                        // No-op
-                    }
-                }
-
-                DispatchQueue.main.async { encodingCompletion?(.failure(error)) }
-            }
-        }
-    }
-
-    // MARK: Private - Upload Implementation
-
-    private func upload(_ uploadable: UploadRequest.Uploadable) -> UploadRequest {
-        do {
-            let task = try uploadable.task(session: session, adapter: adapter, queue: queue)
-            let upload = UploadRequest(session: session, requestTask: .upload(uploadable, task))
-
-            if case let .stream(inputStream, _) = uploadable {
-                upload.delegate.taskNeedNewBodyStream = { _, _ in inputStream }
-            }
-
-            delegate[task] = upload
-
-            if startRequestsImmediately { upload.resume() }
-
-            return upload
-        } catch {
-            return upload(uploadable, failedWith: error)
-        }
-    }
-
-    private func upload(_ uploadable: UploadRequest.Uploadable?, failedWith error: Error) -> UploadRequest {
-        var uploadTask: Request.RequestTask = .upload(nil, nil)
-
-        if let uploadable = uploadable {
-            uploadTask = .upload(uploadable, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-        let upload = UploadRequest(session: session, requestTask: uploadTask, error: underlyingError)
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: upload, with: underlyingError)
-        } else {
-            if startRequestsImmediately { upload.resume() }
-        }
-
-        return upload
-    }
-
-#if !os(watchOS)
-
-    // MARK: - Stream Request
-
-    // MARK: Hostname and Port
-
-    /// Creates a `StreamRequest` for bidirectional streaming using the `hostname` and `port`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter hostName: The hostname of the server to connect to.
-    /// - parameter port:     The port of the server to connect to.
-    ///
-    /// - returns: The created `StreamRequest`.
-    @discardableResult
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open func stream(withHostName hostName: String, port: Int) -> StreamRequest {
-        return stream(.stream(hostName: hostName, port: port))
-    }
-
-    // MARK: NetService
-
-    /// Creates a `StreamRequest` for bidirectional streaming using the `netService`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter netService: The net service used to identify the endpoint.
-    ///
-    /// - returns: The created `StreamRequest`.
-    @discardableResult
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open func stream(with netService: NetService) -> StreamRequest {
-        return stream(.netService(netService))
-    }
-
-    // MARK: Private - Stream Implementation
-
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    private func stream(_ streamable: StreamRequest.Streamable) -> StreamRequest {
-        do {
-            let task = try streamable.task(session: session, adapter: adapter, queue: queue)
-            let request = StreamRequest(session: session, requestTask: .stream(streamable, task))
-
-            delegate[task] = request
-
-            if startRequestsImmediately { request.resume() }
-
-            return request
-        } catch {
-            return stream(failedWith: error)
-        }
-    }
-
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    private func stream(failedWith error: Error) -> StreamRequest {
-        let stream = StreamRequest(session: session, requestTask: .stream(nil, nil), error: error)
-        if startRequestsImmediately { stream.resume() }
-        return stream
-    }
-
-#endif
-
-    // MARK: - Internal - Retry Request
-
-    func retry(_ request: Request) -> Bool {
-        guard let originalTask = request.originalTask else { return false }
-
-        do {
-            let task = try originalTask.task(session: session, adapter: adapter, queue: queue)
-
-            request.delegate.task = task // resets all task delegate data
-
-            request.retryCount += 1
-            request.startTime = CFAbsoluteTimeGetCurrent()
-            request.endTime = nil
-
-            task.resume()
-
-            return true
-        } catch {
-            request.delegate.error = error.underlyingAdaptError ?? error
-            return false
-        }
-    }
-
-    private func allowRetrier(_ retrier: RequestRetrier, toRetry request: Request, with error: Error) {
-        DispatchQueue.utility.async { [weak self] in
-            guard let strongSelf = self else { return }
-
-            retrier.should(strongSelf, retry: request, with: error) { shouldRetry, timeDelay in
-                guard let strongSelf = self else { return }
-
-                guard shouldRetry else {
-                    if strongSelf.startRequestsImmediately { request.resume() }
-                    return
-                }
-
-                DispatchQueue.utility.after(timeDelay) {
-                    guard let strongSelf = self else { return }
-
-                    let retrySucceeded = strongSelf.retry(request)
-
-                    if retrySucceeded, let task = request.task {
-                        strongSelf.delegate[task] = request
-                    } else {
-                        if strongSelf.startRequestsImmediately { request.resume() }
-                    }
-                }
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
deleted file mode 100644
index d4fd2163c10..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
+++ /dev/null
@@ -1,453 +0,0 @@
-//
-//  TaskDelegate.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// The task delegate is responsible for handling all delegate callbacks for the underlying task as well as
-/// executing all operations attached to the serial operation queue upon task completion.
-open class TaskDelegate: NSObject {
-
-    // MARK: Properties
-
-    /// The serial operation queue used to execute all operations after the task completes.
-    open let queue: OperationQueue
-
-    /// The data returned by the server.
-    public var data: Data? { return nil }
-
-    /// The error generated throughout the lifecyle of the task.
-    public var error: Error?
-
-    var task: URLSessionTask? {
-        didSet { reset() }
-    }
-
-    var initialResponseTime: CFAbsoluteTime?
-    var credential: URLCredential?
-    var metrics: AnyObject? // URLSessionTaskMetrics
-
-    // MARK: Lifecycle
-
-    init(task: URLSessionTask?) {
-        self.task = task
-
-        self.queue = {
-            let operationQueue = OperationQueue()
-
-            operationQueue.maxConcurrentOperationCount = 1
-            operationQueue.isSuspended = true
-            operationQueue.qualityOfService = .utility
-
-            return operationQueue
-        }()
-    }
-
-    func reset() {
-        error = nil
-        initialResponseTime = nil
-    }
-
-    // MARK: URLSessionTaskDelegate
-
-    var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-    var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-    var taskNeedNewBodyStream: ((URLSession, URLSessionTask) -> InputStream?)?
-    var taskDidCompleteWithError: ((URLSession, URLSessionTask, Error?) -> Void)?
-
-    @objc(URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        var redirectRequest: URLRequest? = request
-
-        if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
-            redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
-        }
-
-        completionHandler(redirectRequest)
-    }
-
-    @objc(URLSession:task:didReceiveChallenge:completionHandler:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
-        var credential: URLCredential?
-
-        if let taskDidReceiveChallenge = taskDidReceiveChallenge {
-            (disposition, credential) = taskDidReceiveChallenge(session, task, challenge)
-        } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
-            let host = challenge.protectionSpace.host
-
-            if
-                let serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicy(forHost: host),
-                let serverTrust = challenge.protectionSpace.serverTrust
-            {
-                if serverTrustPolicy.evaluate(serverTrust, forHost: host) {
-                    disposition = .useCredential
-                    credential = URLCredential(trust: serverTrust)
-                } else {
-                    disposition = .cancelAuthenticationChallenge
-                }
-            }
-        } else {
-            if challenge.previousFailureCount > 0 {
-                disposition = .rejectProtectionSpace
-            } else {
-                credential = self.credential ?? session.configuration.urlCredentialStorage?.defaultCredential(for: challenge.protectionSpace)
-
-                if credential != nil {
-                    disposition = .useCredential
-                }
-            }
-        }
-
-        completionHandler(disposition, credential)
-    }
-
-    @objc(URLSession:task:needNewBodyStream:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void)
-    {
-        var bodyStream: InputStream?
-
-        if let taskNeedNewBodyStream = taskNeedNewBodyStream {
-            bodyStream = taskNeedNewBodyStream(session, task)
-        }
-
-        completionHandler(bodyStream)
-    }
-
-    @objc(URLSession:task:didCompleteWithError:)
-    func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
-        if let taskDidCompleteWithError = taskDidCompleteWithError {
-            taskDidCompleteWithError(session, task, error)
-        } else {
-            if let error = error {
-                if self.error == nil { self.error = error }
-
-                if
-                    let downloadDelegate = self as? DownloadTaskDelegate,
-                    let resumeData = (error as NSError).userInfo[NSURLSessionDownloadTaskResumeData] as? Data
-                {
-                    downloadDelegate.resumeData = resumeData
-                }
-            }
-
-            queue.isSuspended = false
-        }
-    }
-}
-
-// MARK: -
-
-class DataTaskDelegate: TaskDelegate, URLSessionDataDelegate {
-
-    // MARK: Properties
-
-    var dataTask: URLSessionDataTask { return task as! URLSessionDataTask }
-
-    override var data: Data? {
-        if dataStream != nil {
-            return nil
-        } else {
-            return mutableData
-        }
-    }
-
-    var progress: Progress
-    var progressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    var dataStream: ((_ data: Data) -> Void)?
-
-    private var totalBytesReceived: Int64 = 0
-    private var mutableData: Data
-
-    private var expectedContentLength: Int64?
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        mutableData = Data()
-        progress = Progress(totalUnitCount: 0)
-
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-
-        progress = Progress(totalUnitCount: 0)
-        totalBytesReceived = 0
-        mutableData = Data()
-        expectedContentLength = nil
-    }
-
-    // MARK: URLSessionDataDelegate
-
-    var dataTaskDidReceiveResponse: ((URLSession, URLSessionDataTask, URLResponse) -> URLSession.ResponseDisposition)?
-    var dataTaskDidBecomeDownloadTask: ((URLSession, URLSessionDataTask, URLSessionDownloadTask) -> Void)?
-    var dataTaskDidReceiveData: ((URLSession, URLSessionDataTask, Data) -> Void)?
-    var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didReceive response: URLResponse,
-        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
-    {
-        var disposition: URLSession.ResponseDisposition = .allow
-
-        expectedContentLength = response.expectedContentLength
-
-        if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
-            disposition = dataTaskDidReceiveResponse(session, dataTask, response)
-        }
-
-        completionHandler(disposition)
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didBecome downloadTask: URLSessionDownloadTask)
-    {
-        dataTaskDidBecomeDownloadTask?(session, dataTask, downloadTask)
-    }
-
-    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let dataTaskDidReceiveData = dataTaskDidReceiveData {
-            dataTaskDidReceiveData(session, dataTask, data)
-        } else {
-            if let dataStream = dataStream {
-                dataStream(data)
-            } else {
-                mutableData.append(data)
-            }
-
-            let bytesReceived = Int64(data.count)
-            totalBytesReceived += bytesReceived
-            let totalBytesExpected = dataTask.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
-
-            progress.totalUnitCount = totalBytesExpected
-            progress.completedUnitCount = totalBytesReceived
-
-            if let progressHandler = progressHandler {
-                progressHandler.queue.async { progressHandler.closure(self.progress) }
-            }
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        willCacheResponse proposedResponse: CachedURLResponse,
-        completionHandler: @escaping (CachedURLResponse?) -> Void)
-    {
-        var cachedResponse: CachedURLResponse? = proposedResponse
-
-        if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
-            cachedResponse = dataTaskWillCacheResponse(session, dataTask, proposedResponse)
-        }
-
-        completionHandler(cachedResponse)
-    }
-}
-
-// MARK: -
-
-class DownloadTaskDelegate: TaskDelegate, URLSessionDownloadDelegate {
-
-    // MARK: Properties
-
-    var downloadTask: URLSessionDownloadTask { return task as! URLSessionDownloadTask }
-
-    var progress: Progress
-    var progressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    var resumeData: Data?
-    override var data: Data? { return resumeData }
-
-    var destination: DownloadRequest.DownloadFileDestination?
-
-    var temporaryURL: URL?
-    var destinationURL: URL?
-
-    var fileURL: URL? { return destination != nil ? destinationURL : temporaryURL }
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        progress = Progress(totalUnitCount: 0)
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-
-        progress = Progress(totalUnitCount: 0)
-        resumeData = nil
-    }
-
-    // MARK: URLSessionDownloadDelegate
-
-    var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> URL)?
-    var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
-    var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)?
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didFinishDownloadingTo location: URL)
-    {
-        temporaryURL = location
-
-        guard
-            let destination = destination,
-            let response = downloadTask.response as? HTTPURLResponse
-        else { return }
-
-        let result = destination(location, response)
-        let destinationURL = result.destinationURL
-        let options = result.options
-
-        self.destinationURL = destinationURL
-
-        do {
-            if options.contains(.removePreviousFile), FileManager.default.fileExists(atPath: destinationURL.path) {
-                try FileManager.default.removeItem(at: destinationURL)
-            }
-
-            if options.contains(.createIntermediateDirectories) {
-                let directory = destinationURL.deletingLastPathComponent()
-                try FileManager.default.createDirectory(at: directory, withIntermediateDirectories: true)
-            }
-
-            try FileManager.default.moveItem(at: location, to: destinationURL)
-        } catch {
-            self.error = error
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didWriteData bytesWritten: Int64,
-        totalBytesWritten: Int64,
-        totalBytesExpectedToWrite: Int64)
-    {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let downloadTaskDidWriteData = downloadTaskDidWriteData {
-            downloadTaskDidWriteData(
-                session,
-                downloadTask,
-                bytesWritten,
-                totalBytesWritten,
-                totalBytesExpectedToWrite
-            )
-        } else {
-            progress.totalUnitCount = totalBytesExpectedToWrite
-            progress.completedUnitCount = totalBytesWritten
-
-            if let progressHandler = progressHandler {
-                progressHandler.queue.async { progressHandler.closure(self.progress) }
-            }
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didResumeAtOffset fileOffset: Int64,
-        expectedTotalBytes: Int64)
-    {
-        if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
-            downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
-        } else {
-            progress.totalUnitCount = expectedTotalBytes
-            progress.completedUnitCount = fileOffset
-        }
-    }
-}
-
-// MARK: -
-
-class UploadTaskDelegate: DataTaskDelegate {
-
-    // MARK: Properties
-
-    var uploadTask: URLSessionUploadTask { return task as! URLSessionUploadTask }
-
-    var uploadProgress: Progress
-    var uploadProgressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        uploadProgress = Progress(totalUnitCount: 0)
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-        uploadProgress = Progress(totalUnitCount: 0)
-    }
-
-    // MARK: URLSessionTaskDelegate
-
-    var taskDidSendBodyData: ((URLSession, URLSessionTask, Int64, Int64, Int64) -> Void)?
-
-    func URLSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didSendBodyData bytesSent: Int64,
-        totalBytesSent: Int64,
-        totalBytesExpectedToSend: Int64)
-    {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let taskDidSendBodyData = taskDidSendBodyData {
-            taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
-        } else {
-            uploadProgress.totalUnitCount = totalBytesExpectedToSend
-            uploadProgress.completedUnitCount = totalBytesSent
-
-            if let uploadProgressHandler = uploadProgressHandler {
-                uploadProgressHandler.queue.async { uploadProgressHandler.closure(self.uploadProgress) }
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
deleted file mode 100644
index 1440989d5f1..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
+++ /dev/null
@@ -1,136 +0,0 @@
-//
-//  Timeline.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for computing the timing metrics for the complete lifecycle of a `Request`.
-public struct Timeline {
-    /// The time the request was initialized.
-    public let requestStartTime: CFAbsoluteTime
-
-    /// The time the first bytes were received from or sent to the server.
-    public let initialResponseTime: CFAbsoluteTime
-
-    /// The time when the request was completed.
-    public let requestCompletedTime: CFAbsoluteTime
-
-    /// The time when the response serialization was completed.
-    public let serializationCompletedTime: CFAbsoluteTime
-
-    /// The time interval in seconds from the time the request started to the initial response from the server.
-    public let latency: TimeInterval
-
-    /// The time interval in seconds from the time the request started to the time the request completed.
-    public let requestDuration: TimeInterval
-
-    /// The time interval in seconds from the time the request completed to the time response serialization completed.
-    public let serializationDuration: TimeInterval
-
-    /// The time interval in seconds from the time the request started to the time response serialization completed.
-    public let totalDuration: TimeInterval
-
-    /// Creates a new `Timeline` instance with the specified request times.
-    ///
-    /// - parameter requestStartTime:           The time the request was initialized. Defaults to `0.0`.
-    /// - parameter initialResponseTime:        The time the first bytes were received from or sent to the server.
-    ///                                         Defaults to `0.0`.
-    /// - parameter requestCompletedTime:       The time when the request was completed. Defaults to `0.0`.
-    /// - parameter serializationCompletedTime: The time when the response serialization was completed. Defaults
-    ///                                         to `0.0`.
-    ///
-    /// - returns: The new `Timeline` instance.
-    public init(
-        requestStartTime: CFAbsoluteTime = 0.0,
-        initialResponseTime: CFAbsoluteTime = 0.0,
-        requestCompletedTime: CFAbsoluteTime = 0.0,
-        serializationCompletedTime: CFAbsoluteTime = 0.0)
-    {
-        self.requestStartTime = requestStartTime
-        self.initialResponseTime = initialResponseTime
-        self.requestCompletedTime = requestCompletedTime
-        self.serializationCompletedTime = serializationCompletedTime
-
-        self.latency = initialResponseTime - requestStartTime
-        self.requestDuration = requestCompletedTime - requestStartTime
-        self.serializationDuration = serializationCompletedTime - requestCompletedTime
-        self.totalDuration = serializationCompletedTime - requestStartTime
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Timeline: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the latency, the request
-    /// duration and the total duration.
-    public var description: String {
-        let latency = String(format: "%.3f", self.latency)
-        let requestDuration = String(format: "%.3f", self.requestDuration)
-        let serializationDuration = String(format: "%.3f", self.serializationDuration)
-        let totalDuration = String(format: "%.3f", self.totalDuration)
-
-        // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is
-        // fixed, we should move back to string interpolation by reverting commit 7d4a43b1.
-        let timings = [
-            "\"Latency\": " + latency + " secs",
-            "\"Request Duration\": " + requestDuration + " secs",
-            "\"Serialization Duration\": " + serializationDuration + " secs",
-            "\"Total Duration\": " + totalDuration + " secs"
-        ]
-
-        return "Timeline: { " + timings.joined(separator: ", ") + " }"
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Timeline: CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the request start time, the
-    /// initial response time, the request completed time, the serialization completed time, the latency, the request
-    /// duration and the total duration.
-    public var debugDescription: String {
-        let requestStartTime = String(format: "%.3f", self.requestStartTime)
-        let initialResponseTime = String(format: "%.3f", self.initialResponseTime)
-        let requestCompletedTime = String(format: "%.3f", self.requestCompletedTime)
-        let serializationCompletedTime = String(format: "%.3f", self.serializationCompletedTime)
-        let latency = String(format: "%.3f", self.latency)
-        let requestDuration = String(format: "%.3f", self.requestDuration)
-        let serializationDuration = String(format: "%.3f", self.serializationDuration)
-        let totalDuration = String(format: "%.3f", self.totalDuration)
-
-        // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is
-        // fixed, we should move back to string interpolation by reverting commit 7d4a43b1.
-        let timings = [
-            "\"Request Start Time\": " + requestStartTime,
-            "\"Initial Response Time\": " + initialResponseTime,
-            "\"Request Completed Time\": " + requestCompletedTime,
-            "\"Serialization Completed Time\": " + serializationCompletedTime,
-            "\"Latency\": " + latency + " secs",
-            "\"Request Duration\": " + requestDuration + " secs",
-            "\"Serialization Duration\": " + serializationDuration + " secs",
-            "\"Total Duration\": " + totalDuration + " secs"
-        ]
-
-        return "Timeline: { " + timings.joined(separator: ", ") + " }"
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
deleted file mode 100644
index c405d02af10..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
+++ /dev/null
@@ -1,309 +0,0 @@
-//
-//  Validation.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Request {
-
-    // MARK: Helper Types
-
-    fileprivate typealias ErrorReason = AFError.ResponseValidationFailureReason
-
-    /// Used to represent whether validation was successful or encountered an error resulting in a failure.
-    ///
-    /// - success: The validation was successful.
-    /// - failure: The validation failed encountering the provided error.
-    public enum ValidationResult {
-        case success
-        case failure(Error)
-    }
-
-    fileprivate struct MIMEType {
-        let type: String
-        let subtype: String
-
-        var isWildcard: Bool { return type == "*" && subtype == "*" }
-
-        init?(_ string: String) {
-            let components: [String] = {
-                let stripped = string.trimmingCharacters(in: .whitespacesAndNewlines)
-                let split = stripped.substring(to: stripped.range(of: ";")?.lowerBound ?? stripped.endIndex)
-                return split.components(separatedBy: "/")
-            }()
-
-            if let type = components.first, let subtype = components.last {
-                self.type = type
-                self.subtype = subtype
-            } else {
-                return nil
-            }
-        }
-
-        func matches(_ mime: MIMEType) -> Bool {
-            switch (type, subtype) {
-            case (mime.type, mime.subtype), (mime.type, "*"), ("*", mime.subtype), ("*", "*"):
-                return true
-            default:
-                return false
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    fileprivate var acceptableStatusCodes: [Int] { return Array(200..<300) }
-
-    fileprivate var acceptableContentTypes: [String] {
-        if let accept = request?.value(forHTTPHeaderField: "Accept") {
-            return accept.components(separatedBy: ",")
-        }
-
-        return ["*/*"]
-    }
-
-    // MARK: Status Code
-
-    fileprivate func validate<S: Sequence>(
-        statusCode acceptableStatusCodes: S,
-        response: HTTPURLResponse)
-        -> ValidationResult
-        where S.Iterator.Element == Int
-    {
-        if acceptableStatusCodes.contains(response.statusCode) {
-            return .success
-        } else {
-            let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
-            return .failure(AFError.responseValidationFailed(reason: reason))
-        }
-    }
-
-    // MARK: Content Type
-
-    fileprivate func validate<S: Sequence>(
-        contentType acceptableContentTypes: S,
-        response: HTTPURLResponse,
-        data: Data?)
-        -> ValidationResult
-        where S.Iterator.Element == String
-    {
-        guard let data = data, data.count > 0 else { return .success }
-
-        guard
-            let responseContentType = response.mimeType,
-            let responseMIMEType = MIMEType(responseContentType)
-        else {
-            for contentType in acceptableContentTypes {
-                if let mimeType = MIMEType(contentType), mimeType.isWildcard {
-                    return .success
-                }
-            }
-
-            let error: AFError = {
-                let reason: ErrorReason = .missingContentType(acceptableContentTypes: Array(acceptableContentTypes))
-                return AFError.responseValidationFailed(reason: reason)
-            }()
-
-            return .failure(error)
-        }
-
-        for contentType in acceptableContentTypes {
-            if let acceptableMIMEType = MIMEType(contentType), acceptableMIMEType.matches(responseMIMEType) {
-                return .success
-            }
-        }
-
-        let error: AFError = {
-            let reason: ErrorReason = .unacceptableContentType(
-                acceptableContentTypes: Array(acceptableContentTypes),
-                responseContentType: responseContentType
-            )
-
-            return AFError.responseValidationFailed(reason: reason)
-        }()
-
-        return .failure(error)
-    }
-}
-
-// MARK: -
-
-extension DataRequest {
-    /// A closure used to validate a request that takes a URL request, a URL response and data, and returns whether the
-    /// request was valid.
-    public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
-
-    /// Validates the request, using the specified closure.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter validation: A closure to validate the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate(_ validation: @escaping Validation) -> Self {
-        let validationExecution: () -> Void = { [unowned self] in
-            if
-                let response = self.response,
-                self.delegate.error == nil,
-                case let .failure(error) = validation(self.request, response, self.delegate.data)
-            {
-                self.delegate.error = error
-            }
-        }
-
-        validations.append(validationExecution)
-
-        return self
-    }
-
-    /// Validates that the response has a status code in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter range: The range of acceptable status codes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
-        return validate { [unowned self] _, response, _ in
-            return self.validate(statusCode: acceptableStatusCodes, response: response)
-        }
-    }
-
-    /// Validates that the response has a content type in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(contentType acceptableContentTypes: S) -> Self where S.Iterator.Element == String {
-        return validate { [unowned self] _, response, data in
-            return self.validate(contentType: acceptableContentTypes, response: response, data: data)
-        }
-    }
-
-    /// Validates that the response has a status code in the default acceptable range of 200...299, and that the content
-    /// type matches any specified in the Accept HTTP header field.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate() -> Self {
-        return validate(statusCode: self.acceptableStatusCodes).validate(contentType: self.acceptableContentTypes)
-    }
-}
-
-// MARK: -
-
-extension DownloadRequest {
-    /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a
-    /// destination URL, and returns whether the request was valid.
-    public typealias Validation = (
-        _ request: URLRequest?,
-        _ response: HTTPURLResponse,
-        _ temporaryURL: URL?,
-        _ destinationURL: URL?)
-        -> ValidationResult
-
-    /// Validates the request, using the specified closure.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter validation: A closure to validate the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate(_ validation: @escaping Validation) -> Self {
-        let validationExecution: () -> Void = { [unowned self] in
-            let request = self.request
-            let temporaryURL = self.downloadDelegate.temporaryURL
-            let destinationURL = self.downloadDelegate.destinationURL
-
-            if
-                let response = self.response,
-                self.delegate.error == nil,
-                case let .failure(error) = validation(request, response, temporaryURL, destinationURL)
-            {
-                self.delegate.error = error
-            }
-        }
-
-        validations.append(validationExecution)
-
-        return self
-    }
-
-    /// Validates that the response has a status code in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter range: The range of acceptable status codes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
-        return validate { [unowned self] _, response, _, _ in
-            return self.validate(statusCode: acceptableStatusCodes, response: response)
-        }
-    }
-
-    /// Validates that the response has a content type in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(contentType acceptableContentTypes: S) -> Self where S.Iterator.Element == String {
-        return validate { [unowned self] _, response, _, _ in
-            let fileURL = self.downloadDelegate.fileURL
-
-            guard let validFileURL = fileURL else {
-                return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: validFileURL)
-                return self.validate(contentType: acceptableContentTypes, response: response, data: data)
-            } catch {
-                return .failure(AFError.responseValidationFailed(reason: .dataFileReadFailed(at: validFileURL)))
-            }
-        }
-    }
-
-    /// Validates that the response has a status code in the default acceptable range of 200...299, and that the content
-    /// type matches any specified in the Accept HTTP header field.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate() -> Self {
-        return validate(statusCode: self.acceptableStatusCodes).validate(contentType: self.acceptableContentTypes)
-    }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json
deleted file mode 100644
index 22dee1089b3..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json	
+++ /dev/null
@@ -1,23 +0,0 @@
-{
-  "name": "PetstoreClient",
-  "platforms": {
-    "ios": "9.0",
-    "osx": "10.11",
-    "tvos": "9.0"
-  },
-  "version": "0.0.1",
-  "source": {
-    "git": "git@github.com:openapitools/openapi-generator.git",
-    "tag": "v1.0.0"
-  },
-  "authors": "",
-  "license": "Proprietary",
-  "homepage": "https://github.com/openapitools/openapi-generator",
-  "summary": "PetstoreClient",
-  "source_files": "PetstoreClient/Classes/**/*.swift",
-  "dependencies": {
-    "Alamofire": [
-      "~> 4.5.0"
-    ]
-  }
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Manifest.lock b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Manifest.lock
deleted file mode 100644
index cd2b8ac82ec..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Manifest.lock
+++ /dev/null
@@ -1,23 +0,0 @@
-PODS:
-  - Alamofire (4.5.0)
-  - PetstoreClient (0.0.1):
-    - Alamofire (~> 4.5.0)
-
-DEPENDENCIES:
-  - PetstoreClient (from `../`)
-
-SPEC REPOS:
-  https://github.com/cocoapods/specs.git:
-    - Alamofire
-
-EXTERNAL SOURCES:
-  PetstoreClient:
-    :path: "../"
-
-SPEC CHECKSUMS:
-  Alamofire: f28cdffd29de33a7bfa022cbd63ae95a27fae140
-  PetstoreClient: a9f241d378687facad5c691a1747b21f64b405fa
-
-PODFILE CHECKSUM: 417049e9ed0e4680602b34d838294778389bd418
-
-COCOAPODS: 1.5.3
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index 10406add241..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1203 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		022118A06E4266B7CF103F2D3E594F1B /* Model200Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */; };
-		0B4682928CDA581AE825A894AA4EE97F /* Pet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */; };
-		10EB23E9ECC4B33E16933BB1EA560B6A /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = 87882A1F5A92C8138D54545E51D51E6F /* Timeline.swift */; };
-		12F046ACC7A765A58AE3EC78B5C37654 /* ArrayOfArrayOfNumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */; };
-		17D7DD6070AC0827798B808A3B3F33CC /* AdditionalPropertiesClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */; };
-		1B9EDEDC964E6B08F78920B4F4B9DB84 /* Alamofire-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 03DECE84DC850B04690604AB7C521277 /* Alamofire-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		265B9DA59211B0B5FFF987E408A0AA9C /* Pods-SwaggerClientTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		2692488ECFB2DC44A1484F4E237F1A7F /* Cat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */; };
-		2D99D98D8B0A65646A128075993EE8E7 /* Client.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */; };
-		358744AD7511300B7BA57E75C523CE4E /* Return.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */; };
-		3626B94094672CB1C9DEA32B9F9502E1 /* TaskDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = A01C037B4034EDA3D7955BC5E4E9D9D6 /* TaskDelegate.swift */; };
-		3B3759CDE620B518B4E187D6607AD40E /* ClassModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */; };
-		3F3B788CC8A53F01CE6A1B33D4052D80 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D0533E4EC2277AAAC8888328EC5A64B /* Foundation.framework */; };
-		41C410B0290C38CDA9F27285983864D2 /* OuterComposite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */; };
-		424F25F3C040D2362DD353C82A86740B /* Pods-SwaggerClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		4B608BE9558F9880F286073E764222BA /* Animal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */; };
-		4D659A79C5FD26710C0EE4DDD46B5197 /* StoreAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */; };
-		4EE591215BF57E9C655E1FFDF4244E20 /* APIHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */; };
-		535108E2BD555B4E3935DB583B03BC03 /* MapTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */; };
-		5387216E723A3C68E851CA15573CDD71 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E230A0448B394DE26E688DAC8E6201E /* Request.swift */; };
-		5C8D71030D0D58B316181FF9BB0FA757 /* MixedPropertiesAndAdditionalPropertiesClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */; };
-		5DD7FE53110AD4EAACC894FC465DA8F2 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */; };
-		5EF2450B3FE235021270DDE480AB9DFF /* FormatTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */; };
-		61200D01A1855D7920CEF835C8BE00B0 /* DispatchQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0FCBF1EED873F61C6D46CE37FA5C39D3 /* DispatchQueue+Alamofire.swift */; };
-		6244553C8EB8413BDE84442BDB32B158 /* APIs.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */; };
-		62F65AD8DC4F0F9610F4B8B4738EC094 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 32B030D27CAC730C5EB0F22390645310 /* ServerTrustPolicy.swift */; };
-		6337B0A36831DF8FAA0BC62F2E5ED525 /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA5F47130C28C4C5652E69E59A0902BD /* User.swift */; };
-		63E53FB5E0AFF41C1AEE670D4D2EA55B /* AnotherFakeAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */; };
-		73880BFBD593B84BDC52BDA73CD905D3 /* Category.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C103637D74EC198CF949454436D3616 /* Category.swift */; };
-		73B9C996AED49ED7CF8EC2A6F1738059 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D0533E4EC2277AAAC8888328EC5A64B /* Foundation.framework */; };
-		7877D0A755EDD3241453857443FED9BE /* Dog.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08583885463D1EDB2F8023584348659C /* Dog.swift */; };
-		7B5FE28C7EA4122B0598738E54DBEBD8 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 195D73DD9EF275A3C56569E2B1CA8026 /* SessionDelegate.swift */; };
-		7D8CC01E8C9EFFF9F4D65406CDE0AB66 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D60BC9955B4F7FFA62D7440CB385C11 /* Result.swift */; };
-		80C3B52F0D2A4EFBCFFB4F3581FA3598 /* Pods-SwaggerClientTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */; };
-		819A936646985D3BD0ED55EE5A11E874 /* PetAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */; };
-		83BB300F436739562A879819271788A8 /* Name.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */; };
-		8448CBC208B027E8EADEA39AE687B3D8 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */; };
-		8505A8B33E6DB2468C52997E8B328FA0 /* Models.swift in Sources */ = {isa = PBXBuildFile; fileRef = B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */; };
-		85216A45BF4ABCF5654715167D7A8A44 /* AnimalFarm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */; };
-		856E217482D183D133297CB6BF12D8FD /* List.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */; };
-		86031F845943F3F00049B90CA06F1C4E /* OuterEnum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */; };
-		8F51DB58A86B9665D7B785BB25DE9FEF /* Order.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */; };
-		8F68634B12F668D1B117CC89F899CF13 /* PetstoreClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */; };
-		93AB309BD6FE9AEE0CFD4E7075F26619 /* EnumTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */; };
-		961E53797F3F7FA8DB12A00560426AC8 /* UserAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */; };
-		984C5C69C0582AD61CD1A3AA7D1D4B4C /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 706C7AFFE37BA158C3553250F4B5FAED /* Alamofire.framework */; };
-		9ED2BB2981896E0A39EFA365503F58CE /* AFError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4AF006B0AD5765D1BFA8253C2DCBB126 /* AFError.swift */; };
-		A08574719EF212B105954F58DD8AFBE1 /* AlamofireImplementations.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */; };
-		A1BDAFE44135347E816DDA243519910B /* HasOnlyReadOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */; };
-		A2A6F71B727312BD45CC7A4AAD7B0AB7 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = E5A8AA5F9EDED0A0BDDE7E830BF4AEE0 /* NetworkReachabilityManager.swift */; };
-		A9EEEA7477981DEEBC72432DE9990A4B /* Alamofire-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = D1F50F37DFB6DC0B7B9D8C373E5A3EAE /* Alamofire-dummy.m */; };
-		AE1EF48399533730D0066E04B22CA2D6 /* SessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 46CDAC6C1187C5467E576980E1062C8B /* SessionManager.swift */; };
-		AE21939A626D9B867413404C953FB83B /* EnumArrays.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */; };
-		B29744F262A1B7D3F1344833CA64349A /* FakeClassnameTags123API.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */; };
-		B6387F6650EDB2C988BBD6EE93263AFA /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D0533E4EC2277AAAC8888328EC5A64B /* Foundation.framework */; };
-		B65FCF589DA398C3EFE0128064E510EC /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 155538D91ACEEEDF82069ACF6C1A02E7 /* MultipartFormData.swift */; };
-		BBEFE2F9CEB73DC7BD97FFA66A0D9D4F /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = B029DBC43E49A740F12B5E4D2E6DD452 /* Validation.swift */; };
-		BBFF38577AA65B4E0C3E6B7A32BC7E27 /* ReadOnlyFirst.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */; };
-		BE5C67A07E289FE1F9BE27335B159997 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6639346628280A0D0FAD35196BF56108 /* ParameterEncoding.swift */; };
-		CB2AE7CE6253392499D81064945D704B /* ApiResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */; };
-		CB6D60925223897FFA2662667DF83E8A /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04F47F5C9CDB035C5AFADEBA5BF44F1C /* Response.swift */; };
-		CB9D5B33D2A072BBEAFC7A941C986A85 /* NumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */; };
-		D210B9E8D1B698A92D285845C09C9960 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 0D0533E4EC2277AAAC8888328EC5A64B /* Foundation.framework */; };
-		D41E4EEA685E8151A95393E9E1EF95CC /* ArrayOfNumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */; };
-		D5F1BBD60108412FD5C8B320D20B2993 /* Pods-SwaggerClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */; };
-		DD79A040B4D1DEE849091CF1E91AF42A /* EnumClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */; };
-		E479ACE0A5835A89134A8C7663FA2E1D /* Capitalization.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */; };
-		E6A94FA31172DD3438D5A3EC51A05638 /* FakeAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */; };
-		E888314B46198CB029A33B8F4C66C947 /* SpecialModelName.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */; };
-		ECF333C34A4147267C5AD9AF8436DFF7 /* Tag.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */; };
-		EFD264FC408EBF3BA2528E70B08DDD94 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 66A46F517F0AF7E85A16D723F6406896 /* Notifications.swift */; };
-		F31DA9A56D4B939D511C9CC5CCE95843 /* PetstoreClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		F6BECD98B97CBFEBE2C96F0E9E72A6C0 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = E2F9510473F6FFD7AA66524DB16C2263 /* ResponseSerialization.swift */; };
-		F8B3D3092ED0417E8CDF32033F6122F5 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = DFCB8C44DE758E906C0BCDA455937B85 /* Alamofire.swift */; };
-		FCAD0021405A0CAE1B59CE70430EBE11 /* ArrayTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		398B30E9B8AE28E1BDA1C6D292107659 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 7A44E3414AC7209D8D353C337F268DBC;
-			remoteInfo = PetstoreClient;
-		};
-		39BC36C8D9E651B0E90400DB5CB4450E /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 41903051A113E887E262FB29130EB187;
-			remoteInfo = "Pods-SwaggerClient";
-		};
-		65C4A1A84C1B3A3EA573D203ABE57C80 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 88E9EC28B8B46C3631E6B242B50F4442;
-			remoteInfo = Alamofire;
-		};
-		F9E1549CFEDAD61BECA92DB5B12B4019 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 88E9EC28B8B46C3631E6B242B50F4442;
-			remoteInfo = Alamofire;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MapTest.swift; sourceTree = "<group>"; };
-		03DECE84DC850B04690604AB7C521277 /* Alamofire-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-umbrella.h"; sourceTree = "<group>"; };
-		04F47F5C9CDB035C5AFADEBA5BF44F1C /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Source/Response.swift; sourceTree = "<group>"; };
-		08583885463D1EDB2F8023584348659C /* Dog.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Dog.swift; sourceTree = "<group>"; };
-		08BDFE9C9E9365771FF2D47928E3E79A /* Pods-SwaggerClient-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwaggerClient-acknowledgements.plist"; sourceTree = "<group>"; };
-		0AD61F8554C909A3AFA66AD9ECCB5F23 /* Pods-SwaggerClient-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClient-frameworks.sh"; sourceTree = "<group>"; };
-		0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PetstoreClient-umbrella.h"; sourceTree = "<group>"; };
-		0D0533E4EC2277AAAC8888328EC5A64B /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
-		0FCBF1EED873F61C6D46CE37FA5C39D3 /* DispatchQueue+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Alamofire.swift"; path = "Source/DispatchQueue+Alamofire.swift"; sourceTree = "<group>"; };
-		117EFB31D9AD9673BAF51B48596F19E2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Pet.swift; sourceTree = "<group>"; };
-		155538D91ACEEEDF82069ACF6C1A02E7 /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Source/MultipartFormData.swift; sourceTree = "<group>"; };
-		15EC3D8D715BC3F25A366C403ED02060 /* PetstoreClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = PetstoreClient.modulemap; sourceTree = "<group>"; };
-		195D73DD9EF275A3C56569E2B1CA8026 /* SessionDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionDelegate.swift; path = Source/SessionDelegate.swift; sourceTree = "<group>"; };
-		1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Return.swift; sourceTree = "<group>"; };
-		1C103637D74EC198CF949454436D3616 /* Category.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Category.swift; sourceTree = "<group>"; };
-		1E230A0448B394DE26E688DAC8E6201E /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = "<group>"; };
-		1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = APIHelper.swift; path = PetstoreClient/Classes/OpenAPIs/APIHelper.swift; sourceTree = "<group>"; };
-		1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumClass.swift; sourceTree = "<group>"; };
-		210971763CB2FC0DC4E378271A37BE32 /* Alamofire.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Alamofire.modulemap; sourceTree = "<group>"; };
-		2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Animal.swift; sourceTree = "<group>"; };
-		2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumTest.swift; sourceTree = "<group>"; };
-		2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ClassModel.swift; sourceTree = "<group>"; };
-		32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwaggerClient-umbrella.h"; sourceTree = "<group>"; };
-		32B030D27CAC730C5EB0F22390645310 /* ServerTrustPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustPolicy.swift; path = Source/ServerTrustPolicy.swift; sourceTree = "<group>"; };
-		33A04B5D27E86AF4B84D95E21CF3F452 /* Alamofire.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.xcconfig; sourceTree = "<group>"; };
-		3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = PetAPI.swift; sourceTree = "<group>"; };
-		3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UserAPI.swift; sourceTree = "<group>"; };
-		3D60BC9955B4F7FFA62D7440CB385C11 /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Source/Result.swift; sourceTree = "<group>"; };
-		3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Cat.swift; sourceTree = "<group>"; };
-		4050C78B3A61270CDB69C80EFEB9BF4B /* PetstoreClient-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PetstoreClient-prefix.pch"; sourceTree = "<group>"; };
-		419496CDDD7E7536CBEA02BAEE2C7C21 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AnotherFakeAPI.swift; sourceTree = "<group>"; };
-		46CDAC6C1187C5467E576980E1062C8B /* SessionManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionManager.swift; path = Source/SessionManager.swift; sourceTree = "<group>"; };
-		49A9B3BBFEA1CFFC48229E438EA64F9E /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Alamofire.framework; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		4AF006B0AD5765D1BFA8253C2DCBB126 /* AFError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AFError.swift; path = Source/AFError.swift; sourceTree = "<group>"; };
-		4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayOfArrayOfNumberOnly.swift; sourceTree = "<group>"; };
-		536A8BDFB104F4132169F2B758A6AA0C /* PetstoreClient.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = PetstoreClient.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
-		57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Model200Response.swift; sourceTree = "<group>"; };
-		59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OuterComposite.swift; sourceTree = "<group>"; };
-		5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NumberOnly.swift; sourceTree = "<group>"; };
-		61D920D6E48023BCBF18CD83450D05F5 /* Alamofire-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-prefix.pch"; sourceTree = "<group>"; };
-		6639346628280A0D0FAD35196BF56108 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = "<group>"; };
-		66A46F517F0AF7E85A16D723F6406896 /* Notifications.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Notifications.swift; path = Source/Notifications.swift; sourceTree = "<group>"; };
-		6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AnimalFarm.swift; sourceTree = "<group>"; };
-		6C0ACB269F0C836F1865A56C4AF7A07E /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SwaggerClient.framework; path = "Pods-SwaggerClient.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
-		6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = PetstoreClient/Classes/OpenAPIs/Extensions.swift; sourceTree = "<group>"; };
-		706C7AFFE37BA158C3553250F4B5FAED /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwaggerClientTests-dummy.m"; sourceTree = "<group>"; };
-		749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayTest.swift; sourceTree = "<group>"; };
-		76645699475D3AB6EB5242AC4D0CEFAE /* Pods-SwaggerClient-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwaggerClient-acknowledgements.markdown"; sourceTree = "<group>"; };
-		79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FakeAPI.swift; sourceTree = "<group>"; };
-		7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = StoreAPI.swift; sourceTree = "<group>"; };
-		7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Configuration.swift; path = PetstoreClient/Classes/OpenAPIs/Configuration.swift; sourceTree = "<group>"; };
-		7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OuterEnum.swift; sourceTree = "<group>"; };
-		7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PetstoreClient-dummy.m"; sourceTree = "<group>"; };
-		814471C0F27B39D751143F0CD53670BD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FormatTest.swift; sourceTree = "<group>"; };
-		87882A1F5A92C8138D54545E51D51E6F /* Timeline.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeline.swift; path = Source/Timeline.swift; sourceTree = "<group>"; };
-		897F0C201C5E0C66A1F1E359AECF4C9C /* PetstoreClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = PetstoreClient.framework; path = PetstoreClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
-		93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FakeClassnameTags123API.swift; sourceTree = "<group>"; };
-		9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SpecialModelName.swift; sourceTree = "<group>"; };
-		9D08EC9B39FEBA43A5B55DAF97AAEBE9 /* Pods-SwaggerClientTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwaggerClientTests.modulemap"; sourceTree = "<group>"; };
-		9D780FDAD16A03CC25F4D6F3317B9423 /* Pods-SwaggerClientTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwaggerClientTests-acknowledgements.plist"; sourceTree = "<group>"; };
-		A01C037B4034EDA3D7955BC5E4E9D9D6 /* TaskDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TaskDelegate.swift; path = Source/TaskDelegate.swift; sourceTree = "<group>"; };
-		AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Tag.swift; sourceTree = "<group>"; };
-		AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PetstoreClient.xcconfig; sourceTree = "<group>"; };
-		B029DBC43E49A740F12B5E4D2E6DD452 /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = "<group>"; };
-		B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = List.swift; sourceTree = "<group>"; };
-		B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Client.swift; sourceTree = "<group>"; };
-		B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ReadOnlyFirst.swift; sourceTree = "<group>"; };
-		B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Models.swift; path = PetstoreClient/Classes/OpenAPIs/Models.swift; sourceTree = "<group>"; };
-		BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AlamofireImplementations.swift; path = PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift; sourceTree = "<group>"; };
-		BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumArrays.swift; sourceTree = "<group>"; };
-		C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = HasOnlyReadOnly.swift; sourceTree = "<group>"; };
-		CAF6F32F117197F6F08B477687F09728 /* Pods-SwaggerClientTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClientTests-frameworks.sh"; sourceTree = "<group>"; };
-		CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MixedPropertiesAndAdditionalPropertiesClass.swift; sourceTree = "<group>"; };
-		CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwaggerClientTests-umbrella.h"; sourceTree = "<group>"; };
-		CFA4F581E074596AB5C3DAF3D9C39F17 /* Pods-SwaggerClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwaggerClient.modulemap"; sourceTree = "<group>"; };
-		D1F50F37DFB6DC0B7B9D8C373E5A3EAE /* Alamofire-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-dummy.m"; sourceTree = "<group>"; };
-		D47B812D78D0AE64D85D16A96840F8C4 /* Pods-SwaggerClientTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwaggerClientTests-acknowledgements.markdown"; sourceTree = "<group>"; };
-		D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Name.swift; sourceTree = "<group>"; };
-		D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayOfNumberOnly.swift; sourceTree = "<group>"; };
-		DA5F47130C28C4C5652E69E59A0902BD /* User.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = User.swift; sourceTree = "<group>"; };
-		DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = APIs.swift; path = PetstoreClient/Classes/OpenAPIs/APIs.swift; sourceTree = "<group>"; };
-		DFCB8C44DE758E906C0BCDA455937B85 /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = "<group>"; };
-		E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Order.swift; sourceTree = "<group>"; };
-		E19AF5866D261DB5B6AEC5D575086EA2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		E2F9510473F6FFD7AA66524DB16C2263 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = "<group>"; };
-		E5A8AA5F9EDED0A0BDDE7E830BF4AEE0 /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkReachabilityManager.swift; path = Source/NetworkReachabilityManager.swift; sourceTree = "<group>"; };
-		EA3FFA48FB4D08FC02C47F71C0089CD9 /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SwaggerClientTests.framework; path = "Pods-SwaggerClientTests.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
-		F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ApiResponse.swift; sourceTree = "<group>"; };
-		F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Capitalization.swift; sourceTree = "<group>"; };
-		F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-		F3E1116FA9F9F3AFD9332B7236F6E711 /* Pods-SwaggerClientTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClientTests-resources.sh"; sourceTree = "<group>"; };
-		F4BB3B2146310CA18C30F145BFF15BD9 /* Pods-SwaggerClient-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClient-resources.sh"; sourceTree = "<group>"; };
-		F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwaggerClient-dummy.m"; sourceTree = "<group>"; };
-		FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AdditionalPropertiesClass.swift; sourceTree = "<group>"; };
-		FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		331077404C87016AAE282CC06A8E8F83 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				984C5C69C0582AD61CD1A3AA7D1D4B4C /* Alamofire.framework in Frameworks */,
-				B6387F6650EDB2C988BBD6EE93263AFA /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		7139BF778844E2A9E420524D8146ECD8 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				D210B9E8D1B698A92D285845C09C9960 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		950A5F242B4B2310D94F7C4B29699C1E /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				3F3B788CC8A53F01CE6A1B33D4052D80 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		99195E4207764744AEC07ECCBCD550EB /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				73B9C996AED49ED7CF8EC2A6F1738059 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		200D10EB20F0397D47F022B50CF0433F /* Alamofire */ = {
-			isa = PBXGroup;
-			children = (
-				4AF006B0AD5765D1BFA8253C2DCBB126 /* AFError.swift */,
-				DFCB8C44DE758E906C0BCDA455937B85 /* Alamofire.swift */,
-				0FCBF1EED873F61C6D46CE37FA5C39D3 /* DispatchQueue+Alamofire.swift */,
-				155538D91ACEEEDF82069ACF6C1A02E7 /* MultipartFormData.swift */,
-				E5A8AA5F9EDED0A0BDDE7E830BF4AEE0 /* NetworkReachabilityManager.swift */,
-				66A46F517F0AF7E85A16D723F6406896 /* Notifications.swift */,
-				6639346628280A0D0FAD35196BF56108 /* ParameterEncoding.swift */,
-				1E230A0448B394DE26E688DAC8E6201E /* Request.swift */,
-				04F47F5C9CDB035C5AFADEBA5BF44F1C /* Response.swift */,
-				E2F9510473F6FFD7AA66524DB16C2263 /* ResponseSerialization.swift */,
-				3D60BC9955B4F7FFA62D7440CB385C11 /* Result.swift */,
-				32B030D27CAC730C5EB0F22390645310 /* ServerTrustPolicy.swift */,
-				195D73DD9EF275A3C56569E2B1CA8026 /* SessionDelegate.swift */,
-				46CDAC6C1187C5467E576980E1062C8B /* SessionManager.swift */,
-				A01C037B4034EDA3D7955BC5E4E9D9D6 /* TaskDelegate.swift */,
-				87882A1F5A92C8138D54545E51D51E6F /* Timeline.swift */,
-				B029DBC43E49A740F12B5E4D2E6DD452 /* Validation.swift */,
-				2E5925946A4DE3B8F7E4137BACAD9618 /* Support Files */,
-			);
-			name = Alamofire;
-			path = Alamofire;
-			sourceTree = "<group>";
-		};
-		2E5925946A4DE3B8F7E4137BACAD9618 /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				210971763CB2FC0DC4E378271A37BE32 /* Alamofire.modulemap */,
-				33A04B5D27E86AF4B84D95E21CF3F452 /* Alamofire.xcconfig */,
-				D1F50F37DFB6DC0B7B9D8C373E5A3EAE /* Alamofire-dummy.m */,
-				61D920D6E48023BCBF18CD83450D05F5 /* Alamofire-prefix.pch */,
-				03DECE84DC850B04690604AB7C521277 /* Alamofire-umbrella.h */,
-				117EFB31D9AD9673BAF51B48596F19E2 /* Info.plist */,
-			);
-			name = "Support Files";
-			path = "../Target Support Files/Alamofire";
-			sourceTree = "<group>";
-		};
-		35F128EB69B6F7FB7DA93BBF6C130FAE /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				200D10EB20F0397D47F022B50CF0433F /* Alamofire */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		38BCEE2B62E7F17FC1A6B47F74A915B1 /* PetstoreClient */ = {
-			isa = PBXGroup;
-			children = (
-				BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */,
-				1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */,
-				DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */,
-				7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */,
-				6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */,
-				B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */,
-				71EF1D86BA306C7F68FA92ABA15B0633 /* APIs */,
-				5540224464BBA954BAFB3FC559814D13 /* Models */,
-				758ACCF640B62D96565B035F4A4931A6 /* Pod */,
-				FC9FD763F0BBF138A397EE0401BEA7BE /* Support Files */,
-			);
-			name = PetstoreClient;
-			path = ../..;
-			sourceTree = "<group>";
-		};
-		51A9B78D6A7E7FB5A465754528750815 /* iOS */ = {
-			isa = PBXGroup;
-			children = (
-				0D0533E4EC2277AAAC8888328EC5A64B /* Foundation.framework */,
-			);
-			name = iOS;
-			sourceTree = "<group>";
-		};
-		5540224464BBA954BAFB3FC559814D13 /* Models */ = {
-			isa = PBXGroup;
-			children = (
-				FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */,
-				2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */,
-				6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */,
-				F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */,
-				4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */,
-				D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */,
-				749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */,
-				F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */,
-				3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */,
-				1C103637D74EC198CF949454436D3616 /* Category.swift */,
-				2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */,
-				B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */,
-				08583885463D1EDB2F8023584348659C /* Dog.swift */,
-				BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */,
-				1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */,
-				2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */,
-				8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */,
-				C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */,
-				B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */,
-				00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */,
-				CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */,
-				57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */,
-				D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */,
-				5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */,
-				E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */,
-				59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */,
-				7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */,
-				14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */,
-				B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */,
-				1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */,
-				9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */,
-				AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */,
-				DA5F47130C28C4C5652E69E59A0902BD /* User.swift */,
-			);
-			name = Models;
-			path = PetstoreClient/Classes/OpenAPIs/Models;
-			sourceTree = "<group>";
-		};
-		59B91F212518421F271EBA85D5530651 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				706C7AFFE37BA158C3553250F4B5FAED /* Alamofire.framework */,
-				51A9B78D6A7E7FB5A465754528750815 /* iOS */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		71EF1D86BA306C7F68FA92ABA15B0633 /* APIs */ = {
-			isa = PBXGroup;
-			children = (
-				45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */,
-				79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */,
-				93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */,
-				3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */,
-				7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */,
-				3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */,
-			);
-			name = APIs;
-			path = PetstoreClient/Classes/OpenAPIs/APIs;
-			sourceTree = "<group>";
-		};
-		758ACCF640B62D96565B035F4A4931A6 /* Pod */ = {
-			isa = PBXGroup;
-			children = (
-				536A8BDFB104F4132169F2B758A6AA0C /* PetstoreClient.podspec */,
-			);
-			name = Pod;
-			sourceTree = "<group>";
-		};
-		7DB346D0F39D3F0E887471402A8071AB = {
-			isa = PBXGroup;
-			children = (
-				93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */,
-				8F0C005305764051BE9B8E1DEE8C7E64 /* Development Pods */,
-				59B91F212518421F271EBA85D5530651 /* Frameworks */,
-				35F128EB69B6F7FB7DA93BBF6C130FAE /* Pods */,
-				9BBD96A0F02B8F92DD3659B2DCDF1A8C /* Products */,
-				C1A60D10CED0E61146591438999C7502 /* Targets Support Files */,
-			);
-			sourceTree = "<group>";
-		};
-		8F0C005305764051BE9B8E1DEE8C7E64 /* Development Pods */ = {
-			isa = PBXGroup;
-			children = (
-				38BCEE2B62E7F17FC1A6B47F74A915B1 /* PetstoreClient */,
-			);
-			name = "Development Pods";
-			sourceTree = "<group>";
-		};
-		9BBD96A0F02B8F92DD3659B2DCDF1A8C /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				49A9B3BBFEA1CFFC48229E438EA64F9E /* Alamofire.framework */,
-				897F0C201C5E0C66A1F1E359AECF4C9C /* PetstoreClient.framework */,
-				6C0ACB269F0C836F1865A56C4AF7A07E /* Pods_SwaggerClient.framework */,
-				EA3FFA48FB4D08FC02C47F71C0089CD9 /* Pods_SwaggerClientTests.framework */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		C1A60D10CED0E61146591438999C7502 /* Targets Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				DE503BFFEBBF78BDC743C8A6A50DFF47 /* Pods-SwaggerClient */,
-				E9EDF70990CC7A4463ED5FC2E3719BD0 /* Pods-SwaggerClientTests */,
-			);
-			name = "Targets Support Files";
-			sourceTree = "<group>";
-		};
-		DE503BFFEBBF78BDC743C8A6A50DFF47 /* Pods-SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				814471C0F27B39D751143F0CD53670BD /* Info.plist */,
-				CFA4F581E074596AB5C3DAF3D9C39F17 /* Pods-SwaggerClient.modulemap */,
-				76645699475D3AB6EB5242AC4D0CEFAE /* Pods-SwaggerClient-acknowledgements.markdown */,
-				08BDFE9C9E9365771FF2D47928E3E79A /* Pods-SwaggerClient-acknowledgements.plist */,
-				F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */,
-				0AD61F8554C909A3AFA66AD9ECCB5F23 /* Pods-SwaggerClient-frameworks.sh */,
-				F4BB3B2146310CA18C30F145BFF15BD9 /* Pods-SwaggerClient-resources.sh */,
-				32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */,
-				AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */,
-				F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */,
-			);
-			name = "Pods-SwaggerClient";
-			path = "Target Support Files/Pods-SwaggerClient";
-			sourceTree = "<group>";
-		};
-		E9EDF70990CC7A4463ED5FC2E3719BD0 /* Pods-SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				419496CDDD7E7536CBEA02BAEE2C7C21 /* Info.plist */,
-				9D08EC9B39FEBA43A5B55DAF97AAEBE9 /* Pods-SwaggerClientTests.modulemap */,
-				D47B812D78D0AE64D85D16A96840F8C4 /* Pods-SwaggerClientTests-acknowledgements.markdown */,
-				9D780FDAD16A03CC25F4D6F3317B9423 /* Pods-SwaggerClientTests-acknowledgements.plist */,
-				721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */,
-				CAF6F32F117197F6F08B477687F09728 /* Pods-SwaggerClientTests-frameworks.sh */,
-				F3E1116FA9F9F3AFD9332B7236F6E711 /* Pods-SwaggerClientTests-resources.sh */,
-				CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */,
-				1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = "Pods-SwaggerClientTests";
-			path = "Target Support Files/Pods-SwaggerClientTests";
-			sourceTree = "<group>";
-		};
-		FC9FD763F0BBF138A397EE0401BEA7BE /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				E19AF5866D261DB5B6AEC5D575086EA2 /* Info.plist */,
-				15EC3D8D715BC3F25A366C403ED02060 /* PetstoreClient.modulemap */,
-				AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */,
-				7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */,
-				4050C78B3A61270CDB69C80EFEB9BF4B /* PetstoreClient-prefix.pch */,
-				0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */,
-			);
-			name = "Support Files";
-			path = "SwaggerClientTests/Pods/Target Support Files/PetstoreClient";
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
-		58BF069F515DC42D6AA02C635E7A151D /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				F31DA9A56D4B939D511C9CC5CCE95843 /* PetstoreClient-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		B4002B6E97835FDCCAA5963EFE09A3E0 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				1B9EDEDC964E6B08F78920B4F4B9DB84 /* Alamofire-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		C19E54C800095CFA2457EC19C7C2E974 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				265B9DA59211B0B5FFF987E408A0AA9C /* Pods-SwaggerClientTests-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		DC071B9D59E4680147F481F53FBCE180 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				424F25F3C040D2362DD353C82A86740B /* Pods-SwaggerClient-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
-		41903051A113E887E262FB29130EB187 /* Pods-SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 5DE561894A3D2FE43769BF10CB87D407 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClient" */;
-			buildPhases = (
-				9A1B5AE4D97D5E0097B7054904D06663 /* Sources */,
-				950A5F242B4B2310D94F7C4B29699C1E /* Frameworks */,
-				DC071B9D59E4680147F481F53FBCE180 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				AC31F7EF81A7A1C4862B1BA6879CEC1C /* PBXTargetDependency */,
-				374AD22F26F7E9801AB27C2FCBBF4EC9 /* PBXTargetDependency */,
-			);
-			name = "Pods-SwaggerClient";
-			productName = "Pods-SwaggerClient";
-			productReference = 6C0ACB269F0C836F1865A56C4AF7A07E /* Pods_SwaggerClient.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		7A44E3414AC7209D8D353C337F268DBC /* PetstoreClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 2E8D4ECE8C49444F29C531059B32A46E /* Build configuration list for PBXNativeTarget "PetstoreClient" */;
-			buildPhases = (
-				9F6567235C6E1627F81B601F2645CABC /* Sources */,
-				331077404C87016AAE282CC06A8E8F83 /* Frameworks */,
-				58BF069F515DC42D6AA02C635E7A151D /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				64EE23A908FF7DD89D49F047F2EA62C5 /* PBXTargetDependency */,
-			);
-			name = PetstoreClient;
-			productName = PetstoreClient;
-			productReference = 897F0C201C5E0C66A1F1E359AECF4C9C /* PetstoreClient.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 419E5D95491847CD79841B971A8A3277 /* Build configuration list for PBXNativeTarget "Alamofire" */;
-			buildPhases = (
-				32B9974868188C4803318E36329C87FE /* Sources */,
-				99195E4207764744AEC07ECCBCD550EB /* Frameworks */,
-				B4002B6E97835FDCCAA5963EFE09A3E0 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = Alamofire;
-			productName = Alamofire;
-			productReference = 49A9B3BBFEA1CFFC48229E438EA64F9E /* Alamofire.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		BCF05B222D1CA50E84618B500CB18541 /* Pods-SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6038DB15B6014EE0617ADC32733FC361 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClientTests" */;
-			buildPhases = (
-				61868F2FE74A9422171483DBABE7C61F /* Sources */,
-				7139BF778844E2A9E420524D8146ECD8 /* Frameworks */,
-				C19E54C800095CFA2457EC19C7C2E974 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				CAD6237EE98BEB14DA0AE88C1F89DF12 /* PBXTargetDependency */,
-			);
-			name = "Pods-SwaggerClientTests";
-			productName = "Pods-SwaggerClientTests";
-			productReference = EA3FFA48FB4D08FC02C47F71C0089CD9 /* Pods_SwaggerClientTests.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0930;
-				LastUpgradeCheck = 0930;
-			};
-			buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-			);
-			mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
-			productRefGroup = 9BBD96A0F02B8F92DD3659B2DCDF1A8C /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */,
-				7A44E3414AC7209D8D353C337F268DBC /* PetstoreClient */,
-				41903051A113E887E262FB29130EB187 /* Pods-SwaggerClient */,
-				BCF05B222D1CA50E84618B500CB18541 /* Pods-SwaggerClientTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
-		32B9974868188C4803318E36329C87FE /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				9ED2BB2981896E0A39EFA365503F58CE /* AFError.swift in Sources */,
-				A9EEEA7477981DEEBC72432DE9990A4B /* Alamofire-dummy.m in Sources */,
-				F8B3D3092ED0417E8CDF32033F6122F5 /* Alamofire.swift in Sources */,
-				61200D01A1855D7920CEF835C8BE00B0 /* DispatchQueue+Alamofire.swift in Sources */,
-				B65FCF589DA398C3EFE0128064E510EC /* MultipartFormData.swift in Sources */,
-				A2A6F71B727312BD45CC7A4AAD7B0AB7 /* NetworkReachabilityManager.swift in Sources */,
-				EFD264FC408EBF3BA2528E70B08DDD94 /* Notifications.swift in Sources */,
-				BE5C67A07E289FE1F9BE27335B159997 /* ParameterEncoding.swift in Sources */,
-				5387216E723A3C68E851CA15573CDD71 /* Request.swift in Sources */,
-				CB6D60925223897FFA2662667DF83E8A /* Response.swift in Sources */,
-				F6BECD98B97CBFEBE2C96F0E9E72A6C0 /* ResponseSerialization.swift in Sources */,
-				7D8CC01E8C9EFFF9F4D65406CDE0AB66 /* Result.swift in Sources */,
-				62F65AD8DC4F0F9610F4B8B4738EC094 /* ServerTrustPolicy.swift in Sources */,
-				7B5FE28C7EA4122B0598738E54DBEBD8 /* SessionDelegate.swift in Sources */,
-				AE1EF48399533730D0066E04B22CA2D6 /* SessionManager.swift in Sources */,
-				3626B94094672CB1C9DEA32B9F9502E1 /* TaskDelegate.swift in Sources */,
-				10EB23E9ECC4B33E16933BB1EA560B6A /* Timeline.swift in Sources */,
-				BBEFE2F9CEB73DC7BD97FFA66A0D9D4F /* Validation.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		61868F2FE74A9422171483DBABE7C61F /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				80C3B52F0D2A4EFBCFFB4F3581FA3598 /* Pods-SwaggerClientTests-dummy.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		9A1B5AE4D97D5E0097B7054904D06663 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				D5F1BBD60108412FD5C8B320D20B2993 /* Pods-SwaggerClient-dummy.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		9F6567235C6E1627F81B601F2645CABC /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				17D7DD6070AC0827798B808A3B3F33CC /* AdditionalPropertiesClass.swift in Sources */,
-				A08574719EF212B105954F58DD8AFBE1 /* AlamofireImplementations.swift in Sources */,
-				4B608BE9558F9880F286073E764222BA /* Animal.swift in Sources */,
-				85216A45BF4ABCF5654715167D7A8A44 /* AnimalFarm.swift in Sources */,
-				63E53FB5E0AFF41C1AEE670D4D2EA55B /* AnotherFakeAPI.swift in Sources */,
-				4EE591215BF57E9C655E1FFDF4244E20 /* APIHelper.swift in Sources */,
-				CB2AE7CE6253392499D81064945D704B /* ApiResponse.swift in Sources */,
-				6244553C8EB8413BDE84442BDB32B158 /* APIs.swift in Sources */,
-				12F046ACC7A765A58AE3EC78B5C37654 /* ArrayOfArrayOfNumberOnly.swift in Sources */,
-				D41E4EEA685E8151A95393E9E1EF95CC /* ArrayOfNumberOnly.swift in Sources */,
-				FCAD0021405A0CAE1B59CE70430EBE11 /* ArrayTest.swift in Sources */,
-				E479ACE0A5835A89134A8C7663FA2E1D /* Capitalization.swift in Sources */,
-				2692488ECFB2DC44A1484F4E237F1A7F /* Cat.swift in Sources */,
-				73880BFBD593B84BDC52BDA73CD905D3 /* Category.swift in Sources */,
-				3B3759CDE620B518B4E187D6607AD40E /* ClassModel.swift in Sources */,
-				2D99D98D8B0A65646A128075993EE8E7 /* Client.swift in Sources */,
-				5DD7FE53110AD4EAACC894FC465DA8F2 /* Configuration.swift in Sources */,
-				7877D0A755EDD3241453857443FED9BE /* Dog.swift in Sources */,
-				AE21939A626D9B867413404C953FB83B /* EnumArrays.swift in Sources */,
-				DD79A040B4D1DEE849091CF1E91AF42A /* EnumClass.swift in Sources */,
-				93AB309BD6FE9AEE0CFD4E7075F26619 /* EnumTest.swift in Sources */,
-				8448CBC208B027E8EADEA39AE687B3D8 /* Extensions.swift in Sources */,
-				E6A94FA31172DD3438D5A3EC51A05638 /* FakeAPI.swift in Sources */,
-				B29744F262A1B7D3F1344833CA64349A /* FakeClassnameTags123API.swift in Sources */,
-				5EF2450B3FE235021270DDE480AB9DFF /* FormatTest.swift in Sources */,
-				A1BDAFE44135347E816DDA243519910B /* HasOnlyReadOnly.swift in Sources */,
-				856E217482D183D133297CB6BF12D8FD /* List.swift in Sources */,
-				535108E2BD555B4E3935DB583B03BC03 /* MapTest.swift in Sources */,
-				5C8D71030D0D58B316181FF9BB0FA757 /* MixedPropertiesAndAdditionalPropertiesClass.swift in Sources */,
-				022118A06E4266B7CF103F2D3E594F1B /* Model200Response.swift in Sources */,
-				8505A8B33E6DB2468C52997E8B328FA0 /* Models.swift in Sources */,
-				83BB300F436739562A879819271788A8 /* Name.swift in Sources */,
-				CB9D5B33D2A072BBEAFC7A941C986A85 /* NumberOnly.swift in Sources */,
-				8F51DB58A86B9665D7B785BB25DE9FEF /* Order.swift in Sources */,
-				41C410B0290C38CDA9F27285983864D2 /* OuterComposite.swift in Sources */,
-				86031F845943F3F00049B90CA06F1C4E /* OuterEnum.swift in Sources */,
-				0B4682928CDA581AE825A894AA4EE97F /* Pet.swift in Sources */,
-				819A936646985D3BD0ED55EE5A11E874 /* PetAPI.swift in Sources */,
-				8F68634B12F668D1B117CC89F899CF13 /* PetstoreClient-dummy.m in Sources */,
-				BBFF38577AA65B4E0C3E6B7A32BC7E27 /* ReadOnlyFirst.swift in Sources */,
-				358744AD7511300B7BA57E75C523CE4E /* Return.swift in Sources */,
-				E888314B46198CB029A33B8F4C66C947 /* SpecialModelName.swift in Sources */,
-				4D659A79C5FD26710C0EE4DDD46B5197 /* StoreAPI.swift in Sources */,
-				ECF333C34A4147267C5AD9AF8436DFF7 /* Tag.swift in Sources */,
-				6337B0A36831DF8FAA0BC62F2E5ED525 /* User.swift in Sources */,
-				961E53797F3F7FA8DB12A00560426AC8 /* UserAPI.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		374AD22F26F7E9801AB27C2FCBBF4EC9 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = PetstoreClient;
-			target = 7A44E3414AC7209D8D353C337F268DBC /* PetstoreClient */;
-			targetProxy = 398B30E9B8AE28E1BDA1C6D292107659 /* PBXContainerItemProxy */;
-		};
-		64EE23A908FF7DD89D49F047F2EA62C5 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = Alamofire;
-			target = 88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */;
-			targetProxy = 65C4A1A84C1B3A3EA573D203ABE57C80 /* PBXContainerItemProxy */;
-		};
-		AC31F7EF81A7A1C4862B1BA6879CEC1C /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = Alamofire;
-			target = 88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */;
-			targetProxy = F9E1549CFEDAD61BECA92DB5B12B4019 /* PBXContainerItemProxy */;
-		};
-		CAD6237EE98BEB14DA0AE88C1F89DF12 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = "Pods-SwaggerClient";
-			target = 41903051A113E887E262FB29130EB187 /* Pods-SwaggerClient */;
-			targetProxy = 39BC36C8D9E651B0E90400DB5CB4450E /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
-		1061787EE37EF1635F9DDF717212E04E /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		1FE3B4CE8C074CE87C18B26C91020E15 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_ENABLE_OBJC_WEAK = YES;
-				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_COMMA = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
-				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
-				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				CODE_SIGNING_ALLOWED = NO;
-				CODE_SIGNING_REQUIRED = NO;
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu11;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"POD_CONFIGURATION_DEBUG=1",
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				STRIP_INSTALLED_PRODUCT = NO;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
-				SYMROOT = "${SRCROOT}/../build";
-			};
-			name = Debug;
-		};
-		5E110A36DB7BF1BF01973770C95C3047 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClientTests/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		6B119F7AC2DCC7121A30BFF775C46557 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/PetstoreClient/PetstoreClient-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PetstoreClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PetstoreClient/PetstoreClient.modulemap";
-				PRODUCT_MODULE_NAME = PetstoreClient;
-				PRODUCT_NAME = PetstoreClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		7B0415700290D1DEBAB6B173951CC0C7 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 33A04B5D27E86AF4B84D95E21CF3F452 /* Alamofire.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap";
-				PRODUCT_MODULE_NAME = Alamofire;
-				PRODUCT_NAME = Alamofire;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		89C68177307D3F04B055FD0AA2FC173A /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_ENABLE_OBJC_WEAK = YES;
-				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_COMMA = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
-				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
-				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				CODE_SIGNING_ALLOWED = NO;
-				CODE_SIGNING_REQUIRED = NO;
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu11;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"POD_CONFIGURATION_RELEASE=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				STRIP_INSTALLED_PRODUCT = NO;
-				SYMROOT = "${SRCROOT}/../build";
-			};
-			name = Release;
-		};
-		95DBEF0AB0B74932A7CEF4BB6099470D /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 33A04B5D27E86AF4B84D95E21CF3F452 /* Alamofire.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap";
-				PRODUCT_MODULE_NAME = Alamofire;
-				PRODUCT_NAME = Alamofire;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		9715671A3B214B77299431783A3C79AF /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/PetstoreClient/PetstoreClient-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PetstoreClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PetstoreClient/PetstoreClient.modulemap";
-				PRODUCT_MODULE_NAME = PetstoreClient;
-				PRODUCT_NAME = PetstoreClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		AA44C748B579D9822A4F1DA83E57D74C /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClientTests/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		E944E2E9660E4E16301165EDE14498C3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				1FE3B4CE8C074CE87C18B26C91020E15 /* Debug */,
-				89C68177307D3F04B055FD0AA2FC173A /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		2E8D4ECE8C49444F29C531059B32A46E /* Build configuration list for PBXNativeTarget "PetstoreClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6B119F7AC2DCC7121A30BFF775C46557 /* Debug */,
-				9715671A3B214B77299431783A3C79AF /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		419E5D95491847CD79841B971A8A3277 /* Build configuration list for PBXNativeTarget "Alamofire" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				7B0415700290D1DEBAB6B173951CC0C7 /* Debug */,
-				95DBEF0AB0B74932A7CEF4BB6099470D /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		5DE561894A3D2FE43769BF10CB87D407 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				E944E2E9660E4E16301165EDE14498C3 /* Debug */,
-				1061787EE37EF1635F9DDF717212E04E /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6038DB15B6014EE0617ADC32733FC361 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				AA44C748B579D9822A4F1DA83E57D74C /* Debug */,
-				5E110A36DB7BF1BF01973770C95C3047 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig
deleted file mode 100644
index 6b8baab300a..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig	
+++ /dev/null
@@ -1,9 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Alamofire
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/Alamofire
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig
deleted file mode 100644
index c24f97366d1..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig	
+++ /dev/null
@@ -1,10 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown
deleted file mode 100644
index e04b910c370..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown	
+++ /dev/null
@@ -1,26 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## Alamofire
-
-Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-Generated by CocoaPods - https://cocoapods.org
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist
deleted file mode 100644
index 931747768ba..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist	
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>PreferenceSpecifiers</key>
-	<array>
-		<dict>
-			<key>FooterText</key>
-			<string>This application makes use of the following third party libraries:</string>
-			<key>Title</key>
-			<string>Acknowledgements</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-</string>
-			<key>License</key>
-			<string>MIT</string>
-			<key>Title</key>
-			<string>Alamofire</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>Generated by CocoaPods - https://cocoapods.org</string>
-			<key>Title</key>
-			<string></string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-	</array>
-	<key>StringsTable</key>
-	<string>Acknowledgements</string>
-	<key>Title</key>
-	<string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh
deleted file mode 100755
index 3680284d666..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh	
+++ /dev/null
@@ -1,155 +0,0 @@
-#!/bin/sh
-set -e
-set -u
-set -o pipefail
-
-if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
-    # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
-    # frameworks to, so exit 0 (signalling the script phase was successful).
-    exit 0
-fi
-
-echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
-SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
-
-# Used as a return value for each invocation of `strip_invalid_archs` function.
-STRIP_BINARY_RETVAL=0
-
-# This protects against multiple targets copying the same framework dependency at the same time. The solution
-# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
-RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
-
-# Copies and strips a vendored framework
-install_framework()
-{
-  if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
-    local source="${BUILT_PRODUCTS_DIR}/$1"
-  elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
-    local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
-  elif [ -r "$1" ]; then
-    local source="$1"
-  fi
-
-  local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-  if [ -L "${source}" ]; then
-      echo "Symlinked..."
-      source="$(readlink "${source}")"
-  fi
-
-  # Use filter instead of exclude so missing patterns don't throw errors.
-  echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
-  rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
-
-  local basename
-  basename="$(basename -s .framework "$1")"
-  binary="${destination}/${basename}.framework/${basename}"
-  if ! [ -r "$binary" ]; then
-    binary="${destination}/${basename}"
-  fi
-
-  # Strip invalid architectures so "fat" simulator / device frameworks work on device
-  if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
-    strip_invalid_archs "$binary"
-  fi
-
-  # Resign the code if required by the build settings to avoid unstable apps
-  code_sign_if_enabled "${destination}/$(basename "$1")"
-
-  # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
-  if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
-    local swift_runtime_libs
-    swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u  && exit ${PIPESTATUS[0]})
-    for lib in $swift_runtime_libs; do
-      echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
-      rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
-      code_sign_if_enabled "${destination}/${lib}"
-    done
-  fi
-}
-
-# Copies and strips a vendored dSYM
-install_dsym() {
-  local source="$1"
-  if [ -r "$source" ]; then
-    # Copy the dSYM into a the targets temp dir.
-    echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
-    rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
-
-    local basename
-    basename="$(basename -s .framework.dSYM "$source")"
-    binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
-
-    # Strip invalid architectures so "fat" simulator / device frameworks work on device
-    if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
-      strip_invalid_archs "$binary"
-    fi
-
-    if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
-      # Move the stripped file into its final destination.
-      echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
-      rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
-    else
-      # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
-      touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
-    fi
-  fi
-}
-
-# Signs a framework with the provided identity
-code_sign_if_enabled() {
-  if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
-    # Use the current code_sign_identitiy
-    echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
-    local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
-
-    if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
-      code_sign_cmd="$code_sign_cmd &"
-    fi
-    echo "$code_sign_cmd"
-    eval "$code_sign_cmd"
-  fi
-}
-
-# Strip invalid architectures
-strip_invalid_archs() {
-  binary="$1"
-  # Get architectures for current target binary
-  binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
-  # Intersect them with the architectures we are building for
-  intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
-  # If there are no archs supported by this binary then warn the user
-  if [[ -z "$intersected_archs" ]]; then
-    echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
-    STRIP_BINARY_RETVAL=0
-    return
-  fi
-  stripped=""
-  for arch in $binary_archs; do
-    if ! [[ "${ARCHS}" == *"$arch"* ]]; then
-      # Strip non-valid architectures in-place
-      lipo -remove "$arch" -output "$binary" "$binary" || exit 1
-      stripped="$stripped $arch"
-    fi
-  done
-  if [[ "$stripped" ]]; then
-    echo "Stripped $binary of architectures:$stripped"
-  fi
-  STRIP_BINARY_RETVAL=1
-}
-
-
-if [[ "$CONFIGURATION" == "Debug" ]]; then
-  install_framework "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework"
-fi
-if [[ "$CONFIGURATION" == "Release" ]]; then
-  install_framework "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework"
-fi
-if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
-  wait
-fi
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig
deleted file mode 100644
index 5ab6f3adf4f..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig	
+++ /dev/null
@@ -1,11 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "PetstoreClient"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig
deleted file mode 100644
index 5ab6f3adf4f..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig	
+++ /dev/null
@@ -1,11 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "PetstoreClient"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig
deleted file mode 100644
index 43fd8e36c03..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig	
+++ /dev/null
@@ -1,8 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig b/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig
deleted file mode 100644
index 43fd8e36c03..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig	
+++ /dev/null
@@ -1,8 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
deleted file mode 100644
index a6881f1db9f..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,615 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		54DA06C1D70D78EC0EC72B61 /* Pods_SwaggerClientTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */; };
-		6D4EFB951C692C6300B96B06 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFB941C692C6300B96B06 /* AppDelegate.swift */; };
-		6D4EFB971C692C6300B96B06 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFB961C692C6300B96B06 /* ViewController.swift */; };
-		6D4EFB9A1C692C6300B96B06 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB981C692C6300B96B06 /* Main.storyboard */; };
-		6D4EFB9C1C692C6300B96B06 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */; };
-		6D4EFB9F1C692C6300B96B06 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */; };
-		6D4EFBB51C693BE200B96B06 /* PetAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */; };
-		6D4EFBB71C693BED00B96B06 /* StoreAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */; };
-		6D4EFBB91C693BFC00B96B06 /* UserAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */; };
-		751C65B82F596107A3DC8ED9 /* Pods_SwaggerClient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		6D4EFBA61C692C6300B96B06 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 6D4EFB891C692C6300B96B06 /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 6D4EFB901C692C6300B96B06;
-			remoteInfo = SwaggerClient;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		6D4EFB911C692C6300B96B06 /* SwaggerClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwaggerClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
-		6D4EFB941C692C6300B96B06 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
-		6D4EFB961C692C6300B96B06 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
-		6D4EFB991C692C6300B96B06 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
-		6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		6D4EFB9E1C692C6300B96B06 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		6D4EFBA01C692C6300B96B06 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwaggerClientTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
-		6D4EFBAB1C692C6300B96B06 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PetAPITests.swift; sourceTree = "<group>"; };
-		6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoreAPITests.swift; sourceTree = "<group>"; };
-		6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserAPITests.swift; sourceTree = "<group>"; };
-		8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-		C07EC0A94AA0F86D60668B32 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClientTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		6D4EFB8E1C692C6300B96B06 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				751C65B82F596107A3DC8ED9 /* Pods_SwaggerClient.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA21C692C6300B96B06 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				54DA06C1D70D78EC0EC72B61 /* Pods_SwaggerClientTests.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		0CAA98BEFA303B94D3664C7D /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */,
-				FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */,
-				289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		3FABC56EC0BA84CBF4F99564 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				C07EC0A94AA0F86D60668B32 /* Pods.framework */,
-				8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */,
-				F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		6D4EFB881C692C6300B96B06 = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB931C692C6300B96B06 /* SwaggerClient */,
-				6D4EFBA81C692C6300B96B06 /* SwaggerClientTests */,
-				6D4EFB921C692C6300B96B06 /* Products */,
-				3FABC56EC0BA84CBF4F99564 /* Frameworks */,
-				0CAA98BEFA303B94D3664C7D /* Pods */,
-			);
-			sourceTree = "<group>";
-		};
-		6D4EFB921C692C6300B96B06 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB911C692C6300B96B06 /* SwaggerClient.app */,
-				6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		6D4EFB931C692C6300B96B06 /* SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB941C692C6300B96B06 /* AppDelegate.swift */,
-				6D4EFB961C692C6300B96B06 /* ViewController.swift */,
-				6D4EFB981C692C6300B96B06 /* Main.storyboard */,
-				6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */,
-				6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */,
-				6D4EFBA01C692C6300B96B06 /* Info.plist */,
-			);
-			path = SwaggerClient;
-			sourceTree = "<group>";
-		};
-		6D4EFBA81C692C6300B96B06 /* SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFBAB1C692C6300B96B06 /* Info.plist */,
-				6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */,
-				6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */,
-				6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */,
-			);
-			path = SwaggerClientTests;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		6D4EFB901C692C6300B96B06 /* SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6D4EFBAE1C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClient" */;
-			buildPhases = (
-				CF310079E3CB0BE5BE604471 /* [CP] Check Pods Manifest.lock */,
-				1F03F780DC2D9727E5E64BA9 /* [CP] Check Pods Manifest.lock */,
-				6D4EFB8D1C692C6300B96B06 /* Sources */,
-				6D4EFB8E1C692C6300B96B06 /* Frameworks */,
-				6D4EFB8F1C692C6300B96B06 /* Resources */,
-				4485A75250058E2D5BBDF63F /* [CP] Embed Pods Frameworks */,
-				3D9471620628F03313096EB2 /* 📦 Embed Pods Frameworks */,
-				EEEC2B2D0497D38CEAD2DB24 /* 📦 Copy Pods Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = SwaggerClient;
-			productName = SwaggerClient;
-			productReference = 6D4EFB911C692C6300B96B06 /* SwaggerClient.app */;
-			productType = "com.apple.product-type.application";
-		};
-		6D4EFBA41C692C6300B96B06 /* SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6D4EFBB11C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */;
-			buildPhases = (
-				B4DB169E5F018305D6759D34 /* [CP] Check Pods Manifest.lock */,
-				79FE27B09B2DD354C831BD49 /* [CP] Check Pods Manifest.lock */,
-				6D4EFBA11C692C6300B96B06 /* Sources */,
-				6D4EFBA21C692C6300B96B06 /* Frameworks */,
-				6D4EFBA31C692C6300B96B06 /* Resources */,
-				ECE47F6BF90C3848F6E94AFF /* 📦 Embed Pods Frameworks */,
-				1494090872F3F18E536E8902 /* 📦 Copy Pods Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				6D4EFBA71C692C6300B96B06 /* PBXTargetDependency */,
-			);
-			name = SwaggerClientTests;
-			productName = SwaggerClientTests;
-			productReference = 6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */;
-			productType = "com.apple.product-type.bundle.unit-test";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		6D4EFB891C692C6300B96B06 /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0720;
-				LastUpgradeCheck = 0720;
-				ORGANIZATIONNAME = Swagger;
-				TargetAttributes = {
-					6D4EFB901C692C6300B96B06 = {
-						CreatedOnToolsVersion = 7.2.1;
-						LastSwiftMigration = 0800;
-					};
-					6D4EFBA41C692C6300B96B06 = {
-						CreatedOnToolsVersion = 7.2.1;
-						LastSwiftMigration = 0800;
-						TestTargetID = 6D4EFB901C692C6300B96B06;
-					};
-				};
-			};
-			buildConfigurationList = 6D4EFB8C1C692C6300B96B06 /* Build configuration list for PBXProject "SwaggerClient" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = 6D4EFB881C692C6300B96B06;
-			productRefGroup = 6D4EFB921C692C6300B96B06 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				6D4EFB901C692C6300B96B06 /* SwaggerClient */,
-				6D4EFBA41C692C6300B96B06 /* SwaggerClientTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-		6D4EFB8F1C692C6300B96B06 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFB9F1C692C6300B96B06 /* LaunchScreen.storyboard in Resources */,
-				6D4EFB9C1C692C6300B96B06 /* Assets.xcassets in Resources */,
-				6D4EFB9A1C692C6300B96B06 /* Main.storyboard in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA31C692C6300B96B06 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
-		1494090872F3F18E536E8902 /* 📦 Copy Pods Resources */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "📦 Copy Pods Resources";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-resources.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		1F03F780DC2D9727E5E64BA9 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n    cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n    exit 1\nfi\n";
-			showEnvVarsInLog = 0;
-		};
-		3D9471620628F03313096EB2 /* 📦 Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "📦 Embed Pods Frameworks";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		4485A75250058E2D5BBDF63F /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh",
-				"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
-				"${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework",
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputPaths = (
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PetstoreClient.framework",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		79FE27B09B2DD354C831BD49 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_ROOT}/../Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [[ $? != 0 ]] ; then\n    cat << EOM\nerror: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\nEOM\n    exit 1\nfi\n";
-			showEnvVarsInLog = 0;
-		};
-		B4DB169E5F018305D6759D34 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-SwaggerClientTests-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-		CF310079E3CB0BE5BE604471 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-SwaggerClient-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-		ECE47F6BF90C3848F6E94AFF /* 📦 Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "📦 Embed Pods Frameworks";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		EEEC2B2D0497D38CEAD2DB24 /* 📦 Copy Pods Resources */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-			);
-			name = "📦 Copy Pods Resources";
-			outputPaths = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-resources.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		6D4EFB8D1C692C6300B96B06 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFB971C692C6300B96B06 /* ViewController.swift in Sources */,
-				6D4EFB951C692C6300B96B06 /* AppDelegate.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA11C692C6300B96B06 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFBB71C693BED00B96B06 /* StoreAPITests.swift in Sources */,
-				6D4EFBB91C693BFC00B96B06 /* UserAPITests.swift in Sources */,
-				6D4EFBB51C693BE200B96B06 /* PetAPITests.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		6D4EFBA71C692C6300B96B06 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = 6D4EFB901C692C6300B96B06 /* SwaggerClient */;
-			targetProxy = 6D4EFBA61C692C6300B96B06 /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-		6D4EFB981C692C6300B96B06 /* Main.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				6D4EFB991C692C6300B96B06 /* Base */,
-			);
-			name = Main.storyboard;
-			sourceTree = "<group>";
-		};
-		6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				6D4EFB9E1C692C6300B96B06 /* Base */,
-			);
-			name = LaunchScreen.storyboard;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		6D4EFBAC1C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				SDKROOT = iphoneos;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Debug;
-		};
-		6D4EFBAD1C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				SDKROOT = iphoneos;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		6D4EFBAF1C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-			};
-			name = Debug;
-		};
-		6D4EFBB01C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-			};
-			name = Release;
-		};
-		6D4EFBB21C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Debug;
-		};
-		6D4EFBB31C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		6D4EFB8C1C692C6300B96B06 /* Build configuration list for PBXProject "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBAC1C692C6300B96B06 /* Debug */,
-				6D4EFBAD1C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6D4EFBAE1C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBAF1C692C6300B96B06 /* Debug */,
-				6D4EFBB01C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6D4EFBB11C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBB21C692C6300B96B06 /* Debug */,
-				6D4EFBB31C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = 6D4EFB891C692C6300B96B06 /* Project object */;
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
deleted file mode 100644
index 5ba034cec55..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
+++ /dev/null
@@ -1,102 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "0720"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES"
-            hideIssues = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-               BuildableName = "SwaggerClient.app"
-               BlueprintName = "SwaggerClient"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6D4EFBA41C692C6300B96B06"
-               BuildableName = "SwaggerClientTests.xctest"
-               BlueprintName = "SwaggerClientTests"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </MacroExpansion>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 9b3fa18954f..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "group:SwaggerClient.xcodeproj">
-   </FileRef>
-   <FileRef
-      location = "group:Pods/Pods.xcodeproj">
-   </FileRef>
-</Workspace>
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/AppDelegate.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/AppDelegate.swift
deleted file mode 100644
index 7fd69296176..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/AppDelegate.swift
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-//  AppDelegate.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-
-    var window: UIWindow?
-
-
-    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
-        // Override point for customization after application launch.
-        return true
-    }
-
-    func applicationWillResignActive(_ application: UIApplication) {
-        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
-        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
-    }
-
-    func applicationDidEnterBackground(_ application: UIApplication) {
-        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
-        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
-    }
-
-    func applicationWillEnterForeground(_ application: UIApplication) {
-        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
-    }
-
-    func applicationDidBecomeActive(_ application: UIApplication) {
-        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
-    }
-
-    func applicationWillTerminate(_ application: UIApplication) {
-        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-    }
-
-
-}
-
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 1d060ed2882..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "iphone",
-      "size" : "20x20",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "20x20",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "20x20",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "20x20",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "29x29",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "40x40",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "76x76",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "76x76",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "83.5x83.5",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 2e721e1833f..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="EHf-IW-A2E">
-            <objects>
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
-                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <animations/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="53" y="375"/>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
deleted file mode 100644
index 3a2a49bad8c..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Info.plist b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Info.plist
deleted file mode 100644
index bb71d00fa8a..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/Info.plist
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UILaunchStoryboardName</key>
-	<string>LaunchScreen</string>
-	<key>UIMainStoryboardFile</key>
-	<string>Main</string>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>armv7</string>
-	</array>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>petstore.swagger.io</key>
-            <dict>
-                <!--Include to allow HTTP requests-->
-                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/ViewController.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/ViewController.swift
deleted file mode 100644
index cd7e9a16761..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClient/ViewController.swift
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-//  ViewController.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-class ViewController: UIViewController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        // Do any additional setup after loading the view, typically from a nib.
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-
-
-}
-
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/Info.plist b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/Info.plist
deleted file mode 100644
index 802f84f540d..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/Info.plist
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>BNDL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>petstore.swagger.io</key>
-            <dict>
-                <!--Include to allow HTTP requests-->
-                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
deleted file mode 100644
index ffb9e8b209f..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
+++ /dev/null
@@ -1,86 +0,0 @@
-//
-//  PetAPITests.swift
-//  SwaggerClient
-//
-//  Created by Robin Eggenkamp on 5/21/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import XCTest
-@testable import SwaggerClient
-
-class PetAPITests: XCTestCase {
-    
-    let testTimeout = 10.0
-
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-    
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-    
-    func test1CreatePet() {
-        let expectation = self.expectation(description: "testCreatePet")
-        
-        let newPet = Pet()
-        let category = PetstoreClient.Category()
-        category.id = 1234
-        category.name = "eyeColor"
-        newPet.category = category
-        newPet.id = 1000
-        newPet.name = "Fluffy"
-        newPet.status = .available
-        
-        PetAPI.addPet(body: newPet) { (error) in
-            guard error == nil else {
-                XCTFail("error creating pet")
-                return
-            }
-            
-            expectation.fulfill()
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test2GetPet() {
-        let expectation = self.expectation(description: "testGetPet")
-        
-        PetAPI.getPetById(petId: 1000) { (pet, error) in
-            guard error == nil else {
-                XCTFail("error retrieving pet")
-                return
-            }
-            
-            if let pet = pet {
-                XCTAssert(pet.id == 1000, "invalid id")
-                XCTAssert(pet.name == "Fluffy", "invalid name")
-                
-                expectation.fulfill()
-            }
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test3DeletePet() {
-        let expectation = self.expectation(description: "testDeletePet")
-        
-        PetAPI.deletePet(petId: 1000) { (error) in
-            guard error == nil else {
-                XCTFail("error deleting pet")
-                return
-            }
-
-            expectation.fulfill()
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
deleted file mode 100644
index c48355a6ff8..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
+++ /dev/null
@@ -1,122 +0,0 @@
-//
-//  StoreAPITests.swift
-//  SwaggerClient
-//
-//  Created by Robin Eggenkamp on 5/21/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import XCTest
-@testable import SwaggerClient
-
-class StoreAPITests: XCTestCase {
-
-    let isoDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-    
-    let testTimeout = 10.0
-
-    func test1PlaceOrder() {
-        let expectation = self.expectation(description: "testPlaceOrder")
-        let shipDate = Date()
-        
-        let newOrder = Order()
-        newOrder.id = 1000
-        newOrder.petId = 1000
-        newOrder.complete = false
-        newOrder.quantity = 10
-        newOrder.shipDate = shipDate
-        // use explicit naming to reference the enum so that we test we don't regress on enum naming
-        newOrder.status = Order.Status.placed
-        
-        StoreAPI.placeOrder(body: newOrder) { (order, error) in
-            guard error == nil else {
-                XCTFail("error placing order: \(error.debugDescription)")
-                return
-            }
-            
-            if let order = order {
-                XCTAssert(order.id == 1000, "invalid id")
-                XCTAssert(order.quantity == 10, "invalid quantity")
-                XCTAssert(order.status == .placed, "invalid status")
-                XCTAssert(order.shipDate!.isEqual(shipDate, format: self.isoDateFormat),
-                          "Date should be idempotent")
-                
-                expectation.fulfill()
-            }
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test2GetOrder() {
-        let expectation = self.expectation(description: "testGetOrder")
-        
-        StoreAPI.getOrderById(orderId: 1000) { (order, error) in
-            guard error == nil else {
-                XCTFail("error retrieving order: \(error.debugDescription)")
-                return
-            }
-            
-            if let order = order {
-                XCTAssert(order.id == 1000, "invalid id")
-                XCTAssert(order.quantity == 10, "invalid quantity")
-                XCTAssert(order.status == .placed, "invalid status")
-                
-                expectation.fulfill()
-            }
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test3DeleteOrder() {
-        let expectation = self.expectation(description: "testDeleteOrder")
-        
-        StoreAPI.deleteOrder(orderId: "1000") { (error) in
-            guard error == nil else {
-                XCTFail("error deleting order")
-                return
-            }
-
-            expectation.fulfill()
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func testDownloadProgress() {
-        let responseExpectation = self.expectation(description: "obtain response")
-        let progressExpectation = self.expectation(description: "obtain progress")
-        let requestBuilder = StoreAPI.getOrderByIdWithRequestBuilder(orderId: 1000)
-
-        requestBuilder.onProgressReady = { (progress) in
-            progressExpectation.fulfill()
-        }
-
-        requestBuilder.execute { (response, error) in
-            responseExpectation.fulfill()
-        }
-
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-}
-
-private extension Date {
-
-    /**
-     Returns true if the dates are equal given the format string.
-
-     - parameter date:   The date to compare to.
-     - parameter format: The format string to use to compare.
-
-     - returns: true if the dates are equal, given the format string.
-     */
-    func isEqual(_ date: Date, format: String) -> Bool {
-        let fmt = DateFormatter()
-        fmt.dateFormat = format
-        return fmt.string(from: self).isEqual(fmt.string(from: date))
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift b/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
deleted file mode 100644
index f6f87e9e763..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
+++ /dev/null
@@ -1,164 +0,0 @@
-//
-//  UserAPITests.swift
-//  SwaggerClient
-//
-//  Created by Robin Eggenkamp on 5/21/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import XCTest
-@testable import SwaggerClient
-
-class UserAPITests: XCTestCase {
-    
-    let testTimeout = 10.0
-    
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-    
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-    
-    func testLogin() {
-        let expectation = self.expectation(description: "testLogin")
-        
-        UserAPI.loginUser(username: "swiftTester", password: "swift") { (_, error) in
-            guard error == nil else {
-                XCTFail("error logging in")
-                return
-            }
-
-            expectation.fulfill()
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func testLogout() {
-        let expectation = self.expectation(description: "testLogout")
-        
-        UserAPI.logoutUser { (error) in
-            guard error == nil else {
-                XCTFail("error logging out")
-                return
-            }
-
-            expectation.fulfill()
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test1CreateUser() {
-        let expectation = self.expectation(description: "testCreateUser")
-        
-        let newUser = User()
-        newUser.email = "test@test.com"
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-        
-        UserAPI.createUser(body: newUser) { (error) in
-            guard error == nil else {
-                XCTFail("error creating user")
-                return
-            }
-
-            expectation.fulfill()
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func testCreateUserWithArray() {
-        let expectation = self.expectation(description: "testCreateUserWithArray")
-        let newUser = User()
-        newUser.email = "test@test.com"
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-        
-        let newUser2 = User()
-        newUser2.email = "test2@test.com"
-        newUser2.firstName = "Test2"
-        newUser2.lastName = "Tester2"
-        newUser2.id = 1001
-        newUser2.password = "test2!"
-        newUser2.phone = "867-5302"
-        newUser2.username = "test2@test.com"
-        newUser2.userStatus = 0
-        
-        UserAPI.createUsersWithArrayInput(body: [newUser, newUser2]) { (error) in
-            guard error == nil else {
-                XCTFail("error creating users")
-                return
-            }
-            
-            expectation.fulfill()
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test2GetUser() {
-        let expectation = self.expectation(description: "testGetUser")
-        
-        UserAPI.getUserByName(username: "test@test.com") { (user, error) in
-            guard error == nil else {
-                XCTFail("error getting user")
-                return
-            }
-            
-            if let user = user {
-                XCTAssert(user.userStatus == 0, "invalid userStatus")
-                XCTAssert(user.email == "test@test.com", "invalid email")
-                XCTAssert(user.firstName == "Test", "invalid firstName")
-                XCTAssert(user.lastName == "Tester", "invalid lastName")
-                XCTAssert(user.password == "test!", "invalid password")
-                XCTAssert(user.phone == "867-5309", "invalid phone")
-                
-                expectation.fulfill()
-            }
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test3DeleteUser() {
-        let expectation = self.expectation(description: "testDeleteUser")
-        
-        UserAPI.deleteUser(username: "test@test.com") { (error) in
-            guard error == nil else {
-                XCTFail("error deleting user")
-                return
-            }
-
-            expectation.fulfill()
-        }
-        
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func testPathParamsAreEscaped() {
-        // The path for this operation is /user/{userId}. In order to make a usable path,
-        // then we must make sure that {userId} is percent-escaped when it is substituted
-        // into the path. So we intentionally introduce a path with spaces.
-        let userRequestBuilder = UserAPI.getUserByNameWithRequestBuilder(username: "User Name With Spaces")
-        let urlContainsSpace = userRequestBuilder.URLString.contains(" ")
-
-        XCTAssert(!urlContainsSpace, "Expected URL to be escaped, but it was not.")
-    }
-
-}
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/pom.xml b/samples/client/petstore/swift3/default/SwaggerClientTests/pom.xml
deleted file mode 100644
index 10919bfdda9..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<project>
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>io.swagger</groupId>
-    <artifactId>Swift3PetstoreClientTests</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0-SNAPSHOT</version>
-    <name>Swift3 Swagger Petstore Client</name>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <version>1.2.1</version>
-                <executions>
-                    <execution>
-                        <id>xcodebuild-test</id>
-                        <phase>integration-test</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                        <configuration>
-                            <executable>./run_xcodebuild.sh</executable>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/samples/client/petstore/swift3/default/SwaggerClientTests/run_xcodebuild.sh b/samples/client/petstore/swift3/default/SwaggerClientTests/run_xcodebuild.sh
deleted file mode 100755
index 85622eef70d..00000000000
--- a/samples/client/petstore/swift3/default/SwaggerClientTests/run_xcodebuild.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-xcodebuild clean build build-for-testing -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -destination "platform=iOS Simulator,name=iPhone 6,OS=9.3" && xcodebuild test-without-building -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" -destination "platform=iOS Simulator,name=iPhone 6,OS=9.3" | xcpretty && exit ${PIPESTATUS[0]}
diff --git a/samples/client/petstore/swift3/default/git_push.sh b/samples/client/petstore/swift3/default/git_push.sh
deleted file mode 100644
index 20057f67ade..00000000000
--- a/samples/client/petstore/swift3/default/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="GIT_USER_ID"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="GIT_REPO_ID"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="Minor update"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/samples/client/petstore/swift3/objcCompatible/.gitignore b/samples/client/petstore/swift3/objcCompatible/.gitignore
deleted file mode 100644
index fc4e330f8fa..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift3/objcCompatible/.openapi-generator-ignore b/samples/client/petstore/swift3/objcCompatible/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift3/objcCompatible/.openapi-generator/VERSION b/samples/client/petstore/swift3/objcCompatible/.openapi-generator/VERSION
deleted file mode 100644
index 6d94c9c2e12..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/objcCompatible/Cartfile b/samples/client/petstore/swift3/objcCompatible/Cartfile
deleted file mode 100644
index 4abedca178d..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/Cartfile
+++ /dev/null
@@ -1 +0,0 @@
-github "Alamofire/Alamofire" ~> 4.5
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient.podspec b/samples/client/petstore/swift3/objcCompatible/PetstoreClient.podspec
deleted file mode 100644
index 1ff9b50b5e0..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient.podspec
+++ /dev/null
@@ -1,14 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = 'PetstoreClient'
-  s.ios.deployment_target = '9.0'
-  s.osx.deployment_target = '10.11'
-  s.tvos.deployment_target = '9.0'
-  s.version = '0.0.1'
-  s.source = { :git => 'git@github.com:OpenAPITools/openapi-generator.git', :tag => 'v1.0.0' }
-  s.authors = ''
-  s.license = 'Proprietary'
-  s.homepage = 'https://github.com/openapitools/openapi-generator'
-  s.summary = 'PetstoreClient'
-  s.source_files = 'PetstoreClient/Classes/**/*.swift'
-  s.dependency 'Alamofire', '~> 4.5.0'
-end
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIHelper.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
deleted file mode 100644
index d99d4858ff8..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
+++ /dev/null
@@ -1,75 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-class APIHelper {
-    static func rejectNil(_ source: [String:Any?]) -> [String:Any]? {
-        var destination = [String:Any]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(_ source: [String:Any?]) -> [String:String] {
-        var destination = [String:String]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(_ source: [String: Any]?) -> [String:Any]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String:Any]()
-        let theTrue = NSNumber(value: true as Bool)
-        let theFalse = NSNumber(value: false as Bool)
-        for (key, value) in source {
-            switch value {
-            case let x where x as? NSNumber === theTrue || x as? NSNumber === theFalse:
-                destination[key] = "\(value as! Bool)" as Any?
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-    static func mapValuesToQueryItems(values: [String:Any?]) -> [URLQueryItem]? {
-        let returnValues = values
-            .filter { $0.1 != nil }
-            .map { (item: (_key: String, _value: Any?)) -> [URLQueryItem] in
-                if let value = item._value as? Array<String> {
-                    return value.map { (v) -> URLQueryItem in
-                        URLQueryItem(
-                            name: item._key,
-                            value: v
-                        )
-                    }
-                } else {
-                    return [URLQueryItem(
-                        name: item._key,
-                        value: "\(item._value!)"
-                    )]
-                }
-            }
-            .flatMap { $0 }
-
-        if returnValues.isEmpty { return nil }
-        return returnValues
-    }
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs.swift
deleted file mode 100644
index c474dd4a9fa..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs.swift
+++ /dev/null
@@ -1,77 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class PetstoreClientAPI {
-    open static var basePath = "http://petstore.swagger.io:80/v2"
-    open static var credential: URLCredential?
-    open static var customHeaders: [String:String] = [:]
-    open static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-open class APIBase {
-    func toParameters(_ encodable: JSONEncodable?) -> [String: Any]? {
-        let encoded: Any? = encodable?.encodeToJSON()
-
-        if encoded! is [Any] {
-            var dictionary = [String:Any]()
-            for (index, item) in (encoded as! [Any]).enumerated() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String:Any]
-        }
-    }
-}
-
-open class RequestBuilder<T> {
-    var credential: URLCredential?
-    var headers: [String:String]
-    public let parameters: Any?
-    public let isBody: Bool
-    public let method: String
-    public let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((Progress) -> ())?
-
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String:String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders(PetstoreClientAPI.customHeaders)
-    }
-
-    open func addHeaders(_ aHeaders:[String:String]) {
-        for (header, value) in aHeaders {
-            addHeader(name: header, value: value)
-        }
-    }
-
-    open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) { }
-
-    @discardableResult public func addHeader(name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    open func addCredential() -> Self {
-        self.credential = PetstoreClientAPI.credential
-        return self
-    }
-}
-
-public protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
deleted file mode 100644
index ea37e8c5966..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// AnotherFakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class AnotherFakeAPI: APIBase {
-    /**
-     To test special tags
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testSpecialTags(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testSpecialTagsWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test special tags
-     - PATCH /another-fake/dummy
-     - To test special tags
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testSpecialTagsWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/another-fake/dummy"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
deleted file mode 100644
index e44709f2459..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
+++ /dev/null
@@ -1,405 +0,0 @@
-//
-// FakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class FakeAPI: APIBase {
-    /**
-     - parameter body: (body) Input boolean as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterBooleanSerialize(body: Bool? = nil, completion: @escaping ((_ data: Bool?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterBooleanSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/boolean
-     - Test serialization of outer boolean types
-     - parameter body: (body) Input boolean as post body (optional)
-     - returns: RequestBuilder<Bool> 
-     */
-    open class func fakeOuterBooleanSerializeWithRequestBuilder(body: Bool? = nil) -> RequestBuilder<Bool> {
-        let path = "/fake/outer/boolean"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Bool>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterCompositeSerialize(outerComposite: OuterComposite? = nil, completion: @escaping ((_ data: OuterComposite?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: outerComposite).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/composite
-     - Test serialization of object with outer number type
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - returns: RequestBuilder<OuterComposite> 
-     */
-    open class func fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: OuterComposite? = nil) -> RequestBuilder<OuterComposite> {
-        let path = "/fake/outer/composite"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = outerComposite?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<OuterComposite>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input number as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterNumberSerialize(body: Double? = nil, completion: @escaping ((_ data: Double?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterNumberSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/number
-     - Test serialization of outer number types
-     - parameter body: (body) Input number as post body (optional)
-     - returns: RequestBuilder<Double> 
-     */
-    open class func fakeOuterNumberSerializeWithRequestBuilder(body: Double? = nil) -> RequestBuilder<Double> {
-        let path = "/fake/outer/number"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Double>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input string as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterStringSerialize(body: String? = nil, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterStringSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/string
-     - Test serialization of outer string types
-     - parameter body: (body) Input string as post body (optional)
-     - returns: RequestBuilder<String> 
-     */
-    open class func fakeOuterStringSerializeWithRequestBuilder(body: String? = nil) -> RequestBuilder<String> {
-        let path = "/fake/outer/string"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     To test \"client\" model
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClientModel(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClientModelWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test \"client\" model
-     - PATCH /fake
-     - To test \"client\" model
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClientModelWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEndpointParameters(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEndpointParametersWithRequestBuilder(number: number, double: double, patternWithoutDelimiter: patternWithoutDelimiter, byte: byte, integer: integer, int32: int32, int64: int64, float: float, string: string, binary: binary, date: date, dateTime: dateTime, password: password, callback: callback).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - POST /fake
-     - Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - BASIC:
-       - type: http
-       - name: http_basic_test
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEndpointParametersWithRequestBuilder(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "integer": integer?.encodeToJSON(),
-            "int32": int32?.encodeToJSON(),
-            "int64": int64?.encodeToJSON(),
-            "number": number,
-            "float": float,
-            "double": double,
-            "string": string,
-            "pattern_without_delimiter": patternWithoutDelimiter,
-            "byte": byte,
-            "binary": binary,
-            "date": date?.encodeToJSON(),
-            "dateTime": dateTime?.encodeToJSON(),
-            "password": password,
-            "callback": callback
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     * enum for parameter enumHeaderStringArray
-     */
-    public enum EnumHeaderStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumHeaderString
-     */
-    public enum EnumHeaderString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryStringArray
-     */
-    public enum EnumQueryStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumQueryString
-     */
-    public enum EnumQueryString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryInteger
-     */
-    public enum EnumQueryInteger_testEnumParameters: Int32 { 
-        case _1 = 1
-        case number2 = -2
-    }
-
-    /**
-     * enum for parameter enumFormStringArray
-     */
-    public enum EnumFormStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumFormString
-     */
-    public enum EnumFormString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryDouble
-     */
-    public enum EnumQueryDouble_testEnumParameters: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-
-    /**
-     To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEnumParameters(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEnumParametersWithRequestBuilder(enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString, enumQueryDouble: enumQueryDouble).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     To test enum parameters
-     - GET /fake
-     - To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEnumParametersWithRequestBuilder(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "enum_form_string_array": enumFormStringArray,
-            "enum_form_string": enumFormString?.rawValue,
-            "enum_query_double": enumQueryDouble?.rawValue
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "enum_query_string_array": enumQueryStringArray,
-            "enum_query_string": enumQueryString?.rawValue,
-            "enum_query_integer": enumQueryInteger?.rawValue
-        ])
-        let nillableHeaders: [String: Any?] = [
-            "enum_header_string_array": enumHeaderStringArray,
-            "enum_header_string": enumHeaderString?.rawValue
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     test json serialization of form data
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testJsonFormData(param: String, param2: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testJsonFormDataWithRequestBuilder(param: param, param2: param2).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     test json serialization of form data
-     - GET /fake/jsonFormData
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testJsonFormDataWithRequestBuilder(param: String, param2: String) -> RequestBuilder<Void> {
-        let path = "/fake/jsonFormData"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "param": param,
-            "param2": param2
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
deleted file mode 100644
index 20514a3b6e6..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// FakeClassnameTags123API.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class FakeClassnameTags123API: APIBase {
-    /**
-     To test class name in snake case
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClassname(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClassnameWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test class name in snake case
-     - PATCH /fake_classname_test
-     - To test class name in snake case
-     - API Key:
-       - type: apiKey api_key_query (QUERY)
-       - name: api_key_query
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClassnameWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake_classname_test"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
deleted file mode 100644
index 8648214c730..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
+++ /dev/null
@@ -1,333 +0,0 @@
-//
-// PetAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class PetAPI: APIBase {
-    /**
-     Add a new pet to the store
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func addPet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        addPetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Add a new pet to the store
-     - POST /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func addPetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Deletes a pet
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deletePet(petId: Int64, apiKey: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deletePetWithRequestBuilder(petId: petId, apiKey: apiKey).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Deletes a pet
-     - DELETE /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deletePetWithRequestBuilder(petId: Int64, apiKey: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-        let nillableHeaders: [String: Any?] = [
-            "api_key": apiKey
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     * enum for parameter status
-     */
-    public enum Status_findPetsByStatus: String { 
-        case available = ""available""
-        case pending = ""pending""
-        case sold = ""sold""
-    }
-
-    /**
-     Finds Pets by status
-     - parameter status: (query) Status values that need to be considered for filter 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByStatus(status: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByStatusWithRequestBuilder(status: status).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Finds Pets by status
-     - GET /pet/findByStatus
-     - Multiple status values can be provided with comma separated strings
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter status: (query) Status values that need to be considered for filter 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByStatusWithRequestBuilder(status: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByStatus"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "status": status
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Finds Pets by tags
-     - parameter tags: (query) Tags to filter by 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByTags(tags: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByTagsWithRequestBuilder(tags: tags).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Finds Pets by tags
-     - GET /pet/findByTags
-     - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter tags: (query) Tags to filter by 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByTagsWithRequestBuilder(tags: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByTags"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "tags": tags
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find pet by ID
-     - parameter petId: (path) ID of pet to return 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getPetById(petId: Int64, completion: @escaping ((_ data: Pet?, _ error: ErrorResponse?) -> Void)) {
-        getPetByIdWithRequestBuilder(petId: petId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Find pet by ID
-     - GET /pet/{petId}
-     - Returns a single pet
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - parameter petId: (path) ID of pet to return 
-     - returns: RequestBuilder<Pet> 
-     */
-    open class func getPetByIdWithRequestBuilder(petId: Int64) -> RequestBuilder<Pet> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Pet>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Update an existing pet
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Update an existing pet
-     - PUT /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePetWithForm(petId: Int64, name: String? = nil, status: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithFormWithRequestBuilder(petId: petId, name: name, status: status).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Updates a pet in the store with form data
-     - POST /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithFormWithRequestBuilder(petId: Int64, name: String? = nil, status: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "name": name,
-            "status": status
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     uploads an image
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func uploadFile(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil, completion: @escaping ((_ data: ApiResponse?, _ error: ErrorResponse?) -> Void)) {
-        uploadFileWithRequestBuilder(petId: petId, additionalMetadata: additionalMetadata, file: file).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     uploads an image
-     - POST /pet/{petId}/uploadImage
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: RequestBuilder<ApiResponse> 
-     */
-    open class func uploadFileWithRequestBuilder(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil) -> RequestBuilder<ApiResponse> {
-        var path = "/pet/{petId}/uploadImage"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "additionalMetadata": additionalMetadata,
-            "file": file
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<ApiResponse>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
deleted file mode 100644
index 66dbd6f25d8..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
+++ /dev/null
@@ -1,143 +0,0 @@
-//
-// StoreAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class StoreAPI: APIBase {
-    /**
-     Delete purchase order by ID
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteOrder(orderId: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteOrderWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Delete purchase order by ID
-     - DELETE /store/order/{order_id}
-     - For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteOrderWithRequestBuilder(orderId: String) -> RequestBuilder<Void> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Returns pet inventories by status
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getInventory(completion: @escaping ((_ data: [String:Int32]?, _ error: ErrorResponse?) -> Void)) {
-        getInventoryWithRequestBuilder().execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Returns pet inventories by status
-     - GET /store/inventory
-     - Returns a map of status codes to quantities
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - returns: RequestBuilder<[String:Int32]> 
-     */
-    open class func getInventoryWithRequestBuilder() -> RequestBuilder<[String:Int32]> {
-        let path = "/store/inventory"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<[String:Int32]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find purchase order by ID
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getOrderById(orderId: Int64, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        getOrderByIdWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Find purchase order by ID
-     - GET /store/order/{order_id}
-     - For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func getOrderByIdWithRequestBuilder(orderId: Int64) -> RequestBuilder<Order> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Place an order for a pet
-     - parameter order: (body) order placed for purchasing the pet 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func placeOrder(order: Order, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        placeOrderWithRequestBuilder(order: order).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Place an order for a pet
-     - POST /store/order
-     - parameter order: (body) order placed for purchasing the pet 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func placeOrderWithRequestBuilder(order: Order) -> RequestBuilder<Order> {
-        let path = "/store/order"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = order.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
deleted file mode 100644
index eee28ea249a..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
+++ /dev/null
@@ -1,272 +0,0 @@
-//
-// UserAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class UserAPI: APIBase {
-    /**
-     Create user
-     - parameter user: (body) Created user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUser(user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUserWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Create user
-     - POST /user
-     - This can only be done by the logged in user.
-     - parameter user: (body) Created user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUserWithRequestBuilder(user: User) -> RequestBuilder<Void> {
-        let path = "/user"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithArrayInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithArrayInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithArray
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithArrayInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithArray"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithListInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithListInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithList
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithListInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithList"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Delete user
-     - parameter username: (path) The name that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteUser(username: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteUserWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Delete user
-     - DELETE /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteUserWithRequestBuilder(username: String) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Get user by user name
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getUserByName(username: String, completion: @escaping ((_ data: User?, _ error: ErrorResponse?) -> Void)) {
-        getUserByNameWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Get user by user name
-     - GET /user/{username}
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: RequestBuilder<User> 
-     */
-    open class func getUserByNameWithRequestBuilder(username: String) -> RequestBuilder<User> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<User>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs user into the system
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func loginUser(username: String, password: String, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        loginUserWithRequestBuilder(username: username, password: password).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Logs user into the system
-     - GET /user/login
-     - responseHeaders: [X-Rate-Limit(Int32), X-Expires-After(Date)]
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - returns: RequestBuilder<String> 
-     */
-    open class func loginUserWithRequestBuilder(username: String, password: String) -> RequestBuilder<String> {
-        let path = "/user/login"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "username": username,
-            "password": password
-        ])
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs out current logged in user session
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func logoutUser(completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        logoutUserWithRequestBuilder().execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Logs out current logged in user session
-     - GET /user/logout
-     - returns: RequestBuilder<Void> 
-     */
-    open class func logoutUserWithRequestBuilder() -> RequestBuilder<Void> {
-        let path = "/user/logout"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Updated user
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updateUser(username: String, user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updateUserWithRequestBuilder(username: username, user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Updated user
-     - PUT /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updateUserWithRequestBuilder(username: String, user: User) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
deleted file mode 100644
index 5be6b2b08cf..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
+++ /dev/null
@@ -1,374 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-private struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = DispatchQueue(
-        label: "SynchronizedDictionary",
-        qos: DispatchQoS.userInitiated,
-        attributes: [DispatchQueue.Attributes.concurrent],
-        autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit,
-        target: nil
-    )
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            queue.sync {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-        set {
-            queue.sync(flags: DispatchWorkItemFlags.barrier) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-class JSONEncodingWrapper: ParameterEncoding {
-    var bodyParameters: Any?
-    var encoding: JSONEncoding = JSONEncoding()
-
-    public init(parameters: Any?) {
-        self.bodyParameters = parameters
-    }
-
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        return try encoding.encode(urlRequest, withJSONObject: bodyParameters)
-    }
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.SessionManager>()
-
-open class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String : String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the session
-     configuration.
-     */
-    open func createSessionManager() -> Alamofire.SessionManager {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = buildHeaders()
-        return Alamofire.SessionManager(configuration: configuration)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the Content-Type
-     that is given to an uploaded form part.
-
-     Return nil to use the default behavior (inferring the Content-Type from
-     the file extension).  Return the desired Content-Type otherwise.
-     */
-    open func contentTypeForFormPart(fileURL: URL) -> String? {
-        return nil
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the request
-     configuration (e.g. to override the cache policy).
-     */
-    open func makeRequest(manager: SessionManager, method: HTTPMethod, encoding: ParameterEncoding, headers: [String:String]) -> DataRequest {
-        return manager.request(URLString, method: method, parameters: parameters as? Parameters, encoding: encoding, headers: headers)
-    }
-
-    override open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        let managerId:String = UUID().uuidString
-        // Create a new manager for each request to customize its request header
-        let manager = createSessionManager()
-        managerStore[managerId] = manager
-
-        let encoding:ParameterEncoding = isBody ? JSONEncodingWrapper(parameters: parameters) : URLEncoding()
-
-        let xMethod = Alamofire.HTTPMethod(rawValue: method)
-
-        let param = parameters as? Parameters
-        let fileKeys = param == nil ? [] : param!.filter { $1 is NSURL }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(multipartFormData: { mpForm in
-                for (k, v) in param! {
-                    switch v {
-                    case let fileURL as URL:
-                        if let mimeType = self.contentTypeForFormPart(fileURL: fileURL) {
-                            mpForm.append(fileURL, withName: k, fileName: fileURL.lastPathComponent, mimeType: mimeType)
-                        }
-                        else {
-                            mpForm.append(fileURL, withName: k)
-                        }
-                    case let string as String:
-                        mpForm.append(string.data(using: String.Encoding.utf8)!, withName: k)
-                    case let number as NSNumber:
-                        mpForm.append(number.stringValue.data(using: String.Encoding.utf8)!, withName: k)
-                    default:
-                        fatalError("Unprocessable value \(v) with key \(k)")
-                    }
-                }
-                }, to: URLString, method: xMethod!, headers: nil, encodingCompletion: { encodingResult in
-                switch encodingResult {
-                case .success(let upload, _, _):
-                    if let onProgressReady = self.onProgressReady {
-                        onProgressReady(upload.uploadProgress)
-                    }
-                    self.processRequest(request: upload, managerId, completion)
-                case .failure(let encodingError):
-                    completion(nil, ErrorResponse.HttpError(statusCode: 415, data: nil, error: encodingError))
-                }
-            })
-        } else {
-            let request = makeRequest(manager: manager, method: xMethod!, encoding: encoding, headers: headers)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request: request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: DataRequest, _ managerId: String, _ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: stringResponse.response?.statusCode ?? 500, data: stringResponse.data, error: stringResponse.result.error as Error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: stringResponse.response!,
-                        body: ((stringResponse.result.value ?? "") as! T)
-                    ),
-                    nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: voidResponse.response?.statusCode ?? 500, data: voidResponse.data, error: voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: voidResponse.response!,
-                        body: nil),
-                    nil
-                )
-            })
-        case is Data.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: dataResponse.response?.statusCode ?? 500, data: dataResponse.data, error: dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: dataResponse.response!,
-                        body: (dataResponse.data as! T)
-                    ),
-                    nil
-                )
-            })
-        case is URL.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                do {
-
-                    guard !dataResponse.result.isFailure else {
-                        throw DownloadException.responseFailed
-                    }
-
-                    guard let data = dataResponse.data else {
-                        throw DownloadException.responseDataMissing
-                    }
-
-                    guard let request = request.request else {
-                        throw DownloadException.requestMissing
-                    }
-
-                    let fileManager = FileManager.default
-                    let urlRequest = try request.asURLRequest()
-                    let documentsDirectory = fileManager.urls(for: .documentDirectory, in: .userDomainMask)[0]
-                    let requestURL = try self.getURL(from: urlRequest)
-
-                    var requestPath = try self.getPath(from: requestURL)
-
-                    if let headerFileName = self.getFileName(fromContentDisposition: dataResponse.response?.allHeaderFields["Content-Disposition"] as? String) {
-                        requestPath = requestPath.appending("/\(headerFileName)")
-                    }
-
-                    let filePath = documentsDirectory.appendingPathComponent(requestPath)
-                    let directoryPath = filePath.deletingLastPathComponent().path
-
-                    try fileManager.createDirectory(atPath: directoryPath, withIntermediateDirectories: true, attributes: nil)
-                    try data.write(to: filePath, options: .atomic)
-
-                    completion(
-                        Response(
-                            response: dataResponse.response!,
-                            body: (filePath as! T)
-                        ),
-                        nil
-                    )
-
-                } catch let requestParserError as DownloadException {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data:  dataResponse.data, error: requestParserError))
-                } catch let error {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data: dataResponse.data, error: error))
-                }
-                return
-            })
-        default:
-            validatedRequest.responseJSON(options: .allowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(nil, ErrorResponse.HttpError(statusCode: response.response?.statusCode ?? 500, data: response.data, error: response.result.error!))
-                    return
-                }
-
-                // handle HTTP 204 No Content
-                // NSNull would crash decoders
-                if response.response?.statusCode == 204 && response.result.value is NSNull{
-                    completion(nil, nil)
-                    return
-                }
-
-                if () is T {
-                    completion(Response(response: response.response!, body: (() as! T)), nil)
-                    return
-                }
-                if let json: Any = response.result.value {
-                    let decoded = Decoders.decode(clazz: T.self, source: json as AnyObject, instance: nil)
-                    switch decoded {
-                    case let .success(object): completion(Response(response: response.response!, body: object), nil)
-                    case let .failure(error): completion(nil, ErrorResponse.DecodeError(response: response.data, decodeError: error))
-                    }
-                    return
-                } else if "" is T {
-                    completion(Response(response: response.response!, body: ("" as! T)), nil)
-                    return
-                }
-
-                completion(nil, ErrorResponse.HttpError(statusCode: 500, data: nil, error: NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    open func buildHeaders() -> [String: String] {
-        var httpHeaders = SessionManager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-
-    fileprivate func getFileName(fromContentDisposition contentDisposition : String?) -> String? {
-
-        guard let contentDisposition = contentDisposition else {
-            return nil
-        }
-
-        let items = contentDisposition.components(separatedBy: ";")
-
-        var filename : String? = nil
-
-        for contentItem in items {
-
-            let filenameKey = "filename="
-            guard let range = contentItem.range(of: filenameKey) else {
-                break
-            }
-
-            filename = contentItem
-            return filename?
-                .replacingCharacters(in: range, with:"")
-                .replacingOccurrences(of: "\"", with: "")
-                .trimmingCharacters(in: .whitespacesAndNewlines)
-        }
-
-        return filename
-
-    }
-
-    fileprivate func getPath(from url : URL) throws -> String {
-
-        guard var path = URLComponents(url: url, resolvingAgainstBaseURL: true)?.path else {
-            throw DownloadException.requestMissingPath
-        }
-
-        if path.hasPrefix("/") {
-            path.remove(at: path.startIndex)
-        }
-
-        return path
-
-    }
-
-    fileprivate func getURL(from urlRequest : URLRequest) throws -> URL {
-
-        guard let url = urlRequest.url else {
-            throw DownloadException.requestMissingURL
-        }
-
-        return url
-    }
-}
-
-fileprivate enum DownloadException : Error {
-    case responseDataMissing
-    case responseFailed
-    case requestMissing
-    case requestMissingPath
-    case requestMissingURL
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Configuration.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Configuration.swift
deleted file mode 100644
index b9e2e497683..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Configuration.swift
+++ /dev/null
@@ -1,15 +0,0 @@
-// Configuration.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class Configuration {
-
-	// This value is used to configure the date formatter that is used to serialize dates into JSON format.
-	// You must set it prior to encoding any dates, and it will only be read once.
-    open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Extensions.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Extensions.swift
deleted file mode 100644
index e83bfe67cb7..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Extensions.swift
+++ /dev/null
@@ -1,187 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int32) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int64) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-private func encodeIfPossible<T>(_ object: T) -> Any {
-    if let encodableObject = object as? JSONEncodable {
-        return encodableObject.encodeToJSON()
-    } else {
-        return object as Any
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> Any {
-        var dictionary = [AnyHashable: Any]()
-        for (key, value) in self {
-            dictionary[key] = encodeIfPossible(value)
-        }
-        return dictionary as Any
-    }
-}
-
-extension Data: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.base64EncodedString(options: Data.Base64EncodingOptions())
-    }
-}
-
-private let dateFormatter: DateFormatter = {
-    let fmt = DateFormatter()
-    fmt.dateFormat = Configuration.dateFormat
-    fmt.locale = Locale(identifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension Date: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return dateFormatter.string(from: self) as Any
-    }
-}
-
-extension UUID: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.uuidString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts a Date to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date: Date) -> ISOFullDate? {
-        let calendar = Calendar(identifier: .gregorian)
-
-        let components = calendar.dateComponents(
-            [
-                .year,
-                .month,
-                .day,
-            ],
-            from: date
-        )
-
-        guard
-            let year = components.year,
-            let month = components.month,
-            let day = components.day
-        else {
-            return nil
-        }
-
-        return ISOFullDate(
-            year: year,
-            month: month,
-            day: day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split(separator: "-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to a Date, in the default time zone.
-
-     - returns: A Date from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> Date? {
-        var components = DateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = TimeZone.ReferenceType.default
-        let calendar = Calendar(identifier: .gregorian)
-        return calendar.date(from: components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> Any {
-        return "\(year)-\(month)-\(day)"
-    }
-}
-
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models.swift
deleted file mode 100644
index d1465fe4cbe..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models.swift
+++ /dev/null
@@ -1,1292 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> Any
-}
-
-public enum ErrorResponse : Error {
-    case HttpError(statusCode: Int, data: Data?, error: Error)
-    case DecodeError(response: Data?, decodeError: DecodeError)
-}
-
-open class Response<T> {
-    open let statusCode: Int
-    open let header: [String: String]
-    open let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: HTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String:String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-public enum Decoded<ValueType> {
-    case success(ValueType)
-    case failure(DecodeError)
-}
-
-public extension Decoded {
-    var value: ValueType? {
-        switch self {
-        case let .success(value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-}
-
-public enum DecodeError {
-    case typeMismatch(expected: String, actual: String)
-    case missingKey(key: String)
-    case parseError(message: String)
-}
-
-private var once = Int()
-class Decoders {
-    static fileprivate var decoders = Dictionary<String, ((AnyObject, AnyObject?) -> AnyObject)>()
-
-    static func addDecoder<T>(clazz: T.Type, decoder: @escaping ((AnyObject, AnyObject?) -> Decoded<T>)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0, $1) as AnyObject }
-    }
-
-    static func decode<T>(clazz: T.Type, discriminator: String, source: AnyObject) -> Decoded<T> {
-        let key = discriminator
-        if let decoder = decoders[key], let value = decoder(source, nil) as? Decoded<T> {
-            return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: [T].Type, source: AnyObject) -> Decoded<[T]> {
-        if let sourceArray = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in sourceArray {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value):
-                    values.append(value)
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        switch Decoders.decode(clazz: T.self, source: source, instance: nil) {
-    	    case let .success(value):
-                return .success(value)
-            case let .failure(error):
-                return .failure(error)
-        }
-    }
-
-    static open func decode<T: RawRepresentable>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject) -> Decoded<[Key:T]> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value):
-                    dictionary[key] = value
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        guard !(source is NSNull), source != nil else { return .success(nil) }
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject, instance: AnyObject?) -> Decoded<T> {
-        initialize()
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int32.Type {
-            return .success(value)
-        }
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int64.Type {
-     	    return .success(value)
-        }
-        if let intermediate = source as? String, let value = UUID(uuidString: intermediate) as? T, source is String, T.self is UUID.Type {
-            return .success(value)
-        }
-        if let value = source as? T {
-            return .success(value)
-        }
-        if let intermediate = source as? String, let value = Data(base64Encoded: intermediate) as? T {
-            return .success(value)
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key], let value = decoder(source, instance) as? Decoded<T> {
-           return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    //Convert a Decoded so that its value is optional. DO WE STILL NEED THIS?
-    static func toOptional<T>(decoded: Decoded<T>) -> Decoded<T?> {
-        return .success(decoded.value)
-    }
-
-    static func decodeOptional<T>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        if let source = source, !(source is NSNull) {
-            switch Decoders.decode(clazz: clazz, source: source, instance: nil) {
-            case let .success(value): return .success(value)
-            case let .failure(error): return .failure(error)
-            }
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> where T: RawRepresentable {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decodeOptional(clazz: T.self, source: sourceValue) {
-                case let .success(value): if let value = value { values.append(value) }
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value): values.append(value)
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject?) -> Decoded<[Key:T]?> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value): dictionary[key] = value
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable, U: AnyObject>(clazz: T, source: AnyObject) -> Decoded<T?> where T.RawValue == U {
-        if let value = source as? U {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "String", actual: String(describing: type(of: source))))
-        }
-    }
-
-
-    private static var __once: () = {
-        let formatters = [
-            "yyyy-MM-dd",
-            "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss'Z'",
-            "yyyy-MM-dd'T'HH:mm:ss.SSS",
-            "yyyy-MM-dd HH:mm:ss"
-        ].map { (format: String) -> DateFormatter in
-            let formatter = DateFormatter()
-            formatter.locale = Locale(identifier: "en_US_POSIX")
-            formatter.dateFormat = format
-            return formatter
-        }
-        // Decoder for Date
-        Decoders.addDecoder(clazz: Date.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Date> in
-           if let sourceString = source as? String {
-                for formatter in formatters {
-                    if let date = formatter.date(from: sourceString) {
-                        return .success(date)
-                    }
-                }
-            }
-            if let sourceInt = source as? Int {
-                // treat as a java date
-                return .success(Date(timeIntervalSince1970: Double(sourceInt / 1000) ))
-            }
-            if source is String || source is Int {
-                return .failure(.parseError(message: "Could not decode date"))
-            } else {
-                return .failure(.typeMismatch(expected: "String or Int", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for ISOFullDate
-        Decoders.addDecoder(clazz: ISOFullDate.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ISOFullDate> in
-            if let string = source as? String,
-               let isoDate = ISOFullDate.from(string: string) {
-                return .success(isoDate)
-            } else {
-            	return .failure(.typeMismatch(expected: "ISO date", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for [AdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [AdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[AdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [AdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for AdditionalPropertiesClass
-        Decoders.addDecoder(clazz: AdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<AdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? AdditionalPropertiesClass() : instance as! AdditionalPropertiesClass
-                switch Decoders.decodeOptional(clazz: [String:String].self, source: sourceDictionary["map_property"] as AnyObject?) {
-                
-                case let .success(value): _result.mapProperty = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_of_map_property"] as AnyObject?) {
-                
-                case let .success(value): _result.mapOfMapProperty = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "AdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Animal]
-        Decoders.addDecoder(clazz: [Animal].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Animal]> in
-            return Decoders.decode(clazz: [Animal].self, source: source)
-        }
-
-        // Decoder for Animal
-        Decoders.addDecoder(clazz: Animal.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Animal> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                // Check discriminator to support inheritance
-                if let discriminator = sourceDictionary["className"] as? String, instance == nil && discriminator != "Animal"{
-                    return Decoders.decode(clazz: Animal.self, discriminator: discriminator, source: source)
-                }
-                let _result = instance == nil ? Animal() : instance as! Animal
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Animal", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ApiResponse]
-        Decoders.addDecoder(clazz: [ApiResponse].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ApiResponse]> in
-            return Decoders.decode(clazz: [ApiResponse].self, source: source)
-        }
-
-        // Decoder for ApiResponse
-        Decoders.addDecoder(clazz: ApiResponse.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ApiResponse> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ApiResponse() : instance as! ApiResponse
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["code"] as AnyObject?) {
-                
-                case let .success(value): _result.code = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["type"] as AnyObject?) {
-                
-                case let .success(value): _result.type = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["message"] as AnyObject?) {
-                
-                case let .success(value): _result.message = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ApiResponse", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayOfArrayOfNumberOnly() : instance as! ArrayOfArrayOfNumberOnly
-                switch Decoders.decodeOptional(clazz: [[Double]].self, source: sourceDictionary["ArrayArrayNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayOfNumberOnly() : instance as! ArrayOfNumberOnly
-                switch Decoders.decodeOptional(clazz: [Double].self, source: sourceDictionary["ArrayNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayTest]
-        Decoders.addDecoder(clazz: [ArrayTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayTest]> in
-            return Decoders.decode(clazz: [ArrayTest].self, source: source)
-        }
-
-        // Decoder for ArrayTest
-        Decoders.addDecoder(clazz: ArrayTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayTest() : instance as! ArrayTest
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["array_of_string"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayOfString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [[Int64]].self, source: sourceDictionary["array_array_of_integer"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayOfInteger = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [[ReadOnlyFirst]].self, source: sourceDictionary["array_array_of_model"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayOfModel = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Capitalization]
-        Decoders.addDecoder(clazz: [Capitalization].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Capitalization]> in
-            return Decoders.decode(clazz: [Capitalization].self, source: source)
-        }
-
-        // Decoder for Capitalization
-        Decoders.addDecoder(clazz: Capitalization.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Capitalization> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Capitalization() : instance as! Capitalization
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["smallCamel"] as AnyObject?) {
-                
-                case let .success(value): _result.smallCamel = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["CapitalCamel"] as AnyObject?) {
-                
-                case let .success(value): _result.capitalCamel = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["small_Snake"] as AnyObject?) {
-                
-                case let .success(value): _result.smallSnake = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["Capital_Snake"] as AnyObject?) {
-                
-                case let .success(value): _result.capitalSnake = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["SCA_ETH_Flow_Points"] as AnyObject?) {
-                
-                case let .success(value): _result.sCAETHFlowPoints = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["ATT_NAME"] as AnyObject?) {
-                
-                case let .success(value): _result.ATT_NAME = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Capitalization", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Cat]
-        Decoders.addDecoder(clazz: [Cat].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Cat]> in
-            return Decoders.decode(clazz: [Cat].self, source: source)
-        }
-
-        // Decoder for Cat
-        Decoders.addDecoder(clazz: Cat.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Cat> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Cat() : instance as! Cat
-                if decoders["\(Animal.self)"] != nil {
-                  _ = Decoders.decode(clazz: Animal.self, source: source, instance: _result)
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["declawed"] as AnyObject?) {
-                
-                case let .success(value): _result.declawed = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Cat", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Category]
-        Decoders.addDecoder(clazz: [Category].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Category]> in
-            return Decoders.decode(clazz: [Category].self, source: source)
-        }
-
-        // Decoder for Category
-        Decoders.addDecoder(clazz: Category.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Category> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Category() : instance as! Category
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Category", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ClassModel]
-        Decoders.addDecoder(clazz: [ClassModel].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ClassModel]> in
-            return Decoders.decode(clazz: [ClassModel].self, source: source)
-        }
-
-        // Decoder for ClassModel
-        Decoders.addDecoder(clazz: ClassModel.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ClassModel> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ClassModel() : instance as! ClassModel
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["_class"] as AnyObject?) {
-                
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ClassModel", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Client]
-        Decoders.addDecoder(clazz: [Client].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Client]> in
-            return Decoders.decode(clazz: [Client].self, source: source)
-        }
-
-        // Decoder for Client
-        Decoders.addDecoder(clazz: Client.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Client> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Client() : instance as! Client
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["client"] as AnyObject?) {
-                
-                case let .success(value): _result.client = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Client", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Dog]
-        Decoders.addDecoder(clazz: [Dog].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Dog]> in
-            return Decoders.decode(clazz: [Dog].self, source: source)
-        }
-
-        // Decoder for Dog
-        Decoders.addDecoder(clazz: Dog.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Dog> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Dog() : instance as! Dog
-                if decoders["\(Animal.self)"] != nil {
-                  _ = Decoders.decode(clazz: Animal.self, source: source, instance: _result)
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["breed"] as AnyObject?) {
-                
-                case let .success(value): _result.breed = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Dog", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumArrays]
-        Decoders.addDecoder(clazz: [EnumArrays].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumArrays]> in
-            return Decoders.decode(clazz: [EnumArrays].self, source: source)
-        }
-
-        // Decoder for EnumArrays
-        Decoders.addDecoder(clazz: EnumArrays.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumArrays> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? EnumArrays() : instance as! EnumArrays
-                switch Decoders.decodeOptional(clazz: EnumArrays.JustSymbol.self, source: sourceDictionary["just_symbol"] as AnyObject?) {
-                
-                case let .success(value): _result.justSymbol = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Array<EnumArrays.ArrayEnum>.self, source: sourceDictionary["array_enum"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayEnum = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumArrays", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumClass]
-        Decoders.addDecoder(clazz: [EnumClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumClass]> in
-            return Decoders.decode(clazz: [EnumClass].self, source: source)
-        }
-
-        // Decoder for EnumClass
-        Decoders.addDecoder(clazz: EnumClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumClass> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: EnumClass.self, source: source, instance: instance)
-        }
-        // Decoder for [EnumTest]
-        Decoders.addDecoder(clazz: [EnumTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumTest]> in
-            return Decoders.decode(clazz: [EnumTest].self, source: source)
-        }
-
-        // Decoder for EnumTest
-        Decoders.addDecoder(clazz: EnumTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? EnumTest() : instance as! EnumTest
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumString.self, source: sourceDictionary["enum_string"] as AnyObject?) {
-                
-                case let .success(value): _result.enumString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumInteger.self, source: sourceDictionary["enum_integer"] as AnyObject?) {
-                
-                case let .success(value): _result.enumInteger = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumNumber.self, source: sourceDictionary["enum_number"] as AnyObject?) {
-                
-                case let .success(value): _result.enumNumber = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: OuterEnum.self, source: sourceDictionary["outerEnum"] as AnyObject?) {
-                
-                case let .success(value): _result.outerEnum = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [FormatTest]
-        Decoders.addDecoder(clazz: [FormatTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[FormatTest]> in
-            return Decoders.decode(clazz: [FormatTest].self, source: source)
-        }
-
-        // Decoder for FormatTest
-        Decoders.addDecoder(clazz: FormatTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<FormatTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? FormatTest() : instance as! FormatTest
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["integer"] as AnyObject?) {
-                
-                case let .success(value): _result.integer = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["int32"] as AnyObject?) {
-                
-                case let .success(value): _result.int32 = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["int64"] as AnyObject?) {
-                
-                case let .success(value): _result.int64 = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["number"] as AnyObject?) {
-                
-                case let .success(value): _result.number = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Float.self, source: sourceDictionary["float"] as AnyObject?) {
-                
-                case let .success(value): _result.float = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["double"] as AnyObject?) {
-                
-                case let .success(value): _result.double = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["string"] as AnyObject?) {
-                
-                case let .success(value): _result.string = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Data.self, source: sourceDictionary["byte"] as AnyObject?) {
-                
-                case let .success(value): _result.byte = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: URL.self, source: sourceDictionary["binary"] as AnyObject?) {
-                
-                case let .success(value): _result.binary = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: ISOFullDate.self, source: sourceDictionary["date"] as AnyObject?) {
-                
-                case let .success(value): _result.date = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "FormatTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [HasOnlyReadOnly]
-        Decoders.addDecoder(clazz: [HasOnlyReadOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[HasOnlyReadOnly]> in
-            return Decoders.decode(clazz: [HasOnlyReadOnly].self, source: source)
-        }
-
-        // Decoder for HasOnlyReadOnly
-        Decoders.addDecoder(clazz: HasOnlyReadOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<HasOnlyReadOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? HasOnlyReadOnly() : instance as! HasOnlyReadOnly
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["foo"] as AnyObject?) {
-                
-                case let .success(value): _result.foo = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "HasOnlyReadOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [List]
-        Decoders.addDecoder(clazz: [List].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[List]> in
-            return Decoders.decode(clazz: [List].self, source: source)
-        }
-
-        // Decoder for List
-        Decoders.addDecoder(clazz: List.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<List> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? List() : instance as! List
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["123-list"] as AnyObject?) {
-                
-                case let .success(value): _result._123list = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "List", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MapTest]
-        Decoders.addDecoder(clazz: [MapTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MapTest]> in
-            return Decoders.decode(clazz: [MapTest].self, source: source)
-        }
-
-        // Decoder for MapTest
-        Decoders.addDecoder(clazz: MapTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MapTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? MapTest() : instance as! MapTest
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_map_of_string"] as AnyObject?) {
-                
-                case let .success(value): _result.mapMapOfString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: MapTest.MapOfEnumString.self, source: sourceDictionary["map_of_enum_string"] as AnyObject?) {
-                /*
-                case let .success(value): _result.mapOfEnumString = value
-                case let .failure(error): break
-                */ default: break //TODO: handle enum map scenario
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MapTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MixedPropertiesAndAdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MixedPropertiesAndAdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for MixedPropertiesAndAdditionalPropertiesClass
-        Decoders.addDecoder(clazz: MixedPropertiesAndAdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MixedPropertiesAndAdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? MixedPropertiesAndAdditionalPropertiesClass() : instance as! MixedPropertiesAndAdditionalPropertiesClass
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String:Animal].self, source: sourceDictionary["map"] as AnyObject?) {
-                
-                case let .success(value): _result.map = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MixedPropertiesAndAdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Model200Response]
-        Decoders.addDecoder(clazz: [Model200Response].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Model200Response]> in
-            return Decoders.decode(clazz: [Model200Response].self, source: source)
-        }
-
-        // Decoder for Model200Response
-        Decoders.addDecoder(clazz: Model200Response.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Model200Response> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Model200Response() : instance as! Model200Response
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["class"] as AnyObject?) {
-                
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Model200Response", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Name]
-        Decoders.addDecoder(clazz: [Name].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Name]> in
-            return Decoders.decode(clazz: [Name].self, source: source)
-        }
-
-        // Decoder for Name
-        Decoders.addDecoder(clazz: Name.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Name> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Name() : instance as! Name
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["snake_case"] as AnyObject?) {
-                
-                case let .success(value): _result.snakeCase = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["property"] as AnyObject?) {
-                
-                case let .success(value): _result.property = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["123Number"] as AnyObject?) {
-                
-                case let .success(value): _result._123number = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Name", actual: "\(source)"))
-            }
-        }
-        // Decoder for [NumberOnly]
-        Decoders.addDecoder(clazz: [NumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[NumberOnly]> in
-            return Decoders.decode(clazz: [NumberOnly].self, source: source)
-        }
-
-        // Decoder for NumberOnly
-        Decoders.addDecoder(clazz: NumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<NumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? NumberOnly() : instance as! NumberOnly
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["JustNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.justNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "NumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Order]
-        Decoders.addDecoder(clazz: [Order].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Order]> in
-            return Decoders.decode(clazz: [Order].self, source: source)
-        }
-
-        // Decoder for Order
-        Decoders.addDecoder(clazz: Order.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Order> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Order() : instance as! Order
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["petId"] as AnyObject?) {
-                
-                case let .success(value): _result.petId = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["quantity"] as AnyObject?) {
-                
-                case let .success(value): _result.quantity = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["shipDate"] as AnyObject?) {
-                
-                case let .success(value): _result.shipDate = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Order.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["complete"] as AnyObject?) {
-                
-                case let .success(value): _result.complete = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Order", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterComposite]
-        Decoders.addDecoder(clazz: [OuterComposite].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterComposite]> in
-            return Decoders.decode(clazz: [OuterComposite].self, source: source)
-        }
-
-        // Decoder for OuterComposite
-        Decoders.addDecoder(clazz: OuterComposite.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterComposite> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? OuterComposite() : instance as! OuterComposite
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["my_number"] as AnyObject?) {
-                
-                case let .success(value): _result.myNumber = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["my_string"] as AnyObject?) {
-                
-                case let .success(value): _result.myString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["my_boolean"] as AnyObject?) {
-                
-                case let .success(value): _result.myBoolean = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "OuterComposite", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterEnum]
-        Decoders.addDecoder(clazz: [OuterEnum].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterEnum]> in
-            return Decoders.decode(clazz: [OuterEnum].self, source: source)
-        }
-
-        // Decoder for OuterEnum
-        Decoders.addDecoder(clazz: OuterEnum.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterEnum> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: OuterEnum.self, source: source, instance: instance)
-        }
-        // Decoder for [Pet]
-        Decoders.addDecoder(clazz: [Pet].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Pet]> in
-            return Decoders.decode(clazz: [Pet].self, source: source)
-        }
-
-        // Decoder for Pet
-        Decoders.addDecoder(clazz: Pet.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Pet> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Pet() : instance as! Pet
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Category.self, source: sourceDictionary["category"] as AnyObject?) {
-                
-                case let .success(value): _result.category = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["photoUrls"] as AnyObject?) {
-                
-                case let .success(value): _result.photoUrls = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [Tag].self, source: sourceDictionary["tags"] as AnyObject?) {
-                
-                case let .success(value): _result.tags = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Pet.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Pet", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ReadOnlyFirst]
-        Decoders.addDecoder(clazz: [ReadOnlyFirst].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ReadOnlyFirst]> in
-            return Decoders.decode(clazz: [ReadOnlyFirst].self, source: source)
-        }
-
-        // Decoder for ReadOnlyFirst
-        Decoders.addDecoder(clazz: ReadOnlyFirst.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ReadOnlyFirst> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ReadOnlyFirst() : instance as! ReadOnlyFirst
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["baz"] as AnyObject?) {
-                
-                case let .success(value): _result.baz = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ReadOnlyFirst", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Return]
-        Decoders.addDecoder(clazz: [Return].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Return]> in
-            return Decoders.decode(clazz: [Return].self, source: source)
-        }
-
-        // Decoder for Return
-        Decoders.addDecoder(clazz: Return.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Return> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Return() : instance as! Return
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["return"] as AnyObject?) {
-                
-                case let .success(value): _result._return = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Return", actual: "\(source)"))
-            }
-        }
-        // Decoder for [SpecialModelName]
-        Decoders.addDecoder(clazz: [SpecialModelName].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[SpecialModelName]> in
-            return Decoders.decode(clazz: [SpecialModelName].self, source: source)
-        }
-
-        // Decoder for SpecialModelName
-        Decoders.addDecoder(clazz: SpecialModelName.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<SpecialModelName> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? SpecialModelName() : instance as! SpecialModelName
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["$special[property.name]"] as AnyObject?) {
-                
-                case let .success(value): _result.specialPropertyName = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "SpecialModelName", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Tag]
-        Decoders.addDecoder(clazz: [Tag].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Tag]> in
-            return Decoders.decode(clazz: [Tag].self, source: source)
-        }
-
-        // Decoder for Tag
-        Decoders.addDecoder(clazz: Tag.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Tag> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Tag() : instance as! Tag
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Tag", actual: "\(source)"))
-            }
-        }
-        // Decoder for [User]
-        Decoders.addDecoder(clazz: [User].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[User]> in
-            return Decoders.decode(clazz: [User].self, source: source)
-        }
-
-        // Decoder for User
-        Decoders.addDecoder(clazz: User.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<User> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? User() : instance as! User
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["username"] as AnyObject?) {
-                
-                case let .success(value): _result.username = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["firstName"] as AnyObject?) {
-                
-                case let .success(value): _result.firstName = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["lastName"] as AnyObject?) {
-                
-                case let .success(value): _result.lastName = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["email"] as AnyObject?) {
-                
-                case let .success(value): _result.email = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["phone"] as AnyObject?) {
-                
-                case let .success(value): _result.phone = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["userStatus"] as AnyObject?) {
-                
-                case let .success(value): _result.userStatus = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "User", actual: "\(source)"))
-            }
-        }
-    }()
-
-    static fileprivate func initialize() {
-        _ = Decoders.__once
-    }
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
deleted file mode 100644
index 48724b45a3d..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// AdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class AdditionalPropertiesClass: JSONEncodable {
-
-    public var mapProperty: [String:String]?
-    public var mapOfMapProperty: [String:[String:String]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_property"] = self.mapProperty?.encodeToJSON()
-        nillableDictionary["map_of_map_property"] = self.mapOfMapProperty?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
deleted file mode 100644
index c88f4c243e6..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Animal.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Animal: JSONEncodable {
-
-    public var className: String?
-    public var color: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["className"] = self.className
-        nillableDictionary["color"] = self.color
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
deleted file mode 100644
index e09b0e9efdc..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
+++ /dev/null
@@ -1,10 +0,0 @@
-//
-// AnimalFarm.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-public typealias AnimalFarm = [Animal]
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
deleted file mode 100644
index fca43b2a890..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-// ApiResponse.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ApiResponse: JSONEncodable {
-
-    public var code: Int32?
-    public var codeNum: NSNumber? {
-        get {
-            return code.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var type: String?
-    public var message: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["code"] = self.code?.encodeToJSON()
-        nillableDictionary["type"] = self.type
-        nillableDictionary["message"] = self.message
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
deleted file mode 100644
index 117028338c9..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// ArrayOfArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayArrayNumber: [[Double]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayArrayNumber"] = self.arrayArrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
deleted file mode 100644
index 0ef1486af41..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// ArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayNumber: [Double]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayNumber"] = self.arrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
deleted file mode 100644
index 7a6f225b4f1..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// ArrayTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayTest: JSONEncodable {
-
-    public var arrayOfString: [String]?
-    public var arrayArrayOfInteger: [[Int64]]?
-    public var arrayArrayOfModel: [[ReadOnlyFirst]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["array_of_string"] = self.arrayOfString?.encodeToJSON()
-        nillableDictionary["array_array_of_integer"] = self.arrayArrayOfInteger?.encodeToJSON()
-        nillableDictionary["array_array_of_model"] = self.arrayArrayOfModel?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
deleted file mode 100644
index 7576f6e34e9..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Capitalization.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Capitalization: JSONEncodable {
-
-    public var smallCamel: String?
-    public var capitalCamel: String?
-    public var smallSnake: String?
-    public var capitalSnake: String?
-    public var sCAETHFlowPoints: String?
-    /** Name of the pet  */
-    public var ATT_NAME: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["smallCamel"] = self.smallCamel
-        nillableDictionary["CapitalCamel"] = self.capitalCamel
-        nillableDictionary["small_Snake"] = self.smallSnake
-        nillableDictionary["Capital_Snake"] = self.capitalSnake
-        nillableDictionary["SCA_ETH_Flow_Points"] = self.sCAETHFlowPoints
-        nillableDictionary["ATT_NAME"] = self.ATT_NAME
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
deleted file mode 100644
index 0c2ca10ffdc..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// Cat.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Cat: Animal {
-
-    public var declawed: Bool?
-    public var declawedNum: NSNumber? {
-        get {
-            return declawed.map({ return NSNumber(value: $0) })
-        }
-    }
-
-    
-
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["declawed"] = self.declawed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Category.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
deleted file mode 100644
index f9d95964b75..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Category.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Category: JSONEncodable {
-
-    public var id: Int64?
-    public var idNum: NSNumber? {
-        get {
-            return id.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
deleted file mode 100644
index 8bcb3246540..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// ClassModel.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model with \&quot;_class\&quot; property */
-open class ClassModel: JSONEncodable {
-
-    public var _class: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["_class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Client.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
deleted file mode 100644
index 15911001e94..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Client.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Client: JSONEncodable {
-
-    public var client: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["client"] = self.client
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
deleted file mode 100644
index 93fd2df434b..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Dog.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Dog: Animal {
-
-    public var breed: String?
-
-    
-
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["breed"] = self.breed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
deleted file mode 100644
index c2414d1023e..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// EnumArrays.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumArrays: JSONEncodable {
-
-    public enum JustSymbol: String { 
-        case greaterThanOrEqualTo = ">="
-        case dollar = "$"
-    }
-    public enum ArrayEnum: String { 
-        case fish = ""fish""
-        case crab = ""crab""
-    }
-    public var justSymbol: JustSymbol?
-    public var arrayEnum: [ArrayEnum]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["just_symbol"] = self.justSymbol?.rawValue
-        nillableDictionary["array_enum"] = self.arrayEnum?.map({$0.rawValue}).encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
deleted file mode 100644
index 73a74ff53f7..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// EnumClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum EnumClass: String {
-    case abc = "_abc"
-    case efg = "-efg"
-    case xyz = "(xyz)"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
deleted file mode 100644
index 59c0660b900..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// EnumTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumTest: JSONEncodable {
-
-    public enum EnumString: String { 
-        case upper = "UPPER"
-        case lower = "lower"
-        case empty = ""
-    }
-    public enum EnumInteger: Int32 { 
-        case _1 = 1
-        case number1 = -1
-    }
-    public enum EnumNumber: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-    public var enumString: EnumString?
-    public var enumInteger: EnumInteger?
-    public var enumNumber: EnumNumber?
-    public var outerEnum: OuterEnum?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["enum_string"] = self.enumString?.rawValue
-        nillableDictionary["enum_integer"] = self.enumInteger?.rawValue
-        nillableDictionary["enum_number"] = self.enumNumber?.rawValue
-        nillableDictionary["outerEnum"] = self.outerEnum?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
deleted file mode 100644
index 099ecb1da5e..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
+++ /dev/null
@@ -1,80 +0,0 @@
-//
-// FormatTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class FormatTest: JSONEncodable {
-
-    public var integer: Int32?
-    public var integerNum: NSNumber? {
-        get {
-            return integer.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var int32: Int32?
-    public var int32Num: NSNumber? {
-        get {
-            return int32.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var int64: Int64?
-    public var int64Num: NSNumber? {
-        get {
-            return int64.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var number: Double?
-    public var numberNum: NSNumber? {
-        get {
-            return number.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var float: Float?
-    public var floatNum: NSNumber? {
-        get {
-            return float.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var double: Double?
-    public var doubleNum: NSNumber? {
-        get {
-            return double.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var string: String?
-    public var byte: Data?
-    public var binary: URL?
-    public var date: ISOFullDate?
-    public var dateTime: Date?
-    public var uuid: UUID?
-    public var password: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["integer"] = self.integer?.encodeToJSON()
-        nillableDictionary["int32"] = self.int32?.encodeToJSON()
-        nillableDictionary["int64"] = self.int64?.encodeToJSON()
-        nillableDictionary["number"] = self.number
-        nillableDictionary["float"] = self.float
-        nillableDictionary["double"] = self.double
-        nillableDictionary["string"] = self.string
-        nillableDictionary["byte"] = self.byte?.encodeToJSON()
-        nillableDictionary["binary"] = self.binary?.encodeToJSON()
-        nillableDictionary["date"] = self.date?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["password"] = self.password
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
deleted file mode 100644
index 8b30c111dea..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// HasOnlyReadOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class HasOnlyReadOnly: JSONEncodable {
-
-    public var bar: String?
-    public var foo: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["foo"] = self.foo
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/List.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/List.swift
deleted file mode 100644
index 2336d92501a..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/List.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// List.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class List: JSONEncodable {
-
-    public var _123list: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["123-list"] = self._123list
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
deleted file mode 100644
index 7b6af62b057..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// MapTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MapTest: JSONEncodable {
-
-    public enum MapOfEnumString: String { 
-        case upper = ""UPPER""
-        case lower = ""lower""
-    }
-    public var mapMapOfString: [String:[String:String]]?
-    public var mapOfEnumString: [String:String]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_map_of_string"] = self.mapMapOfString?.encodeToJSON()//TODO: handle enum map scenario
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
deleted file mode 100644
index 451a2275252..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// MixedPropertiesAndAdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MixedPropertiesAndAdditionalPropertiesClass: JSONEncodable {
-
-    public var uuid: UUID?
-    public var dateTime: Date?
-    public var map: [String:Animal]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["map"] = self.map?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
deleted file mode 100644
index 5b33281e042..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// Model200Response.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name starting with number */
-open class Model200Response: JSONEncodable {
-
-    public var name: Int32?
-    public var nameNum: NSNumber? {
-        get {
-            return name.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var _class: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Name.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
deleted file mode 100644
index 8c81ddd4447..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
+++ /dev/null
@@ -1,48 +0,0 @@
-//
-// Name.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name same as property name */
-open class Name: JSONEncodable {
-
-    public var name: Int32?
-    public var nameNum: NSNumber? {
-        get {
-            return name.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var snakeCase: Int32?
-    public var snakeCaseNum: NSNumber? {
-        get {
-            return snakeCase.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var property: String?
-    public var _123number: Int32?
-    public var _123numberNum: NSNumber? {
-        get {
-            return _123number.map({ return NSNumber(value: $0) })
-        }
-    }
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["snake_case"] = self.snakeCase?.encodeToJSON()
-        nillableDictionary["property"] = self.property
-        nillableDictionary["123Number"] = self._123number?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
deleted file mode 100644
index 342d6796d8d..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// NumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class NumberOnly: JSONEncodable {
-
-    public var justNumber: Double?
-    public var justNumberNum: NSNumber? {
-        get {
-            return justNumber.map({ return NSNumber(value: $0) })
-        }
-    }
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["JustNumber"] = self.justNumber
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
deleted file mode 100644
index 281bead97ea..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-// Order.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Order: JSONEncodable {
-
-    public enum Status: String { 
-        case placed = "placed"
-        case approved = "approved"
-        case delivered = "delivered"
-    }
-    public var id: Int64?
-    public var idNum: NSNumber? {
-        get {
-            return id.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var petId: Int64?
-    public var petIdNum: NSNumber? {
-        get {
-            return petId.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var quantity: Int32?
-    public var quantityNum: NSNumber? {
-        get {
-            return quantity.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var shipDate: Date?
-    /** Order Status */
-    public var status: Status?
-    public var complete: Bool?
-    public var completeNum: NSNumber? {
-        get {
-            return complete.map({ return NSNumber(value: $0) })
-        }
-    }
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["petId"] = self.petId?.encodeToJSON()
-        nillableDictionary["quantity"] = self.quantity?.encodeToJSON()
-        nillableDictionary["shipDate"] = self.shipDate?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        nillableDictionary["complete"] = self.complete
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
deleted file mode 100644
index ba3fa230f34..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-// OuterComposite.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class OuterComposite: JSONEncodable {
-
-    public var myNumber: Double?
-    public var myNumberNum: NSNumber? {
-        get {
-            return myNumber.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var myString: String?
-    public var myBoolean: Bool?
-    public var myBooleanNum: NSNumber? {
-        get {
-            return myBoolean.map({ return NSNumber(value: $0) })
-        }
-    }
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["my_number"] = self.myNumber
-        nillableDictionary["my_string"] = self.myString
-        nillableDictionary["my_boolean"] = self.myBoolean
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
deleted file mode 100644
index 29609ed6517..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// OuterEnum.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum OuterEnum: String {
-    case placed = "placed"
-    case approved = "approved"
-    case delivered = "delivered"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
deleted file mode 100644
index 113b5093790..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// Pet.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Pet: JSONEncodable {
-
-    public enum Status: String { 
-        case available = "available"
-        case pending = "pending"
-        case sold = "sold"
-    }
-    public var id: Int64?
-    public var idNum: NSNumber? {
-        get {
-            return id.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var category: Category?
-    public var name: String?
-    public var photoUrls: [String]?
-    public var tags: [Tag]?
-    /** pet status in the store */
-    public var status: Status?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["category"] = self.category?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        nillableDictionary["photoUrls"] = self.photoUrls?.encodeToJSON()
-        nillableDictionary["tags"] = self.tags?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
deleted file mode 100644
index 2f169a93509..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// ReadOnlyFirst.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ReadOnlyFirst: JSONEncodable {
-
-    public var bar: String?
-    public var baz: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["baz"] = self.baz
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Return.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
deleted file mode 100644
index 0f84bb9951c..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-// Return.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing reserved words */
-open class Return: JSONEncodable {
-
-    public var _return: Int32?
-    public var _returnNum: NSNumber? {
-        get {
-            return _return.map({ return NSNumber(value: $0) })
-        }
-    }
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["return"] = self._return?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
deleted file mode 100644
index 3d11997c1f2..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// SpecialModelName.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class SpecialModelName: JSONEncodable {
-
-    public var specialPropertyName: Int64?
-    public var specialPropertyNameNum: NSNumber? {
-        get {
-            return specialPropertyName.map({ return NSNumber(value: $0) })
-        }
-    }
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["$special[property.name]"] = self.specialPropertyName?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
deleted file mode 100644
index 492591e562e..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Tag.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Tag: JSONEncodable {
-
-    public var id: Int64?
-    public var idNum: NSNumber? {
-        get {
-            return id.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/User.swift b/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/User.swift
deleted file mode 100644
index b9333dc44ad..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/PetstoreClient/Classes/OpenAPIs/Models/User.swift
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-// User.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class User: JSONEncodable {
-
-    public var id: Int64?
-    public var idNum: NSNumber? {
-        get {
-            return id.map({ return NSNumber(value: $0) })
-        }
-    }
-    public var username: String?
-    public var firstName: String?
-    public var lastName: String?
-    public var email: String?
-    public var password: String?
-    public var phone: String?
-    /** User Status */
-    public var userStatus: Int32?
-    public var userStatusNum: NSNumber? {
-        get {
-            return userStatus.map({ return NSNumber(value: $0) })
-        }
-    }
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["username"] = self.username
-        nillableDictionary["firstName"] = self.firstName
-        nillableDictionary["lastName"] = self.lastName
-        nillableDictionary["email"] = self.email
-        nillableDictionary["password"] = self.password
-        nillableDictionary["phone"] = self.phone
-        nillableDictionary["userStatus"] = self.userStatus?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/objcCompatible/git_push.sh b/samples/client/petstore/swift3/objcCompatible/git_push.sh
deleted file mode 100644
index 20057f67ade..00000000000
--- a/samples/client/petstore/swift3/objcCompatible/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="GIT_USER_ID"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="GIT_REPO_ID"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="Minor update"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/samples/client/petstore/swift3/promisekit/.gitignore b/samples/client/petstore/swift3/promisekit/.gitignore
deleted file mode 100644
index fc4e330f8fa..00000000000
--- a/samples/client/petstore/swift3/promisekit/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift3/promisekit/.openapi-generator-ignore b/samples/client/petstore/swift3/promisekit/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift3/promisekit/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift3/promisekit/.openapi-generator/VERSION b/samples/client/petstore/swift3/promisekit/.openapi-generator/VERSION
deleted file mode 100644
index 6d94c9c2e12..00000000000
--- a/samples/client/petstore/swift3/promisekit/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/promisekit/Cartfile b/samples/client/petstore/swift3/promisekit/Cartfile
deleted file mode 100644
index 97cc3fcdbe0..00000000000
--- a/samples/client/petstore/swift3/promisekit/Cartfile
+++ /dev/null
@@ -1,2 +0,0 @@
-github "Alamofire/Alamofire" ~> 4.5
-github "mxcl/PromiseKit" ~> 4.4
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient.podspec b/samples/client/petstore/swift3/promisekit/PetstoreClient.podspec
deleted file mode 100644
index 9b69b145db2..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient.podspec
+++ /dev/null
@@ -1,15 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = 'PetstoreClient'
-  s.ios.deployment_target = '9.0'
-  s.osx.deployment_target = '10.11'
-  s.tvos.deployment_target = '9.0'
-  s.version = '0.0.1'
-  s.source = { :git => 'git@github.com:OpenAPITools/openapi-generator.git', :tag => 'v1.0.0' }
-  s.authors = ''
-  s.license = 'Proprietary'
-  s.homepage = 'https://github.com/openapitools/openapi-generator'
-  s.summary = 'PetstoreClient'
-  s.source_files = 'PetstoreClient/Classes/**/*.swift'
-  s.dependency 'PromiseKit/CorePromise', '~> 4.4.0'
-  s.dependency 'Alamofire', '~> 4.5.0'
-end
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIHelper.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
deleted file mode 100644
index d99d4858ff8..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
+++ /dev/null
@@ -1,75 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-class APIHelper {
-    static func rejectNil(_ source: [String:Any?]) -> [String:Any]? {
-        var destination = [String:Any]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(_ source: [String:Any?]) -> [String:String] {
-        var destination = [String:String]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(_ source: [String: Any]?) -> [String:Any]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String:Any]()
-        let theTrue = NSNumber(value: true as Bool)
-        let theFalse = NSNumber(value: false as Bool)
-        for (key, value) in source {
-            switch value {
-            case let x where x as? NSNumber === theTrue || x as? NSNumber === theFalse:
-                destination[key] = "\(value as! Bool)" as Any?
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-    static func mapValuesToQueryItems(values: [String:Any?]) -> [URLQueryItem]? {
-        let returnValues = values
-            .filter { $0.1 != nil }
-            .map { (item: (_key: String, _value: Any?)) -> [URLQueryItem] in
-                if let value = item._value as? Array<String> {
-                    return value.map { (v) -> URLQueryItem in
-                        URLQueryItem(
-                            name: item._key,
-                            value: v
-                        )
-                    }
-                } else {
-                    return [URLQueryItem(
-                        name: item._key,
-                        value: "\(item._value!)"
-                    )]
-                }
-            }
-            .flatMap { $0 }
-
-        if returnValues.isEmpty { return nil }
-        return returnValues
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs.swift
deleted file mode 100644
index c474dd4a9fa..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs.swift
+++ /dev/null
@@ -1,77 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class PetstoreClientAPI {
-    open static var basePath = "http://petstore.swagger.io:80/v2"
-    open static var credential: URLCredential?
-    open static var customHeaders: [String:String] = [:]
-    open static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-open class APIBase {
-    func toParameters(_ encodable: JSONEncodable?) -> [String: Any]? {
-        let encoded: Any? = encodable?.encodeToJSON()
-
-        if encoded! is [Any] {
-            var dictionary = [String:Any]()
-            for (index, item) in (encoded as! [Any]).enumerated() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String:Any]
-        }
-    }
-}
-
-open class RequestBuilder<T> {
-    var credential: URLCredential?
-    var headers: [String:String]
-    public let parameters: Any?
-    public let isBody: Bool
-    public let method: String
-    public let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((Progress) -> ())?
-
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String:String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders(PetstoreClientAPI.customHeaders)
-    }
-
-    open func addHeaders(_ aHeaders:[String:String]) {
-        for (header, value) in aHeaders {
-            addHeader(name: header, value: value)
-        }
-    }
-
-    open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) { }
-
-    @discardableResult public func addHeader(name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    open func addCredential() -> Self {
-        self.credential = PetstoreClientAPI.credential
-        return self
-    }
-}
-
-public protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
deleted file mode 100644
index 1c087005aca..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-// AnotherFakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import PromiseKit
-
-
-open class AnotherFakeAPI: APIBase {
-    /**
-     To test special tags
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testSpecialTags(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testSpecialTagsWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     To test special tags
-     - parameter client: (body) client model 
-     - returns: Promise<Client>
-     */
-    open class func testSpecialTags( client: Client) -> Promise<Client> {
-        let deferred = Promise<Client>.pending()
-        testSpecialTags(client: client) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     To test special tags
-     - PATCH /another-fake/dummy
-     - To test special tags
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testSpecialTagsWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/another-fake/dummy"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
deleted file mode 100644
index d9ab85604de..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
+++ /dev/null
@@ -1,551 +0,0 @@
-//
-// FakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import PromiseKit
-
-
-open class FakeAPI: APIBase {
-    /**
-     - parameter body: (body) Input boolean as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterBooleanSerialize(body: Bool? = nil, completion: @escaping ((_ data: Bool?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterBooleanSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     - parameter body: (body) Input boolean as post body (optional)
-     - returns: Promise<Bool>
-     */
-    open class func fakeOuterBooleanSerialize( body: Bool? = nil) -> Promise<Bool> {
-        let deferred = Promise<Bool>.pending()
-        fakeOuterBooleanSerialize(body: body) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     - POST /fake/outer/boolean
-     - Test serialization of outer boolean types
-     - parameter body: (body) Input boolean as post body (optional)
-     - returns: RequestBuilder<Bool> 
-     */
-    open class func fakeOuterBooleanSerializeWithRequestBuilder(body: Bool? = nil) -> RequestBuilder<Bool> {
-        let path = "/fake/outer/boolean"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Bool>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterCompositeSerialize(outerComposite: OuterComposite? = nil, completion: @escaping ((_ data: OuterComposite?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: outerComposite).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - returns: Promise<OuterComposite>
-     */
-    open class func fakeOuterCompositeSerialize( outerComposite: OuterComposite? = nil) -> Promise<OuterComposite> {
-        let deferred = Promise<OuterComposite>.pending()
-        fakeOuterCompositeSerialize(outerComposite: outerComposite) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     - POST /fake/outer/composite
-     - Test serialization of object with outer number type
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - returns: RequestBuilder<OuterComposite> 
-     */
-    open class func fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: OuterComposite? = nil) -> RequestBuilder<OuterComposite> {
-        let path = "/fake/outer/composite"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = outerComposite?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<OuterComposite>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input number as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterNumberSerialize(body: Double? = nil, completion: @escaping ((_ data: Double?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterNumberSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     - parameter body: (body) Input number as post body (optional)
-     - returns: Promise<Double>
-     */
-    open class func fakeOuterNumberSerialize( body: Double? = nil) -> Promise<Double> {
-        let deferred = Promise<Double>.pending()
-        fakeOuterNumberSerialize(body: body) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     - POST /fake/outer/number
-     - Test serialization of outer number types
-     - parameter body: (body) Input number as post body (optional)
-     - returns: RequestBuilder<Double> 
-     */
-    open class func fakeOuterNumberSerializeWithRequestBuilder(body: Double? = nil) -> RequestBuilder<Double> {
-        let path = "/fake/outer/number"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Double>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input string as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterStringSerialize(body: String? = nil, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterStringSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     - parameter body: (body) Input string as post body (optional)
-     - returns: Promise<String>
-     */
-    open class func fakeOuterStringSerialize( body: String? = nil) -> Promise<String> {
-        let deferred = Promise<String>.pending()
-        fakeOuterStringSerialize(body: body) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     - POST /fake/outer/string
-     - Test serialization of outer string types
-     - parameter body: (body) Input string as post body (optional)
-     - returns: RequestBuilder<String> 
-     */
-    open class func fakeOuterStringSerializeWithRequestBuilder(body: String? = nil) -> RequestBuilder<String> {
-        let path = "/fake/outer/string"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     To test \"client\" model
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClientModel(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClientModelWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     To test \"client\" model
-     - parameter client: (body) client model 
-     - returns: Promise<Client>
-     */
-    open class func testClientModel( client: Client) -> Promise<Client> {
-        let deferred = Promise<Client>.pending()
-        testClientModel(client: client) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     To test \"client\" model
-     - PATCH /fake
-     - To test \"client\" model
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClientModelWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEndpointParameters(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEndpointParametersWithRequestBuilder(number: number, double: double, patternWithoutDelimiter: patternWithoutDelimiter, byte: byte, integer: integer, int32: int32, int64: int64, float: float, string: string, binary: binary, date: date, dateTime: dateTime, password: password, callback: callback).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - returns: Promise<Void>
-     */
-    open class func testEndpointParameters( number: Double,  double: Double,  patternWithoutDelimiter: String,  byte: Data,  integer: Int32? = nil,  int32: Int32? = nil,  int64: Int64? = nil,  float: Float? = nil,  string: String? = nil,  binary: URL? = nil,  date: ISOFullDate? = nil,  dateTime: Date? = nil,  password: String? = nil,  callback: String? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        testEndpointParameters(number: number, double: double, patternWithoutDelimiter: patternWithoutDelimiter, byte: byte, integer: integer, int32: int32, int64: int64, float: float, string: string, binary: binary, date: date, dateTime: dateTime, password: password, callback: callback) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - POST /fake
-     - Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - BASIC:
-       - type: http
-       - name: http_basic_test
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEndpointParametersWithRequestBuilder(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "integer": integer?.encodeToJSON(),
-            "int32": int32?.encodeToJSON(),
-            "int64": int64?.encodeToJSON(),
-            "number": number,
-            "float": float,
-            "double": double,
-            "string": string,
-            "pattern_without_delimiter": patternWithoutDelimiter,
-            "byte": byte,
-            "binary": binary,
-            "date": date?.encodeToJSON(),
-            "dateTime": dateTime?.encodeToJSON(),
-            "password": password,
-            "callback": callback
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     * enum for parameter enumHeaderStringArray
-     */
-    public enum EnumHeaderStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumHeaderString
-     */
-    public enum EnumHeaderString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryStringArray
-     */
-    public enum EnumQueryStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumQueryString
-     */
-    public enum EnumQueryString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryInteger
-     */
-    public enum EnumQueryInteger_testEnumParameters: Int32 { 
-        case _1 = 1
-        case number2 = -2
-    }
-
-    /**
-     * enum for parameter enumFormStringArray
-     */
-    public enum EnumFormStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumFormString
-     */
-    public enum EnumFormString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryDouble
-     */
-    public enum EnumQueryDouble_testEnumParameters: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-
-    /**
-     To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEnumParameters(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEnumParametersWithRequestBuilder(enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString, enumQueryDouble: enumQueryDouble).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - returns: Promise<Void>
-     */
-    open class func testEnumParameters( enumHeaderStringArray: [String]? = nil,  enumHeaderString: EnumHeaderString_testEnumParameters? = nil,  enumQueryStringArray: [String]? = nil,  enumQueryString: EnumQueryString_testEnumParameters? = nil,  enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil,  enumFormStringArray: [String]? = nil,  enumFormString: EnumFormString_testEnumParameters? = nil,  enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        testEnumParameters(enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString, enumQueryDouble: enumQueryDouble) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     To test enum parameters
-     - GET /fake
-     - To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEnumParametersWithRequestBuilder(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "enum_form_string_array": enumFormStringArray,
-            "enum_form_string": enumFormString?.rawValue,
-            "enum_query_double": enumQueryDouble?.rawValue
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "enum_query_string_array": enumQueryStringArray,
-            "enum_query_string": enumQueryString?.rawValue,
-            "enum_query_integer": enumQueryInteger?.rawValue
-        ])
-        let nillableHeaders: [String: Any?] = [
-            "enum_header_string_array": enumHeaderStringArray,
-            "enum_header_string": enumHeaderString?.rawValue
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     test json serialization of form data
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testJsonFormData(param: String, param2: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testJsonFormDataWithRequestBuilder(param: param, param2: param2).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     test json serialization of form data
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - returns: Promise<Void>
-     */
-    open class func testJsonFormData( param: String,  param2: String) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        testJsonFormData(param: param, param2: param2) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     test json serialization of form data
-     - GET /fake/jsonFormData
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testJsonFormDataWithRequestBuilder(param: String, param2: String) -> RequestBuilder<Void> {
-        let path = "/fake/jsonFormData"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "param": param,
-            "param2": param2
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
deleted file mode 100644
index 7bf28fcfb2c..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// FakeClassnameTags123API.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import PromiseKit
-
-
-open class FakeClassnameTags123API: APIBase {
-    /**
-     To test class name in snake case
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClassname(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClassnameWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     To test class name in snake case
-     - parameter client: (body) client model 
-     - returns: Promise<Client>
-     */
-    open class func testClassname( client: Client) -> Promise<Client> {
-        let deferred = Promise<Client>.pending()
-        testClassname(client: client) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     To test class name in snake case
-     - PATCH /fake_classname_test
-     - To test class name in snake case
-     - API Key:
-       - type: apiKey api_key_query (QUERY)
-       - name: api_key_query
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClassnameWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake_classname_test"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
deleted file mode 100644
index 36338aafb97..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
+++ /dev/null
@@ -1,467 +0,0 @@
-//
-// PetAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import PromiseKit
-
-
-open class PetAPI: APIBase {
-    /**
-     Add a new pet to the store
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func addPet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        addPetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Add a new pet to the store
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: Promise<Void>
-     */
-    open class func addPet( pet: Pet) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        addPet(pet: pet) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Add a new pet to the store
-     - POST /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func addPetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Deletes a pet
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deletePet(petId: Int64, apiKey: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deletePetWithRequestBuilder(petId: petId, apiKey: apiKey).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Deletes a pet
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: Promise<Void>
-     */
-    open class func deletePet( petId: Int64,  apiKey: String? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        deletePet(petId: petId, apiKey: apiKey) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Deletes a pet
-     - DELETE /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deletePetWithRequestBuilder(petId: Int64, apiKey: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-        let nillableHeaders: [String: Any?] = [
-            "api_key": apiKey
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     * enum for parameter status
-     */
-    public enum Status_findPetsByStatus: String { 
-        case available = ""available""
-        case pending = ""pending""
-        case sold = ""sold""
-    }
-
-    /**
-     Finds Pets by status
-     - parameter status: (query) Status values that need to be considered for filter 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByStatus(status: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByStatusWithRequestBuilder(status: status).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Finds Pets by status
-     - parameter status: (query) Status values that need to be considered for filter 
-     - returns: Promise<[Pet]>
-     */
-    open class func findPetsByStatus( status: [String]) -> Promise<[Pet]> {
-        let deferred = Promise<[Pet]>.pending()
-        findPetsByStatus(status: status) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Finds Pets by status
-     - GET /pet/findByStatus
-     - Multiple status values can be provided with comma separated strings
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter status: (query) Status values that need to be considered for filter 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByStatusWithRequestBuilder(status: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByStatus"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "status": status
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Finds Pets by tags
-     - parameter tags: (query) Tags to filter by 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByTags(tags: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByTagsWithRequestBuilder(tags: tags).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Finds Pets by tags
-     - parameter tags: (query) Tags to filter by 
-     - returns: Promise<[Pet]>
-     */
-    open class func findPetsByTags( tags: [String]) -> Promise<[Pet]> {
-        let deferred = Promise<[Pet]>.pending()
-        findPetsByTags(tags: tags) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Finds Pets by tags
-     - GET /pet/findByTags
-     - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter tags: (query) Tags to filter by 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByTagsWithRequestBuilder(tags: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByTags"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "tags": tags
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find pet by ID
-     - parameter petId: (path) ID of pet to return 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getPetById(petId: Int64, completion: @escaping ((_ data: Pet?, _ error: ErrorResponse?) -> Void)) {
-        getPetByIdWithRequestBuilder(petId: petId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Find pet by ID
-     - parameter petId: (path) ID of pet to return 
-     - returns: Promise<Pet>
-     */
-    open class func getPetById( petId: Int64) -> Promise<Pet> {
-        let deferred = Promise<Pet>.pending()
-        getPetById(petId: petId) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Find pet by ID
-     - GET /pet/{petId}
-     - Returns a single pet
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - parameter petId: (path) ID of pet to return 
-     - returns: RequestBuilder<Pet> 
-     */
-    open class func getPetByIdWithRequestBuilder(petId: Int64) -> RequestBuilder<Pet> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Pet>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Update an existing pet
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Update an existing pet
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: Promise<Void>
-     */
-    open class func updatePet( pet: Pet) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        updatePet(pet: pet) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Update an existing pet
-     - PUT /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePetWithForm(petId: Int64, name: String? = nil, status: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithFormWithRequestBuilder(petId: petId, name: name, status: status).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: Promise<Void>
-     */
-    open class func updatePetWithForm( petId: Int64,  name: String? = nil,  status: String? = nil) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        updatePetWithForm(petId: petId, name: name, status: status) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - POST /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithFormWithRequestBuilder(petId: Int64, name: String? = nil, status: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "name": name,
-            "status": status
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     uploads an image
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func uploadFile(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil, completion: @escaping ((_ data: ApiResponse?, _ error: ErrorResponse?) -> Void)) {
-        uploadFileWithRequestBuilder(petId: petId, additionalMetadata: additionalMetadata, file: file).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     uploads an image
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: Promise<ApiResponse>
-     */
-    open class func uploadFile( petId: Int64,  additionalMetadata: String? = nil,  file: URL? = nil) -> Promise<ApiResponse> {
-        let deferred = Promise<ApiResponse>.pending()
-        uploadFile(petId: petId, additionalMetadata: additionalMetadata, file: file) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     uploads an image
-     - POST /pet/{petId}/uploadImage
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: RequestBuilder<ApiResponse> 
-     */
-    open class func uploadFileWithRequestBuilder(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil) -> RequestBuilder<ApiResponse> {
-        var path = "/pet/{petId}/uploadImage"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "additionalMetadata": additionalMetadata,
-            "file": file
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<ApiResponse>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
deleted file mode 100644
index 67fe5e9bacf..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
+++ /dev/null
@@ -1,207 +0,0 @@
-//
-// StoreAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import PromiseKit
-
-
-open class StoreAPI: APIBase {
-    /**
-     Delete purchase order by ID
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteOrder(orderId: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteOrderWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Delete purchase order by ID
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: Promise<Void>
-     */
-    open class func deleteOrder( orderId: String) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        deleteOrder(orderId: orderId) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Delete purchase order by ID
-     - DELETE /store/order/{order_id}
-     - For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteOrderWithRequestBuilder(orderId: String) -> RequestBuilder<Void> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Returns pet inventories by status
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getInventory(completion: @escaping ((_ data: [String:Int32]?, _ error: ErrorResponse?) -> Void)) {
-        getInventoryWithRequestBuilder().execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Returns pet inventories by status
-     - returns: Promise<[String:Int32]>
-     */
-    open class func getInventory() -> Promise<[String:Int32]> {
-        let deferred = Promise<[String:Int32]>.pending()
-        getInventory() { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Returns pet inventories by status
-     - GET /store/inventory
-     - Returns a map of status codes to quantities
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - returns: RequestBuilder<[String:Int32]> 
-     */
-    open class func getInventoryWithRequestBuilder() -> RequestBuilder<[String:Int32]> {
-        let path = "/store/inventory"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<[String:Int32]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find purchase order by ID
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getOrderById(orderId: Int64, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        getOrderByIdWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Find purchase order by ID
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: Promise<Order>
-     */
-    open class func getOrderById( orderId: Int64) -> Promise<Order> {
-        let deferred = Promise<Order>.pending()
-        getOrderById(orderId: orderId) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Find purchase order by ID
-     - GET /store/order/{order_id}
-     - For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func getOrderByIdWithRequestBuilder(orderId: Int64) -> RequestBuilder<Order> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Place an order for a pet
-     - parameter order: (body) order placed for purchasing the pet 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func placeOrder(order: Order, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        placeOrderWithRequestBuilder(order: order).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Place an order for a pet
-     - parameter order: (body) order placed for purchasing the pet 
-     - returns: Promise<Order>
-     */
-    open class func placeOrder( order: Order) -> Promise<Order> {
-        let deferred = Promise<Order>.pending()
-        placeOrder(order: order) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Place an order for a pet
-     - POST /store/order
-     - parameter order: (body) order placed for purchasing the pet 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func placeOrderWithRequestBuilder(order: Order) -> RequestBuilder<Order> {
-        let path = "/store/order"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = order.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
deleted file mode 100644
index 90a131ebe8b..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
+++ /dev/null
@@ -1,402 +0,0 @@
-//
-// UserAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import PromiseKit
-
-
-open class UserAPI: APIBase {
-    /**
-     Create user
-     - parameter user: (body) Created user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUser(user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUserWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Create user
-     - parameter user: (body) Created user object 
-     - returns: Promise<Void>
-     */
-    open class func createUser( user: User) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        createUser(user: user) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Create user
-     - POST /user
-     - This can only be done by the logged in user.
-     - parameter user: (body) Created user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUserWithRequestBuilder(user: User) -> RequestBuilder<Void> {
-        let path = "/user"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithArrayInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithArrayInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - returns: Promise<Void>
-     */
-    open class func createUsersWithArrayInput( user: [User]) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        createUsersWithArrayInput(user: user) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithArray
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithArrayInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithArray"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithListInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithListInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - returns: Promise<Void>
-     */
-    open class func createUsersWithListInput( user: [User]) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        createUsersWithListInput(user: user) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithList
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithListInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithList"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Delete user
-     - parameter username: (path) The name that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteUser(username: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteUserWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Delete user
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: Promise<Void>
-     */
-    open class func deleteUser( username: String) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        deleteUser(username: username) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Delete user
-     - DELETE /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteUserWithRequestBuilder(username: String) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Get user by user name
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getUserByName(username: String, completion: @escaping ((_ data: User?, _ error: ErrorResponse?) -> Void)) {
-        getUserByNameWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Get user by user name
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: Promise<User>
-     */
-    open class func getUserByName( username: String) -> Promise<User> {
-        let deferred = Promise<User>.pending()
-        getUserByName(username: username) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Get user by user name
-     - GET /user/{username}
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: RequestBuilder<User> 
-     */
-    open class func getUserByNameWithRequestBuilder(username: String) -> RequestBuilder<User> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<User>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs user into the system
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func loginUser(username: String, password: String, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        loginUserWithRequestBuilder(username: username, password: password).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Logs user into the system
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - returns: Promise<String>
-     */
-    open class func loginUser( username: String,  password: String) -> Promise<String> {
-        let deferred = Promise<String>.pending()
-        loginUser(username: username, password: password) { data, error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill(data!)
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Logs user into the system
-     - GET /user/login
-     - responseHeaders: [X-Rate-Limit(Int32), X-Expires-After(Date)]
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - returns: RequestBuilder<String> 
-     */
-    open class func loginUserWithRequestBuilder(username: String, password: String) -> RequestBuilder<String> {
-        let path = "/user/login"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "username": username,
-            "password": password
-        ])
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs out current logged in user session
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func logoutUser(completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        logoutUserWithRequestBuilder().execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Logs out current logged in user session
-     - returns: Promise<Void>
-     */
-    open class func logoutUser() -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        logoutUser() { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Logs out current logged in user session
-     - GET /user/logout
-     - returns: RequestBuilder<Void> 
-     */
-    open class func logoutUserWithRequestBuilder() -> RequestBuilder<Void> {
-        let path = "/user/logout"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Updated user
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updateUser(username: String, user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updateUserWithRequestBuilder(username: username, user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Updated user
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - returns: Promise<Void>
-     */
-    open class func updateUser( username: String,  user: User) -> Promise<Void> {
-        let deferred = Promise<Void>.pending()
-        updateUser(username: username, user: user) { error in
-            if let error = error {
-                deferred.reject(error)
-            } else {
-                deferred.fulfill()
-            }
-        }
-        return deferred.promise
-    }
-
-    /**
-     Updated user
-     - PUT /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updateUserWithRequestBuilder(username: String, user: User) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
deleted file mode 100644
index 5be6b2b08cf..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
+++ /dev/null
@@ -1,374 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-private struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = DispatchQueue(
-        label: "SynchronizedDictionary",
-        qos: DispatchQoS.userInitiated,
-        attributes: [DispatchQueue.Attributes.concurrent],
-        autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit,
-        target: nil
-    )
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            queue.sync {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-        set {
-            queue.sync(flags: DispatchWorkItemFlags.barrier) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-class JSONEncodingWrapper: ParameterEncoding {
-    var bodyParameters: Any?
-    var encoding: JSONEncoding = JSONEncoding()
-
-    public init(parameters: Any?) {
-        self.bodyParameters = parameters
-    }
-
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        return try encoding.encode(urlRequest, withJSONObject: bodyParameters)
-    }
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.SessionManager>()
-
-open class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String : String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the session
-     configuration.
-     */
-    open func createSessionManager() -> Alamofire.SessionManager {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = buildHeaders()
-        return Alamofire.SessionManager(configuration: configuration)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the Content-Type
-     that is given to an uploaded form part.
-
-     Return nil to use the default behavior (inferring the Content-Type from
-     the file extension).  Return the desired Content-Type otherwise.
-     */
-    open func contentTypeForFormPart(fileURL: URL) -> String? {
-        return nil
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the request
-     configuration (e.g. to override the cache policy).
-     */
-    open func makeRequest(manager: SessionManager, method: HTTPMethod, encoding: ParameterEncoding, headers: [String:String]) -> DataRequest {
-        return manager.request(URLString, method: method, parameters: parameters as? Parameters, encoding: encoding, headers: headers)
-    }
-
-    override open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        let managerId:String = UUID().uuidString
-        // Create a new manager for each request to customize its request header
-        let manager = createSessionManager()
-        managerStore[managerId] = manager
-
-        let encoding:ParameterEncoding = isBody ? JSONEncodingWrapper(parameters: parameters) : URLEncoding()
-
-        let xMethod = Alamofire.HTTPMethod(rawValue: method)
-
-        let param = parameters as? Parameters
-        let fileKeys = param == nil ? [] : param!.filter { $1 is NSURL }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(multipartFormData: { mpForm in
-                for (k, v) in param! {
-                    switch v {
-                    case let fileURL as URL:
-                        if let mimeType = self.contentTypeForFormPart(fileURL: fileURL) {
-                            mpForm.append(fileURL, withName: k, fileName: fileURL.lastPathComponent, mimeType: mimeType)
-                        }
-                        else {
-                            mpForm.append(fileURL, withName: k)
-                        }
-                    case let string as String:
-                        mpForm.append(string.data(using: String.Encoding.utf8)!, withName: k)
-                    case let number as NSNumber:
-                        mpForm.append(number.stringValue.data(using: String.Encoding.utf8)!, withName: k)
-                    default:
-                        fatalError("Unprocessable value \(v) with key \(k)")
-                    }
-                }
-                }, to: URLString, method: xMethod!, headers: nil, encodingCompletion: { encodingResult in
-                switch encodingResult {
-                case .success(let upload, _, _):
-                    if let onProgressReady = self.onProgressReady {
-                        onProgressReady(upload.uploadProgress)
-                    }
-                    self.processRequest(request: upload, managerId, completion)
-                case .failure(let encodingError):
-                    completion(nil, ErrorResponse.HttpError(statusCode: 415, data: nil, error: encodingError))
-                }
-            })
-        } else {
-            let request = makeRequest(manager: manager, method: xMethod!, encoding: encoding, headers: headers)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request: request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: DataRequest, _ managerId: String, _ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: stringResponse.response?.statusCode ?? 500, data: stringResponse.data, error: stringResponse.result.error as Error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: stringResponse.response!,
-                        body: ((stringResponse.result.value ?? "") as! T)
-                    ),
-                    nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: voidResponse.response?.statusCode ?? 500, data: voidResponse.data, error: voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: voidResponse.response!,
-                        body: nil),
-                    nil
-                )
-            })
-        case is Data.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: dataResponse.response?.statusCode ?? 500, data: dataResponse.data, error: dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: dataResponse.response!,
-                        body: (dataResponse.data as! T)
-                    ),
-                    nil
-                )
-            })
-        case is URL.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                do {
-
-                    guard !dataResponse.result.isFailure else {
-                        throw DownloadException.responseFailed
-                    }
-
-                    guard let data = dataResponse.data else {
-                        throw DownloadException.responseDataMissing
-                    }
-
-                    guard let request = request.request else {
-                        throw DownloadException.requestMissing
-                    }
-
-                    let fileManager = FileManager.default
-                    let urlRequest = try request.asURLRequest()
-                    let documentsDirectory = fileManager.urls(for: .documentDirectory, in: .userDomainMask)[0]
-                    let requestURL = try self.getURL(from: urlRequest)
-
-                    var requestPath = try self.getPath(from: requestURL)
-
-                    if let headerFileName = self.getFileName(fromContentDisposition: dataResponse.response?.allHeaderFields["Content-Disposition"] as? String) {
-                        requestPath = requestPath.appending("/\(headerFileName)")
-                    }
-
-                    let filePath = documentsDirectory.appendingPathComponent(requestPath)
-                    let directoryPath = filePath.deletingLastPathComponent().path
-
-                    try fileManager.createDirectory(atPath: directoryPath, withIntermediateDirectories: true, attributes: nil)
-                    try data.write(to: filePath, options: .atomic)
-
-                    completion(
-                        Response(
-                            response: dataResponse.response!,
-                            body: (filePath as! T)
-                        ),
-                        nil
-                    )
-
-                } catch let requestParserError as DownloadException {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data:  dataResponse.data, error: requestParserError))
-                } catch let error {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data: dataResponse.data, error: error))
-                }
-                return
-            })
-        default:
-            validatedRequest.responseJSON(options: .allowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(nil, ErrorResponse.HttpError(statusCode: response.response?.statusCode ?? 500, data: response.data, error: response.result.error!))
-                    return
-                }
-
-                // handle HTTP 204 No Content
-                // NSNull would crash decoders
-                if response.response?.statusCode == 204 && response.result.value is NSNull{
-                    completion(nil, nil)
-                    return
-                }
-
-                if () is T {
-                    completion(Response(response: response.response!, body: (() as! T)), nil)
-                    return
-                }
-                if let json: Any = response.result.value {
-                    let decoded = Decoders.decode(clazz: T.self, source: json as AnyObject, instance: nil)
-                    switch decoded {
-                    case let .success(object): completion(Response(response: response.response!, body: object), nil)
-                    case let .failure(error): completion(nil, ErrorResponse.DecodeError(response: response.data, decodeError: error))
-                    }
-                    return
-                } else if "" is T {
-                    completion(Response(response: response.response!, body: ("" as! T)), nil)
-                    return
-                }
-
-                completion(nil, ErrorResponse.HttpError(statusCode: 500, data: nil, error: NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    open func buildHeaders() -> [String: String] {
-        var httpHeaders = SessionManager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-
-    fileprivate func getFileName(fromContentDisposition contentDisposition : String?) -> String? {
-
-        guard let contentDisposition = contentDisposition else {
-            return nil
-        }
-
-        let items = contentDisposition.components(separatedBy: ";")
-
-        var filename : String? = nil
-
-        for contentItem in items {
-
-            let filenameKey = "filename="
-            guard let range = contentItem.range(of: filenameKey) else {
-                break
-            }
-
-            filename = contentItem
-            return filename?
-                .replacingCharacters(in: range, with:"")
-                .replacingOccurrences(of: "\"", with: "")
-                .trimmingCharacters(in: .whitespacesAndNewlines)
-        }
-
-        return filename
-
-    }
-
-    fileprivate func getPath(from url : URL) throws -> String {
-
-        guard var path = URLComponents(url: url, resolvingAgainstBaseURL: true)?.path else {
-            throw DownloadException.requestMissingPath
-        }
-
-        if path.hasPrefix("/") {
-            path.remove(at: path.startIndex)
-        }
-
-        return path
-
-    }
-
-    fileprivate func getURL(from urlRequest : URLRequest) throws -> URL {
-
-        guard let url = urlRequest.url else {
-            throw DownloadException.requestMissingURL
-        }
-
-        return url
-    }
-}
-
-fileprivate enum DownloadException : Error {
-    case responseDataMissing
-    case responseFailed
-    case requestMissing
-    case requestMissingPath
-    case requestMissingURL
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Configuration.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Configuration.swift
deleted file mode 100644
index b9e2e497683..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Configuration.swift
+++ /dev/null
@@ -1,15 +0,0 @@
-// Configuration.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class Configuration {
-
-	// This value is used to configure the date formatter that is used to serialize dates into JSON format.
-	// You must set it prior to encoding any dates, and it will only be read once.
-    open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Extensions.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Extensions.swift
deleted file mode 100644
index a7b796c7fd0..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Extensions.swift
+++ /dev/null
@@ -1,200 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import PromiseKit
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int32) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int64) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-private func encodeIfPossible<T>(_ object: T) -> Any {
-    if let encodableObject = object as? JSONEncodable {
-        return encodableObject.encodeToJSON()
-    } else {
-        return object as Any
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> Any {
-        var dictionary = [AnyHashable: Any]()
-        for (key, value) in self {
-            dictionary[key] = encodeIfPossible(value)
-        }
-        return dictionary as Any
-    }
-}
-
-extension Data: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.base64EncodedString(options: Data.Base64EncodingOptions())
-    }
-}
-
-private let dateFormatter: DateFormatter = {
-    let fmt = DateFormatter()
-    fmt.dateFormat = Configuration.dateFormat
-    fmt.locale = Locale(identifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension Date: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return dateFormatter.string(from: self) as Any
-    }
-}
-
-extension UUID: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.uuidString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts a Date to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date: Date) -> ISOFullDate? {
-        let calendar = Calendar(identifier: .gregorian)
-
-        let components = calendar.dateComponents(
-            [
-                .year,
-                .month,
-                .day,
-            ],
-            from: date
-        )
-
-        guard
-            let year = components.year,
-            let month = components.month,
-            let day = components.day
-        else {
-            return nil
-        }
-
-        return ISOFullDate(
-            year: year,
-            month: month,
-            day: day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split(separator: "-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to a Date, in the default time zone.
-
-     - returns: A Date from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> Date? {
-        var components = DateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = TimeZone.ReferenceType.default
-        let calendar = Calendar(identifier: .gregorian)
-        return calendar.date(from: components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> Any {
-        return "\(year)-\(month)-\(day)"
-    }
-}
-
-extension RequestBuilder {
-    public func execute() -> Promise<Response<T>>  {
-        let deferred = Promise<Response<T>>.pending()
-        self.execute { (response: Response<T>?, error: Error?) in
-            if let response = response {
-                deferred.fulfill(response)
-            } else {
-                deferred.reject(error!)
-            }
-        }
-        return deferred.promise
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models.swift
deleted file mode 100644
index d1465fe4cbe..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models.swift
+++ /dev/null
@@ -1,1292 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> Any
-}
-
-public enum ErrorResponse : Error {
-    case HttpError(statusCode: Int, data: Data?, error: Error)
-    case DecodeError(response: Data?, decodeError: DecodeError)
-}
-
-open class Response<T> {
-    open let statusCode: Int
-    open let header: [String: String]
-    open let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: HTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String:String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-public enum Decoded<ValueType> {
-    case success(ValueType)
-    case failure(DecodeError)
-}
-
-public extension Decoded {
-    var value: ValueType? {
-        switch self {
-        case let .success(value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-}
-
-public enum DecodeError {
-    case typeMismatch(expected: String, actual: String)
-    case missingKey(key: String)
-    case parseError(message: String)
-}
-
-private var once = Int()
-class Decoders {
-    static fileprivate var decoders = Dictionary<String, ((AnyObject, AnyObject?) -> AnyObject)>()
-
-    static func addDecoder<T>(clazz: T.Type, decoder: @escaping ((AnyObject, AnyObject?) -> Decoded<T>)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0, $1) as AnyObject }
-    }
-
-    static func decode<T>(clazz: T.Type, discriminator: String, source: AnyObject) -> Decoded<T> {
-        let key = discriminator
-        if let decoder = decoders[key], let value = decoder(source, nil) as? Decoded<T> {
-            return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: [T].Type, source: AnyObject) -> Decoded<[T]> {
-        if let sourceArray = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in sourceArray {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value):
-                    values.append(value)
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        switch Decoders.decode(clazz: T.self, source: source, instance: nil) {
-    	    case let .success(value):
-                return .success(value)
-            case let .failure(error):
-                return .failure(error)
-        }
-    }
-
-    static open func decode<T: RawRepresentable>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject) -> Decoded<[Key:T]> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value):
-                    dictionary[key] = value
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        guard !(source is NSNull), source != nil else { return .success(nil) }
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject, instance: AnyObject?) -> Decoded<T> {
-        initialize()
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int32.Type {
-            return .success(value)
-        }
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int64.Type {
-     	    return .success(value)
-        }
-        if let intermediate = source as? String, let value = UUID(uuidString: intermediate) as? T, source is String, T.self is UUID.Type {
-            return .success(value)
-        }
-        if let value = source as? T {
-            return .success(value)
-        }
-        if let intermediate = source as? String, let value = Data(base64Encoded: intermediate) as? T {
-            return .success(value)
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key], let value = decoder(source, instance) as? Decoded<T> {
-           return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    //Convert a Decoded so that its value is optional. DO WE STILL NEED THIS?
-    static func toOptional<T>(decoded: Decoded<T>) -> Decoded<T?> {
-        return .success(decoded.value)
-    }
-
-    static func decodeOptional<T>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        if let source = source, !(source is NSNull) {
-            switch Decoders.decode(clazz: clazz, source: source, instance: nil) {
-            case let .success(value): return .success(value)
-            case let .failure(error): return .failure(error)
-            }
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> where T: RawRepresentable {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decodeOptional(clazz: T.self, source: sourceValue) {
-                case let .success(value): if let value = value { values.append(value) }
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value): values.append(value)
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject?) -> Decoded<[Key:T]?> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value): dictionary[key] = value
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable, U: AnyObject>(clazz: T, source: AnyObject) -> Decoded<T?> where T.RawValue == U {
-        if let value = source as? U {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "String", actual: String(describing: type(of: source))))
-        }
-    }
-
-
-    private static var __once: () = {
-        let formatters = [
-            "yyyy-MM-dd",
-            "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss'Z'",
-            "yyyy-MM-dd'T'HH:mm:ss.SSS",
-            "yyyy-MM-dd HH:mm:ss"
-        ].map { (format: String) -> DateFormatter in
-            let formatter = DateFormatter()
-            formatter.locale = Locale(identifier: "en_US_POSIX")
-            formatter.dateFormat = format
-            return formatter
-        }
-        // Decoder for Date
-        Decoders.addDecoder(clazz: Date.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Date> in
-           if let sourceString = source as? String {
-                for formatter in formatters {
-                    if let date = formatter.date(from: sourceString) {
-                        return .success(date)
-                    }
-                }
-            }
-            if let sourceInt = source as? Int {
-                // treat as a java date
-                return .success(Date(timeIntervalSince1970: Double(sourceInt / 1000) ))
-            }
-            if source is String || source is Int {
-                return .failure(.parseError(message: "Could not decode date"))
-            } else {
-                return .failure(.typeMismatch(expected: "String or Int", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for ISOFullDate
-        Decoders.addDecoder(clazz: ISOFullDate.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ISOFullDate> in
-            if let string = source as? String,
-               let isoDate = ISOFullDate.from(string: string) {
-                return .success(isoDate)
-            } else {
-            	return .failure(.typeMismatch(expected: "ISO date", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for [AdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [AdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[AdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [AdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for AdditionalPropertiesClass
-        Decoders.addDecoder(clazz: AdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<AdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? AdditionalPropertiesClass() : instance as! AdditionalPropertiesClass
-                switch Decoders.decodeOptional(clazz: [String:String].self, source: sourceDictionary["map_property"] as AnyObject?) {
-                
-                case let .success(value): _result.mapProperty = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_of_map_property"] as AnyObject?) {
-                
-                case let .success(value): _result.mapOfMapProperty = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "AdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Animal]
-        Decoders.addDecoder(clazz: [Animal].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Animal]> in
-            return Decoders.decode(clazz: [Animal].self, source: source)
-        }
-
-        // Decoder for Animal
-        Decoders.addDecoder(clazz: Animal.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Animal> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                // Check discriminator to support inheritance
-                if let discriminator = sourceDictionary["className"] as? String, instance == nil && discriminator != "Animal"{
-                    return Decoders.decode(clazz: Animal.self, discriminator: discriminator, source: source)
-                }
-                let _result = instance == nil ? Animal() : instance as! Animal
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Animal", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ApiResponse]
-        Decoders.addDecoder(clazz: [ApiResponse].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ApiResponse]> in
-            return Decoders.decode(clazz: [ApiResponse].self, source: source)
-        }
-
-        // Decoder for ApiResponse
-        Decoders.addDecoder(clazz: ApiResponse.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ApiResponse> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ApiResponse() : instance as! ApiResponse
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["code"] as AnyObject?) {
-                
-                case let .success(value): _result.code = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["type"] as AnyObject?) {
-                
-                case let .success(value): _result.type = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["message"] as AnyObject?) {
-                
-                case let .success(value): _result.message = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ApiResponse", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayOfArrayOfNumberOnly() : instance as! ArrayOfArrayOfNumberOnly
-                switch Decoders.decodeOptional(clazz: [[Double]].self, source: sourceDictionary["ArrayArrayNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayOfNumberOnly() : instance as! ArrayOfNumberOnly
-                switch Decoders.decodeOptional(clazz: [Double].self, source: sourceDictionary["ArrayNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayTest]
-        Decoders.addDecoder(clazz: [ArrayTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayTest]> in
-            return Decoders.decode(clazz: [ArrayTest].self, source: source)
-        }
-
-        // Decoder for ArrayTest
-        Decoders.addDecoder(clazz: ArrayTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayTest() : instance as! ArrayTest
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["array_of_string"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayOfString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [[Int64]].self, source: sourceDictionary["array_array_of_integer"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayOfInteger = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [[ReadOnlyFirst]].self, source: sourceDictionary["array_array_of_model"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayOfModel = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Capitalization]
-        Decoders.addDecoder(clazz: [Capitalization].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Capitalization]> in
-            return Decoders.decode(clazz: [Capitalization].self, source: source)
-        }
-
-        // Decoder for Capitalization
-        Decoders.addDecoder(clazz: Capitalization.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Capitalization> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Capitalization() : instance as! Capitalization
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["smallCamel"] as AnyObject?) {
-                
-                case let .success(value): _result.smallCamel = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["CapitalCamel"] as AnyObject?) {
-                
-                case let .success(value): _result.capitalCamel = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["small_Snake"] as AnyObject?) {
-                
-                case let .success(value): _result.smallSnake = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["Capital_Snake"] as AnyObject?) {
-                
-                case let .success(value): _result.capitalSnake = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["SCA_ETH_Flow_Points"] as AnyObject?) {
-                
-                case let .success(value): _result.sCAETHFlowPoints = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["ATT_NAME"] as AnyObject?) {
-                
-                case let .success(value): _result.ATT_NAME = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Capitalization", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Cat]
-        Decoders.addDecoder(clazz: [Cat].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Cat]> in
-            return Decoders.decode(clazz: [Cat].self, source: source)
-        }
-
-        // Decoder for Cat
-        Decoders.addDecoder(clazz: Cat.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Cat> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Cat() : instance as! Cat
-                if decoders["\(Animal.self)"] != nil {
-                  _ = Decoders.decode(clazz: Animal.self, source: source, instance: _result)
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["declawed"] as AnyObject?) {
-                
-                case let .success(value): _result.declawed = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Cat", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Category]
-        Decoders.addDecoder(clazz: [Category].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Category]> in
-            return Decoders.decode(clazz: [Category].self, source: source)
-        }
-
-        // Decoder for Category
-        Decoders.addDecoder(clazz: Category.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Category> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Category() : instance as! Category
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Category", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ClassModel]
-        Decoders.addDecoder(clazz: [ClassModel].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ClassModel]> in
-            return Decoders.decode(clazz: [ClassModel].self, source: source)
-        }
-
-        // Decoder for ClassModel
-        Decoders.addDecoder(clazz: ClassModel.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ClassModel> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ClassModel() : instance as! ClassModel
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["_class"] as AnyObject?) {
-                
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ClassModel", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Client]
-        Decoders.addDecoder(clazz: [Client].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Client]> in
-            return Decoders.decode(clazz: [Client].self, source: source)
-        }
-
-        // Decoder for Client
-        Decoders.addDecoder(clazz: Client.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Client> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Client() : instance as! Client
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["client"] as AnyObject?) {
-                
-                case let .success(value): _result.client = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Client", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Dog]
-        Decoders.addDecoder(clazz: [Dog].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Dog]> in
-            return Decoders.decode(clazz: [Dog].self, source: source)
-        }
-
-        // Decoder for Dog
-        Decoders.addDecoder(clazz: Dog.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Dog> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Dog() : instance as! Dog
-                if decoders["\(Animal.self)"] != nil {
-                  _ = Decoders.decode(clazz: Animal.self, source: source, instance: _result)
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["breed"] as AnyObject?) {
-                
-                case let .success(value): _result.breed = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Dog", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumArrays]
-        Decoders.addDecoder(clazz: [EnumArrays].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumArrays]> in
-            return Decoders.decode(clazz: [EnumArrays].self, source: source)
-        }
-
-        // Decoder for EnumArrays
-        Decoders.addDecoder(clazz: EnumArrays.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumArrays> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? EnumArrays() : instance as! EnumArrays
-                switch Decoders.decodeOptional(clazz: EnumArrays.JustSymbol.self, source: sourceDictionary["just_symbol"] as AnyObject?) {
-                
-                case let .success(value): _result.justSymbol = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Array<EnumArrays.ArrayEnum>.self, source: sourceDictionary["array_enum"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayEnum = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumArrays", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumClass]
-        Decoders.addDecoder(clazz: [EnumClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumClass]> in
-            return Decoders.decode(clazz: [EnumClass].self, source: source)
-        }
-
-        // Decoder for EnumClass
-        Decoders.addDecoder(clazz: EnumClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumClass> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: EnumClass.self, source: source, instance: instance)
-        }
-        // Decoder for [EnumTest]
-        Decoders.addDecoder(clazz: [EnumTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumTest]> in
-            return Decoders.decode(clazz: [EnumTest].self, source: source)
-        }
-
-        // Decoder for EnumTest
-        Decoders.addDecoder(clazz: EnumTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? EnumTest() : instance as! EnumTest
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumString.self, source: sourceDictionary["enum_string"] as AnyObject?) {
-                
-                case let .success(value): _result.enumString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumInteger.self, source: sourceDictionary["enum_integer"] as AnyObject?) {
-                
-                case let .success(value): _result.enumInteger = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumNumber.self, source: sourceDictionary["enum_number"] as AnyObject?) {
-                
-                case let .success(value): _result.enumNumber = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: OuterEnum.self, source: sourceDictionary["outerEnum"] as AnyObject?) {
-                
-                case let .success(value): _result.outerEnum = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [FormatTest]
-        Decoders.addDecoder(clazz: [FormatTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[FormatTest]> in
-            return Decoders.decode(clazz: [FormatTest].self, source: source)
-        }
-
-        // Decoder for FormatTest
-        Decoders.addDecoder(clazz: FormatTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<FormatTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? FormatTest() : instance as! FormatTest
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["integer"] as AnyObject?) {
-                
-                case let .success(value): _result.integer = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["int32"] as AnyObject?) {
-                
-                case let .success(value): _result.int32 = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["int64"] as AnyObject?) {
-                
-                case let .success(value): _result.int64 = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["number"] as AnyObject?) {
-                
-                case let .success(value): _result.number = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Float.self, source: sourceDictionary["float"] as AnyObject?) {
-                
-                case let .success(value): _result.float = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["double"] as AnyObject?) {
-                
-                case let .success(value): _result.double = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["string"] as AnyObject?) {
-                
-                case let .success(value): _result.string = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Data.self, source: sourceDictionary["byte"] as AnyObject?) {
-                
-                case let .success(value): _result.byte = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: URL.self, source: sourceDictionary["binary"] as AnyObject?) {
-                
-                case let .success(value): _result.binary = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: ISOFullDate.self, source: sourceDictionary["date"] as AnyObject?) {
-                
-                case let .success(value): _result.date = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "FormatTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [HasOnlyReadOnly]
-        Decoders.addDecoder(clazz: [HasOnlyReadOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[HasOnlyReadOnly]> in
-            return Decoders.decode(clazz: [HasOnlyReadOnly].self, source: source)
-        }
-
-        // Decoder for HasOnlyReadOnly
-        Decoders.addDecoder(clazz: HasOnlyReadOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<HasOnlyReadOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? HasOnlyReadOnly() : instance as! HasOnlyReadOnly
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["foo"] as AnyObject?) {
-                
-                case let .success(value): _result.foo = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "HasOnlyReadOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [List]
-        Decoders.addDecoder(clazz: [List].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[List]> in
-            return Decoders.decode(clazz: [List].self, source: source)
-        }
-
-        // Decoder for List
-        Decoders.addDecoder(clazz: List.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<List> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? List() : instance as! List
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["123-list"] as AnyObject?) {
-                
-                case let .success(value): _result._123list = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "List", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MapTest]
-        Decoders.addDecoder(clazz: [MapTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MapTest]> in
-            return Decoders.decode(clazz: [MapTest].self, source: source)
-        }
-
-        // Decoder for MapTest
-        Decoders.addDecoder(clazz: MapTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MapTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? MapTest() : instance as! MapTest
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_map_of_string"] as AnyObject?) {
-                
-                case let .success(value): _result.mapMapOfString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: MapTest.MapOfEnumString.self, source: sourceDictionary["map_of_enum_string"] as AnyObject?) {
-                /*
-                case let .success(value): _result.mapOfEnumString = value
-                case let .failure(error): break
-                */ default: break //TODO: handle enum map scenario
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MapTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MixedPropertiesAndAdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MixedPropertiesAndAdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for MixedPropertiesAndAdditionalPropertiesClass
-        Decoders.addDecoder(clazz: MixedPropertiesAndAdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MixedPropertiesAndAdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? MixedPropertiesAndAdditionalPropertiesClass() : instance as! MixedPropertiesAndAdditionalPropertiesClass
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String:Animal].self, source: sourceDictionary["map"] as AnyObject?) {
-                
-                case let .success(value): _result.map = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MixedPropertiesAndAdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Model200Response]
-        Decoders.addDecoder(clazz: [Model200Response].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Model200Response]> in
-            return Decoders.decode(clazz: [Model200Response].self, source: source)
-        }
-
-        // Decoder for Model200Response
-        Decoders.addDecoder(clazz: Model200Response.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Model200Response> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Model200Response() : instance as! Model200Response
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["class"] as AnyObject?) {
-                
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Model200Response", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Name]
-        Decoders.addDecoder(clazz: [Name].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Name]> in
-            return Decoders.decode(clazz: [Name].self, source: source)
-        }
-
-        // Decoder for Name
-        Decoders.addDecoder(clazz: Name.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Name> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Name() : instance as! Name
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["snake_case"] as AnyObject?) {
-                
-                case let .success(value): _result.snakeCase = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["property"] as AnyObject?) {
-                
-                case let .success(value): _result.property = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["123Number"] as AnyObject?) {
-                
-                case let .success(value): _result._123number = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Name", actual: "\(source)"))
-            }
-        }
-        // Decoder for [NumberOnly]
-        Decoders.addDecoder(clazz: [NumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[NumberOnly]> in
-            return Decoders.decode(clazz: [NumberOnly].self, source: source)
-        }
-
-        // Decoder for NumberOnly
-        Decoders.addDecoder(clazz: NumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<NumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? NumberOnly() : instance as! NumberOnly
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["JustNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.justNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "NumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Order]
-        Decoders.addDecoder(clazz: [Order].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Order]> in
-            return Decoders.decode(clazz: [Order].self, source: source)
-        }
-
-        // Decoder for Order
-        Decoders.addDecoder(clazz: Order.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Order> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Order() : instance as! Order
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["petId"] as AnyObject?) {
-                
-                case let .success(value): _result.petId = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["quantity"] as AnyObject?) {
-                
-                case let .success(value): _result.quantity = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["shipDate"] as AnyObject?) {
-                
-                case let .success(value): _result.shipDate = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Order.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["complete"] as AnyObject?) {
-                
-                case let .success(value): _result.complete = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Order", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterComposite]
-        Decoders.addDecoder(clazz: [OuterComposite].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterComposite]> in
-            return Decoders.decode(clazz: [OuterComposite].self, source: source)
-        }
-
-        // Decoder for OuterComposite
-        Decoders.addDecoder(clazz: OuterComposite.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterComposite> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? OuterComposite() : instance as! OuterComposite
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["my_number"] as AnyObject?) {
-                
-                case let .success(value): _result.myNumber = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["my_string"] as AnyObject?) {
-                
-                case let .success(value): _result.myString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["my_boolean"] as AnyObject?) {
-                
-                case let .success(value): _result.myBoolean = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "OuterComposite", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterEnum]
-        Decoders.addDecoder(clazz: [OuterEnum].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterEnum]> in
-            return Decoders.decode(clazz: [OuterEnum].self, source: source)
-        }
-
-        // Decoder for OuterEnum
-        Decoders.addDecoder(clazz: OuterEnum.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterEnum> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: OuterEnum.self, source: source, instance: instance)
-        }
-        // Decoder for [Pet]
-        Decoders.addDecoder(clazz: [Pet].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Pet]> in
-            return Decoders.decode(clazz: [Pet].self, source: source)
-        }
-
-        // Decoder for Pet
-        Decoders.addDecoder(clazz: Pet.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Pet> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Pet() : instance as! Pet
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Category.self, source: sourceDictionary["category"] as AnyObject?) {
-                
-                case let .success(value): _result.category = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["photoUrls"] as AnyObject?) {
-                
-                case let .success(value): _result.photoUrls = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [Tag].self, source: sourceDictionary["tags"] as AnyObject?) {
-                
-                case let .success(value): _result.tags = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Pet.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Pet", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ReadOnlyFirst]
-        Decoders.addDecoder(clazz: [ReadOnlyFirst].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ReadOnlyFirst]> in
-            return Decoders.decode(clazz: [ReadOnlyFirst].self, source: source)
-        }
-
-        // Decoder for ReadOnlyFirst
-        Decoders.addDecoder(clazz: ReadOnlyFirst.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ReadOnlyFirst> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ReadOnlyFirst() : instance as! ReadOnlyFirst
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["baz"] as AnyObject?) {
-                
-                case let .success(value): _result.baz = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ReadOnlyFirst", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Return]
-        Decoders.addDecoder(clazz: [Return].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Return]> in
-            return Decoders.decode(clazz: [Return].self, source: source)
-        }
-
-        // Decoder for Return
-        Decoders.addDecoder(clazz: Return.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Return> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Return() : instance as! Return
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["return"] as AnyObject?) {
-                
-                case let .success(value): _result._return = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Return", actual: "\(source)"))
-            }
-        }
-        // Decoder for [SpecialModelName]
-        Decoders.addDecoder(clazz: [SpecialModelName].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[SpecialModelName]> in
-            return Decoders.decode(clazz: [SpecialModelName].self, source: source)
-        }
-
-        // Decoder for SpecialModelName
-        Decoders.addDecoder(clazz: SpecialModelName.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<SpecialModelName> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? SpecialModelName() : instance as! SpecialModelName
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["$special[property.name]"] as AnyObject?) {
-                
-                case let .success(value): _result.specialPropertyName = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "SpecialModelName", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Tag]
-        Decoders.addDecoder(clazz: [Tag].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Tag]> in
-            return Decoders.decode(clazz: [Tag].self, source: source)
-        }
-
-        // Decoder for Tag
-        Decoders.addDecoder(clazz: Tag.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Tag> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Tag() : instance as! Tag
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Tag", actual: "\(source)"))
-            }
-        }
-        // Decoder for [User]
-        Decoders.addDecoder(clazz: [User].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[User]> in
-            return Decoders.decode(clazz: [User].self, source: source)
-        }
-
-        // Decoder for User
-        Decoders.addDecoder(clazz: User.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<User> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? User() : instance as! User
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["username"] as AnyObject?) {
-                
-                case let .success(value): _result.username = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["firstName"] as AnyObject?) {
-                
-                case let .success(value): _result.firstName = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["lastName"] as AnyObject?) {
-                
-                case let .success(value): _result.lastName = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["email"] as AnyObject?) {
-                
-                case let .success(value): _result.email = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["phone"] as AnyObject?) {
-                
-                case let .success(value): _result.phone = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["userStatus"] as AnyObject?) {
-                
-                case let .success(value): _result.userStatus = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "User", actual: "\(source)"))
-            }
-        }
-    }()
-
-    static fileprivate func initialize() {
-        _ = Decoders.__once
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
deleted file mode 100644
index 48724b45a3d..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// AdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class AdditionalPropertiesClass: JSONEncodable {
-
-    public var mapProperty: [String:String]?
-    public var mapOfMapProperty: [String:[String:String]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_property"] = self.mapProperty?.encodeToJSON()
-        nillableDictionary["map_of_map_property"] = self.mapOfMapProperty?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
deleted file mode 100644
index c88f4c243e6..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Animal.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Animal: JSONEncodable {
-
-    public var className: String?
-    public var color: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["className"] = self.className
-        nillableDictionary["color"] = self.color
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
deleted file mode 100644
index e7bea63f8ed..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// AnimalFarm.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public typealias AnimalFarm = [Animal]
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
deleted file mode 100644
index 5e71afe30e2..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// ApiResponse.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ApiResponse: JSONEncodable {
-
-    public var code: Int32?
-    public var type: String?
-    public var message: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["code"] = self.code?.encodeToJSON()
-        nillableDictionary["type"] = self.type
-        nillableDictionary["message"] = self.message
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
deleted file mode 100644
index 117028338c9..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// ArrayOfArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayArrayNumber: [[Double]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayArrayNumber"] = self.arrayArrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
deleted file mode 100644
index 0ef1486af41..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// ArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayNumber: [Double]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayNumber"] = self.arrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
deleted file mode 100644
index 7a6f225b4f1..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// ArrayTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayTest: JSONEncodable {
-
-    public var arrayOfString: [String]?
-    public var arrayArrayOfInteger: [[Int64]]?
-    public var arrayArrayOfModel: [[ReadOnlyFirst]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["array_of_string"] = self.arrayOfString?.encodeToJSON()
-        nillableDictionary["array_array_of_integer"] = self.arrayArrayOfInteger?.encodeToJSON()
-        nillableDictionary["array_array_of_model"] = self.arrayArrayOfModel?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
deleted file mode 100644
index 7576f6e34e9..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Capitalization.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Capitalization: JSONEncodable {
-
-    public var smallCamel: String?
-    public var capitalCamel: String?
-    public var smallSnake: String?
-    public var capitalSnake: String?
-    public var sCAETHFlowPoints: String?
-    /** Name of the pet  */
-    public var ATT_NAME: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["smallCamel"] = self.smallCamel
-        nillableDictionary["CapitalCamel"] = self.capitalCamel
-        nillableDictionary["small_Snake"] = self.smallSnake
-        nillableDictionary["Capital_Snake"] = self.capitalSnake
-        nillableDictionary["SCA_ETH_Flow_Points"] = self.sCAETHFlowPoints
-        nillableDictionary["ATT_NAME"] = self.ATT_NAME
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
deleted file mode 100644
index 176f1d2cdce..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Cat.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Cat: Animal {
-
-    public var declawed: Bool?
-
-    
-
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["declawed"] = self.declawed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Category.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
deleted file mode 100644
index f655cdfbd1b..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Category.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Category: JSONEncodable {
-
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
deleted file mode 100644
index 8bcb3246540..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// ClassModel.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model with \&quot;_class\&quot; property */
-open class ClassModel: JSONEncodable {
-
-    public var _class: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["_class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Client.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
deleted file mode 100644
index 15911001e94..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Client.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Client: JSONEncodable {
-
-    public var client: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["client"] = self.client
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
deleted file mode 100644
index 93fd2df434b..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Dog.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Dog: Animal {
-
-    public var breed: String?
-
-    
-
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["breed"] = self.breed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
deleted file mode 100644
index c2414d1023e..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// EnumArrays.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumArrays: JSONEncodable {
-
-    public enum JustSymbol: String { 
-        case greaterThanOrEqualTo = ">="
-        case dollar = "$"
-    }
-    public enum ArrayEnum: String { 
-        case fish = ""fish""
-        case crab = ""crab""
-    }
-    public var justSymbol: JustSymbol?
-    public var arrayEnum: [ArrayEnum]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["just_symbol"] = self.justSymbol?.rawValue
-        nillableDictionary["array_enum"] = self.arrayEnum?.map({$0.rawValue}).encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
deleted file mode 100644
index 73a74ff53f7..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// EnumClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum EnumClass: String {
-    case abc = "_abc"
-    case efg = "-efg"
-    case xyz = "(xyz)"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
deleted file mode 100644
index 59c0660b900..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// EnumTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumTest: JSONEncodable {
-
-    public enum EnumString: String { 
-        case upper = "UPPER"
-        case lower = "lower"
-        case empty = ""
-    }
-    public enum EnumInteger: Int32 { 
-        case _1 = 1
-        case number1 = -1
-    }
-    public enum EnumNumber: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-    public var enumString: EnumString?
-    public var enumInteger: EnumInteger?
-    public var enumNumber: EnumNumber?
-    public var outerEnum: OuterEnum?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["enum_string"] = self.enumString?.rawValue
-        nillableDictionary["enum_integer"] = self.enumInteger?.rawValue
-        nillableDictionary["enum_number"] = self.enumNumber?.rawValue
-        nillableDictionary["outerEnum"] = self.outerEnum?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
deleted file mode 100644
index 4e1ac026572..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// FormatTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class FormatTest: JSONEncodable {
-
-    public var integer: Int32?
-    public var int32: Int32?
-    public var int64: Int64?
-    public var number: Double?
-    public var float: Float?
-    public var double: Double?
-    public var string: String?
-    public var byte: Data?
-    public var binary: URL?
-    public var date: ISOFullDate?
-    public var dateTime: Date?
-    public var uuid: UUID?
-    public var password: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["integer"] = self.integer?.encodeToJSON()
-        nillableDictionary["int32"] = self.int32?.encodeToJSON()
-        nillableDictionary["int64"] = self.int64?.encodeToJSON()
-        nillableDictionary["number"] = self.number
-        nillableDictionary["float"] = self.float
-        nillableDictionary["double"] = self.double
-        nillableDictionary["string"] = self.string
-        nillableDictionary["byte"] = self.byte?.encodeToJSON()
-        nillableDictionary["binary"] = self.binary?.encodeToJSON()
-        nillableDictionary["date"] = self.date?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["password"] = self.password
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
deleted file mode 100644
index 8b30c111dea..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// HasOnlyReadOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class HasOnlyReadOnly: JSONEncodable {
-
-    public var bar: String?
-    public var foo: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["foo"] = self.foo
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/List.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/List.swift
deleted file mode 100644
index 2336d92501a..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/List.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// List.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class List: JSONEncodable {
-
-    public var _123list: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["123-list"] = self._123list
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
deleted file mode 100644
index 7b6af62b057..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// MapTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MapTest: JSONEncodable {
-
-    public enum MapOfEnumString: String { 
-        case upper = ""UPPER""
-        case lower = ""lower""
-    }
-    public var mapMapOfString: [String:[String:String]]?
-    public var mapOfEnumString: [String:String]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_map_of_string"] = self.mapMapOfString?.encodeToJSON()//TODO: handle enum map scenario
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
deleted file mode 100644
index 451a2275252..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// MixedPropertiesAndAdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MixedPropertiesAndAdditionalPropertiesClass: JSONEncodable {
-
-    public var uuid: UUID?
-    public var dateTime: Date?
-    public var map: [String:Animal]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["map"] = self.map?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
deleted file mode 100644
index 4e5fe497d0e..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// Model200Response.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name starting with number */
-open class Model200Response: JSONEncodable {
-
-    public var name: Int32?
-    public var _class: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Name.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
deleted file mode 100644
index 56b9a73d3f5..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Name.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name same as property name */
-open class Name: JSONEncodable {
-
-    public var name: Int32?
-    public var snakeCase: Int32?
-    public var property: String?
-    public var _123number: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["snake_case"] = self.snakeCase?.encodeToJSON()
-        nillableDictionary["property"] = self.property
-        nillableDictionary["123Number"] = self._123number?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
deleted file mode 100644
index bbcf6dc330c..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// NumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class NumberOnly: JSONEncodable {
-
-    public var justNumber: Double?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["JustNumber"] = self.justNumber
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
deleted file mode 100644
index 53615e31d18..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Order.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Order: JSONEncodable {
-
-    public enum Status: String { 
-        case placed = "placed"
-        case approved = "approved"
-        case delivered = "delivered"
-    }
-    public var id: Int64?
-    public var petId: Int64?
-    public var quantity: Int32?
-    public var shipDate: Date?
-    /** Order Status */
-    public var status: Status?
-    public var complete: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["petId"] = self.petId?.encodeToJSON()
-        nillableDictionary["quantity"] = self.quantity?.encodeToJSON()
-        nillableDictionary["shipDate"] = self.shipDate?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        nillableDictionary["complete"] = self.complete
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
deleted file mode 100644
index b346eb47e5f..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// OuterComposite.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class OuterComposite: JSONEncodable {
-
-    public var myNumber: Double?
-    public var myString: String?
-    public var myBoolean: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["my_number"] = self.myNumber
-        nillableDictionary["my_string"] = self.myString
-        nillableDictionary["my_boolean"] = self.myBoolean
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
deleted file mode 100644
index 29609ed6517..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// OuterEnum.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum OuterEnum: String {
-    case placed = "placed"
-    case approved = "approved"
-    case delivered = "delivered"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
deleted file mode 100644
index 51785677759..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Pet.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Pet: JSONEncodable {
-
-    public enum Status: String { 
-        case available = "available"
-        case pending = "pending"
-        case sold = "sold"
-    }
-    public var id: Int64?
-    public var category: Category?
-    public var name: String?
-    public var photoUrls: [String]?
-    public var tags: [Tag]?
-    /** pet status in the store */
-    public var status: Status?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["category"] = self.category?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        nillableDictionary["photoUrls"] = self.photoUrls?.encodeToJSON()
-        nillableDictionary["tags"] = self.tags?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
deleted file mode 100644
index 2f169a93509..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// ReadOnlyFirst.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ReadOnlyFirst: JSONEncodable {
-
-    public var bar: String?
-    public var baz: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["baz"] = self.baz
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Return.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
deleted file mode 100644
index ceac4d7366b..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// Return.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing reserved words */
-open class Return: JSONEncodable {
-
-    public var _return: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["return"] = self._return?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
deleted file mode 100644
index 5c6dc68f54a..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// SpecialModelName.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class SpecialModelName: JSONEncodable {
-
-    public var specialPropertyName: Int64?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["$special[property.name]"] = self.specialPropertyName?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
deleted file mode 100644
index aacc34cb98f..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Tag.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Tag: JSONEncodable {
-
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/User.swift b/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/User.swift
deleted file mode 100644
index a60b91ea67c..00000000000
--- a/samples/client/petstore/swift3/promisekit/PetstoreClient/Classes/OpenAPIs/Models/User.swift
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// User.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class User: JSONEncodable {
-
-    public var id: Int64?
-    public var username: String?
-    public var firstName: String?
-    public var lastName: String?
-    public var email: String?
-    public var password: String?
-    public var phone: String?
-    /** User Status */
-    public var userStatus: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["username"] = self.username
-        nillableDictionary["firstName"] = self.firstName
-        nillableDictionary["lastName"] = self.lastName
-        nillableDictionary["email"] = self.email
-        nillableDictionary["password"] = self.password
-        nillableDictionary["phone"] = self.phone
-        nillableDictionary["userStatus"] = self.userStatus?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Podfile b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Podfile
deleted file mode 100644
index 5556eaf2344..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Podfile
+++ /dev/null
@@ -1,18 +0,0 @@
-use_frameworks!
-source 'https://github.com/CocoaPods/Specs.git'
-
-target 'SwaggerClient' do
-    pod "PetstoreClient", :path => "../"
-
-    target 'SwaggerClientTests' do
-        inherit! :search_paths
-    end
-end
-
-post_install do |installer|
-    installer.pods_project.targets.each do |target|
-        target.build_configurations.each do |configuration|
-            configuration.build_settings['SWIFT_VERSION'] = "3.0"
-        end
-    end
-end
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Podfile.lock b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Podfile.lock
deleted file mode 100644
index 5f69a517d4b..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Podfile.lock
+++ /dev/null
@@ -1,27 +0,0 @@
-PODS:
-  - Alamofire (4.5.0)
-  - PetstoreClient (0.0.1):
-    - Alamofire (~> 4.5.0)
-    - PromiseKit/CorePromise (~> 4.4.0)
-  - PromiseKit/CorePromise (4.4.0)
-
-DEPENDENCIES:
-  - PetstoreClient (from `../`)
-
-SPEC REPOS:
-  https://github.com/cocoapods/specs.git:
-    - Alamofire
-    - PromiseKit
-
-EXTERNAL SOURCES:
-  PetstoreClient:
-    :path: "../"
-
-SPEC CHECKSUMS:
-  Alamofire: f28cdffd29de33a7bfa022cbd63ae95a27fae140
-  PetstoreClient: b5876a16a88cce6a4fc71443a62f9892171b48e2
-  PromiseKit: ecf5fe92275d57ee77c9ede858af47a162e9b97e
-
-PODFILE CHECKSUM: da9f5a7ad6086f2c7abb73cf2c35cefce04a9a30
-
-COCOAPODS: 1.5.3
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/LICENSE b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/LICENSE
deleted file mode 100644
index 4cfbf72a4d8..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/README.md b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/README.md
deleted file mode 100644
index e1966fdca00..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/README.md
+++ /dev/null
@@ -1,1857 +0,0 @@
-![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/assets/alamofire.png)
-
-[![Build Status](https://travis-ci.org/Alamofire/Alamofire.svg?branch=master)](https://travis-ci.org/Alamofire/Alamofire)
-[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg)](https://img.shields.io/cocoapods/v/Alamofire.svg)
-[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
-[![Platform](https://img.shields.io/cocoapods/p/Alamofire.svg?style=flat)](http://cocoadocs.org/docsets/Alamofire)
-[![Twitter](https://img.shields.io/badge/twitter-@AlamofireSF-blue.svg?style=flat)](http://twitter.com/AlamofireSF)
-[![Gitter](https://badges.gitter.im/Alamofire/Alamofire.svg)](https://gitter.im/Alamofire/Alamofire?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
-
-Alamofire is an HTTP networking library written in Swift.
-
-- [Features](#features)
-- [Component Libraries](#component-libraries)
-- [Requirements](#requirements)
-- [Migration Guides](#migration-guides)
-- [Communication](#communication)
-- [Installation](#installation)
-- [Usage](#usage)
-    - **Intro -** [Making a Request](#making-a-request), [Response Handling](#response-handling), [Response Validation](#response-validation), [Response Caching](#response-caching)
-	- **HTTP -** [HTTP Methods](#http-methods), [Parameter Encoding](#parameter-encoding), [HTTP Headers](#http-headers), [Authentication](#authentication)
-	- **Large Data -** [Downloading Data to a File](#downloading-data-to-a-file), [Uploading Data to a Server](#uploading-data-to-a-server)
-	- **Tools -** [Statistical Metrics](#statistical-metrics), [cURL Command Output](#curl-command-output)
-- [Advanced Usage](#advanced-usage)
-	- **URL Session -** [Session Manager](#session-manager), [Session Delegate](#session-delegate), [Request](#request)
-	- **Routing -** [Routing Requests](#routing-requests), [Adapting and Retrying Requests](#adapting-and-retrying-requests)
-	- **Model Objects -** [Custom Response Serialization](#custom-response-serialization)
-	- **Connection -** [Security](#security), [Network Reachability](#network-reachability)
-- [Open Radars](#open-radars)
-- [FAQ](#faq)
-- [Credits](#credits)
-- [Donations](#donations)
-- [License](#license)
-
-## Features
-
-- [x] Chainable Request / Response Methods
-- [x] URL / JSON / plist Parameter Encoding
-- [x] Upload File / Data / Stream / MultipartFormData
-- [x] Download File using Request or Resume Data
-- [x] Authentication with URLCredential
-- [x] HTTP Response Validation
-- [x] Upload and Download Progress Closures with Progress
-- [x] cURL Command Output
-- [x] Dynamically Adapt and Retry Requests
-- [x] TLS Certificate and Public Key Pinning
-- [x] Network Reachability
-- [x] Comprehensive Unit and Integration Test Coverage
-- [x] [Complete Documentation](http://cocoadocs.org/docsets/Alamofire)
-
-## Component Libraries
-
-In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) to bring additional functionality to the Alamofire ecosystem.
-
-- [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache and a priority-based image downloading system.
-- [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator) - Controls the visibility of the network activity indicator on iOS using Alamofire. It contains configurable delay timers to help mitigate flicker and can support `URLSession` instances not managed by Alamofire.
-
-## Requirements
-
-- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
-- Xcode 8.1, 8.2, 8.3, and 9.0
-- Swift 3.0, 3.1, 3.2, and 4.0
-
-## Migration Guides
-
-- [Alamofire 4.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%204.0%20Migration%20Guide.md)
-- [Alamofire 3.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%203.0%20Migration%20Guide.md)
-- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md)
-
-## Communication
-
-- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). (Tag 'alamofire')
-- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire).
-- If you **found a bug**, open an issue.
-- If you **have a feature request**, open an issue.
-- If you **want to contribute**, submit a pull request.
-
-## Installation
-
-### CocoaPods
-
-[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
-
-```bash
-$ gem install cocoapods
-```
-
-> CocoaPods 1.1.0+ is required to build Alamofire 4.0.0+.
-
-To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`:
-
-```ruby
-source 'https://github.com/CocoaPods/Specs.git'
-platform :ios, '10.0'
-use_frameworks!
-
-target '<Your Target Name>' do
-    pod 'Alamofire', '~> 4.4'
-end
-```
-
-Then, run the following command:
-
-```bash
-$ pod install
-```
-
-### Carthage
-
-[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
-
-You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
-
-```bash
-$ brew update
-$ brew install carthage
-```
-
-To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
-
-```ogdl
-github "Alamofire/Alamofire" ~> 4.4
-```
-
-Run `carthage update` to build the framework and drag the built `Alamofire.framework` into your Xcode project.
-
-### Swift Package Manager
-
-The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but Alamofire does support its use on supported platforms. 
-
-Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
-
-```swift
-dependencies: [
-    .Package(url: "https://github.com/Alamofire/Alamofire.git", majorVersion: 4)
-]
-```
-
-### Manually
-
-If you prefer not to use any of the aforementioned dependency managers, you can integrate Alamofire into your project manually.
-
-#### Embedded Framework
-
-- Open up Terminal, `cd` into your top-level project directory, and run the following command "if" your project is not initialized as a git repository:
-
-  ```bash
-  $ git init
-  ```
-
-- Add Alamofire as a git [submodule](http://git-scm.com/docs/git-submodule) by running the following command:
-
-  ```bash
-  $ git submodule add https://github.com/Alamofire/Alamofire.git
-  ```
-
-- Open the new `Alamofire` folder, and drag the `Alamofire.xcodeproj` into the Project Navigator of your application's Xcode project.
-
-    > It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.
-
-- Select the `Alamofire.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target.
-- Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
-- In the tab bar at the top of that window, open the "General" panel.
-- Click on the `+` button under the "Embedded Binaries" section.
-- You will see two different `Alamofire.xcodeproj` folders each with two different versions of the `Alamofire.framework` nested inside a `Products` folder.
-
-    > It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Alamofire.framework`.
-
-- Select the top `Alamofire.framework` for iOS and the bottom one for OS X.
-
-    > You can verify which one you selected by inspecting the build log for your project. The build target for `Alamofire` will be listed as either `Alamofire iOS`, `Alamofire macOS`, `Alamofire tvOS` or `Alamofire watchOS`.
-
-- And that's it!
-
-  > The `Alamofire.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
-
----
-
-## Usage
-
-### Making a Request
-
-```swift
-import Alamofire
-
-Alamofire.request("https://httpbin.org/get")
-```
-
-### Response Handling
-
-Handling the `Response` of a `Request` made in Alamofire involves chaining a response handler onto the `Request`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print("Request: \(String(describing: response.request))")   // original url request
-    print("Response: \(String(describing: response.response))") // http url response
-    print("Result: \(response.result)")                         // response serialization result
-
-    if let json = response.result.value {
-        print("JSON: \(json)") // serialized json response
-    }
-
-    if let data = response.data, let utf8Text = String(data: data, encoding: .utf8) {
-        print("Data: \(utf8Text)") // original server data as UTF8 string
-    }
-}
-```
-
-In the above example, the `responseJSON` handler is appended to the `Request` to be executed once the `Request` is complete. Rather than blocking execution to wait for a response from the server, a [callback](http://en.wikipedia.org/wiki/Callback_%28computer_programming%29) in the form of a closure is specified to handle the response once it's received. The result of a request is only available inside the scope of a response closure. Any execution contingent on the response or data received from the server must be done within a response closure.
-
-> Networking in Alamofire is done _asynchronously_. Asynchronous programming may be a source of frustration to programmers unfamiliar with the concept, but there are [very good reasons](https://developer.apple.com/library/ios/qa/qa1693/_index.html) for doing it this way.
-
-Alamofire contains five different response handlers by default including:
-
-```swift
-// Response Handler - Unserialized Response
-func response(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DefaultDataResponse) -> Void)
-    -> Self
-
-// Response Data Handler - Serialized into Data
-func responseData(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Data>) -> Void)
-    -> Self
-
-// Response String Handler - Serialized into String
-func responseString(
-    queue: DispatchQueue?,
-    encoding: String.Encoding?,
-    completionHandler: @escaping (DataResponse<String>) -> Void)
-    -> Self
-
-// Response JSON Handler - Serialized into Any
-func responseJSON(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Any>) -> Void)
-    -> Self
-
-// Response PropertyList (plist) Handler - Serialized into Any
-func responsePropertyList(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Any>) -> Void))
-    -> Self
-```
-
-None of the response handlers perform any validation of the `HTTPURLResponse` it gets back from the server.
-
-> For example, response status codes in the `400..<500` and `500..<600` ranges do NOT automatically trigger an `Error`. Alamofire uses [Response Validation](#response-validation) method chaining to achieve this.
-
-#### Response Handler
-
-The `response` handler does NOT evaluate any of the response data. It merely forwards on all information directly from the URL session delegate. It is the Alamofire equivalent of using `cURL` to execute a `Request`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").response { response in
-    print("Request: \(response.request)")
-    print("Response: \(response.response)")
-    print("Error: \(response.error)")
-
-    if let data = response.data, let utf8Text = String(data: data, encoding: .utf8) {
-    	print("Data: \(utf8Text)")
-    }
-}
-```
-
-> We strongly encourage you to leverage the other response serializers taking advantage of `Response` and `Result` types.
-
-#### Response Data Handler
-
-The `responseData` handler uses the `responseDataSerializer` (the object that serializes the server data into some other type) to extract the `Data` returned by the server. If no errors occur and `Data` is returned, the response `Result` will be a `.success` and the `value` will be of type `Data`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseData { response in
-    debugPrint("All Response Info: \(response)")
-
-    if let data = response.result.value, let utf8Text = String(data: data, encoding: .utf8) {
-    	print("Data: \(utf8Text)")
-    }
-}
-```
-
-#### Response String Handler
-
-The `responseString` handler uses the `responseStringSerializer` to convert the `Data` returned by the server into a `String` with the specified encoding. If no errors occur and the server data is successfully serialized into a `String`, the response `Result` will be a `.success` and the `value` will be of type `String`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseString { response in
-    print("Success: \(response.result.isSuccess)")
-    print("Response String: \(response.result.value)")
-}
-```
-
-> If no encoding is specified, Alamofire will use the text encoding specified in the `HTTPURLResponse` from the server. If the text encoding cannot be determined by the server response, it defaults to `.isoLatin1`.
-
-#### Response JSON Handler
-
-The `responseJSON` handler uses the `responseJSONSerializer` to convert the `Data` returned by the server into an `Any` type using the specified `JSONSerialization.ReadingOptions`. If no errors occur and the server data is successfully serialized into a JSON object, the response `Result` will be a `.success` and the `value` will be of type `Any`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    debugPrint(response)
-
-    if let json = response.result.value {
-        print("JSON: \(json)")
-    }
-}
-```
-
-> All JSON serialization is handled by the `JSONSerialization` API in the `Foundation` framework.
-
-#### Chained Response Handlers
-
-Response handlers can even be chained:
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-    .responseString { response in
-        print("Response String: \(response.result.value)")
-    }
-    .responseJSON { response in
-        print("Response JSON: \(response.result.value)")
-    }
-```
-
-> It is important to note that using multiple response handlers on the same `Request` requires the server data to be serialized multiple times. Once for each response handler.
-
-#### Response Handler Queue
-
-Response handlers by default are executed on the main dispatch queue. However, a custom dispatch queue can be provided instead.
-
-```swift
-let utilityQueue = DispatchQueue.global(qos: .utility)
-
-Alamofire.request("https://httpbin.org/get").responseJSON(queue: utilityQueue) { response in
-    print("Executing response handler on utility queue")
-}
-```
-
-### Response Validation
-
-By default, Alamofire treats any completed request to be successful, regardless of the content of the response. Calling `validate` before a response handler causes an error to be generated if the response had an unacceptable status code or MIME type.
-
-#### Manual Validation
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-    .validate(statusCode: 200..<300)
-    .validate(contentType: ["application/json"])
-    .responseData { response in
-        switch response.result {
-        case .success:
-            print("Validation Successful")
-        case .failure(let error):
-            print(error)
-        }
-    }
-```
-
-#### Automatic Validation
-
-Automatically validates status code within `200..<300` range, and that the `Content-Type` header of the response matches the `Accept` header of the request, if one is provided.
-
-```swift
-Alamofire.request("https://httpbin.org/get").validate().responseJSON { response in
-    switch response.result {
-    case .success:
-        print("Validation Successful")
-    case .failure(let error):
-        print(error)
-    }
-}
-```
-
-### Response Caching
-
-Response Caching is handled on the system framework level by [`URLCache`](https://developer.apple.com/reference/foundation/urlcache). It provides a composite in-memory and on-disk cache and lets you manipulate the sizes of both the in-memory and on-disk portions.
-
-> By default, Alamofire leverages the shared `URLCache`. In order to customize it, see the [Session Manager Configurations](#session-manager) section.
-
-### HTTP Methods
-
-The `HTTPMethod` enumeration lists the HTTP methods defined in [RFC 7231 §4.3](http://tools.ietf.org/html/rfc7231#section-4.3):
-
-```swift
-public enum HTTPMethod: String {
-    case options = "OPTIONS"
-    case get     = "GET"
-    case head    = "HEAD"
-    case post    = "POST"
-    case put     = "PUT"
-    case patch   = "PATCH"
-    case delete  = "DELETE"
-    case trace   = "TRACE"
-    case connect = "CONNECT"
-}
-```
-
-These values can be passed as the `method` argument to the `Alamofire.request` API:
-
-```swift
-Alamofire.request("https://httpbin.org/get") // method defaults to `.get`
-
-Alamofire.request("https://httpbin.org/post", method: .post)
-Alamofire.request("https://httpbin.org/put", method: .put)
-Alamofire.request("https://httpbin.org/delete", method: .delete)
-```
-
-> The `Alamofire.request` method parameter defaults to `.get`.
-
-### Parameter Encoding
-
-Alamofire supports three types of parameter encoding including: `URL`, `JSON` and `PropertyList`. It can also support any custom encoding that conforms to the `ParameterEncoding` protocol.
-
-#### URL Encoding
-
-The `URLEncoding` type creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP body of the URL request. Whether the query string is set or appended to any existing URL query string or set as the HTTP body depends on the `Destination` of the encoding. The `Destination` enumeration has three cases:
-
-- `.methodDependent` - Applies encoded query string result to existing query string for `GET`, `HEAD` and `DELETE` requests and sets as the HTTP body for requests with any other HTTP method.
-- `.queryString` - Sets or appends encoded query string result to existing query string.
-- `.httpBody` - Sets encoded query string result as the HTTP body of the URL request.
-
-The `Content-Type` HTTP header field of an encoded request with HTTP body is set to `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode collection types, the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`).
-
-##### GET Request With URL-Encoded Parameters
-
-```swift
-let parameters: Parameters = ["foo": "bar"]
-
-// All three of these calls are equivalent
-Alamofire.request("https://httpbin.org/get", parameters: parameters) // encoding defaults to `URLEncoding.default`
-Alamofire.request("https://httpbin.org/get", parameters: parameters, encoding: URLEncoding.default)
-Alamofire.request("https://httpbin.org/get", parameters: parameters, encoding: URLEncoding(destination: .methodDependent))
-
-// https://httpbin.org/get?foo=bar
-```
-
-##### POST Request With URL-Encoded Parameters
-
-```swift
-let parameters: Parameters = [
-    "foo": "bar",
-    "baz": ["a", 1],
-    "qux": [
-        "x": 1,
-        "y": 2,
-        "z": 3
-    ]
-]
-
-// All three of these calls are equivalent
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: URLEncoding.default)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: URLEncoding.httpBody)
-
-// HTTP body: foo=bar&baz[]=a&baz[]=1&qux[x]=1&qux[y]=2&qux[z]=3
-```
-
-#### JSON Encoding
-
-The `JSONEncoding` type creates a JSON representation of the parameters object, which is set as the HTTP body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`.
-
-##### POST Request with JSON-Encoded Parameters
-
-```swift
-let parameters: Parameters = [
-    "foo": [1,2,3],
-    "bar": [
-        "baz": "qux"
-    ]
-]
-
-// Both calls are equivalent
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: JSONEncoding.default)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: JSONEncoding(options: []))
-
-// HTTP body: {"foo": [1, 2, 3], "bar": {"baz": "qux"}}
-```
-
-#### Property List Encoding
-
-The `PropertyListEncoding` uses `PropertyListSerialization` to create a plist representation of the parameters object, according to the associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/x-plist`.
-
-#### Custom Encoding
-
-In the event that the provided `ParameterEncoding` types do not meet your needs, you can create your own custom encoding. Here's a quick example of how you could build a custom `JSONStringArrayEncoding` type to encode a JSON string array onto a `Request`.
-
-```swift
-struct JSONStringArrayEncoding: ParameterEncoding {
-	private let array: [String]
-
-    init(array: [String]) {
-        self.array = array
-    }
-
-    func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        let data = try JSONSerialization.data(withJSONObject: array, options: [])
-
-        if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-            urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-        }
-
-        urlRequest.httpBody = data
-
-        return urlRequest
-    }
-}
-```
-
-#### Manual Parameter Encoding of a URLRequest
-
-The `ParameterEncoding` APIs can be used outside of making network requests.
-
-```swift
-let url = URL(string: "https://httpbin.org/get")!
-var urlRequest = URLRequest(url: url)
-
-let parameters: Parameters = ["foo": "bar"]
-let encodedURLRequest = try URLEncoding.queryString.encode(urlRequest, with: parameters)
-```
-
-### HTTP Headers
-
-Adding a custom HTTP header to a `Request` is supported directly in the global `request` method. This makes it easy to attach HTTP headers to a `Request` that can be constantly changing.
-
-```swift
-let headers: HTTPHeaders = [
-    "Authorization": "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==",
-    "Accept": "application/json"
-]
-
-Alamofire.request("https://httpbin.org/headers", headers: headers).responseJSON { response in
-    debugPrint(response)
-}
-```
-
-> For HTTP headers that do not change, it is recommended to set them on the `URLSessionConfiguration` so they are automatically applied to any `URLSessionTask` created by the underlying `URLSession`. For more information, see the [Session Manager Configurations](#session-manager) section.
-
-The default Alamofire `SessionManager` provides a default set of headers for every `Request`. These include:
-
-- `Accept-Encoding`, which defaults to `gzip;q=1.0, compress;q=0.5`, per [RFC 7230 §4.2.3](https://tools.ietf.org/html/rfc7230#section-4.2.3).
-- `Accept-Language`, which defaults to up to the top 6 preferred languages on the system, formatted like `en;q=1.0`, per [RFC 7231 §5.3.5](https://tools.ietf.org/html/rfc7231#section-5.3.5).
-- `User-Agent`, which contains versioning information about the current app. For example: `iOS Example/1.0 (com.alamofire.iOS-Example; build:1; iOS 10.0.0) Alamofire/4.0.0`, per [RFC 7231 §5.5.3](https://tools.ietf.org/html/rfc7231#section-5.5.3).
-
-If you need to customize these headers, a custom `URLSessionConfiguration` should be created, the `defaultHTTPHeaders` property updated and the configuration applied to a new `SessionManager` instance.
-
-### Authentication
-
-Authentication is handled on the system framework level by [`URLCredential`](https://developer.apple.com/reference/foundation/nsurlcredential) and [`URLAuthenticationChallenge`](https://developer.apple.com/reference/foundation/urlauthenticationchallenge).
-
-**Supported Authentication Schemes**
-
-- [HTTP Basic](http://en.wikipedia.org/wiki/Basic_access_authentication)
-- [HTTP Digest](http://en.wikipedia.org/wiki/Digest_access_authentication)
-- [Kerberos](http://en.wikipedia.org/wiki/Kerberos_%28protocol%29)
-- [NTLM](http://en.wikipedia.org/wiki/NT_LAN_Manager)
-
-#### HTTP Basic Authentication
-
-The `authenticate` method on a `Request` will automatically provide a `URLCredential` to a `URLAuthenticationChallenge` when appropriate:
-
-```swift
-let user = "user"
-let password = "password"
-
-Alamofire.request("https://httpbin.org/basic-auth/\(user)/\(password)")
-    .authenticate(user: user, password: password)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-Depending upon your server implementation, an `Authorization` header may also be appropriate:
-
-```swift
-let user = "user"
-let password = "password"
-
-var headers: HTTPHeaders = [:]
-
-if let authorizationHeader = Request.authorizationHeader(user: user, password: password) {
-    headers[authorizationHeader.key] = authorizationHeader.value
-}
-
-Alamofire.request("https://httpbin.org/basic-auth/user/password", headers: headers)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-#### Authentication with URLCredential
-
-```swift
-let user = "user"
-let password = "password"
-
-let credential = URLCredential(user: user, password: password, persistence: .forSession)
-
-Alamofire.request("https://httpbin.org/basic-auth/\(user)/\(password)")
-    .authenticate(usingCredential: credential)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-> It is important to note that when using a `URLCredential` for authentication, the underlying `URLSession` will actually end up making two requests if a challenge is issued by the server. The first request will not include the credential which "may" trigger a challenge from the server. The challenge is then received by Alamofire, the credential is appended and the request is retried by the underlying `URLSession`.
-
-### Downloading Data to a File
-
-Requests made in Alamofire that fetch data from a server can download the data in-memory or on-disk. The `Alamofire.request` APIs used in all the examples so far always downloads the server data in-memory. This is great for smaller payloads because it's more efficient, but really bad for larger payloads because the download could run your entire application out-of-memory. Because of this, you can also use the `Alamofire.download` APIs to download the server data to a temporary file on-disk.
-
-> This will only work on `macOS` as is. Other platforms don't allow access to the filesystem outside of your app's sandbox. To download files on other platforms, see the [Download File Destination](#download-file-destination) section.
-
-```swift
-Alamofire.download("https://httpbin.org/image/png").responseData { response in
-    if let data = response.result.value {
-        let image = UIImage(data: data)
-    }
-}
-```
-
-> The `Alamofire.download` APIs should also be used if you need to download data while your app is in the background. For more information, please see the [Session Manager Configurations](#session-manager) section.
-
-#### Download File Destination
-
-You can also provide a `DownloadFileDestination` closure to move the file from the temporary directory to a final destination. Before the temporary file is actually moved to the `destinationURL`, the `DownloadOptions` specified in the closure will be executed. The two currently supported `DownloadOptions` are:
-
-- `.createIntermediateDirectories` - Creates intermediate directories for the destination URL if specified.
-- `.removePreviousFile` - Removes a previous file from the destination URL if specified.
-
-```swift
-let destination: DownloadRequest.DownloadFileDestination = { _, _ in
-    let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
-    let fileURL = documentsURL.appendingPathComponent("pig.png")
-
-    return (fileURL, [.removePreviousFile, .createIntermediateDirectories])
-}
-
-Alamofire.download(urlString, to: destination).response { response in
-    print(response)
-
-    if response.error == nil, let imagePath = response.destinationURL?.path {
-        let image = UIImage(contentsOfFile: imagePath)
-    }
-}
-```
-
-You can also use the suggested download destination API.
-
-```swift
-let destination = DownloadRequest.suggestedDownloadDestination(for: .documentDirectory)
-Alamofire.download("https://httpbin.org/image/png", to: destination)
-```
-
-#### Download Progress
-
-Many times it can be helpful to report download progress to the user. Any `DownloadRequest` can report download progress using the `downloadProgress` API.
-
-```swift
-Alamofire.download("https://httpbin.org/image/png")
-    .downloadProgress { progress in
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseData { response in
-        if let data = response.result.value {
-            let image = UIImage(data: data)
-        }
-    }
-```
-
-The `downloadProgress` API also takes a `queue` parameter which defines which `DispatchQueue` the download progress closure should be called on.
-
-```swift
-let utilityQueue = DispatchQueue.global(qos: .utility)
-
-Alamofire.download("https://httpbin.org/image/png")
-    .downloadProgress(queue: utilityQueue) { progress in
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseData { response in
-        if let data = response.result.value {
-            let image = UIImage(data: data)
-        }
-    }
-```
-
-#### Resuming a Download
-
-If a `DownloadRequest` is cancelled or interrupted, the underlying URL session may generate resume data for the active `DownloadRequest`. If this happens, the resume data can be re-used to restart the `DownloadRequest` where it left off. The resume data can be accessed through the download response, then reused when trying to restart the request.
-
-> **IMPORTANT:** On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the data is written incorrectly and will always fail to resume the download. For more information about the bug and possible workarounds, please see this Stack Overflow [post](http://stackoverflow.com/a/39347461/1342462).
-
-```swift
-class ImageRequestor {
-    private var resumeData: Data?
-    private var image: UIImage?
-
-    func fetchImage(completion: (UIImage?) -> Void) {
-        guard image == nil else { completion(image) ; return }
-
-        let destination: DownloadRequest.DownloadFileDestination = { _, _ in
-            let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
-            let fileURL = documentsURL.appendingPathComponent("pig.png")
-
-            return (fileURL, [.removePreviousFile, .createIntermediateDirectories])
-        }
-
-        let request: DownloadRequest
-
-        if let resumeData = resumeData {
-            request = Alamofire.download(resumingWith: resumeData)
-        } else {
-            request = Alamofire.download("https://httpbin.org/image/png")
-        }
-
-        request.responseData { response in
-            switch response.result {
-            case .success(let data):
-                self.image = UIImage(data: data)
-            case .failure:
-                self.resumeData = response.resumeData
-            }
-        }
-    }
-}
-```
-
-### Uploading Data to a Server
-
-When sending relatively small amounts of data to a server using JSON or URL encoded parameters, the `Alamofire.request` APIs are usually sufficient. If you need to send much larger amounts of data from a file URL or an `InputStream`, then the `Alamofire.upload` APIs are what you want to use.
-
-> The `Alamofire.upload` APIs should also be used if you need to upload data while your app is in the background. For more information, please see the [Session Manager Configurations](#session-manager) section.
-
-#### Uploading Data
-
-```swift
-let imageData = UIPNGRepresentation(image)!
-
-Alamofire.upload(imageData, to: "https://httpbin.org/post").responseJSON { response in
-    debugPrint(response)
-}
-```
-
-#### Uploading a File
-
-```swift
-let fileURL = Bundle.main.url(forResource: "video", withExtension: "mov")
-
-Alamofire.upload(fileURL, to: "https://httpbin.org/post").responseJSON { response in
-    debugPrint(response)
-}
-```
-
-#### Uploading Multipart Form Data
-
-```swift
-Alamofire.upload(
-    multipartFormData: { multipartFormData in
-        multipartFormData.append(unicornImageURL, withName: "unicorn")
-        multipartFormData.append(rainbowImageURL, withName: "rainbow")
-    },
-    to: "https://httpbin.org/post",
-    encodingCompletion: { encodingResult in
-    	switch encodingResult {
-    	case .success(let upload, _, _):
-            upload.responseJSON { response in
-                debugPrint(response)
-            }
-    	case .failure(let encodingError):
-    	    print(encodingError)
-    	}
-    }
-)
-```
-
-#### Upload Progress
-
-While your user is waiting for their upload to complete, sometimes it can be handy to show the progress of the upload to the user. Any `UploadRequest` can report both upload progress and download progress of the response data using the `uploadProgress` and `downloadProgress` APIs.
-
-```swift
-let fileURL = Bundle.main.url(forResource: "video", withExtension: "mov")
-
-Alamofire.upload(fileURL, to: "https://httpbin.org/post")
-    .uploadProgress { progress in // main queue by default
-        print("Upload Progress: \(progress.fractionCompleted)")
-    }
-    .downloadProgress { progress in // main queue by default
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-### Statistical Metrics
-
-#### Timeline
-
-Alamofire collects timings throughout the lifecycle of a `Request` and creates a `Timeline` object exposed as a property on all response types.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print(response.timeline)
-}
-```
-
-The above reports the following `Timeline` info:
-
-- `Latency`: 0.428 seconds
-- `Request Duration`: 0.428 seconds
-- `Serialization Duration`: 0.001 seconds
-- `Total Duration`: 0.429 seconds
-
-#### URL Session Task Metrics
-
-In iOS and tvOS 10 and macOS 10.12, Apple introduced the new [URLSessionTaskMetrics](https://developer.apple.com/reference/foundation/urlsessiontaskmetrics) APIs. The task metrics encapsulate some fantastic statistical information about the request and response execution. The API is very similar to the `Timeline`, but provides many more statistics that Alamofire doesn't have access to compute. The metrics can be accessed through any response type.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print(response.metrics)
-}
-```
-
-It's important to note that these APIs are only available on iOS and tvOS 10 and macOS 10.12. Therefore, depending on your deployment target, you may need to use these inside availability checks:
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    if #available(iOS 10.0, *) {
-        print(response.metrics)
-    }
-}
-```
-
-### cURL Command Output
-
-Debugging platform issues can be frustrating. Thankfully, Alamofire `Request` objects conform to both the `CustomStringConvertible` and `CustomDebugStringConvertible` protocols to provide some VERY helpful debugging tools.
-
-#### CustomStringConvertible
-
-```swift
-let request = Alamofire.request("https://httpbin.org/ip")
-
-print(request)
-// GET https://httpbin.org/ip (200)
-```
-
-#### CustomDebugStringConvertible
-
-```swift
-let request = Alamofire.request("https://httpbin.org/get", parameters: ["foo": "bar"])
-debugPrint(request)
-```
-
-Outputs:
-
-```bash
-$ curl -i \
-    -H "User-Agent: Alamofire/4.0.0" \
-    -H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \
-    -H "Accept-Language: en;q=1.0,fr;q=0.9,de;q=0.8,zh-Hans;q=0.7,zh-Hant;q=0.6,ja;q=0.5" \
-    "https://httpbin.org/get?foo=bar"
-```
-
----
-
-## Advanced Usage
-
-Alamofire is built on `URLSession` and the Foundation URL Loading System. To make the most of this framework, it is recommended that you be familiar with the concepts and capabilities of the underlying networking stack.
-
-**Recommended Reading**
-
-- [URL Loading System Programming Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html)
-- [URLSession Class Reference](https://developer.apple.com/reference/foundation/nsurlsession)
-- [URLCache Class Reference](https://developer.apple.com/reference/foundation/urlcache)
-- [URLAuthenticationChallenge Class Reference](https://developer.apple.com/reference/foundation/urlauthenticationchallenge)
-
-### Session Manager
-
-Top-level convenience methods like `Alamofire.request` use a default instance of `Alamofire.SessionManager`, which is configured with the default `URLSessionConfiguration`.
-
-As such, the following two statements are equivalent:
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-```
-
-```swift
-let sessionManager = Alamofire.SessionManager.default
-sessionManager.request("https://httpbin.org/get")
-```
-
-Applications can create session managers for background and ephemeral sessions, as well as new managers that customize the default session configuration, such as for default headers (`httpAdditionalHeaders`) or timeout interval (`timeoutIntervalForRequest`).
-
-#### Creating a Session Manager with Default Configuration
-
-```swift
-let configuration = URLSessionConfiguration.default
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Creating a Session Manager with Background Configuration
-
-```swift
-let configuration = URLSessionConfiguration.background(withIdentifier: "com.example.app.background")
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Creating a Session Manager with Ephemeral Configuration
-
-```swift
-let configuration = URLSessionConfiguration.ephemeral
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Modifying the Session Configuration
-
-```swift
-var defaultHeaders = Alamofire.SessionManager.defaultHTTPHeaders
-defaultHeaders["DNT"] = "1 (Do Not Track Enabled)"
-
-let configuration = URLSessionConfiguration.default
-configuration.httpAdditionalHeaders = defaultHeaders
-
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-> This is **not** recommended for `Authorization` or `Content-Type` headers. Instead, use the `headers` parameter in the top-level `Alamofire.request` APIs, `URLRequestConvertible` and `ParameterEncoding`, respectively.
-
-### Session Delegate
-
-By default, an Alamofire `SessionManager` instance creates a `SessionDelegate` object to handle all the various types of delegate callbacks that are generated by the underlying `URLSession`. The implementations of each delegate method handle the most common use cases for these types of calls abstracting the complexity away from the top-level APIs. However, advanced users may find the need to override the default functionality for various reasons.
-
-#### Override Closures
-
-The first way to customize the `SessionDelegate` behavior is through the use of the override closures. Each closure gives you the ability to override the implementation of the matching `SessionDelegate` API, yet still use the default implementation for all other APIs. This makes it easy to customize subsets of the delegate functionality. Here are a few examples of some of the override closures available:
-
-```swift
-/// Overrides default behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)`.
-open var sessionDidReceiveChallenge: ((URLSession, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-/// Overrides default behavior for URLSessionDelegate method `urlSessionDidFinishEvents(forBackgroundURLSession:)`.
-open var sessionDidFinishEventsForBackgroundURLSession: ((URLSession) -> Void)?
-
-/// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)`.
-open var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-
-/// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)`.
-open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-```
-
-The following is a short example of how to use the `taskWillPerformHTTPRedirection` to avoid following redirects to any `apple.com` domains.
-
-```swift
-let sessionManager = Alamofire.SessionManager(configuration: URLSessionConfiguration.default)
-let delegate: Alamofire.SessionDelegate = sessionManager.delegate
-
-delegate.taskWillPerformHTTPRedirection = { session, task, response, request in
-    var finalRequest = request
-
-    if
-        let originalRequest = task.originalRequest,
-        let urlString = originalRequest.url?.urlString,
-        urlString.contains("apple.com")
-    {
-        finalRequest = originalRequest
-    }
-
-    return finalRequest
-}
-```
-
-#### Subclassing
-
-Another way to override the default implementation of the `SessionDelegate` is to subclass it. Subclassing allows you completely customize the behavior of the API or to create a proxy for the API and still use the default implementation. Creating a proxy allows you to log events, emit notifications, provide pre and post hook implementations, etc. Here's a quick example of subclassing the `SessionDelegate` and logging a message when a redirect occurs.
-
-```swift
-class LoggingSessionDelegate: SessionDelegate {
-    override func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        print("URLSession will perform HTTP redirection to request: \(request)")
-
-        super.urlSession(
-            session,
-            task: task,
-            willPerformHTTPRedirection: response,
-            newRequest: request,
-            completionHandler: completionHandler
-        )
-    }
-}
-```
-
-Generally speaking, either the default implementation or the override closures should provide the necessary functionality required. Subclassing should only be used as a last resort.
-
-> It is important to keep in mind that the `subdelegates` are initialized and destroyed in the default implementation. Be careful when subclassing to not introduce memory leaks.
-
-### Request
-
-The result of a `request`, `download`, `upload` or `stream` methods are a `DataRequest`, `DownloadRequest`, `UploadRequest` and `StreamRequest` which all inherit from `Request`. All `Request` instances are always created by an owning session manager, and never initialized directly.
-
-Each subclass has specialized methods such as `authenticate`, `validate`, `responseJSON` and `uploadProgress` that each return the caller instance in order to facilitate method chaining.
-
-Requests can be suspended, resumed and cancelled:
-
-- `suspend()`: Suspends the underlying task and dispatch queue.
-- `resume()`: Resumes the underlying task and dispatch queue. If the owning manager does not have `startRequestsImmediately` set to `true`, the request must call `resume()` in order to start.
-- `cancel()`: Cancels the underlying task, producing an error that is passed to any registered response handlers.
-
-### Routing Requests
-
-As apps grow in size, it's important to adopt common patterns as you build out your network stack. An important part of that design is how to route your requests. The Alamofire `URLConvertible` and `URLRequestConvertible` protocols along with the `Router` design pattern are here to help.
-
-#### URLConvertible
-
-Types adopting the `URLConvertible` protocol can be used to construct URLs, which are then used to construct URL requests internally. `String`, `URL`, and `URLComponents` conform to `URLConvertible` by default, allowing any of them to be passed as `url` parameters to the `request`, `upload`, and `download` methods:
-
-```swift
-let urlString = "https://httpbin.org/post"
-Alamofire.request(urlString, method: .post)
-
-let url = URL(string: urlString)!
-Alamofire.request(url, method: .post)
-
-let urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: true)!
-Alamofire.request(urlComponents, method: .post)
-```
-
-Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLConvertible` as a convenient way to map domain-specific models to server resources.
-
-##### Type-Safe Routing
-
-```swift
-extension User: URLConvertible {
-    static let baseURLString = "https://example.com"
-
-    func asURL() throws -> URL {
-    	let urlString = User.baseURLString + "/users/\(username)/"
-        return try urlString.asURL()
-    }
-}
-```
-
-```swift
-let user = User(username: "mattt")
-Alamofire.request(user) // https://example.com/users/mattt
-```
-
-#### URLRequestConvertible
-
-Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. `URLRequest` conforms to `URLRequestConvertible` by default, allowing it to be passed into `request`, `upload`, and `download` methods directly (this is the recommended way to specify custom HTTP body for individual requests):
-
-```swift
-let url = URL(string: "https://httpbin.org/post")!
-var urlRequest = URLRequest(url: url)
-urlRequest.httpMethod = "POST"
-
-let parameters = ["foo": "bar"]
-
-do {
-    urlRequest.httpBody = try JSONSerialization.data(withJSONObject: parameters, options: [])
-} catch {
-    // No-op
-}
-
-urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-
-Alamofire.request(urlRequest)
-```
-
-Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLRequestConvertible` as a way to ensure consistency of requested endpoints. Such an approach can be used to abstract away server-side inconsistencies and provide type-safe routing, as well as manage authentication credentials and other state.
-
-##### API Parameter Abstraction
-
-```swift
-enum Router: URLRequestConvertible {
-    case search(query: String, page: Int)
-
-    static let baseURLString = "https://example.com"
-    static let perPage = 50
-
-    // MARK: URLRequestConvertible
-
-    func asURLRequest() throws -> URLRequest {
-        let result: (path: String, parameters: Parameters) = {
-            switch self {
-            case let .search(query, page) where page > 0:
-                return ("/search", ["q": query, "offset": Router.perPage * page])
-            case let .search(query, _):
-                return ("/search", ["q": query])
-            }
-        }()
-
-        let url = try Router.baseURLString.asURL()
-        let urlRequest = URLRequest(url: url.appendingPathComponent(result.path))
-
-        return try URLEncoding.default.encode(urlRequest, with: result.parameters)
-    }
-}
-```
-
-```swift
-Alamofire.request(Router.search(query: "foo bar", page: 1)) // https://example.com/search?q=foo%20bar&offset=50
-```
-
-##### CRUD & Authorization
-
-```swift
-import Alamofire
-
-enum Router: URLRequestConvertible {
-    case createUser(parameters: Parameters)
-    case readUser(username: String)
-    case updateUser(username: String, parameters: Parameters)
-    case destroyUser(username: String)
-
-    static let baseURLString = "https://example.com"
-
-    var method: HTTPMethod {
-        switch self {
-        case .createUser:
-            return .post
-        case .readUser:
-            return .get
-        case .updateUser:
-            return .put
-        case .destroyUser:
-            return .delete
-        }
-    }
-
-    var path: String {
-        switch self {
-        case .createUser:
-            return "/users"
-        case .readUser(let username):
-            return "/users/\(username)"
-        case .updateUser(let username, _):
-            return "/users/\(username)"
-        case .destroyUser(let username):
-            return "/users/\(username)"
-        }
-    }
-
-    // MARK: URLRequestConvertible
-
-    func asURLRequest() throws -> URLRequest {
-    	let url = try Router.baseURLString.asURL()
-
-        var urlRequest = URLRequest(url: url.appendingPathComponent(path))
-        urlRequest.httpMethod = method.rawValue
-
-        switch self {
-        case .createUser(let parameters):
-            urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters)
-        case .updateUser(_, let parameters):
-            urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters)
-        default:
-            break
-        }
-
-        return urlRequest
-    }
-}
-```
-
-```swift
-Alamofire.request(Router.readUser("mattt")) // GET https://example.com/users/mattt
-```
-
-### Adapting and Retrying Requests
-
-Most web services these days are behind some sort of authentication system. One of the more common ones today is OAuth. This generally involves generating an access token authorizing your application or user to call the various supported web services. While creating these initial access tokens can be laborsome, it can be even more complicated when your access token expires and you need to fetch a new one. There are many thread-safety issues that need to be considered.
-
-The `RequestAdapter` and `RequestRetrier` protocols were created to make it much easier to create a thread-safe authentication system for a specific set of web services.
-
-#### RequestAdapter
-
-The `RequestAdapter` protocol allows each `Request` made on a `SessionManager` to be inspected and adapted before being created. One very specific way to use an adapter is to append an `Authorization` header to requests behind a certain type of authentication.
-
-```swift
-class AccessTokenAdapter: RequestAdapter {
-    private let accessToken: String
-
-    init(accessToken: String) {
-        self.accessToken = accessToken
-    }
-
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest {
-        var urlRequest = urlRequest
-
-        if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix("https://httpbin.org") {
-            urlRequest.setValue("Bearer " + accessToken, forHTTPHeaderField: "Authorization")
-        }
-
-        return urlRequest
-	}
-}
-```
-
-```swift
-let sessionManager = SessionManager()
-sessionManager.adapter = AccessTokenAdapter(accessToken: "1234")
-
-sessionManager.request("https://httpbin.org/get")
-```
-
-#### RequestRetrier
-
-The `RequestRetrier` protocol allows a `Request` that encountered an `Error` while being executed to be retried. When using both the `RequestAdapter` and `RequestRetrier` protocols together, you can create credential refresh systems for OAuth1, OAuth2, Basic Auth and even exponential backoff retry policies. The possibilities are endless. Here's an example of how you could implement a refresh flow for OAuth2 access tokens.
-
-> **DISCLAIMER:** This is **NOT** a global `OAuth2` solution. It is merely an example demonstrating how one could use the `RequestAdapter` in conjunction with the `RequestRetrier` to create a thread-safe refresh system.
-
-> To reiterate, **do NOT copy** this sample code and drop it into a production application. This is merely an example. Each authentication system must be tailored to a particular platform and authentication type.
-
-```swift
-class OAuth2Handler: RequestAdapter, RequestRetrier {
-    private typealias RefreshCompletion = (_ succeeded: Bool, _ accessToken: String?, _ refreshToken: String?) -> Void
-
-    private let sessionManager: SessionManager = {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders
-
-        return SessionManager(configuration: configuration)
-    }()
-
-    private let lock = NSLock()
-
-    private var clientID: String
-    private var baseURLString: String
-    private var accessToken: String
-    private var refreshToken: String
-
-    private var isRefreshing = false
-    private var requestsToRetry: [RequestRetryCompletion] = []
-
-    // MARK: - Initialization
-
-    public init(clientID: String, baseURLString: String, accessToken: String, refreshToken: String) {
-        self.clientID = clientID
-        self.baseURLString = baseURLString
-        self.accessToken = accessToken
-        self.refreshToken = refreshToken
-    }
-
-    // MARK: - RequestAdapter
-
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest {
-        if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix(baseURLString) {
-            var urlRequest = urlRequest
-            urlRequest.setValue("Bearer " + accessToken, forHTTPHeaderField: "Authorization")
-            return urlRequest
-        }
-
-        return urlRequest
-    }
-
-    // MARK: - RequestRetrier
-
-    func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion) {
-        lock.lock() ; defer { lock.unlock() }
-
-        if let response = request.task?.response as? HTTPURLResponse, response.statusCode == 401 {
-            requestsToRetry.append(completion)
-
-            if !isRefreshing {
-                refreshTokens { [weak self] succeeded, accessToken, refreshToken in
-                    guard let strongSelf = self else { return }
-
-                    strongSelf.lock.lock() ; defer { strongSelf.lock.unlock() }
-
-                    if let accessToken = accessToken, let refreshToken = refreshToken {
-                        strongSelf.accessToken = accessToken
-                        strongSelf.refreshToken = refreshToken
-                    }
-
-                    strongSelf.requestsToRetry.forEach { $0(succeeded, 0.0) }
-                    strongSelf.requestsToRetry.removeAll()
-                }
-            }
-        } else {
-            completion(false, 0.0)
-        }
-    }
-
-    // MARK: - Private - Refresh Tokens
-
-    private func refreshTokens(completion: @escaping RefreshCompletion) {
-        guard !isRefreshing else { return }
-
-        isRefreshing = true
-
-        let urlString = "\(baseURLString)/oauth2/token"
-
-        let parameters: [String: Any] = [
-            "access_token": accessToken,
-            "refresh_token": refreshToken,
-            "client_id": clientID,
-            "grant_type": "refresh_token"
-        ]
-
-        sessionManager.request(urlString, method: .post, parameters: parameters, encoding: JSONEncoding.default)
-            .responseJSON { [weak self] response in
-                guard let strongSelf = self else { return }
-
-                if 
-                    let json = response.result.value as? [String: Any], 
-                    let accessToken = json["access_token"] as? String, 
-                    let refreshToken = json["refresh_token"] as? String 
-                {
-                    completion(true, accessToken, refreshToken)
-                } else {
-                    completion(false, nil, nil)
-                }
-
-                strongSelf.isRefreshing = false
-            }
-    }
-}
-```
-
-```swift
-let baseURLString = "https://some.domain-behind-oauth2.com"
-
-let oauthHandler = OAuth2Handler(
-    clientID: "12345678",
-    baseURLString: baseURLString,
-    accessToken: "abcd1234",
-    refreshToken: "ef56789a"
-)
-
-let sessionManager = SessionManager()
-sessionManager.adapter = oauthHandler
-sessionManager.retrier = oauthHandler
-
-let urlString = "\(baseURLString)/some/endpoint"
-
-sessionManager.request(urlString).validate().responseJSON { response in
-    debugPrint(response)
-}
-```
-
-Once the `OAuth2Handler` is applied as both the `adapter` and `retrier` for the `SessionManager`, it will handle an invalid access token error by automatically refreshing the access token and retrying all failed requests in the same order they failed.
-
-> If you needed them to execute in the same order they were created, you could sort them by their task identifiers.
-
-The example above only checks for a `401` response code which is not nearly robust enough, but does demonstrate how one could check for an invalid access token error. In a production application, one would want to check the `realm` and most likely the `www-authenticate` header response although it depends on the OAuth2 implementation.
-
-Another important note is that this authentication system could be shared between multiple session managers. For example, you may need to use both a `default` and `ephemeral` session configuration for the same set of web services. The example above allows the same `oauthHandler` instance to be shared across multiple session managers to manage the single refresh flow.
-
-### Custom Response Serialization
-
-Alamofire provides built-in response serialization for data, strings, JSON, and property lists:
-
-```swift
-Alamofire.request(...).responseData { (resp: DataResponse<Data>) in ... }
-Alamofire.request(...).responseString { (resp: DataResponse<String>) in ... }
-Alamofire.request(...).responseJSON { (resp: DataResponse<Any>) in ... }
-Alamofire.request(...).responsePropertyList { resp: DataResponse<Any>) in ... }
-```
-
-Those responses wrap deserialized *values* (Data, String, Any) or *errors* (network, validation errors), as well as *meta-data* (URL request, HTTP headers, status code, [metrics](#statistical-metrics), ...).
-
-You have several ways to customize all of those response elements:
-
-- [Response Mapping](#response-mapping)
-- [Handling Errors](#handling-errors)
-- [Creating a Custom Response Serializer](#creating-a-custom-response-serializer)
-- [Generic Response Object Serialization](#generic-response-object-serialization)
-
-#### Response Mapping
-
-Response mapping is the simplest way to produce customized responses. It transforms the value of a response, while preserving eventual errors and meta-data. For example, you can turn a json response `DataResponse<Any>` into a response that holds an application model, such as `DataResponse<User>`. You perform response mapping with the `DataResponse.map` method:
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseJSON { (response: DataResponse<Any>) in
-    let userResponse = response.map { json in
-        // We assume an existing User(json: Any) initializer
-        return User(json: json)
-    }
-
-    // Process userResponse, of type DataResponse<User>:
-    if let user = userResponse.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-When the transformation may throw an error, use `flatMap` instead:
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseJSON { response in
-    let userResponse = response.flatMap { json in
-        try User(json: json)
-    }
-}
-```
-
-Response mapping is a good fit for your custom completion handlers:
-
-```swift
-@discardableResult
-func loadUser(completionHandler: @escaping (DataResponse<User>) -> Void) -> Alamofire.DataRequest {
-    return Alamofire.request("https://example.com/users/mattt").responseJSON { response in
-        let userResponse = response.flatMap { json in
-            try User(json: json)
-        }
-
-        completionHandler(userResponse)
-    }
-}
-
-loadUser { response in
-    if let user = response.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-When the map/flatMap closure may process a big amount of data, make sure you execute it outside of the main thread:
-
-```swift
-@discardableResult
-func loadUser(completionHandler: @escaping (DataResponse<User>) -> Void) -> Alamofire.DataRequest {
-    let utilityQueue = DispatchQueue.global(qos: .utility)
-
-    return Alamofire.request("https://example.com/users/mattt").responseJSON(queue: utilityQueue) { response in
-        let userResponse = response.flatMap { json in
-            try User(json: json)
-        }
-
-        DispatchQueue.main.async {
-            completionHandler(userResponse)
-        }
-    }
-}
-```
-
-`map` and `flatMap` are also available for [download responses](#downloading-data-to-a-file).
-
-#### Handling Errors
-
-Before implementing custom response serializers or object serialization methods, it's important to consider how to handle any errors that may occur. There are two basic options: passing existing errors along unmodified, to be dealt with at response time; or, wrapping all errors in an `Error` type specific to your app.
-
-For example, here's a simple `BackendError` enum which will be used in later examples:
-
-```swift
-enum BackendError: Error {
-    case network(error: Error) // Capture any underlying Error from the URLSession API
-    case dataSerialization(error: Error)
-    case jsonSerialization(error: Error)
-    case xmlSerialization(error: Error)
-    case objectSerialization(reason: String)
-}
-```
-
-#### Creating a Custom Response Serializer
-
-Alamofire provides built-in response serialization for strings, JSON, and property lists, but others can be added in extensions on `Alamofire.DataRequest` and / or `Alamofire.DownloadRequest`.
-
-For example, here's how a response handler using [Ono](https://github.com/mattt/Ono) might be implemented:
-
-```swift
-extension DataRequest {
-    static func xmlResponseSerializer() -> DataResponseSerializer<ONOXMLDocument> {
-        return DataResponseSerializer { request, response, data, error in
-            // Pass through any underlying URLSession error to the .network case.
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            // Use Alamofire's existing data serializer to extract the data, passing the error as nil, as it has
-            // already been handled.
-            let result = Request.serializeResponseData(response: response, data: data, error: nil)
-
-            guard case let .success(validData) = result else {
-                return .failure(BackendError.dataSerialization(error: result.error! as! AFError))
-            }
-
-            do {
-                let xml = try ONOXMLDocument(data: validData)
-                return .success(xml)
-            } catch {
-                return .failure(BackendError.xmlSerialization(error: error))
-            }
-        }
-    }
-
-    @discardableResult
-    func responseXMLDocument(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<ONOXMLDocument>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.xmlResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-```
-
-#### Generic Response Object Serialization
-
-Generics can be used to provide automatic, type-safe response object serialization.
-
-```swift
-protocol ResponseObjectSerializable {
-    init?(response: HTTPURLResponse, representation: Any)
-}
-
-extension DataRequest {
-    func responseObject<T: ResponseObjectSerializable>(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<T>) -> Void)
-        -> Self
-    {
-        let responseSerializer = DataResponseSerializer<T> { request, response, data, error in
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            let jsonResponseSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments)
-            let result = jsonResponseSerializer.serializeResponse(request, response, data, nil)
-
-            guard case let .success(jsonObject) = result else {
-                return .failure(BackendError.jsonSerialization(error: result.error!))
-            }
-
-            guard let response = response, let responseObject = T(response: response, representation: jsonObject) else {
-                return .failure(BackendError.objectSerialization(reason: "JSON could not be serialized: \(jsonObject)"))
-            }
-
-            return .success(responseObject)
-        }
-
-        return response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler)
-    }
-}
-```
-
-```swift
-struct User: ResponseObjectSerializable, CustomStringConvertible {
-    let username: String
-    let name: String
-
-    var description: String {
-        return "User: { username: \(username), name: \(name) }"
-    }
-
-    init?(response: HTTPURLResponse, representation: Any) {
-        guard
-            let username = response.url?.lastPathComponent,
-            let representation = representation as? [String: Any],
-            let name = representation["name"] as? String
-        else { return nil }
-
-        self.username = username
-        self.name = name
-    }
-}
-```
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseObject { (response: DataResponse<User>) in
-    debugPrint(response)
-
-    if let user = response.result.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-The same approach can also be used to handle endpoints that return a representation of a collection of objects:
-
-```swift
-protocol ResponseCollectionSerializable {
-    static func collection(from response: HTTPURLResponse, withRepresentation representation: Any) -> [Self]
-}
-
-extension ResponseCollectionSerializable where Self: ResponseObjectSerializable {
-    static func collection(from response: HTTPURLResponse, withRepresentation representation: Any) -> [Self] {
-        var collection: [Self] = []
-
-        if let representation = representation as? [[String: Any]] {
-            for itemRepresentation in representation {
-                if let item = Self(response: response, representation: itemRepresentation) {
-                    collection.append(item)
-                }
-            }
-        }
-
-        return collection
-    }
-}
-```
-
-```swift
-extension DataRequest {
-    @discardableResult
-    func responseCollection<T: ResponseCollectionSerializable>(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<[T]>) -> Void) -> Self
-    {
-        let responseSerializer = DataResponseSerializer<[T]> { request, response, data, error in
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            let jsonSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments)
-            let result = jsonSerializer.serializeResponse(request, response, data, nil)
-
-            guard case let .success(jsonObject) = result else {
-                return .failure(BackendError.jsonSerialization(error: result.error!))
-            }
-
-            guard let response = response else {
-                let reason = "Response collection could not be serialized due to nil response."
-                return .failure(BackendError.objectSerialization(reason: reason))
-            }
-
-            return .success(T.collection(from: response, withRepresentation: jsonObject))
-        }
-
-        return response(responseSerializer: responseSerializer, completionHandler: completionHandler)
-    }
-}
-```
-
-```swift
-struct User: ResponseObjectSerializable, ResponseCollectionSerializable, CustomStringConvertible {
-    let username: String
-    let name: String
-
-    var description: String {
-        return "User: { username: \(username), name: \(name) }"
-    }
-
-    init?(response: HTTPURLResponse, representation: Any) {
-        guard
-            let username = response.url?.lastPathComponent,
-            let representation = representation as? [String: Any],
-            let name = representation["name"] as? String
-        else { return nil }
-
-        self.username = username
-        self.name = name
-    }
-}
-```
-
-```swift
-Alamofire.request("https://example.com/users").responseCollection { (response: DataResponse<[User]>) in
-    debugPrint(response)
-
-    if let users = response.result.value {
-        users.forEach { print("- \($0)") }
-    }
-}
-```
-
-### Security
-
-Using a secure HTTPS connection when communicating with servers and web services is an important step in securing sensitive data. By default, Alamofire will evaluate the certificate chain provided by the server using Apple's built in validation provided by the Security framework. While this guarantees the certificate chain is valid, it does not prevent man-in-the-middle (MITM) attacks or other potential vulnerabilities. In order to mitigate MITM attacks, applications dealing with sensitive customer data or financial information should use certificate or public key pinning provided by the `ServerTrustPolicy`.
-
-#### ServerTrustPolicy
-
-The `ServerTrustPolicy` enumeration evaluates the server trust generally provided by an `URLAuthenticationChallenge` when connecting to a server over a secure HTTPS connection.
-
-```swift
-let serverTrustPolicy = ServerTrustPolicy.pinCertificates(
-    certificates: ServerTrustPolicy.certificates(),
-    validateCertificateChain: true,
-    validateHost: true
-)
-```
-
-There are many different cases of server trust evaluation giving you complete control over the validation process:
-
-* `performDefaultEvaluation`: Uses the default server trust evaluation while allowing you to control whether to validate the host provided by the challenge.
-* `pinCertificates`: Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates.
-* `pinPublicKeys`: Uses the pinned public keys to validate the server trust. The server trust is considered valid if one of the pinned public keys match one of the server certificate public keys.
-* `disableEvaluation`: Disables all evaluation which in turn will always consider any server trust as valid.
-* `customEvaluation`: Uses the associated closure to evaluate the validity of the server trust thus giving you complete control over the validation process. Use with caution.
-
-#### Server Trust Policy Manager
-
-The `ServerTrustPolicyManager` is responsible for storing an internal mapping of server trust policies to a particular host. This allows Alamofire to evaluate each host against a different server trust policy.
-
-```swift
-let serverTrustPolicies: [String: ServerTrustPolicy] = [
-    "test.example.com": .pinCertificates(
-        certificates: ServerTrustPolicy.certificates(),
-        validateCertificateChain: true,
-        validateHost: true
-    ),
-    "insecure.expired-apis.com": .disableEvaluation
-]
-
-let sessionManager = SessionManager(
-    serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverTrustPolicies)
-)
-```
-
-> Make sure to keep a reference to the new `SessionManager` instance, otherwise your requests will all get cancelled when your `sessionManager` is deallocated.
-
-These server trust policies will result in the following behavior:
-
-- `test.example.com` will always use certificate pinning with certificate chain and host validation enabled thus requiring the following criteria to be met to allow the TLS handshake to succeed:
-	- Certificate chain MUST be valid.
-	- Certificate chain MUST include one of the pinned certificates.
-	- Challenge host MUST match the host in the certificate chain's leaf certificate.
-- `insecure.expired-apis.com` will never evaluate the certificate chain and will always allow the TLS handshake to succeed.
-- All other hosts will use the default evaluation provided by Apple.
-
-##### Subclassing Server Trust Policy Manager
-
-If you find yourself needing more flexible server trust policy matching behavior (i.e. wildcarded domains), then subclass the `ServerTrustPolicyManager` and override the `serverTrustPolicyForHost` method with your own custom implementation.
-
-```swift
-class CustomServerTrustPolicyManager: ServerTrustPolicyManager {
-    override func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? {
-        var policy: ServerTrustPolicy?
-
-        // Implement your custom domain matching behavior...
-
-        return policy
-    }
-}
-```
-
-#### Validating the Host
-
-The `.performDefaultEvaluation`, `.pinCertificates` and `.pinPublicKeys` server trust policies all take a `validateHost` parameter. Setting the value to `true` will cause the server trust evaluation to verify that hostname in the certificate matches the hostname of the challenge. If they do not match, evaluation will fail. A `validateHost` value of `false` will still evaluate the full certificate chain, but will not validate the hostname of the leaf certificate.
-
-> It is recommended that `validateHost` always be set to `true` in production environments.
-
-#### Validating the Certificate Chain
-
-Pinning certificates and public keys both have the option of validating the certificate chain using the `validateCertificateChain` parameter. By setting this value to `true`, the full certificate chain will be evaluated in addition to performing a byte equality check against the pinned certificates or public keys. A value of `false` will skip the certificate chain validation, but will still perform the byte equality check.
-
-There are several cases where it may make sense to disable certificate chain validation. The most common use cases for disabling validation are self-signed and expired certificates. The evaluation would always fail in both of these cases, but the byte equality check will still ensure you are receiving the certificate you expect from the server.
-
-> It is recommended that `validateCertificateChain` always be set to `true` in production environments.
-
-#### App Transport Security
-
-With the addition of App Transport Security (ATS) in iOS 9, it is possible that using a custom `ServerTrustPolicyManager` with several `ServerTrustPolicy` objects will have no effect. If you continuously see `CFNetwork SSLHandshake failed (-9806)` errors, you have probably run into this problem. Apple's ATS system overrides the entire challenge system unless you configure the ATS settings in your app's plist to disable enough of it to allow your app to evaluate the server trust.
-
-If you run into this problem (high probability with self-signed certificates), you can work around this issue by adding the following to your `Info.plist`.
-
-```xml
-<dict>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>example.com</key>
-            <dict>
-                <key>NSExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-                <key>NSExceptionRequiresForwardSecrecy</key>
-                <false/>
-                <key>NSIncludesSubdomains</key>
-                <true/>
-                <!-- Optional: Specify minimum TLS version -->
-                <key>NSTemporaryExceptionMinimumTLSVersion</key>
-                <string>TLSv1.2</string>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-```
-
-Whether you need to set the `NSExceptionRequiresForwardSecrecy` to `NO` depends on whether your TLS connection is using an allowed cipher suite. In certain cases, it will need to be set to `NO`. The `NSExceptionAllowsInsecureHTTPLoads` MUST be set to `YES` in order to allow the `SessionDelegate` to receive challenge callbacks. Once the challenge callbacks are being called, the `ServerTrustPolicyManager` will take over the server trust evaluation. You may also need to specify the `NSTemporaryExceptionMinimumTLSVersion` if you're trying to connect to a host that only supports TLS versions less than `1.2`.
-
-> It is recommended to always use valid certificates in production environments.
-
-### Network Reachability
-
-The `NetworkReachabilityManager` listens for reachability changes of hosts and addresses for both WWAN and WiFi network interfaces.
-
-```swift
-let manager = NetworkReachabilityManager(host: "www.apple.com")
-
-manager?.listener = { status in
-    print("Network Status Changed: \(status)")
-}
-
-manager?.startListening()
-```
-
-> Make sure to remember to retain the `manager` in the above example, or no status changes will be reported.
-> Also, do not include the scheme in the `host` string or reachability won't function correctly.
-
-There are some important things to remember when using network reachability to determine what to do next.
-
-- **Do NOT** use Reachability to determine if a network request should be sent.
-    - You should **ALWAYS** send it.
-- When Reachability is restored, use the event to retry failed network requests.
-    - Even though the network requests may still fail, this is a good moment to retry them.
-- The network reachability status can be useful for determining why a network request may have failed.
-    - If a network request fails, it is more useful to tell the user that the network request failed due to being offline rather than a more technical error, such as "request timed out."
-
-> It is recommended to check out [WWDC 2012 Session 706, "Networking Best Practices"](https://developer.apple.com/videos/play/wwdc2012-706/) for more info.
-
----
-
-## Open Radars
-
-The following radars have some effect on the current implementation of Alamofire.
-
-- [`rdar://21349340`](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case
-- [`rdar://26761490`](http://www.openradar.me/radar?id=5010235949318144) - Swift string interpolation causing memory leak with common usage
-- `rdar://26870455` - Background URL Session Configurations do not work in the simulator
-- `rdar://26849668` - Some URLProtocol APIs do not properly handle `URLRequest`
-
-## FAQ
-
-### What's the origin of the name Alamofire?
-
-Alamofire is named after the [Alamo Fire flower](https://aggie-horticulture.tamu.edu/wildseed/alamofire.html), a hybrid variant of the Bluebonnet, the official state flower of Texas.
-
-### What logic belongs in a Router vs. a Request Adapter?
-
-Simple, static data such as paths, parameters and common headers belong in the `Router`. Dynamic data such as an `Authorization` header whose value can changed based on an authentication system belongs in a `RequestAdapter`.
-
-The reason the dynamic data MUST be placed into the `RequestAdapter` is to support retry operations. When a `Request` is retried, the original request is not rebuilt meaning the `Router` will not be called again. The `RequestAdapter` is called again allowing the dynamic data to be updated on the original request before retrying the `Request`.
-
----
-
-## Credits
-
-Alamofire is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org). You can follow them on Twitter at [@AlamofireSF](https://twitter.com/AlamofireSF) for project updates and releases.
-
-### Security Disclosure
-
-If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker.
-
-## Donations
-
-The [ASF](https://github.com/Alamofire/Foundation#members) is looking to raise money to officially register as a federal non-profit organization. Registering will allow us members to gain some legal protections and also allow us to put donations to use, tax free. Donating to the ASF will enable us to:
-
-- Pay our legal fees to register as a federal non-profit organization
-- Pay our yearly legal fees to keep the non-profit in good status
-- Pay for our mail servers to help us stay on top of all questions and security issues
-- Potentially fund test servers to make it easier for us to test the edge cases
-- Potentially fund developers to work on one of our projects full-time
-
-The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiasm around the projects, and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. Our initial goal is to raise $1000 to get all our legal ducks in a row and kickstart this campaign. Any amount you can donate today to help us reach our goal would be greatly appreciated.
-
-<a href='https://pledgie.com/campaigns/31474'><img alt='Click here to lend your support to: Alamofire Software Foundation and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/31474.png?skin_name=chrome' border='0' ></a>
-
-## License
-
-Alamofire is released under the MIT license. [See LICENSE](https://github.com/Alamofire/Alamofire/blob/master/LICENSE) for details.
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
deleted file mode 100644
index f047695b6d6..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
+++ /dev/null
@@ -1,460 +0,0 @@
-//
-//  AFError.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// `AFError` is the error type returned by Alamofire. It encompasses a few different types of errors, each with
-/// their own associated reasons.
-///
-/// - invalidURL:                  Returned when a `URLConvertible` type fails to create a valid `URL`.
-/// - parameterEncodingFailed:     Returned when a parameter encoding object throws an error during the encoding process.
-/// - multipartEncodingFailed:     Returned when some step in the multipart encoding process fails.
-/// - responseValidationFailed:    Returned when a `validate()` call fails.
-/// - responseSerializationFailed: Returned when a response serializer encounters an error in the serialization process.
-public enum AFError: Error {
-    /// The underlying reason the parameter encoding error occurred.
-    ///
-    /// - missingURL:                 The URL request did not have a URL to encode.
-    /// - jsonEncodingFailed:         JSON serialization failed with an underlying system error during the
-    ///                               encoding process.
-    /// - propertyListEncodingFailed: Property list serialization failed with an underlying system error during
-    ///                               encoding process.
-    public enum ParameterEncodingFailureReason {
-        case missingURL
-        case jsonEncodingFailed(error: Error)
-        case propertyListEncodingFailed(error: Error)
-    }
-
-    /// The underlying reason the multipart encoding error occurred.
-    ///
-    /// - bodyPartURLInvalid:                   The `fileURL` provided for reading an encodable body part isn't a
-    ///                                         file URL.
-    /// - bodyPartFilenameInvalid:              The filename of the `fileURL` provided has either an empty
-    ///                                         `lastPathComponent` or `pathExtension.
-    /// - bodyPartFileNotReachable:             The file at the `fileURL` provided was not reachable.
-    /// - bodyPartFileNotReachableWithError:    Attempting to check the reachability of the `fileURL` provided threw
-    ///                                         an error.
-    /// - bodyPartFileIsDirectory:              The file at the `fileURL` provided is actually a directory.
-    /// - bodyPartFileSizeNotAvailable:         The size of the file at the `fileURL` provided was not returned by
-    ///                                         the system.
-    /// - bodyPartFileSizeQueryFailedWithError: The attempt to find the size of the file at the `fileURL` provided
-    ///                                         threw an error.
-    /// - bodyPartInputStreamCreationFailed:    An `InputStream` could not be created for the provided `fileURL`.
-    /// - outputStreamCreationFailed:           An `OutputStream` could not be created when attempting to write the
-    ///                                         encoded data to disk.
-    /// - outputStreamFileAlreadyExists:        The encoded body data could not be writtent disk because a file
-    ///                                         already exists at the provided `fileURL`.
-    /// - outputStreamURLInvalid:               The `fileURL` provided for writing the encoded body data to disk is
-    ///                                         not a file URL.
-    /// - outputStreamWriteFailed:              The attempt to write the encoded body data to disk failed with an
-    ///                                         underlying error.
-    /// - inputStreamReadFailed:                The attempt to read an encoded body part `InputStream` failed with
-    ///                                         underlying system error.
-    public enum MultipartEncodingFailureReason {
-        case bodyPartURLInvalid(url: URL)
-        case bodyPartFilenameInvalid(in: URL)
-        case bodyPartFileNotReachable(at: URL)
-        case bodyPartFileNotReachableWithError(atURL: URL, error: Error)
-        case bodyPartFileIsDirectory(at: URL)
-        case bodyPartFileSizeNotAvailable(at: URL)
-        case bodyPartFileSizeQueryFailedWithError(forURL: URL, error: Error)
-        case bodyPartInputStreamCreationFailed(for: URL)
-
-        case outputStreamCreationFailed(for: URL)
-        case outputStreamFileAlreadyExists(at: URL)
-        case outputStreamURLInvalid(url: URL)
-        case outputStreamWriteFailed(error: Error)
-
-        case inputStreamReadFailed(error: Error)
-    }
-
-    /// The underlying reason the response validation error occurred.
-    ///
-    /// - dataFileNil:             The data file containing the server response did not exist.
-    /// - dataFileReadFailed:      The data file containing the server response could not be read.
-    /// - missingContentType:      The response did not contain a `Content-Type` and the `acceptableContentTypes`
-    ///                            provided did not contain wildcard type.
-    /// - unacceptableContentType: The response `Content-Type` did not match any type in the provided
-    ///                            `acceptableContentTypes`.
-    /// - unacceptableStatusCode:  The response status code was not acceptable.
-    public enum ResponseValidationFailureReason {
-        case dataFileNil
-        case dataFileReadFailed(at: URL)
-        case missingContentType(acceptableContentTypes: [String])
-        case unacceptableContentType(acceptableContentTypes: [String], responseContentType: String)
-        case unacceptableStatusCode(code: Int)
-    }
-
-    /// The underlying reason the response serialization error occurred.
-    ///
-    /// - inputDataNil:                    The server response contained no data.
-    /// - inputDataNilOrZeroLength:        The server response contained no data or the data was zero length.
-    /// - inputFileNil:                    The file containing the server response did not exist.
-    /// - inputFileReadFailed:             The file containing the server response could not be read.
-    /// - stringSerializationFailed:       String serialization failed using the provided `String.Encoding`.
-    /// - jsonSerializationFailed:         JSON serialization failed with an underlying system error.
-    /// - propertyListSerializationFailed: Property list serialization failed with an underlying system error.
-    public enum ResponseSerializationFailureReason {
-        case inputDataNil
-        case inputDataNilOrZeroLength
-        case inputFileNil
-        case inputFileReadFailed(at: URL)
-        case stringSerializationFailed(encoding: String.Encoding)
-        case jsonSerializationFailed(error: Error)
-        case propertyListSerializationFailed(error: Error)
-    }
-
-    case invalidURL(url: URLConvertible)
-    case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
-    case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
-    case responseValidationFailed(reason: ResponseValidationFailureReason)
-    case responseSerializationFailed(reason: ResponseSerializationFailureReason)
-}
-
-// MARK: - Adapt Error
-
-struct AdaptError: Error {
-    let error: Error
-}
-
-extension Error {
-    var underlyingAdaptError: Error? { return (self as? AdaptError)?.error }
-}
-
-// MARK: - Error Booleans
-
-extension AFError {
-    /// Returns whether the AFError is an invalid URL error.
-    public var isInvalidURLError: Bool {
-        if case .invalidURL = self { return true }
-        return false
-    }
-
-    /// Returns whether the AFError is a parameter encoding error. When `true`, the `underlyingError` property will
-    /// contain the associated value.
-    public var isParameterEncodingError: Bool {
-        if case .parameterEncodingFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the AFError is a multipart encoding error. When `true`, the `url` and `underlyingError` properties
-    /// will contain the associated values.
-    public var isMultipartEncodingError: Bool {
-        if case .multipartEncodingFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the `AFError` is a response validation error. When `true`, the `acceptableContentTypes`,
-    /// `responseContentType`, and `responseCode` properties will contain the associated values.
-    public var isResponseValidationError: Bool {
-        if case .responseValidationFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the `AFError` is a response serialization error. When `true`, the `failedStringEncoding` and
-    /// `underlyingError` properties will contain the associated values.
-    public var isResponseSerializationError: Bool {
-        if case .responseSerializationFailed = self { return true }
-        return false
-    }
-}
-
-// MARK: - Convenience Properties
-
-extension AFError {
-    /// The `URLConvertible` associated with the error.
-    public var urlConvertible: URLConvertible? {
-        switch self {
-        case .invalidURL(let url):
-            return url
-        default:
-            return nil
-        }
-    }
-
-    /// The `URL` associated with the error.
-    public var url: URL? {
-        switch self {
-        case .multipartEncodingFailed(let reason):
-            return reason.url
-        default:
-            return nil
-        }
-    }
-
-    /// The `Error` returned by a system framework associated with a `.parameterEncodingFailed`,
-    /// `.multipartEncodingFailed` or `.responseSerializationFailed` error.
-    public var underlyingError: Error? {
-        switch self {
-        case .parameterEncodingFailed(let reason):
-            return reason.underlyingError
-        case .multipartEncodingFailed(let reason):
-            return reason.underlyingError
-        case .responseSerializationFailed(let reason):
-            return reason.underlyingError
-        default:
-            return nil
-        }
-    }
-
-    /// The acceptable `Content-Type`s of a `.responseValidationFailed` error.
-    public var acceptableContentTypes: [String]? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.acceptableContentTypes
-        default:
-            return nil
-        }
-    }
-
-    /// The response `Content-Type` of a `.responseValidationFailed` error.
-    public var responseContentType: String? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.responseContentType
-        default:
-            return nil
-        }
-    }
-
-    /// The response code of a `.responseValidationFailed` error.
-    public var responseCode: Int? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.responseCode
-        default:
-            return nil
-        }
-    }
-
-    /// The `String.Encoding` associated with a failed `.stringResponse()` call.
-    public var failedStringEncoding: String.Encoding? {
-        switch self {
-        case .responseSerializationFailed(let reason):
-            return reason.failedStringEncoding
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ParameterEncodingFailureReason {
-    var underlyingError: Error? {
-        switch self {
-        case .jsonEncodingFailed(let error), .propertyListEncodingFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.MultipartEncodingFailureReason {
-    var url: URL? {
-        switch self {
-        case .bodyPartURLInvalid(let url), .bodyPartFilenameInvalid(let url), .bodyPartFileNotReachable(let url),
-             .bodyPartFileIsDirectory(let url), .bodyPartFileSizeNotAvailable(let url),
-             .bodyPartInputStreamCreationFailed(let url), .outputStreamCreationFailed(let url),
-             .outputStreamFileAlreadyExists(let url), .outputStreamURLInvalid(let url),
-             .bodyPartFileNotReachableWithError(let url, _), .bodyPartFileSizeQueryFailedWithError(let url, _):
-            return url
-        default:
-            return nil
-        }
-    }
-
-    var underlyingError: Error? {
-        switch self {
-        case .bodyPartFileNotReachableWithError(_, let error), .bodyPartFileSizeQueryFailedWithError(_, let error),
-             .outputStreamWriteFailed(let error), .inputStreamReadFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ResponseValidationFailureReason {
-    var acceptableContentTypes: [String]? {
-        switch self {
-        case .missingContentType(let types), .unacceptableContentType(let types, _):
-            return types
-        default:
-            return nil
-        }
-    }
-
-    var responseContentType: String? {
-        switch self {
-        case .unacceptableContentType(_, let responseType):
-            return responseType
-        default:
-            return nil
-        }
-    }
-
-    var responseCode: Int? {
-        switch self {
-        case .unacceptableStatusCode(let code):
-            return code
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ResponseSerializationFailureReason {
-    var failedStringEncoding: String.Encoding? {
-        switch self {
-        case .stringSerializationFailed(let encoding):
-            return encoding
-        default:
-            return nil
-        }
-    }
-
-    var underlyingError: Error? {
-        switch self {
-        case .jsonSerializationFailed(let error), .propertyListSerializationFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-// MARK: - Error Descriptions
-
-extension AFError: LocalizedError {
-    public var errorDescription: String? {
-        switch self {
-        case .invalidURL(let url):
-            return "URL is not valid: \(url)"
-        case .parameterEncodingFailed(let reason):
-            return reason.localizedDescription
-        case .multipartEncodingFailed(let reason):
-            return reason.localizedDescription
-        case .responseValidationFailed(let reason):
-            return reason.localizedDescription
-        case .responseSerializationFailed(let reason):
-            return reason.localizedDescription
-        }
-    }
-}
-
-extension AFError.ParameterEncodingFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .missingURL:
-            return "URL request to encode was missing a URL"
-        case .jsonEncodingFailed(let error):
-            return "JSON could not be encoded because of error:\n\(error.localizedDescription)"
-        case .propertyListEncodingFailed(let error):
-            return "PropertyList could not be encoded because of error:\n\(error.localizedDescription)"
-        }
-    }
-}
-
-extension AFError.MultipartEncodingFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .bodyPartURLInvalid(let url):
-            return "The URL provided is not a file URL: \(url)"
-        case .bodyPartFilenameInvalid(let url):
-            return "The URL provided does not have a valid filename: \(url)"
-        case .bodyPartFileNotReachable(let url):
-            return "The URL provided is not reachable: \(url)"
-        case .bodyPartFileNotReachableWithError(let url, let error):
-            return (
-                "The system returned an error while checking the provided URL for " +
-                "reachability.\nURL: \(url)\nError: \(error)"
-            )
-        case .bodyPartFileIsDirectory(let url):
-            return "The URL provided is a directory: \(url)"
-        case .bodyPartFileSizeNotAvailable(let url):
-            return "Could not fetch the file size from the provided URL: \(url)"
-        case .bodyPartFileSizeQueryFailedWithError(let url, let error):
-            return (
-                "The system returned an error while attempting to fetch the file size from the " +
-                "provided URL.\nURL: \(url)\nError: \(error)"
-            )
-        case .bodyPartInputStreamCreationFailed(let url):
-            return "Failed to create an InputStream for the provided URL: \(url)"
-        case .outputStreamCreationFailed(let url):
-            return "Failed to create an OutputStream for URL: \(url)"
-        case .outputStreamFileAlreadyExists(let url):
-            return "A file already exists at the provided URL: \(url)"
-        case .outputStreamURLInvalid(let url):
-            return "The provided OutputStream URL is invalid: \(url)"
-        case .outputStreamWriteFailed(let error):
-            return "OutputStream write failed with error: \(error)"
-        case .inputStreamReadFailed(let error):
-            return "InputStream read failed with error: \(error)"
-        }
-    }
-}
-
-extension AFError.ResponseSerializationFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .inputDataNil:
-            return "Response could not be serialized, input data was nil."
-        case .inputDataNilOrZeroLength:
-            return "Response could not be serialized, input data was nil or zero length."
-        case .inputFileNil:
-            return "Response could not be serialized, input file was nil."
-        case .inputFileReadFailed(let url):
-            return "Response could not be serialized, input file could not be read: \(url)."
-        case .stringSerializationFailed(let encoding):
-            return "String could not be serialized with encoding: \(encoding)."
-        case .jsonSerializationFailed(let error):
-            return "JSON could not be serialized because of error:\n\(error.localizedDescription)"
-        case .propertyListSerializationFailed(let error):
-            return "PropertyList could not be serialized because of error:\n\(error.localizedDescription)"
-        }
-    }
-}
-
-extension AFError.ResponseValidationFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .dataFileNil:
-            return "Response could not be validated, data file was nil."
-        case .dataFileReadFailed(let url):
-            return "Response could not be validated, data file could not be read: \(url)."
-        case .missingContentType(let types):
-            return (
-                "Response Content-Type was missing and acceptable content types " +
-                "(\(types.joined(separator: ","))) do not match \"*/*\"."
-            )
-        case .unacceptableContentType(let acceptableTypes, let responseType):
-            return (
-                "Response Content-Type \"\(responseType)\" does not match any acceptable types: " +
-                "\(acceptableTypes.joined(separator: ","))."
-            )
-        case .unacceptableStatusCode(let code):
-            return "Response status code was unacceptable: \(code)."
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
deleted file mode 100644
index edcf717ca9e..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
+++ /dev/null
@@ -1,465 +0,0 @@
-//
-//  Alamofire.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Types adopting the `URLConvertible` protocol can be used to construct URLs, which are then used to construct
-/// URL requests.
-public protocol URLConvertible {
-    /// Returns a URL that conforms to RFC 2396 or throws an `Error`.
-    ///
-    /// - throws: An `Error` if the type cannot be converted to a `URL`.
-    ///
-    /// - returns: A URL or throws an `Error`.
-    func asURL() throws -> URL
-}
-
-extension String: URLConvertible {
-    /// Returns a URL if `self` represents a valid URL string that conforms to RFC 2396 or throws an `AFError`.
-    ///
-    /// - throws: An `AFError.invalidURL` if `self` is not a valid URL string.
-    ///
-    /// - returns: A URL or throws an `AFError`.
-    public func asURL() throws -> URL {
-        guard let url = URL(string: self) else { throw AFError.invalidURL(url: self) }
-        return url
-    }
-}
-
-extension URL: URLConvertible {
-    /// Returns self.
-    public func asURL() throws -> URL { return self }
-}
-
-extension URLComponents: URLConvertible {
-    /// Returns a URL if `url` is not nil, otherwise throws an `Error`.
-    ///
-    /// - throws: An `AFError.invalidURL` if `url` is `nil`.
-    ///
-    /// - returns: A URL or throws an `AFError`.
-    public func asURL() throws -> URL {
-        guard let url = url else { throw AFError.invalidURL(url: self) }
-        return url
-    }
-}
-
-// MARK: -
-
-/// Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests.
-public protocol URLRequestConvertible {
-    /// Returns a URL request or throws if an `Error` was encountered.
-    ///
-    /// - throws: An `Error` if the underlying `URLRequest` is `nil`.
-    ///
-    /// - returns: A URL request.
-    func asURLRequest() throws -> URLRequest
-}
-
-extension URLRequestConvertible {
-    /// The URL request.
-    public var urlRequest: URLRequest? { return try? asURLRequest() }
-}
-
-extension URLRequest: URLRequestConvertible {
-    /// Returns a URL request or throws if an `Error` was encountered.
-    public func asURLRequest() throws -> URLRequest { return self }
-}
-
-// MARK: -
-
-extension URLRequest {
-    /// Creates an instance with the specified `method`, `urlString` and `headers`.
-    ///
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The new `URLRequest` instance.
-    public init(url: URLConvertible, method: HTTPMethod, headers: HTTPHeaders? = nil) throws {
-        let url = try url.asURL()
-
-        self.init(url: url)
-
-        httpMethod = method.rawValue
-
-        if let headers = headers {
-            for (headerField, headerValue) in headers {
-                setValue(headerValue, forHTTPHeaderField: headerField)
-            }
-        }
-    }
-
-    func adapt(using adapter: RequestAdapter?) throws -> URLRequest {
-        guard let adapter = adapter else { return self }
-        return try adapter.adapt(self)
-    }
-}
-
-// MARK: - Data Request
-
-/// Creates a `DataRequest` using the default `SessionManager` to retrieve the contents of the specified `url`,
-/// `method`, `parameters`, `encoding` and `headers`.
-///
-/// - parameter url:        The URL.
-/// - parameter method:     The HTTP method. `.get` by default.
-/// - parameter parameters: The parameters. `nil` by default.
-/// - parameter encoding:   The parameter encoding. `URLEncoding.default` by default.
-/// - parameter headers:    The HTTP headers. `nil` by default.
-///
-/// - returns: The created `DataRequest`.
-@discardableResult
-public func request(
-    _ url: URLConvertible,
-    method: HTTPMethod = .get,
-    parameters: Parameters? = nil,
-    encoding: ParameterEncoding = URLEncoding.default,
-    headers: HTTPHeaders? = nil)
-    -> DataRequest
-{
-    return SessionManager.default.request(
-        url,
-        method: method,
-        parameters: parameters,
-        encoding: encoding,
-        headers: headers
-    )
-}
-
-/// Creates a `DataRequest` using the default `SessionManager` to retrieve the contents of a URL based on the
-/// specified `urlRequest`.
-///
-/// - parameter urlRequest: The URL request
-///
-/// - returns: The created `DataRequest`.
-@discardableResult
-public func request(_ urlRequest: URLRequestConvertible) -> DataRequest {
-    return SessionManager.default.request(urlRequest)
-}
-
-// MARK: - Download Request
-
-// MARK: URL Request
-
-/// Creates a `DownloadRequest` using the default `SessionManager` to retrieve the contents of the specified `url`,
-/// `method`, `parameters`, `encoding`, `headers` and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// - parameter url:         The URL.
-/// - parameter method:      The HTTP method. `.get` by default.
-/// - parameter parameters:  The parameters. `nil` by default.
-/// - parameter encoding:    The parameter encoding. `URLEncoding.default` by default.
-/// - parameter headers:     The HTTP headers. `nil` by default.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    _ url: URLConvertible,
-    method: HTTPMethod = .get,
-    parameters: Parameters? = nil,
-    encoding: ParameterEncoding = URLEncoding.default,
-    headers: HTTPHeaders? = nil,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(
-        url,
-        method: method,
-        parameters: parameters,
-        encoding: encoding,
-        headers: headers,
-        to: destination
-    )
-}
-
-/// Creates a `DownloadRequest` using the default `SessionManager` to retrieve the contents of a URL based on the
-/// specified `urlRequest` and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// - parameter urlRequest:  The URL request.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    _ urlRequest: URLRequestConvertible,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(urlRequest, to: destination)
-}
-
-// MARK: Resume Data
-
-/// Creates a `DownloadRequest` using the default `SessionManager` from the `resumeData` produced from a
-/// previous request cancellation to retrieve the contents of the original request and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken
-/// on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the
-/// data is written incorrectly and will always fail to resume the download. For more information about the bug and
-/// possible workarounds, please refer to the following Stack Overflow post:
-///
-///    - http://stackoverflow.com/a/39347461/1342462
-///
-/// - parameter resumeData:  The resume data. This is an opaque data blob produced by `URLSessionDownloadTask`
-///                          when a task is cancelled. See `URLSession -downloadTask(withResumeData:)` for additional
-///                          information.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    resumingWith resumeData: Data,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(resumingWith: resumeData, to: destination)
-}
-
-// MARK: - Upload Request
-
-// MARK: File
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `file`.
-///
-/// - parameter file:    The file to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ fileURL: URL,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(fileURL, to: url, method: method, headers: headers)
-}
-
-/// Creates a `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `file`.
-///
-/// - parameter file:       The file to upload.
-/// - parameter urlRequest: The URL request.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ fileURL: URL, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(fileURL, with: urlRequest)
-}
-
-// MARK: Data
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `data`.
-///
-/// - parameter data:    The data to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ data: Data,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(data, to: url, method: method, headers: headers)
-}
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `data`.
-///
-/// - parameter data:       The data to upload.
-/// - parameter urlRequest: The URL request.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ data: Data, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(data, with: urlRequest)
-}
-
-// MARK: InputStream
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `stream`.
-///
-/// - parameter stream:  The stream to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ stream: InputStream,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(stream, to: url, method: method, headers: headers)
-}
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `stream`.
-///
-/// - parameter urlRequest: The URL request.
-/// - parameter stream:     The stream to upload.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ stream: InputStream, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(stream, with: urlRequest)
-}
-
-// MARK: MultipartFormData
-
-/// Encodes `multipartFormData` using `encodingMemoryThreshold` with the default `SessionManager` and calls
-/// `encodingCompletion` with new `UploadRequest` using the `url`, `method` and `headers`.
-///
-/// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-/// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-/// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-/// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-/// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-/// used for larger payloads such as video content.
-///
-/// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-/// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-/// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-/// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-/// technique was used.
-///
-/// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-/// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-/// - parameter url:                     The URL.
-/// - parameter method:                  The HTTP method. `.post` by default.
-/// - parameter headers:                 The HTTP headers. `nil` by default.
-/// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-public func upload(
-    multipartFormData: @escaping (MultipartFormData) -> Void,
-    usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil,
-    encodingCompletion: ((SessionManager.MultipartFormDataEncodingResult) -> Void)?)
-{
-    return SessionManager.default.upload(
-        multipartFormData: multipartFormData,
-        usingThreshold: encodingMemoryThreshold,
-        to: url,
-        method: method,
-        headers: headers,
-        encodingCompletion: encodingCompletion
-    )
-}
-
-/// Encodes `multipartFormData` using `encodingMemoryThreshold` and the default `SessionManager` and
-/// calls `encodingCompletion` with new `UploadRequest` using the `urlRequest`.
-///
-/// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-/// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-/// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-/// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-/// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-/// used for larger payloads such as video content.
-///
-/// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-/// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-/// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-/// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-/// technique was used.
-///
-/// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-/// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-/// - parameter urlRequest:              The URL request.
-/// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-public func upload(
-    multipartFormData: @escaping (MultipartFormData) -> Void,
-    usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-    with urlRequest: URLRequestConvertible,
-    encodingCompletion: ((SessionManager.MultipartFormDataEncodingResult) -> Void)?)
-{
-    return SessionManager.default.upload(
-        multipartFormData: multipartFormData,
-        usingThreshold: encodingMemoryThreshold,
-        with: urlRequest,
-        encodingCompletion: encodingCompletion
-    )
-}
-
-#if !os(watchOS)
-
-// MARK: - Stream Request
-
-// MARK: Hostname and Port
-
-/// Creates a `StreamRequest` using the default `SessionManager` for bidirectional streaming with the `hostname`
-/// and `port`.
-///
-/// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-///
-/// - parameter hostName: The hostname of the server to connect to.
-/// - parameter port:     The port of the server to connect to.
-///
-/// - returns: The created `StreamRequest`.
-@discardableResult
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-public func stream(withHostName hostName: String, port: Int) -> StreamRequest {
-    return SessionManager.default.stream(withHostName: hostName, port: port)
-}
-
-// MARK: NetService
-
-/// Creates a `StreamRequest` using the default `SessionManager` for bidirectional streaming with the `netService`.
-///
-/// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-///
-/// - parameter netService: The net service used to identify the endpoint.
-///
-/// - returns: The created `StreamRequest`.
-@discardableResult
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-public func stream(with netService: NetService) -> StreamRequest {
-    return SessionManager.default.stream(with: netService)
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
deleted file mode 100644
index 78e214ea179..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-//  DispatchQueue+Alamofire.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Dispatch
-import Foundation
-
-extension DispatchQueue {
-    static var userInteractive: DispatchQueue { return DispatchQueue.global(qos: .userInteractive) }
-    static var userInitiated: DispatchQueue { return DispatchQueue.global(qos: .userInitiated) }
-    static var utility: DispatchQueue { return DispatchQueue.global(qos: .utility) }
-    static var background: DispatchQueue { return DispatchQueue.global(qos: .background) }
-
-    func after(_ delay: TimeInterval, execute closure: @escaping () -> Void) {
-        asyncAfter(deadline: .now() + delay, execute: closure)
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
deleted file mode 100644
index c5093f9f857..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
+++ /dev/null
@@ -1,580 +0,0 @@
-//
-//  MultipartFormData.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-#if os(iOS) || os(watchOS) || os(tvOS)
-import MobileCoreServices
-#elseif os(macOS)
-import CoreServices
-#endif
-
-/// Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode
-/// multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead
-/// to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the
-/// data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for
-/// larger datasets such as video content, otherwise your app may run out of memory when trying to encode the dataset.
-///
-/// For more information on `multipart/form-data` in general, please refer to the RFC-2388 and RFC-2045 specs as well
-/// and the w3 form documentation.
-///
-/// - https://www.ietf.org/rfc/rfc2388.txt
-/// - https://www.ietf.org/rfc/rfc2045.txt
-/// - https://www.w3.org/TR/html401/interact/forms.html#h-17.13
-open class MultipartFormData {
-
-    // MARK: - Helper Types
-
-    struct EncodingCharacters {
-        static let crlf = "\r\n"
-    }
-
-    struct BoundaryGenerator {
-        enum BoundaryType {
-            case initial, encapsulated, final
-        }
-
-        static func randomBoundary() -> String {
-            return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
-        }
-
-        static func boundaryData(forBoundaryType boundaryType: BoundaryType, boundary: String) -> Data {
-            let boundaryText: String
-
-            switch boundaryType {
-            case .initial:
-                boundaryText = "--\(boundary)\(EncodingCharacters.crlf)"
-            case .encapsulated:
-                boundaryText = "\(EncodingCharacters.crlf)--\(boundary)\(EncodingCharacters.crlf)"
-            case .final:
-                boundaryText = "\(EncodingCharacters.crlf)--\(boundary)--\(EncodingCharacters.crlf)"
-            }
-
-            return boundaryText.data(using: String.Encoding.utf8, allowLossyConversion: false)!
-        }
-    }
-
-    class BodyPart {
-        let headers: HTTPHeaders
-        let bodyStream: InputStream
-        let bodyContentLength: UInt64
-        var hasInitialBoundary = false
-        var hasFinalBoundary = false
-
-        init(headers: HTTPHeaders, bodyStream: InputStream, bodyContentLength: UInt64) {
-            self.headers = headers
-            self.bodyStream = bodyStream
-            self.bodyContentLength = bodyContentLength
-        }
-    }
-
-    // MARK: - Properties
-
-    /// The `Content-Type` header value containing the boundary used to generate the `multipart/form-data`.
-    open lazy var contentType: String = "multipart/form-data; boundary=\(self.boundary)"
-
-    /// The content length of all body parts used to generate the `multipart/form-data` not including the boundaries.
-    public var contentLength: UInt64 { return bodyParts.reduce(0) { $0 + $1.bodyContentLength } }
-
-    /// The boundary used to separate the body parts in the encoded form data.
-    public let boundary: String
-
-    private var bodyParts: [BodyPart]
-    private var bodyPartError: AFError?
-    private let streamBufferSize: Int
-
-    // MARK: - Lifecycle
-
-    /// Creates a multipart form data object.
-    ///
-    /// - returns: The multipart form data object.
-    public init() {
-        self.boundary = BoundaryGenerator.randomBoundary()
-        self.bodyParts = []
-
-        ///
-        /// The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more
-        /// information, please refer to the following article:
-        ///   - https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/ReadingInputStreams.html
-        ///
-
-        self.streamBufferSize = 1024
-    }
-
-    // MARK: - Body Parts
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
-    /// - Encoded data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data: The data to encode into the multipart form data.
-    /// - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header.
-    public func append(_ data: Data, withName name: String) {
-        let headers = contentHeaders(withName: name)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
-    /// - `Content-Type: #{generated mimeType}` (HTTP Header)
-    /// - Encoded data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data:     The data to encode into the multipart form data.
-    /// - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the data content type in the `Content-Type` HTTP header.
-    public func append(_ data: Data, withName name: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, mimeType: mimeType)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
-    /// - `Content-Type: #{mimeType}` (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data:     The data to encode into the multipart form data.
-    /// - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the data in the `Content-Type` HTTP header.
-    public func append(_ data: Data, withName name: String, fileName: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the file and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{generated filename}` (HTTP Header)
-    /// - `Content-Type: #{generated mimeType}` (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// The filename in the `Content-Disposition` HTTP header is generated from the last path component of the
-    /// `fileURL`. The `Content-Type` HTTP header MIME type is generated by mapping the `fileURL` extension to the
-    /// system associated MIME type.
-    ///
-    /// - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data.
-    /// - parameter name:    The name to associate with the file content in the `Content-Disposition` HTTP header.
-    public func append(_ fileURL: URL, withName name: String) {
-        let fileName = fileURL.lastPathComponent
-        let pathExtension = fileURL.pathExtension
-
-        if !fileName.isEmpty && !pathExtension.isEmpty {
-            let mime = mimeType(forPathExtension: pathExtension)
-            append(fileURL, withName: name, fileName: fileName, mimeType: mime)
-        } else {
-            setBodyPartError(withReason: .bodyPartFilenameInvalid(in: fileURL))
-        }
-    }
-
-    /// Creates a body part from the file and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - Content-Disposition: form-data; name=#{name}; filename=#{filename} (HTTP Header)
-    /// - Content-Type: #{mimeType} (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// - parameter fileURL:  The URL of the file whose content will be encoded into the multipart form data.
-    /// - parameter name:     The name to associate with the file content in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the file content in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the file content in the `Content-Type` HTTP header.
-    public func append(_ fileURL: URL, withName name: String, fileName: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-
-        //============================================================
-        //                 Check 1 - is file URL?
-        //============================================================
-
-        guard fileURL.isFileURL else {
-            setBodyPartError(withReason: .bodyPartURLInvalid(url: fileURL))
-            return
-        }
-
-        //============================================================
-        //              Check 2 - is file URL reachable?
-        //============================================================
-
-        do {
-            let isReachable = try fileURL.checkPromisedItemIsReachable()
-            guard isReachable else {
-                setBodyPartError(withReason: .bodyPartFileNotReachable(at: fileURL))
-                return
-            }
-        } catch {
-            setBodyPartError(withReason: .bodyPartFileNotReachableWithError(atURL: fileURL, error: error))
-            return
-        }
-
-        //============================================================
-        //            Check 3 - is file URL a directory?
-        //============================================================
-
-        var isDirectory: ObjCBool = false
-        let path = fileURL.path
-
-        guard FileManager.default.fileExists(atPath: path, isDirectory: &isDirectory) && !isDirectory.boolValue else {
-            setBodyPartError(withReason: .bodyPartFileIsDirectory(at: fileURL))
-            return
-        }
-
-        //============================================================
-        //          Check 4 - can the file size be extracted?
-        //============================================================
-
-        let bodyContentLength: UInt64
-
-        do {
-            guard let fileSize = try FileManager.default.attributesOfItem(atPath: path)[.size] as? NSNumber else {
-                setBodyPartError(withReason: .bodyPartFileSizeNotAvailable(at: fileURL))
-                return
-            }
-
-            bodyContentLength = fileSize.uint64Value
-        }
-        catch {
-            setBodyPartError(withReason: .bodyPartFileSizeQueryFailedWithError(forURL: fileURL, error: error))
-            return
-        }
-
-        //============================================================
-        //       Check 5 - can a stream be created from file URL?
-        //============================================================
-
-        guard let stream = InputStream(url: fileURL) else {
-            setBodyPartError(withReason: .bodyPartInputStreamCreationFailed(for: fileURL))
-            return
-        }
-
-        append(stream, withLength: bodyContentLength, headers: headers)
-    }
-
-    /// Creates a body part from the stream and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
-    /// - `Content-Type: #{mimeType}` (HTTP Header)
-    /// - Encoded stream data
-    /// - Multipart form boundary
-    ///
-    /// - parameter stream:   The input stream to encode in the multipart form data.
-    /// - parameter length:   The content length of the stream.
-    /// - parameter name:     The name to associate with the stream content in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the stream content in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the stream content in the `Content-Type` HTTP header.
-    public func append(
-        _ stream: InputStream,
-        withLength length: UInt64,
-        name: String,
-        fileName: String,
-        mimeType: String)
-    {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part with the headers, stream and length and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - HTTP headers
-    /// - Encoded stream data
-    /// - Multipart form boundary
-    ///
-    /// - parameter stream:  The input stream to encode in the multipart form data.
-    /// - parameter length:  The content length of the stream.
-    /// - parameter headers: The HTTP headers for the body part.
-    public func append(_ stream: InputStream, withLength length: UInt64, headers: HTTPHeaders) {
-        let bodyPart = BodyPart(headers: headers, bodyStream: stream, bodyContentLength: length)
-        bodyParts.append(bodyPart)
-    }
-
-    // MARK: - Data Encoding
-
-    /// Encodes all the appended body parts into a single `Data` value.
-    ///
-    /// It is important to note that this method will load all the appended body parts into memory all at the same
-    /// time. This method should only be used when the encoded data will have a small memory footprint. For large data
-    /// cases, please use the `writeEncodedDataToDisk(fileURL:completionHandler:)` method.
-    ///
-    /// - throws: An `AFError` if encoding encounters an error.
-    ///
-    /// - returns: The encoded `Data` if encoding is successful.
-    public func encode() throws -> Data {
-        if let bodyPartError = bodyPartError {
-            throw bodyPartError
-        }
-
-        var encoded = Data()
-
-        bodyParts.first?.hasInitialBoundary = true
-        bodyParts.last?.hasFinalBoundary = true
-
-        for bodyPart in bodyParts {
-            let encodedData = try encode(bodyPart)
-            encoded.append(encodedData)
-        }
-
-        return encoded
-    }
-
-    /// Writes the appended body parts into the given file URL.
-    ///
-    /// This process is facilitated by reading and writing with input and output streams, respectively. Thus,
-    /// this approach is very memory efficient and should be used for large body part data.
-    ///
-    /// - parameter fileURL: The file URL to write the multipart form data into.
-    ///
-    /// - throws: An `AFError` if encoding encounters an error.
-    public func writeEncodedData(to fileURL: URL) throws {
-        if let bodyPartError = bodyPartError {
-            throw bodyPartError
-        }
-
-        if FileManager.default.fileExists(atPath: fileURL.path) {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamFileAlreadyExists(at: fileURL))
-        } else if !fileURL.isFileURL {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamURLInvalid(url: fileURL))
-        }
-
-        guard let outputStream = OutputStream(url: fileURL, append: false) else {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamCreationFailed(for: fileURL))
-        }
-
-        outputStream.open()
-        defer { outputStream.close() }
-
-        self.bodyParts.first?.hasInitialBoundary = true
-        self.bodyParts.last?.hasFinalBoundary = true
-
-        for bodyPart in self.bodyParts {
-            try write(bodyPart, to: outputStream)
-        }
-    }
-
-    // MARK: - Private - Body Part Encoding
-
-    private func encode(_ bodyPart: BodyPart) throws -> Data {
-        var encoded = Data()
-
-        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
-        encoded.append(initialData)
-
-        let headerData = encodeHeaders(for: bodyPart)
-        encoded.append(headerData)
-
-        let bodyStreamData = try encodeBodyStream(for: bodyPart)
-        encoded.append(bodyStreamData)
-
-        if bodyPart.hasFinalBoundary {
-            encoded.append(finalBoundaryData())
-        }
-
-        return encoded
-    }
-
-    private func encodeHeaders(for bodyPart: BodyPart) -> Data {
-        var headerText = ""
-
-        for (key, value) in bodyPart.headers {
-            headerText += "\(key): \(value)\(EncodingCharacters.crlf)"
-        }
-        headerText += EncodingCharacters.crlf
-
-        return headerText.data(using: String.Encoding.utf8, allowLossyConversion: false)!
-    }
-
-    private func encodeBodyStream(for bodyPart: BodyPart) throws -> Data {
-        let inputStream = bodyPart.bodyStream
-        inputStream.open()
-        defer { inputStream.close() }
-
-        var encoded = Data()
-
-        while inputStream.hasBytesAvailable {
-            var buffer = [UInt8](repeating: 0, count: streamBufferSize)
-            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
-
-            if let error = inputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .inputStreamReadFailed(error: error))
-            }
-
-            if bytesRead > 0 {
-                encoded.append(buffer, count: bytesRead)
-            } else {
-                break
-            }
-        }
-
-        return encoded
-    }
-
-    // MARK: - Private - Writing Body Part to Output Stream
-
-    private func write(_ bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        try writeInitialBoundaryData(for: bodyPart, to: outputStream)
-        try writeHeaderData(for: bodyPart, to: outputStream)
-        try writeBodyStream(for: bodyPart, to: outputStream)
-        try writeFinalBoundaryData(for: bodyPart, to: outputStream)
-    }
-
-    private func writeInitialBoundaryData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
-        return try write(initialData, to: outputStream)
-    }
-
-    private func writeHeaderData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let headerData = encodeHeaders(for: bodyPart)
-        return try write(headerData, to: outputStream)
-    }
-
-    private func writeBodyStream(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let inputStream = bodyPart.bodyStream
-
-        inputStream.open()
-        defer { inputStream.close() }
-
-        while inputStream.hasBytesAvailable {
-            var buffer = [UInt8](repeating: 0, count: streamBufferSize)
-            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
-
-            if let streamError = inputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .inputStreamReadFailed(error: streamError))
-            }
-
-            if bytesRead > 0 {
-                if buffer.count != bytesRead {
-                    buffer = Array(buffer[0..<bytesRead])
-                }
-
-                try write(&buffer, to: outputStream)
-            } else {
-                break
-            }
-        }
-    }
-
-    private func writeFinalBoundaryData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        if bodyPart.hasFinalBoundary {
-            return try write(finalBoundaryData(), to: outputStream)
-        }
-    }
-
-    // MARK: - Private - Writing Buffered Data to Output Stream
-
-    private func write(_ data: Data, to outputStream: OutputStream) throws {
-        var buffer = [UInt8](repeating: 0, count: data.count)
-        data.copyBytes(to: &buffer, count: data.count)
-
-        return try write(&buffer, to: outputStream)
-    }
-
-    private func write(_ buffer: inout [UInt8], to outputStream: OutputStream) throws {
-        var bytesToWrite = buffer.count
-
-        while bytesToWrite > 0, outputStream.hasSpaceAvailable {
-            let bytesWritten = outputStream.write(buffer, maxLength: bytesToWrite)
-
-            if let error = outputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .outputStreamWriteFailed(error: error))
-            }
-
-            bytesToWrite -= bytesWritten
-
-            if bytesToWrite > 0 {
-                buffer = Array(buffer[bytesWritten..<buffer.count])
-            }
-        }
-    }
-
-    // MARK: - Private - Mime Type
-
-    private func mimeType(forPathExtension pathExtension: String) -> String {
-        if
-            let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
-            let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
-        {
-            return contentType as String
-        }
-
-        return "application/octet-stream"
-    }
-
-    // MARK: - Private - Content Headers
-
-    private func contentHeaders(withName name: String, fileName: String? = nil, mimeType: String? = nil) -> [String: String] {
-        var disposition = "form-data; name=\"\(name)\""
-        if let fileName = fileName { disposition += "; filename=\"\(fileName)\"" }
-
-        var headers = ["Content-Disposition": disposition]
-        if let mimeType = mimeType { headers["Content-Type"] = mimeType }
-
-        return headers
-    }
-
-    // MARK: - Private - Boundary Encoding
-
-    private func initialBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .initial, boundary: boundary)
-    }
-
-    private func encapsulatedBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .encapsulated, boundary: boundary)
-    }
-
-    private func finalBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .final, boundary: boundary)
-    }
-
-    // MARK: - Private - Errors
-
-    private func setBodyPartError(withReason reason: AFError.MultipartEncodingFailureReason) {
-        guard bodyPartError == nil else { return }
-        bodyPartError = AFError.multipartEncodingFailed(reason: reason)
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
deleted file mode 100644
index 30443b99b29..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
+++ /dev/null
@@ -1,233 +0,0 @@
-//
-//  NetworkReachabilityManager.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-#if !os(watchOS)
-
-import Foundation
-import SystemConfiguration
-
-/// The `NetworkReachabilityManager` class listens for reachability changes of hosts and addresses for both WWAN and
-/// WiFi network interfaces.
-///
-/// Reachability can be used to determine background information about why a network operation failed, or to retry
-/// network requests when a connection is established. It should not be used to prevent a user from initiating a network
-/// request, as it's possible that an initial request may be required to establish reachability.
-public class NetworkReachabilityManager {
-    /// Defines the various states of network reachability.
-    ///
-    /// - unknown:      It is unknown whether the network is reachable.
-    /// - notReachable: The network is not reachable.
-    /// - reachable:    The network is reachable.
-    public enum NetworkReachabilityStatus {
-        case unknown
-        case notReachable
-        case reachable(ConnectionType)
-    }
-
-    /// Defines the various connection types detected by reachability flags.
-    ///
-    /// - ethernetOrWiFi: The connection type is either over Ethernet or WiFi.
-    /// - wwan:           The connection type is a WWAN connection.
-    public enum ConnectionType {
-        case ethernetOrWiFi
-        case wwan
-    }
-
-    /// A closure executed when the network reachability status changes. The closure takes a single argument: the
-    /// network reachability status.
-    public typealias Listener = (NetworkReachabilityStatus) -> Void
-
-    // MARK: - Properties
-
-    /// Whether the network is currently reachable.
-    public var isReachable: Bool { return isReachableOnWWAN || isReachableOnEthernetOrWiFi }
-
-    /// Whether the network is currently reachable over the WWAN interface.
-    public var isReachableOnWWAN: Bool { return networkReachabilityStatus == .reachable(.wwan) }
-
-    /// Whether the network is currently reachable over Ethernet or WiFi interface.
-    public var isReachableOnEthernetOrWiFi: Bool { return networkReachabilityStatus == .reachable(.ethernetOrWiFi) }
-
-    /// The current network reachability status.
-    public var networkReachabilityStatus: NetworkReachabilityStatus {
-        guard let flags = self.flags else { return .unknown }
-        return networkReachabilityStatusForFlags(flags)
-    }
-
-    /// The dispatch queue to execute the `listener` closure on.
-    public var listenerQueue: DispatchQueue = DispatchQueue.main
-
-    /// A closure executed when the network reachability status changes.
-    public var listener: Listener?
-
-    private var flags: SCNetworkReachabilityFlags? {
-        var flags = SCNetworkReachabilityFlags()
-
-        if SCNetworkReachabilityGetFlags(reachability, &flags) {
-            return flags
-        }
-
-        return nil
-    }
-
-    private let reachability: SCNetworkReachability
-    private var previousFlags: SCNetworkReachabilityFlags
-
-    // MARK: - Initialization
-
-    /// Creates a `NetworkReachabilityManager` instance with the specified host.
-    ///
-    /// - parameter host: The host used to evaluate network reachability.
-    ///
-    /// - returns: The new `NetworkReachabilityManager` instance.
-    public convenience init?(host: String) {
-        guard let reachability = SCNetworkReachabilityCreateWithName(nil, host) else { return nil }
-        self.init(reachability: reachability)
-    }
-
-    /// Creates a `NetworkReachabilityManager` instance that monitors the address 0.0.0.0.
-    ///
-    /// Reachability treats the 0.0.0.0 address as a special token that causes it to monitor the general routing
-    /// status of the device, both IPv4 and IPv6.
-    ///
-    /// - returns: The new `NetworkReachabilityManager` instance.
-    public convenience init?() {
-        var address = sockaddr_in()
-        address.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
-        address.sin_family = sa_family_t(AF_INET)
-
-        guard let reachability = withUnsafePointer(to: &address, { pointer in
-            return pointer.withMemoryRebound(to: sockaddr.self, capacity: MemoryLayout<sockaddr>.size) {
-                return SCNetworkReachabilityCreateWithAddress(nil, $0)
-            }
-        }) else { return nil }
-
-        self.init(reachability: reachability)
-    }
-
-    private init(reachability: SCNetworkReachability) {
-        self.reachability = reachability
-        self.previousFlags = SCNetworkReachabilityFlags()
-    }
-
-    deinit {
-        stopListening()
-    }
-
-    // MARK: - Listening
-
-    /// Starts listening for changes in network reachability status.
-    ///
-    /// - returns: `true` if listening was started successfully, `false` otherwise.
-    @discardableResult
-    public func startListening() -> Bool {
-        var context = SCNetworkReachabilityContext(version: 0, info: nil, retain: nil, release: nil, copyDescription: nil)
-        context.info = Unmanaged.passUnretained(self).toOpaque()
-
-        let callbackEnabled = SCNetworkReachabilitySetCallback(
-            reachability,
-            { (_, flags, info) in
-                let reachability = Unmanaged<NetworkReachabilityManager>.fromOpaque(info!).takeUnretainedValue()
-                reachability.notifyListener(flags)
-            },
-            &context
-        )
-
-        let queueEnabled = SCNetworkReachabilitySetDispatchQueue(reachability, listenerQueue)
-
-        listenerQueue.async {
-            self.previousFlags = SCNetworkReachabilityFlags()
-            self.notifyListener(self.flags ?? SCNetworkReachabilityFlags())
-        }
-
-        return callbackEnabled && queueEnabled
-    }
-
-    /// Stops listening for changes in network reachability status.
-    public func stopListening() {
-        SCNetworkReachabilitySetCallback(reachability, nil, nil)
-        SCNetworkReachabilitySetDispatchQueue(reachability, nil)
-    }
-
-    // MARK: - Internal - Listener Notification
-
-    func notifyListener(_ flags: SCNetworkReachabilityFlags) {
-        guard previousFlags != flags else { return }
-        previousFlags = flags
-
-        listener?(networkReachabilityStatusForFlags(flags))
-    }
-
-    // MARK: - Internal - Network Reachability Status
-
-    func networkReachabilityStatusForFlags(_ flags: SCNetworkReachabilityFlags) -> NetworkReachabilityStatus {
-        guard isNetworkReachable(with: flags) else { return .notReachable }
-
-        var networkStatus: NetworkReachabilityStatus = .reachable(.ethernetOrWiFi)
-
-    #if os(iOS)
-        if flags.contains(.isWWAN) { networkStatus = .reachable(.wwan) }
-    #endif
-
-        return networkStatus
-    }
-
-    func isNetworkReachable(with flags: SCNetworkReachabilityFlags) -> Bool {
-        let isReachable = flags.contains(.reachable)
-        let needsConnection = flags.contains(.connectionRequired)
-        let canConnectAutomatically = flags.contains(.connectionOnDemand) || flags.contains(.connectionOnTraffic)
-        let canConnectWithoutUserInteraction = canConnectAutomatically && !flags.contains(.interventionRequired)
-
-        return isReachable && (!needsConnection || canConnectWithoutUserInteraction)
-    }
-}
-
-// MARK: -
-
-extension NetworkReachabilityManager.NetworkReachabilityStatus: Equatable {}
-
-/// Returns whether the two network reachability status values are equal.
-///
-/// - parameter lhs: The left-hand side value to compare.
-/// - parameter rhs: The right-hand side value to compare.
-///
-/// - returns: `true` if the two values are equal, `false` otherwise.
-public func ==(
-    lhs: NetworkReachabilityManager.NetworkReachabilityStatus,
-    rhs: NetworkReachabilityManager.NetworkReachabilityStatus)
-    -> Bool
-{
-    switch (lhs, rhs) {
-    case (.unknown, .unknown):
-        return true
-    case (.notReachable, .notReachable):
-        return true
-    case let (.reachable(lhsConnectionType), .reachable(rhsConnectionType)):
-        return lhsConnectionType == rhsConnectionType
-    default:
-        return false
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
deleted file mode 100644
index 81f6e378c89..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
+++ /dev/null
@@ -1,52 +0,0 @@
-//
-//  Notifications.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Notification.Name {
-    /// Used as a namespace for all `URLSessionTask` related notifications.
-    public struct Task {
-        /// Posted when a `URLSessionTask` is resumed. The notification `object` contains the resumed `URLSessionTask`.
-        public static let DidResume = Notification.Name(rawValue: "org.alamofire.notification.name.task.didResume")
-
-        /// Posted when a `URLSessionTask` is suspended. The notification `object` contains the suspended `URLSessionTask`.
-        public static let DidSuspend = Notification.Name(rawValue: "org.alamofire.notification.name.task.didSuspend")
-
-        /// Posted when a `URLSessionTask` is cancelled. The notification `object` contains the cancelled `URLSessionTask`.
-        public static let DidCancel = Notification.Name(rawValue: "org.alamofire.notification.name.task.didCancel")
-
-        /// Posted when a `URLSessionTask` is completed. The notification `object` contains the completed `URLSessionTask`.
-        public static let DidComplete = Notification.Name(rawValue: "org.alamofire.notification.name.task.didComplete")
-    }
-}
-
-// MARK: -
-
-extension Notification {
-    /// Used as a namespace for all `Notification` user info dictionary keys.
-    public struct Key {
-        /// User info dictionary key representing the `URLSessionTask` associated with the notification.
-        public static let Task = "org.alamofire.notification.key.task"
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
deleted file mode 100644
index 959af6f9365..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
+++ /dev/null
@@ -1,436 +0,0 @@
-//
-//  ParameterEncoding.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// HTTP method definitions.
-///
-/// See https://tools.ietf.org/html/rfc7231#section-4.3
-public enum HTTPMethod: String {
-    case options = "OPTIONS"
-    case get     = "GET"
-    case head    = "HEAD"
-    case post    = "POST"
-    case put     = "PUT"
-    case patch   = "PATCH"
-    case delete  = "DELETE"
-    case trace   = "TRACE"
-    case connect = "CONNECT"
-}
-
-// MARK: -
-
-/// A dictionary of parameters to apply to a `URLRequest`.
-public typealias Parameters = [String: Any]
-
-/// A type used to define how a set of parameters are applied to a `URLRequest`.
-public protocol ParameterEncoding {
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `AFError.parameterEncodingFailed` error if encoding fails.
-    ///
-    /// - returns: The encoded request.
-    func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
-}
-
-// MARK: -
-
-/// Creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP
-/// body of the URL request. Whether the query string is set or appended to any existing URL query string or set as
-/// the HTTP body depends on the destination of the encoding.
-///
-/// The `Content-Type` HTTP header field of an encoded request with HTTP body is set to
-/// `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode
-/// collection types, the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending
-/// the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`).
-public struct URLEncoding: ParameterEncoding {
-
-    // MARK: Helper Types
-
-    /// Defines whether the url-encoded query string is applied to the existing query string or HTTP body of the
-    /// resulting URL request.
-    ///
-    /// - methodDependent: Applies encoded query string result to existing query string for `GET`, `HEAD` and `DELETE`
-    ///                    requests and sets as the HTTP body for requests with any other HTTP method.
-    /// - queryString:     Sets or appends encoded query string result to existing query string.
-    /// - httpBody:        Sets encoded query string result as the HTTP body of the URL request.
-    public enum Destination {
-        case methodDependent, queryString, httpBody
-    }
-
-    // MARK: Properties
-
-    /// Returns a default `URLEncoding` instance.
-    public static var `default`: URLEncoding { return URLEncoding() }
-
-    /// Returns a `URLEncoding` instance with a `.methodDependent` destination.
-    public static var methodDependent: URLEncoding { return URLEncoding() }
-
-    /// Returns a `URLEncoding` instance with a `.queryString` destination.
-    public static var queryString: URLEncoding { return URLEncoding(destination: .queryString) }
-
-    /// Returns a `URLEncoding` instance with an `.httpBody` destination.
-    public static var httpBody: URLEncoding { return URLEncoding(destination: .httpBody) }
-
-    /// The destination defining where the encoded query string is to be applied to the URL request.
-    public let destination: Destination
-
-    // MARK: Initialization
-
-    /// Creates a `URLEncoding` instance using the specified destination.
-    ///
-    /// - parameter destination: The destination defining where the encoded query string is to be applied.
-    ///
-    /// - returns: The new `URLEncoding` instance.
-    public init(destination: Destination = .methodDependent) {
-        self.destination = destination
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        if let method = HTTPMethod(rawValue: urlRequest.httpMethod ?? "GET"), encodesParametersInURL(with: method) {
-            guard let url = urlRequest.url else {
-                throw AFError.parameterEncodingFailed(reason: .missingURL)
-            }
-
-            if var urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: false), !parameters.isEmpty {
-                let percentEncodedQuery = (urlComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters)
-                urlComponents.percentEncodedQuery = percentEncodedQuery
-                urlRequest.url = urlComponents.url
-            }
-        } else {
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/x-www-form-urlencoded; charset=utf-8", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = query(parameters).data(using: .utf8, allowLossyConversion: false)
-        }
-
-        return urlRequest
-    }
-
-    /// Creates percent-escaped, URL encoded query string components from the given key-value pair using recursion.
-    ///
-    /// - parameter key:   The key of the query component.
-    /// - parameter value: The value of the query component.
-    ///
-    /// - returns: The percent-escaped, URL encoded query string components.
-    public func queryComponents(fromKey key: String, value: Any) -> [(String, String)] {
-        var components: [(String, String)] = []
-
-        if let dictionary = value as? [String: Any] {
-            for (nestedKey, value) in dictionary {
-                components += queryComponents(fromKey: "\(key)[\(nestedKey)]", value: value)
-            }
-        } else if let array = value as? [Any] {
-            for value in array {
-                components += queryComponents(fromKey: "\(key)[]", value: value)
-            }
-        } else if let value = value as? NSNumber {
-            if value.isBool {
-                components.append((escape(key), escape((value.boolValue ? "1" : "0"))))
-            } else {
-                components.append((escape(key), escape("\(value)")))
-            }
-        } else if let bool = value as? Bool {
-            components.append((escape(key), escape((bool ? "1" : "0"))))
-        } else {
-            components.append((escape(key), escape("\(value)")))
-        }
-
-        return components
-    }
-
-    /// Returns a percent-escaped string following RFC 3986 for a query string key or value.
-    ///
-    /// RFC 3986 states that the following characters are "reserved" characters.
-    ///
-    /// - General Delimiters: ":", "#", "[", "]", "@", "?", "/"
-    /// - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="
-    ///
-    /// In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow
-    /// query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/"
-    /// should be percent-escaped in the query string.
-    ///
-    /// - parameter string: The string to be percent-escaped.
-    ///
-    /// - returns: The percent-escaped string.
-    public func escape(_ string: String) -> String {
-        let generalDelimitersToEncode = ":#[]@" // does not include "?" or "/" due to RFC 3986 - Section 3.4
-        let subDelimitersToEncode = "!$&'()*+,;="
-
-        var allowedCharacterSet = CharacterSet.urlQueryAllowed
-        allowedCharacterSet.remove(charactersIn: "\(generalDelimitersToEncode)\(subDelimitersToEncode)")
-
-        var escaped = ""
-
-        //==========================================================================================================
-        //
-        //  Batching is required for escaping due to an internal bug in iOS 8.1 and 8.2. Encoding more than a few
-        //  hundred Chinese characters causes various malloc error crashes. To avoid this issue until iOS 8 is no
-        //  longer supported, batching MUST be used for encoding. This introduces roughly a 20% overhead. For more
-        //  info, please refer to:
-        //
-        //      - https://github.com/Alamofire/Alamofire/issues/206
-        //
-        //==========================================================================================================
-
-        if #available(iOS 8.3, *) {
-            escaped = string.addingPercentEncoding(withAllowedCharacters: allowedCharacterSet) ?? string
-        } else {
-            let batchSize = 50
-            var index = string.startIndex
-
-            while index != string.endIndex {
-                let startIndex = index
-                let endIndex = string.index(index, offsetBy: batchSize, limitedBy: string.endIndex) ?? string.endIndex
-                let range = startIndex..<endIndex
-
-                let substring = string.substring(with: range)
-
-                escaped += substring.addingPercentEncoding(withAllowedCharacters: allowedCharacterSet) ?? substring
-
-                index = endIndex
-            }
-        }
-
-        return escaped
-    }
-
-    private func query(_ parameters: [String: Any]) -> String {
-        var components: [(String, String)] = []
-
-        for key in parameters.keys.sorted(by: <) {
-            let value = parameters[key]!
-            components += queryComponents(fromKey: key, value: value)
-        }
-    #if swift(>=4.0)
-        return components.map { "\($0.0)=\($0.1)" }.joined(separator: "&")
-    #else
-        return components.map { "\($0)=\($1)" }.joined(separator: "&")
-    #endif
-    }
-
-    private func encodesParametersInURL(with method: HTTPMethod) -> Bool {
-        switch destination {
-        case .queryString:
-            return true
-        case .httpBody:
-            return false
-        default:
-            break
-        }
-
-        switch method {
-        case .get, .head, .delete:
-            return true
-        default:
-            return false
-        }
-    }
-}
-
-// MARK: -
-
-/// Uses `JSONSerialization` to create a JSON representation of the parameters object, which is set as the body of the
-/// request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`.
-public struct JSONEncoding: ParameterEncoding {
-
-    // MARK: Properties
-
-    /// Returns a `JSONEncoding` instance with default writing options.
-    public static var `default`: JSONEncoding { return JSONEncoding() }
-
-    /// Returns a `JSONEncoding` instance with `.prettyPrinted` writing options.
-    public static var prettyPrinted: JSONEncoding { return JSONEncoding(options: .prettyPrinted) }
-
-    /// The options for writing the parameters as JSON data.
-    public let options: JSONSerialization.WritingOptions
-
-    // MARK: Initialization
-
-    /// Creates a `JSONEncoding` instance using the specified options.
-    ///
-    /// - parameter options: The options for writing the parameters as JSON data.
-    ///
-    /// - returns: The new `JSONEncoding` instance.
-    public init(options: JSONSerialization.WritingOptions = []) {
-        self.options = options
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        do {
-            let data = try JSONSerialization.data(withJSONObject: parameters, options: options)
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .jsonEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-
-    /// Creates a URL request by encoding the JSON object and setting the resulting data on the HTTP body.
-    ///
-    /// - parameter urlRequest: The request to apply the JSON object to.
-    /// - parameter jsonObject: The JSON object to apply to the request.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let jsonObject = jsonObject else { return urlRequest }
-
-        do {
-            let data = try JSONSerialization.data(withJSONObject: jsonObject, options: options)
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .jsonEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-}
-
-// MARK: -
-
-/// Uses `PropertyListSerialization` to create a plist representation of the parameters object, according to the
-/// associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header
-/// field of an encoded request is set to `application/x-plist`.
-public struct PropertyListEncoding: ParameterEncoding {
-
-    // MARK: Properties
-
-    /// Returns a default `PropertyListEncoding` instance.
-    public static var `default`: PropertyListEncoding { return PropertyListEncoding() }
-
-    /// Returns a `PropertyListEncoding` instance with xml formatting and default writing options.
-    public static var xml: PropertyListEncoding { return PropertyListEncoding(format: .xml) }
-
-    /// Returns a `PropertyListEncoding` instance with binary formatting and default writing options.
-    public static var binary: PropertyListEncoding { return PropertyListEncoding(format: .binary) }
-
-    /// The property list serialization format.
-    public let format: PropertyListSerialization.PropertyListFormat
-
-    /// The options for writing the parameters as plist data.
-    public let options: PropertyListSerialization.WriteOptions
-
-    // MARK: Initialization
-
-    /// Creates a `PropertyListEncoding` instance using the specified format and options.
-    ///
-    /// - parameter format:  The property list serialization format.
-    /// - parameter options: The options for writing the parameters as plist data.
-    ///
-    /// - returns: The new `PropertyListEncoding` instance.
-    public init(
-        format: PropertyListSerialization.PropertyListFormat = .xml,
-        options: PropertyListSerialization.WriteOptions = 0)
-    {
-        self.format = format
-        self.options = options
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        do {
-            let data = try PropertyListSerialization.data(
-                fromPropertyList: parameters,
-                format: format,
-                options: options
-            )
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/x-plist", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .propertyListEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-}
-
-// MARK: -
-
-extension NSNumber {
-    fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Request.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
deleted file mode 100644
index 4f6350c5bfe..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
+++ /dev/null
@@ -1,647 +0,0 @@
-//
-//  Request.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// A type that can inspect and optionally adapt a `URLRequest` in some manner if necessary.
-public protocol RequestAdapter {
-    /// Inspects and adapts the specified `URLRequest` in some manner if necessary and returns the result.
-    ///
-    /// - parameter urlRequest: The URL request to adapt.
-    ///
-    /// - throws: An `Error` if the adaptation encounters an error.
-    ///
-    /// - returns: The adapted `URLRequest`.
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest
-}
-
-// MARK: -
-
-/// A closure executed when the `RequestRetrier` determines whether a `Request` should be retried or not.
-public typealias RequestRetryCompletion = (_ shouldRetry: Bool, _ timeDelay: TimeInterval) -> Void
-
-/// A type that determines whether a request should be retried after being executed by the specified session manager
-/// and encountering an error.
-public protocol RequestRetrier {
-    /// Determines whether the `Request` should be retried by calling the `completion` closure.
-    ///
-    /// This operation is fully asynchronous. Any amount of time can be taken to determine whether the request needs
-    /// to be retried. The one requirement is that the completion closure is called to ensure the request is properly
-    /// cleaned up after.
-    ///
-    /// - parameter manager:    The session manager the request was executed on.
-    /// - parameter request:    The request that failed due to the encountered error.
-    /// - parameter error:      The error encountered when executing the request.
-    /// - parameter completion: The completion closure to be executed when retry decision has been determined.
-    func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion)
-}
-
-// MARK: -
-
-protocol TaskConvertible {
-    func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask
-}
-
-/// A dictionary of headers to apply to a `URLRequest`.
-public typealias HTTPHeaders = [String: String]
-
-// MARK: -
-
-/// Responsible for sending a request and receiving the response and associated data from the server, as well as
-/// managing its underlying `URLSessionTask`.
-open class Request {
-
-    // MARK: Helper Types
-
-    /// A closure executed when monitoring upload or download progress of a request.
-    public typealias ProgressHandler = (Progress) -> Void
-
-    enum RequestTask {
-        case data(TaskConvertible?, URLSessionTask?)
-        case download(TaskConvertible?, URLSessionTask?)
-        case upload(TaskConvertible?, URLSessionTask?)
-        case stream(TaskConvertible?, URLSessionTask?)
-    }
-
-    // MARK: Properties
-
-    /// The delegate for the underlying task.
-    open internal(set) var delegate: TaskDelegate {
-        get {
-            taskDelegateLock.lock() ; defer { taskDelegateLock.unlock() }
-            return taskDelegate
-        }
-        set {
-            taskDelegateLock.lock() ; defer { taskDelegateLock.unlock() }
-            taskDelegate = newValue
-        }
-    }
-
-    /// The underlying task.
-    open var task: URLSessionTask? { return delegate.task }
-
-    /// The session belonging to the underlying task.
-    open let session: URLSession
-
-    /// The request sent or to be sent to the server.
-    open var request: URLRequest? { return task?.originalRequest }
-
-    /// The response received from the server, if any.
-    open var response: HTTPURLResponse? { return task?.response as? HTTPURLResponse }
-
-    /// The number of times the request has been retried.
-    open internal(set) var retryCount: UInt = 0
-
-    let originalTask: TaskConvertible?
-
-    var startTime: CFAbsoluteTime?
-    var endTime: CFAbsoluteTime?
-
-    var validations: [() -> Void] = []
-
-    private var taskDelegate: TaskDelegate
-    private var taskDelegateLock = NSLock()
-
-    // MARK: Lifecycle
-
-    init(session: URLSession, requestTask: RequestTask, error: Error? = nil) {
-        self.session = session
-
-        switch requestTask {
-        case .data(let originalTask, let task):
-            taskDelegate = DataTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .download(let originalTask, let task):
-            taskDelegate = DownloadTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .upload(let originalTask, let task):
-            taskDelegate = UploadTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .stream(let originalTask, let task):
-            taskDelegate = TaskDelegate(task: task)
-            self.originalTask = originalTask
-        }
-
-        delegate.error = error
-        delegate.queue.addOperation { self.endTime = CFAbsoluteTimeGetCurrent() }
-    }
-
-    // MARK: Authentication
-
-    /// Associates an HTTP Basic credential with the request.
-    ///
-    /// - parameter user:        The user.
-    /// - parameter password:    The password.
-    /// - parameter persistence: The URL credential persistence. `.ForSession` by default.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func authenticate(
-        user: String,
-        password: String,
-        persistence: URLCredential.Persistence = .forSession)
-        -> Self
-    {
-        let credential = URLCredential(user: user, password: password, persistence: persistence)
-        return authenticate(usingCredential: credential)
-    }
-
-    /// Associates a specified credential with the request.
-    ///
-    /// - parameter credential: The credential.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func authenticate(usingCredential credential: URLCredential) -> Self {
-        delegate.credential = credential
-        return self
-    }
-
-    /// Returns a base64 encoded basic authentication credential as an authorization header tuple.
-    ///
-    /// - parameter user:     The user.
-    /// - parameter password: The password.
-    ///
-    /// - returns: A tuple with Authorization header and credential value if encoding succeeds, `nil` otherwise.
-    open static func authorizationHeader(user: String, password: String) -> (key: String, value: String)? {
-        guard let data = "\(user):\(password)".data(using: .utf8) else { return nil }
-
-        let credential = data.base64EncodedString(options: [])
-
-        return (key: "Authorization", value: "Basic \(credential)")
-    }
-
-    // MARK: State
-
-    /// Resumes the request.
-    open func resume() {
-        guard let task = task else { delegate.queue.isSuspended = false ; return }
-
-        if startTime == nil { startTime = CFAbsoluteTimeGetCurrent() }
-
-        task.resume()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidResume,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-
-    /// Suspends the request.
-    open func suspend() {
-        guard let task = task else { return }
-
-        task.suspend()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidSuspend,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-
-    /// Cancels the request.
-    open func cancel() {
-        guard let task = task else { return }
-
-        task.cancel()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidCancel,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Request: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the HTTP method and URL, as
-    /// well as the response status code if a response has been received.
-    open var description: String {
-        var components: [String] = []
-
-        if let HTTPMethod = request?.httpMethod {
-            components.append(HTTPMethod)
-        }
-
-        if let urlString = request?.url?.absoluteString {
-            components.append(urlString)
-        }
-
-        if let response = response {
-            components.append("(\(response.statusCode))")
-        }
-
-        return components.joined(separator: " ")
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Request: CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, in the form of a cURL command.
-    open var debugDescription: String {
-        return cURLRepresentation()
-    }
-
-    func cURLRepresentation() -> String {
-        var components = ["$ curl -v"]
-
-        guard let request = self.request,
-              let url = request.url,
-              let host = url.host
-        else {
-            return "$ curl command could not be created"
-        }
-
-        if let httpMethod = request.httpMethod, httpMethod != "GET" {
-            components.append("-X \(httpMethod)")
-        }
-
-        if let credentialStorage = self.session.configuration.urlCredentialStorage {
-            let protectionSpace = URLProtectionSpace(
-                host: host,
-                port: url.port ?? 0,
-                protocol: url.scheme,
-                realm: host,
-                authenticationMethod: NSURLAuthenticationMethodHTTPBasic
-            )
-
-            if let credentials = credentialStorage.credentials(for: protectionSpace)?.values {
-                for credential in credentials {
-                    components.append("-u \(credential.user!):\(credential.password!)")
-                }
-            } else {
-                if let credential = delegate.credential {
-                    components.append("-u \(credential.user!):\(credential.password!)")
-                }
-            }
-        }
-
-        if session.configuration.httpShouldSetCookies {
-            if
-                let cookieStorage = session.configuration.httpCookieStorage,
-                let cookies = cookieStorage.cookies(for: url), !cookies.isEmpty
-            {
-                let string = cookies.reduce("") { $0 + "\($1.name)=\($1.value);" }
-                components.append("-b \"\(string.substring(to: string.characters.index(before: string.endIndex)))\"")
-            }
-        }
-
-        var headers: [AnyHashable: Any] = [:]
-
-        if let additionalHeaders = session.configuration.httpAdditionalHeaders {
-            for (field, value) in additionalHeaders where field != AnyHashable("Cookie") {
-                headers[field] = value
-            }
-        }
-
-        if let headerFields = request.allHTTPHeaderFields {
-            for (field, value) in headerFields where field != "Cookie" {
-                headers[field] = value
-            }
-        }
-
-        for (field, value) in headers {
-            components.append("-H \"\(field): \(value)\"")
-        }
-
-        if let httpBodyData = request.httpBody, let httpBody = String(data: httpBodyData, encoding: .utf8) {
-            var escapedBody = httpBody.replacingOccurrences(of: "\\\"", with: "\\\\\"")
-            escapedBody = escapedBody.replacingOccurrences(of: "\"", with: "\\\"")
-
-            components.append("-d \"\(escapedBody)\"")
-        }
-
-        components.append("\"\(url.absoluteString)\"")
-
-        return components.joined(separator: " \\\n\t")
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionDataTask`.
-open class DataRequest: Request {
-
-    // MARK: Helper Types
-
-    struct Requestable: TaskConvertible {
-        let urlRequest: URLRequest
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let urlRequest = try self.urlRequest.adapt(using: adapter)
-                return queue.sync { session.dataTask(with: urlRequest) }
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-        if let requestable = originalTask as? Requestable { return requestable.urlRequest }
-
-        return nil
-    }
-
-    /// The progress of fetching the response data from the server for the request.
-    open var progress: Progress { return dataDelegate.progress }
-
-    var dataDelegate: DataTaskDelegate { return delegate as! DataTaskDelegate }
-
-    // MARK: Stream
-
-    /// Sets a closure to be called periodically during the lifecycle of the request as data is read from the server.
-    ///
-    /// This closure returns the bytes most recently received from the server, not including data from previous calls.
-    /// If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is
-    /// also important to note that the server data in any `Response` object will be `nil`.
-    ///
-    /// - parameter closure: The code to be executed periodically during the lifecycle of the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func stream(closure: ((Data) -> Void)? = nil) -> Self {
-        dataDelegate.dataStream = closure
-        return self
-    }
-
-    // MARK: Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `Request` as data is read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is read from the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func downloadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        dataDelegate.progressHandler = (closure, queue)
-        return self
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionDownloadTask`.
-open class DownloadRequest: Request {
-
-    // MARK: Helper Types
-
-    /// A collection of options to be executed prior to moving a downloaded file from the temporary URL to the
-    /// destination URL.
-    public struct DownloadOptions: OptionSet {
-        /// Returns the raw bitmask value of the option and satisfies the `RawRepresentable` protocol.
-        public let rawValue: UInt
-
-        /// A `DownloadOptions` flag that creates intermediate directories for the destination URL if specified.
-        public static let createIntermediateDirectories = DownloadOptions(rawValue: 1 << 0)
-
-        /// A `DownloadOptions` flag that removes a previous file from the destination URL if specified.
-        public static let removePreviousFile = DownloadOptions(rawValue: 1 << 1)
-
-        /// Creates a `DownloadFileDestinationOptions` instance with the specified raw value.
-        ///
-        /// - parameter rawValue: The raw bitmask value for the option.
-        ///
-        /// - returns: A new log level instance.
-        public init(rawValue: UInt) {
-            self.rawValue = rawValue
-        }
-    }
-
-    /// A closure executed once a download request has successfully completed in order to determine where to move the
-    /// temporary file written to during the download process. The closure takes two arguments: the temporary file URL
-    /// and the URL response, and returns a two arguments: the file URL where the temporary file should be moved and
-    /// the options defining how the file should be moved.
-    public typealias DownloadFileDestination = (
-        _ temporaryURL: URL,
-        _ response: HTTPURLResponse)
-        -> (destinationURL: URL, options: DownloadOptions)
-
-    enum Downloadable: TaskConvertible {
-        case request(URLRequest)
-        case resumeData(Data)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let task: URLSessionTask
-
-                switch self {
-                case let .request(urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.downloadTask(with: urlRequest) }
-                case let .resumeData(resumeData):
-                    task = queue.sync { session.downloadTask(withResumeData: resumeData) }
-                }
-
-                return task
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-
-        if let downloadable = originalTask as? Downloadable, case let .request(urlRequest) = downloadable {
-            return urlRequest
-        }
-
-        return nil
-    }
-
-    /// The resume data of the underlying download task if available after a failure.
-    open var resumeData: Data? { return downloadDelegate.resumeData }
-
-    /// The progress of downloading the response data from the server for the request.
-    open var progress: Progress { return downloadDelegate.progress }
-
-    var downloadDelegate: DownloadTaskDelegate { return delegate as! DownloadTaskDelegate }
-
-    // MARK: State
-
-    /// Cancels the request.
-    open override func cancel() {
-        downloadDelegate.downloadTask.cancel { self.downloadDelegate.resumeData = $0 }
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidCancel,
-            object: self,
-            userInfo: [Notification.Key.Task: task as Any]
-        )
-    }
-
-    // MARK: Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `Request` as data is read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is read from the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func downloadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        downloadDelegate.progressHandler = (closure, queue)
-        return self
-    }
-
-    // MARK: Destination
-
-    /// Creates a download file destination closure which uses the default file manager to move the temporary file to a
-    /// file URL in the first available directory with the specified search path directory and search path domain mask.
-    ///
-    /// - parameter directory: The search path directory. `.DocumentDirectory` by default.
-    /// - parameter domain:    The search path domain mask. `.UserDomainMask` by default.
-    ///
-    /// - returns: A download file destination closure.
-    open class func suggestedDownloadDestination(
-        for directory: FileManager.SearchPathDirectory = .documentDirectory,
-        in domain: FileManager.SearchPathDomainMask = .userDomainMask)
-        -> DownloadFileDestination
-    {
-        return { temporaryURL, response in
-            let directoryURLs = FileManager.default.urls(for: directory, in: domain)
-
-            if !directoryURLs.isEmpty {
-                return (directoryURLs[0].appendingPathComponent(response.suggestedFilename!), [])
-            }
-
-            return (temporaryURL, [])
-        }
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionUploadTask`.
-open class UploadRequest: DataRequest {
-
-    // MARK: Helper Types
-
-    enum Uploadable: TaskConvertible {
-        case data(Data, URLRequest)
-        case file(URL, URLRequest)
-        case stream(InputStream, URLRequest)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let task: URLSessionTask
-
-                switch self {
-                case let .data(data, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(with: urlRequest, from: data) }
-                case let .file(url, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(with: urlRequest, fromFile: url) }
-                case let .stream(_, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(withStreamedRequest: urlRequest) }
-                }
-
-                return task
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-
-        guard let uploadable = originalTask as? Uploadable else { return nil }
-
-        switch uploadable {
-        case .data(_, let urlRequest), .file(_, let urlRequest), .stream(_, let urlRequest):
-            return urlRequest
-        }
-    }
-
-    /// The progress of uploading the payload to the server for the upload request.
-    open var uploadProgress: Progress { return uploadDelegate.uploadProgress }
-
-    var uploadDelegate: UploadTaskDelegate { return delegate as! UploadTaskDelegate }
-
-    // MARK: Upload Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `UploadRequest` as data is sent to
-    /// the server.
-    ///
-    /// After the data is sent to the server, the `progress(queue:closure:)` APIs can be used to monitor the progress
-    /// of data being read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is sent to the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func uploadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        uploadDelegate.uploadProgressHandler = (closure, queue)
-        return self
-    }
-}
-
-// MARK: -
-
-#if !os(watchOS)
-
-/// Specific type of `Request` that manages an underlying `URLSessionStreamTask`.
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-open class StreamRequest: Request {
-    enum Streamable: TaskConvertible {
-        case stream(hostName: String, port: Int)
-        case netService(NetService)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            let task: URLSessionTask
-
-            switch self {
-            case let .stream(hostName, port):
-                task = queue.sync { session.streamTask(withHostName: hostName, port: port) }
-            case let .netService(netService):
-                task = queue.sync { session.streamTask(with: netService) }
-            }
-
-            return task
-        }
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Response.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
deleted file mode 100644
index 5d3b6d2542e..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
+++ /dev/null
@@ -1,465 +0,0 @@
-//
-//  Response.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Used to store all data associated with an non-serialized response of a data or upload request.
-public struct DefaultDataResponse {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The data returned by the server.
-    public let data: Data?
-
-    /// The error encountered while executing or validating the request.
-    public let error: Error?
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DefaultDataResponse` instance from the specified parameters.
-    ///
-    /// - Parameters:
-    ///   - request:  The URL request sent to the server.
-    ///   - response: The server's response to the URL request.
-    ///   - data:     The data returned by the server.
-    ///   - error:    The error encountered while executing or validating the request.
-    ///   - timeline: The timeline of the complete lifecycle of the request. `Timeline()` by default.
-    ///   - metrics:  The task metrics containing the request / response statistics. `nil` by default.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?,
-        timeline: Timeline = Timeline(),
-        metrics: AnyObject? = nil)
-    {
-        self.request = request
-        self.response = response
-        self.data = data
-        self.error = error
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with a serialized response of a data or upload request.
-public struct DataResponse<Value> {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The data returned by the server.
-    public let data: Data?
-
-    /// The result of response serialization.
-    public let result: Result<Value>
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    /// Returns the associated value of the result if it is a success, `nil` otherwise.
-    public var value: Value? { return result.value }
-
-    /// Returns the associated error value if the result if it is a failure, `nil` otherwise.
-    public var error: Error? { return result.error }
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DataResponse` instance with the specified parameters derived from response serialization.
-    ///
-    /// - parameter request:  The URL request sent to the server.
-    /// - parameter response: The server's response to the URL request.
-    /// - parameter data:     The data returned by the server.
-    /// - parameter result:   The result of response serialization.
-    /// - parameter timeline: The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`.
-    ///
-    /// - returns: The new `DataResponse` instance.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        result: Result<Value>,
-        timeline: Timeline = Timeline())
-    {
-        self.request = request
-        self.response = response
-        self.data = data
-        self.result = result
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-extension DataResponse: CustomStringConvertible, CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        return result.debugDescription
-    }
-
-    /// The debug textual representation used when written to an output stream, which includes the URL request, the URL
-    /// response, the server data, the response serialization result and the timeline.
-    public var debugDescription: String {
-        var output: [String] = []
-
-        output.append(request != nil ? "[Request]: \(request!.httpMethod ?? "GET") \(request!)" : "[Request]: nil")
-        output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil")
-        output.append("[Data]: \(data?.count ?? 0) bytes")
-        output.append("[Result]: \(result.debugDescription)")
-        output.append("[Timeline]: \(timeline.debugDescription)")
-
-        return output.joined(separator: "\n")
-    }
-}
-
-// MARK: -
-
-extension DataResponse {
-    /// Evaluates the specified closure when the result of this `DataResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: DataResponse<Data> = ...
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A `DataResponse` whose result wraps the value returned by the given closure. If this instance's
-    ///            result is a failure, returns a response wrapping the same failure.
-    public func map<T>(_ transform: (Value) -> T) -> DataResponse<T> {
-        var response = DataResponse<T>(
-            request: request,
-            response: self.response,
-            data: data,
-            result: result.map(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-
-    /// Evaluates the given closure when the result of this `DataResponse` is a success, passing the unwrapped result
-    /// value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: DataResponse<Data> = ...
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A success or failure `DataResponse` depending on the result of the given closure. If this instance's
-    ///            result is a failure, returns the same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> DataResponse<T> {
-        var response = DataResponse<T>(
-            request: request,
-            response: self.response,
-            data: data,
-            result: result.flatMap(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with an non-serialized response of a download request.
-public struct DefaultDownloadResponse {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The temporary destination URL of the data returned from the server.
-    public let temporaryURL: URL?
-
-    /// The final destination URL of the data returned from the server if it was moved.
-    public let destinationURL: URL?
-
-    /// The resume data generated if the request was cancelled.
-    public let resumeData: Data?
-
-    /// The error encountered while executing or validating the request.
-    public let error: Error?
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DefaultDownloadResponse` instance from the specified parameters.
-    ///
-    /// - Parameters:
-    ///   - request:        The URL request sent to the server.
-    ///   - response:       The server's response to the URL request.
-    ///   - temporaryURL:   The temporary destination URL of the data returned from the server.
-    ///   - destinationURL: The final destination URL of the data returned from the server if it was moved.
-    ///   - resumeData:     The resume data generated if the request was cancelled.
-    ///   - error:          The error encountered while executing or validating the request.
-    ///   - timeline:       The timeline of the complete lifecycle of the request. `Timeline()` by default.
-    ///   - metrics:        The task metrics containing the request / response statistics. `nil` by default.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        temporaryURL: URL?,
-        destinationURL: URL?,
-        resumeData: Data?,
-        error: Error?,
-        timeline: Timeline = Timeline(),
-        metrics: AnyObject? = nil)
-    {
-        self.request = request
-        self.response = response
-        self.temporaryURL = temporaryURL
-        self.destinationURL = destinationURL
-        self.resumeData = resumeData
-        self.error = error
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with a serialized response of a download request.
-public struct DownloadResponse<Value> {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The temporary destination URL of the data returned from the server.
-    public let temporaryURL: URL?
-
-    /// The final destination URL of the data returned from the server if it was moved.
-    public let destinationURL: URL?
-
-    /// The resume data generated if the request was cancelled.
-    public let resumeData: Data?
-
-    /// The result of response serialization.
-    public let result: Result<Value>
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    /// Returns the associated value of the result if it is a success, `nil` otherwise.
-    public var value: Value? { return result.value }
-
-    /// Returns the associated error value if the result if it is a failure, `nil` otherwise.
-    public var error: Error? { return result.error }
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DownloadResponse` instance with the specified parameters derived from response serialization.
-    ///
-    /// - parameter request:        The URL request sent to the server.
-    /// - parameter response:       The server's response to the URL request.
-    /// - parameter temporaryURL:   The temporary destination URL of the data returned from the server.
-    /// - parameter destinationURL: The final destination URL of the data returned from the server if it was moved.
-    /// - parameter resumeData:     The resume data generated if the request was cancelled.
-    /// - parameter result:         The result of response serialization.
-    /// - parameter timeline:       The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`.
-    ///
-    /// - returns: The new `DownloadResponse` instance.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        temporaryURL: URL?,
-        destinationURL: URL?,
-        resumeData: Data?,
-        result: Result<Value>,
-        timeline: Timeline = Timeline())
-    {
-        self.request = request
-        self.response = response
-        self.temporaryURL = temporaryURL
-        self.destinationURL = destinationURL
-        self.resumeData = resumeData
-        self.result = result
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-extension DownloadResponse: CustomStringConvertible, CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        return result.debugDescription
-    }
-
-    /// The debug textual representation used when written to an output stream, which includes the URL request, the URL
-    /// response, the temporary and destination URLs, the resume data, the response serialization result and the
-    /// timeline.
-    public var debugDescription: String {
-        var output: [String] = []
-
-        output.append(request != nil ? "[Request]: \(request!.httpMethod ?? "GET") \(request!)" : "[Request]: nil")
-        output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil")
-        output.append("[TemporaryURL]: \(temporaryURL?.path ?? "nil")")
-        output.append("[DestinationURL]: \(destinationURL?.path ?? "nil")")
-        output.append("[ResumeData]: \(resumeData?.count ?? 0) bytes")
-        output.append("[Result]: \(result.debugDescription)")
-        output.append("[Timeline]: \(timeline.debugDescription)")
-
-        return output.joined(separator: "\n")
-    }
-}
-
-// MARK: -
-
-extension DownloadResponse {
-    /// Evaluates the given closure when the result of this `DownloadResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: DownloadResponse<Data> = ...
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A `DownloadResponse` whose result wraps the value returned by the given closure. If this instance's
-    ///            result is a failure, returns a response wrapping the same failure.
-    public func map<T>(_ transform: (Value) -> T) -> DownloadResponse<T> {
-        var response = DownloadResponse<T>(
-            request: request,
-            response: self.response,
-            temporaryURL: temporaryURL,
-            destinationURL: destinationURL,
-            resumeData: resumeData,
-            result: result.map(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-
-    /// Evaluates the given closure when the result of this `DownloadResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: DownloadResponse<Data> = ...
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A success or failure `DownloadResponse` depending on the result of the given closure. If this
-    /// instance's result is a failure, returns the same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> DownloadResponse<T> {
-        var response = DownloadResponse<T>(
-            request: request,
-            response: self.response,
-            temporaryURL: temporaryURL,
-            destinationURL: destinationURL,
-            resumeData: resumeData,
-            result: result.flatMap(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-}
-
-// MARK: -
-
-protocol Response {
-    /// The task metrics containing the request / response statistics.
-    var _metrics: AnyObject? { get set }
-    mutating func add(_ metrics: AnyObject?)
-}
-
-extension Response {
-    mutating func add(_ metrics: AnyObject?) {
-        #if !os(watchOS)
-            guard #available(iOS 10.0, macOS 10.12, tvOS 10.0, *) else { return }
-            guard let metrics = metrics as? URLSessionTaskMetrics else { return }
-
-            _metrics = metrics
-        #endif
-    }
-}
-
-// MARK: -
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DefaultDataResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DataResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DefaultDownloadResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DownloadResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
deleted file mode 100644
index 1a59da550a7..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
+++ /dev/null
@@ -1,715 +0,0 @@
-//
-//  ResponseSerialization.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// The type in which all data response serializers must conform to in order to serialize a response.
-public protocol DataResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DataResponseSerializerType`.
-    associatedtype SerializedObject
-
-    /// A closure used by response handlers that takes a request, response, data and error and returns a result.
-    var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<SerializedObject> { get }
-}
-
-// MARK: -
-
-/// A generic `DataResponseSerializerType` used to serialize a request, response, and data into a serialized object.
-public struct DataResponseSerializer<Value>: DataResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DataResponseSerializer`.
-    public typealias SerializedObject = Value
-
-    /// A closure used by response handlers that takes a request, response, data and error and returns a result.
-    public var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<Value>
-
-    /// Initializes the `ResponseSerializer` instance with the given serialize response closure.
-    ///
-    /// - parameter serializeResponse: The closure used to serialize the response.
-    ///
-    /// - returns: The new generic response serializer instance.
-    public init(serializeResponse: @escaping (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<Value>) {
-        self.serializeResponse = serializeResponse
-    }
-}
-
-// MARK: -
-
-/// The type in which all download response serializers must conform to in order to serialize a response.
-public protocol DownloadResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DownloadResponseSerializerType`.
-    associatedtype SerializedObject
-
-    /// A closure used by response handlers that takes a request, response, url and error and returns a result.
-    var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<SerializedObject> { get }
-}
-
-// MARK: -
-
-/// A generic `DownloadResponseSerializerType` used to serialize a request, response, and data into a serialized object.
-public struct DownloadResponseSerializer<Value>: DownloadResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DownloadResponseSerializer`.
-    public typealias SerializedObject = Value
-
-    /// A closure used by response handlers that takes a request, response, url and error and returns a result.
-    public var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<Value>
-
-    /// Initializes the `ResponseSerializer` instance with the given serialize response closure.
-    ///
-    /// - parameter serializeResponse: The closure used to serialize the response.
-    ///
-    /// - returns: The new generic response serializer instance.
-    public init(serializeResponse: @escaping (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<Value>) {
-        self.serializeResponse = serializeResponse
-    }
-}
-
-// MARK: - Timeline
-
-extension Request {
-    var timeline: Timeline {
-        let requestStartTime = self.startTime ?? CFAbsoluteTimeGetCurrent()
-        let requestCompletedTime = self.endTime ?? CFAbsoluteTimeGetCurrent()
-        let initialResponseTime = self.delegate.initialResponseTime ?? requestCompletedTime
-
-        return Timeline(
-            requestStartTime: requestStartTime,
-            initialResponseTime: initialResponseTime,
-            requestCompletedTime: requestCompletedTime,
-            serializationCompletedTime: CFAbsoluteTimeGetCurrent()
-        )
-    }
-}
-
-// MARK: - Default
-
-extension DataRequest {
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:             The queue on which the completion handler is dispatched.
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response(queue: DispatchQueue? = nil, completionHandler: @escaping (DefaultDataResponse) -> Void) -> Self {
-        delegate.queue.addOperation {
-            (queue ?? DispatchQueue.main).async {
-                var dataResponse = DefaultDataResponse(
-                    request: self.request,
-                    response: self.response,
-                    data: self.delegate.data,
-                    error: self.delegate.error,
-                    timeline: self.timeline
-                )
-
-                dataResponse.add(self.delegate.metrics)
-
-                completionHandler(dataResponse)
-            }
-        }
-
-        return self
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:              The queue on which the completion handler is dispatched.
-    /// - parameter responseSerializer: The response serializer responsible for serializing the request, response,
-    ///                                 and data.
-    /// - parameter completionHandler:  The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response<T: DataResponseSerializerProtocol>(
-        queue: DispatchQueue? = nil,
-        responseSerializer: T,
-        completionHandler: @escaping (DataResponse<T.SerializedObject>) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            let result = responseSerializer.serializeResponse(
-                self.request,
-                self.response,
-                self.delegate.data,
-                self.delegate.error
-            )
-
-            var dataResponse = DataResponse<T.SerializedObject>(
-                request: self.request,
-                response: self.response,
-                data: self.delegate.data,
-                result: result,
-                timeline: self.timeline
-            )
-
-            dataResponse.add(self.delegate.metrics)
-
-            (queue ?? DispatchQueue.main).async { completionHandler(dataResponse) }
-        }
-
-        return self
-    }
-}
-
-extension DownloadRequest {
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:             The queue on which the completion handler is dispatched.
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DefaultDownloadResponse) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            (queue ?? DispatchQueue.main).async {
-                var downloadResponse = DefaultDownloadResponse(
-                    request: self.request,
-                    response: self.response,
-                    temporaryURL: self.downloadDelegate.temporaryURL,
-                    destinationURL: self.downloadDelegate.destinationURL,
-                    resumeData: self.downloadDelegate.resumeData,
-                    error: self.downloadDelegate.error,
-                    timeline: self.timeline
-                )
-
-                downloadResponse.add(self.delegate.metrics)
-
-                completionHandler(downloadResponse)
-            }
-        }
-
-        return self
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:              The queue on which the completion handler is dispatched.
-    /// - parameter responseSerializer: The response serializer responsible for serializing the request, response,
-    ///                                 and data contained in the destination url.
-    /// - parameter completionHandler:  The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response<T: DownloadResponseSerializerProtocol>(
-        queue: DispatchQueue? = nil,
-        responseSerializer: T,
-        completionHandler: @escaping (DownloadResponse<T.SerializedObject>) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            let result = responseSerializer.serializeResponse(
-                self.request,
-                self.response,
-                self.downloadDelegate.fileURL,
-                self.downloadDelegate.error
-            )
-
-            var downloadResponse = DownloadResponse<T.SerializedObject>(
-                request: self.request,
-                response: self.response,
-                temporaryURL: self.downloadDelegate.temporaryURL,
-                destinationURL: self.downloadDelegate.destinationURL,
-                resumeData: self.downloadDelegate.resumeData,
-                result: result,
-                timeline: self.timeline
-            )
-
-            downloadResponse.add(self.delegate.metrics)
-
-            (queue ?? DispatchQueue.main).async { completionHandler(downloadResponse) }
-        }
-
-        return self
-    }
-}
-
-// MARK: - Data
-
-extension Request {
-    /// Returns a result data type that contains the response data as-is.
-    ///
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseData(response: HTTPURLResponse?, data: Data?, error: Error?) -> Result<Data> {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(Data()) }
-
-        guard let validData = data else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNil))
-        }
-
-        return .success(validData)
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns the associated data as-is.
-    ///
-    /// - returns: A data response serializer.
-    public static func dataResponseSerializer() -> DataResponseSerializer<Data> {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseData(response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseData(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<Data>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.dataResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns the associated data as-is.
-    ///
-    /// - returns: A data response serializer.
-    public static func dataResponseSerializer() -> DownloadResponseSerializer<Data> {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseData(response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseData(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DownloadResponse<Data>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.dataResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - String
-
-extension Request {
-    /// Returns a result string type initialized from the response data with the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseString(
-        encoding: String.Encoding?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<String>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success("") }
-
-        guard let validData = data else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNil))
-        }
-
-        var convertedEncoding = encoding
-
-        if let encodingName = response?.textEncodingName as CFString!, convertedEncoding == nil {
-            convertedEncoding = String.Encoding(rawValue: CFStringConvertEncodingToNSStringEncoding(
-                CFStringConvertIANACharSetNameToEncoding(encodingName))
-            )
-        }
-
-        let actualEncoding = convertedEncoding ?? String.Encoding.isoLatin1
-
-        if let string = String(data: validData, encoding: actualEncoding) {
-            return .success(string)
-        } else {
-            return .failure(AFError.responseSerializationFailed(reason: .stringSerializationFailed(encoding: actualEncoding)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns a result string type initialized from the response data with
-    /// the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    ///
-    /// - returns: A string response serializer.
-    public static func stringResponseSerializer(encoding: String.Encoding? = nil) -> DataResponseSerializer<String> {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseString(encoding: encoding, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter encoding:          The string encoding. If `nil`, the string encoding will be determined from the
-    ///                                server response, falling back to the default HTTP default character set,
-    ///                                ISO-8859-1.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseString(
-        queue: DispatchQueue? = nil,
-        encoding: String.Encoding? = nil,
-        completionHandler: @escaping (DataResponse<String>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.stringResponseSerializer(encoding: encoding),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns a result string type initialized from the response data with
-    /// the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    ///
-    /// - returns: A string response serializer.
-    public static func stringResponseSerializer(encoding: String.Encoding? = nil) -> DownloadResponseSerializer<String> {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseString(encoding: encoding, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter encoding:          The string encoding. If `nil`, the string encoding will be determined from the
-    ///                                server response, falling back to the default HTTP default character set,
-    ///                                ISO-8859-1.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseString(
-        queue: DispatchQueue? = nil,
-        encoding: String.Encoding? = nil,
-        completionHandler: @escaping (DownloadResponse<String>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.stringResponseSerializer(encoding: encoding),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - JSON
-
-extension Request {
-    /// Returns a JSON object contained in a result type constructed from the response data using `JSONSerialization`
-    /// with the specified reading options.
-    ///
-    /// - parameter options:  The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseJSON(
-        options: JSONSerialization.ReadingOptions,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<Any>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(NSNull()) }
-
-        guard let validData = data, validData.count > 0 else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength))
-        }
-
-        do {
-            let json = try JSONSerialization.jsonObject(with: validData, options: options)
-            return .success(json)
-        } catch {
-            return .failure(AFError.responseSerializationFailed(reason: .jsonSerializationFailed(error: error)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns a JSON object result type constructed from the response data using
-    /// `JSONSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`.
-    ///
-    /// - returns: A JSON object response serializer.
-    public static func jsonResponseSerializer(
-        options: JSONSerialization.ReadingOptions = .allowFragments)
-        -> DataResponseSerializer<Any>
-    {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseJSON(options: options, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseJSON(
-        queue: DispatchQueue? = nil,
-        options: JSONSerialization.ReadingOptions = .allowFragments,
-        completionHandler: @escaping (DataResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.jsonResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns a JSON object result type constructed from the response data using
-    /// `JSONSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`.
-    ///
-    /// - returns: A JSON object response serializer.
-    public static func jsonResponseSerializer(
-        options: JSONSerialization.ReadingOptions = .allowFragments)
-        -> DownloadResponseSerializer<Any>
-    {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseJSON(options: options, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseJSON(
-        queue: DispatchQueue? = nil,
-        options: JSONSerialization.ReadingOptions = .allowFragments,
-        completionHandler: @escaping (DownloadResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.jsonResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - Property List
-
-extension Request {
-    /// Returns a plist object contained in a result type constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options:  The property list reading options. Defaults to `[]`.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponsePropertyList(
-        options: PropertyListSerialization.ReadOptions,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<Any>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(NSNull()) }
-
-        guard let validData = data, validData.count > 0 else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength))
-        }
-
-        do {
-            let plist = try PropertyListSerialization.propertyList(from: validData, options: options, format: nil)
-            return .success(plist)
-        } catch {
-            return .failure(AFError.responseSerializationFailed(reason: .propertyListSerializationFailed(error: error)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns an object constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The property list reading options. Defaults to `[]`.
-    ///
-    /// - returns: A property list object response serializer.
-    public static func propertyListResponseSerializer(
-        options: PropertyListSerialization.ReadOptions = [])
-        -> DataResponseSerializer<Any>
-    {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponsePropertyList(options: options, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The property list reading options. Defaults to `[]`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responsePropertyList(
-        queue: DispatchQueue? = nil,
-        options: PropertyListSerialization.ReadOptions = [],
-        completionHandler: @escaping (DataResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.propertyListResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns an object constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The property list reading options. Defaults to `[]`.
-    ///
-    /// - returns: A property list object response serializer.
-    public static func propertyListResponseSerializer(
-        options: PropertyListSerialization.ReadOptions = [])
-        -> DownloadResponseSerializer<Any>
-    {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponsePropertyList(options: options, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The property list reading options. Defaults to `[]`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responsePropertyList(
-        queue: DispatchQueue? = nil,
-        options: PropertyListSerialization.ReadOptions = [],
-        completionHandler: @escaping (DownloadResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.propertyListResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-/// A set of HTTP response status code that do not contain response data.
-private let emptyDataStatusCodes: Set<Int> = [204, 205]
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Result.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
deleted file mode 100644
index bf7e70255b7..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
+++ /dev/null
@@ -1,300 +0,0 @@
-//
-//  Result.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Used to represent whether a request was successful or encountered an error.
-///
-/// - success: The request and all post processing operations were successful resulting in the serialization of the
-///            provided associated value.
-///
-/// - failure: The request encountered an error resulting in a failure. The associated values are the original data
-///            provided by the server as well as the error that caused the failure.
-public enum Result<Value> {
-    case success(Value)
-    case failure(Error)
-
-    /// Returns `true` if the result is a success, `false` otherwise.
-    public var isSuccess: Bool {
-        switch self {
-        case .success:
-            return true
-        case .failure:
-            return false
-        }
-    }
-
-    /// Returns `true` if the result is a failure, `false` otherwise.
-    public var isFailure: Bool {
-        return !isSuccess
-    }
-
-    /// Returns the associated value if the result is a success, `nil` otherwise.
-    public var value: Value? {
-        switch self {
-        case .success(let value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-
-    /// Returns the associated error value if the result is a failure, `nil` otherwise.
-    public var error: Error? {
-        switch self {
-        case .success:
-            return nil
-        case .failure(let error):
-            return error
-        }
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Result: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        switch self {
-        case .success:
-            return "SUCCESS"
-        case .failure:
-            return "FAILURE"
-        }
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Result: CustomDebugStringConvertible {
-    /// The debug textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure in addition to the value or error.
-    public var debugDescription: String {
-        switch self {
-        case .success(let value):
-            return "SUCCESS: \(value)"
-        case .failure(let error):
-            return "FAILURE: \(error)"
-        }
-    }
-}
-
-// MARK: - Functional APIs
-
-extension Result {
-    /// Creates a `Result` instance from the result of a closure.
-    ///
-    /// A failure result is created when the closure throws, and a success result is created when the closure
-    /// succeeds without throwing an error.
-    ///
-    ///     func someString() throws -> String { ... }
-    ///
-    ///     let result = Result(value: {
-    ///         return try someString()
-    ///     })
-    ///
-    ///     // The type of result is Result<String>
-    ///
-    /// The trailing closure syntax is also supported:
-    ///
-    ///     let result = Result { try someString() }
-    ///
-    /// - parameter value: The closure to execute and create the result for.
-    public init(value: () throws -> Value) {
-        do {
-            self = try .success(value())
-        } catch {
-            self = .failure(error)
-        }
-    }
-
-    /// Returns the success value, or throws the failure error.
-    ///
-    ///     let possibleString: Result<String> = .success("success")
-    ///     try print(possibleString.unwrap())
-    ///     // Prints "success"
-    ///
-    ///     let noString: Result<String> = .failure(error)
-    ///     try print(noString.unwrap())
-    ///     // Throws error
-    public func unwrap() throws -> Value {
-        switch self {
-        case .success(let value):
-            return value
-        case .failure(let error):
-            throw error
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data())
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///     try print(possibleInt.unwrap())
-    ///     // Prints "0"
-    ///
-    ///     let noData: Result<Data> = .failure(error)
-    ///     let noInt = noData.map { $0.count }
-    ///     try print(noInt.unwrap())
-    ///     // Throws error
-    ///
-    /// - parameter transform: A closure that takes the success value of the `Result` instance.
-    ///
-    /// - returns: A `Result` containing the result of the given closure. If this instance is a failure, returns the
-    ///            same failure.
-    public func map<T>(_ transform: (Value) -> T) -> Result<T> {
-        switch self {
-        case .success(let value):
-            return .success(transform(value))
-        case .failure(let error):
-            return .failure(error)
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data(...))
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance.
-    ///
-    /// - returns: A `Result` containing the result of the given closure. If this instance is a failure, returns the
-    ///            same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> Result<T> {
-        switch self {
-        case .success(let value):
-            do {
-                return try .success(transform(value))
-            } catch {
-                return .failure(error)
-            }
-        case .failure(let error):
-            return .failure(error)
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `mapError` function with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: Result<Data> = .failure(someError)
-    ///     let withMyError: Result<Data> = possibleData.mapError { MyError.error($0) }
-    ///
-    /// - Parameter transform: A closure that takes the error of the instance.
-    /// - Returns: A `Result` instance containing the result of the transform. If this instance is a success, returns
-    ///            the same instance.
-    public func mapError<T: Error>(_ transform: (Error) -> T) -> Result {
-        switch self {
-        case .failure(let error):
-            return .failure(transform(error))
-        case .success:
-            return self
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `flatMapError` function with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data(...))
-    ///     let possibleObject = possibleData.flatMapError {
-    ///         try someFailableFunction(taking: $0)
-    ///     }
-    ///
-    /// - Parameter transform: A throwing closure that takes the error of the instance.
-    ///
-    /// - Returns: A `Result` instance containing the result of the transform. If this instance is a success, returns
-    ///            the same instance.
-    public func flatMapError<T: Error>(_ transform: (Error) throws -> T) -> Result {
-        switch self {
-        case .failure(let error):
-            do {
-                return try .failure(transform(error))
-            } catch {
-                return .failure(error)
-            }
-        case .success:
-            return self
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `withValue` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A closure that takes the success value of this instance.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func withValue(_ closure: (Value) -> Void) -> Result {
-        if case let .success(value) = self { closure(value) }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `withError` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A closure that takes the success value of this instance.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func withError(_ closure: (Error) -> Void) -> Result {
-        if case let .failure(error) = self { closure(error) }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success.
-    ///
-    /// Use the `ifSuccess` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A `Void` closure.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func ifSuccess(_ closure: () -> Void) -> Result {
-        if isSuccess { closure() }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure.
-    ///
-    /// Use the `ifFailure` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A `Void` closure.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func ifFailure(_ closure: () -> Void) -> Result {
-        if isFailure { closure() }
-
-        return self
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
deleted file mode 100644
index 9c0e7c8d508..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
+++ /dev/null
@@ -1,307 +0,0 @@
-//
-//  ServerTrustPolicy.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for managing the mapping of `ServerTrustPolicy` objects to a given host.
-open class ServerTrustPolicyManager {
-    /// The dictionary of policies mapped to a particular host.
-    open let policies: [String: ServerTrustPolicy]
-
-    /// Initializes the `ServerTrustPolicyManager` instance with the given policies.
-    ///
-    /// Since different servers and web services can have different leaf certificates, intermediate and even root
-    /// certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This
-    /// allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key
-    /// pinning for host3 and disabling evaluation for host4.
-    ///
-    /// - parameter policies: A dictionary of all policies mapped to a particular host.
-    ///
-    /// - returns: The new `ServerTrustPolicyManager` instance.
-    public init(policies: [String: ServerTrustPolicy]) {
-        self.policies = policies
-    }
-
-    /// Returns the `ServerTrustPolicy` for the given host if applicable.
-    ///
-    /// By default, this method will return the policy that perfectly matches the given host. Subclasses could override
-    /// this method and implement more complex mapping implementations such as wildcards.
-    ///
-    /// - parameter host: The host to use when searching for a matching policy.
-    ///
-    /// - returns: The server trust policy for the given host if found.
-    open func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? {
-        return policies[host]
-    }
-}
-
-// MARK: -
-
-extension URLSession {
-    private struct AssociatedKeys {
-        static var managerKey = "URLSession.ServerTrustPolicyManager"
-    }
-
-    var serverTrustPolicyManager: ServerTrustPolicyManager? {
-        get {
-            return objc_getAssociatedObject(self, &AssociatedKeys.managerKey) as? ServerTrustPolicyManager
-        }
-        set (manager) {
-            objc_setAssociatedObject(self, &AssociatedKeys.managerKey, manager, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
-        }
-    }
-}
-
-// MARK: - ServerTrustPolicy
-
-/// The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when
-/// connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust
-/// with a given set of criteria to determine whether the server trust is valid and the connection should be made.
-///
-/// Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other
-/// vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged
-/// to route all communication over an HTTPS connection with pinning enabled.
-///
-/// - performDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to
-///                             validate the host provided by the challenge. Applications are encouraged to always
-///                             validate the host in production environments to guarantee the validity of the server's
-///                             certificate chain.
-///
-/// - performRevokedEvaluation: Uses the default and revoked server trust evaluations allowing you to control whether to
-///                             validate the host provided by the challenge as well as specify the revocation flags for
-///                             testing for revoked certificates. Apple platforms did not start testing for revoked
-///                             certificates automatically until iOS 10.1, macOS 10.12 and tvOS 10.1 which is
-///                             demonstrated in our TLS tests. Applications are encouraged to always validate the host
-///                             in production environments to guarantee the validity of the server's certificate chain.
-///
-/// - pinCertificates:          Uses the pinned certificates to validate the server trust. The server trust is
-///                             considered valid if one of the pinned certificates match one of the server certificates.
-///                             By validating both the certificate chain and host, certificate pinning provides a very
-///                             secure form of server trust validation mitigating most, if not all, MITM attacks.
-///                             Applications are encouraged to always validate the host and require a valid certificate
-///                             chain in production environments.
-///
-/// - pinPublicKeys:            Uses the pinned public keys to validate the server trust. The server trust is considered
-///                             valid if one of the pinned public keys match one of the server certificate public keys.
-///                             By validating both the certificate chain and host, public key pinning provides a very
-///                             secure form of server trust validation mitigating most, if not all, MITM attacks.
-///                             Applications are encouraged to always validate the host and require a valid certificate
-///                             chain in production environments.
-///
-/// - disableEvaluation:        Disables all evaluation which in turn will always consider any server trust as valid.
-///
-/// - customEvaluation:         Uses the associated closure to evaluate the validity of the server trust.
-public enum ServerTrustPolicy {
-    case performDefaultEvaluation(validateHost: Bool)
-    case performRevokedEvaluation(validateHost: Bool, revocationFlags: CFOptionFlags)
-    case pinCertificates(certificates: [SecCertificate], validateCertificateChain: Bool, validateHost: Bool)
-    case pinPublicKeys(publicKeys: [SecKey], validateCertificateChain: Bool, validateHost: Bool)
-    case disableEvaluation
-    case customEvaluation((_ serverTrust: SecTrust, _ host: String) -> Bool)
-
-    // MARK: - Bundle Location
-
-    /// Returns all certificates within the given bundle with a `.cer` file extension.
-    ///
-    /// - parameter bundle: The bundle to search for all `.cer` files.
-    ///
-    /// - returns: All certificates within the given bundle.
-    public static func certificates(in bundle: Bundle = Bundle.main) -> [SecCertificate] {
-        var certificates: [SecCertificate] = []
-
-        let paths = Set([".cer", ".CER", ".crt", ".CRT", ".der", ".DER"].map { fileExtension in
-            bundle.paths(forResourcesOfType: fileExtension, inDirectory: nil)
-        }.joined())
-
-        for path in paths {
-            if
-                let certificateData = try? Data(contentsOf: URL(fileURLWithPath: path)) as CFData,
-                let certificate = SecCertificateCreateWithData(nil, certificateData)
-            {
-                certificates.append(certificate)
-            }
-        }
-
-        return certificates
-    }
-
-    /// Returns all public keys within the given bundle with a `.cer` file extension.
-    ///
-    /// - parameter bundle: The bundle to search for all `*.cer` files.
-    ///
-    /// - returns: All public keys within the given bundle.
-    public static func publicKeys(in bundle: Bundle = Bundle.main) -> [SecKey] {
-        var publicKeys: [SecKey] = []
-
-        for certificate in certificates(in: bundle) {
-            if let publicKey = publicKey(for: certificate) {
-                publicKeys.append(publicKey)
-            }
-        }
-
-        return publicKeys
-    }
-
-    // MARK: - Evaluation
-
-    /// Evaluates whether the server trust is valid for the given host.
-    ///
-    /// - parameter serverTrust: The server trust to evaluate.
-    /// - parameter host:        The host of the challenge protection space.
-    ///
-    /// - returns: Whether the server trust is valid.
-    public func evaluate(_ serverTrust: SecTrust, forHost host: String) -> Bool {
-        var serverTrustIsValid = false
-
-        switch self {
-        case let .performDefaultEvaluation(validateHost):
-            let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-            SecTrustSetPolicies(serverTrust, policy)
-
-            serverTrustIsValid = trustIsValid(serverTrust)
-        case let .performRevokedEvaluation(validateHost, revocationFlags):
-            let defaultPolicy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-            let revokedPolicy = SecPolicyCreateRevocation(revocationFlags)
-            SecTrustSetPolicies(serverTrust, [defaultPolicy, revokedPolicy] as CFTypeRef)
-
-            serverTrustIsValid = trustIsValid(serverTrust)
-        case let .pinCertificates(pinnedCertificates, validateCertificateChain, validateHost):
-            if validateCertificateChain {
-                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-                SecTrustSetPolicies(serverTrust, policy)
-
-                SecTrustSetAnchorCertificates(serverTrust, pinnedCertificates as CFArray)
-                SecTrustSetAnchorCertificatesOnly(serverTrust, true)
-
-                serverTrustIsValid = trustIsValid(serverTrust)
-            } else {
-                let serverCertificatesDataArray = certificateData(for: serverTrust)
-                let pinnedCertificatesDataArray = certificateData(for: pinnedCertificates)
-
-                outerLoop: for serverCertificateData in serverCertificatesDataArray {
-                    for pinnedCertificateData in pinnedCertificatesDataArray {
-                        if serverCertificateData == pinnedCertificateData {
-                            serverTrustIsValid = true
-                            break outerLoop
-                        }
-                    }
-                }
-            }
-        case let .pinPublicKeys(pinnedPublicKeys, validateCertificateChain, validateHost):
-            var certificateChainEvaluationPassed = true
-
-            if validateCertificateChain {
-                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-                SecTrustSetPolicies(serverTrust, policy)
-
-                certificateChainEvaluationPassed = trustIsValid(serverTrust)
-            }
-
-            if certificateChainEvaluationPassed {
-                outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeys(for: serverTrust) as [AnyObject] {
-                    for pinnedPublicKey in pinnedPublicKeys as [AnyObject] {
-                        if serverPublicKey.isEqual(pinnedPublicKey) {
-                            serverTrustIsValid = true
-                            break outerLoop
-                        }
-                    }
-                }
-            }
-        case .disableEvaluation:
-            serverTrustIsValid = true
-        case let .customEvaluation(closure):
-            serverTrustIsValid = closure(serverTrust, host)
-        }
-
-        return serverTrustIsValid
-    }
-
-    // MARK: - Private - Trust Validation
-
-    private func trustIsValid(_ trust: SecTrust) -> Bool {
-        var isValid = false
-
-        var result = SecTrustResultType.invalid
-        let status = SecTrustEvaluate(trust, &result)
-
-        if status == errSecSuccess {
-            let unspecified = SecTrustResultType.unspecified
-            let proceed = SecTrustResultType.proceed
-
-
-            isValid = result == unspecified || result == proceed
-        }
-
-        return isValid
-    }
-
-    // MARK: - Private - Certificate Data
-
-    private func certificateData(for trust: SecTrust) -> [Data] {
-        var certificates: [SecCertificate] = []
-
-        for index in 0..<SecTrustGetCertificateCount(trust) {
-            if let certificate = SecTrustGetCertificateAtIndex(trust, index) {
-                certificates.append(certificate)
-            }
-        }
-
-        return certificateData(for: certificates)
-    }
-
-    private func certificateData(for certificates: [SecCertificate]) -> [Data] {
-        return certificates.map { SecCertificateCopyData($0) as Data }
-    }
-
-    // MARK: - Private - Public Key Extraction
-
-    private static func publicKeys(for trust: SecTrust) -> [SecKey] {
-        var publicKeys: [SecKey] = []
-
-        for index in 0..<SecTrustGetCertificateCount(trust) {
-            if
-                let certificate = SecTrustGetCertificateAtIndex(trust, index),
-                let publicKey = publicKey(for: certificate)
-            {
-                publicKeys.append(publicKey)
-            }
-        }
-
-        return publicKeys
-    }
-
-    private static func publicKey(for certificate: SecCertificate) -> SecKey? {
-        var publicKey: SecKey?
-
-        let policy = SecPolicyCreateBasicX509()
-        var trust: SecTrust?
-        let trustCreationStatus = SecTrustCreateWithCertificates(certificate, policy, &trust)
-
-        if let trust = trust, trustCreationStatus == errSecSuccess {
-            publicKey = SecTrustCopyPublicKey(trust)
-        }
-
-        return publicKey
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
deleted file mode 100644
index 8edb492b699..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
+++ /dev/null
@@ -1,719 +0,0 @@
-//
-//  SessionDelegate.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for handling all delegate callbacks for the underlying session.
-open class SessionDelegate: NSObject {
-
-    // MARK: URLSessionDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSession(_:didBecomeInvalidWithError:)`.
-    open var sessionDidBecomeInvalidWithError: ((URLSession, Error?) -> Void)?
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)`.
-    open var sessionDidReceiveChallenge: ((URLSession, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-    /// Overrides all behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)` and requires the caller to call the `completionHandler`.
-    open var sessionDidReceiveChallengeWithCompletion: ((URLSession, URLAuthenticationChallenge, @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSessionDidFinishEvents(forBackgroundURLSession:)`.
-    open var sessionDidFinishEventsForBackgroundURLSession: ((URLSession) -> Void)?
-
-    // MARK: URLSessionTaskDelegate Overrides
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)`.
-    open var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskWillPerformHTTPRedirectionWithCompletion: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping (URLRequest?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didReceive:completionHandler:)`.
-    open var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:didReceive:completionHandler:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskDidReceiveChallengeWithCompletion: ((URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:needNewBodyStream:)`.
-    open var taskNeedNewBodyStream: ((URLSession, URLSessionTask) -> InputStream?)?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:needNewBodyStream:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskNeedNewBodyStreamWithCompletion: ((URLSession, URLSessionTask, @escaping (InputStream?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:)`.
-    open var taskDidSendBodyData: ((URLSession, URLSessionTask, Int64, Int64, Int64) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didCompleteWithError:)`.
-    open var taskDidComplete: ((URLSession, URLSessionTask, Error?) -> Void)?
-
-    // MARK: URLSessionDataDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:completionHandler:)`.
-    open var dataTaskDidReceiveResponse: ((URLSession, URLSessionDataTask, URLResponse) -> URLSession.ResponseDisposition)?
-
-    /// Overrides all behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:completionHandler:)` and
-    /// requires caller to call the `completionHandler`.
-    open var dataTaskDidReceiveResponseWithCompletion: ((URLSession, URLSessionDataTask, URLResponse, @escaping (URLSession.ResponseDisposition) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didBecome:)`.
-    open var dataTaskDidBecomeDownloadTask: ((URLSession, URLSessionDataTask, URLSessionDownloadTask) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:)`.
-    open var dataTaskDidReceiveData: ((URLSession, URLSessionDataTask, Data) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)`.
-    open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-
-    /// Overrides all behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)` and
-    /// requires caller to call the `completionHandler`.
-    open var dataTaskWillCacheResponseWithCompletion: ((URLSession, URLSessionDataTask, CachedURLResponse, @escaping (CachedURLResponse?) -> Void) -> Void)?
-
-    // MARK: URLSessionDownloadDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didFinishDownloadingTo:)`.
-    open var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> Void)?
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:)`.
-    open var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)`.
-    open var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)?
-
-    // MARK: URLSessionStreamDelegate Overrides
-
-#if !os(watchOS)
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:readClosedFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskReadClosed: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskReadClosed as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskReadClosed = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:writeClosedFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskWriteClosed: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskWriteClosed as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskWriteClosed = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:betterRouteDiscoveredFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskBetterRouteDiscovered: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskBetterRouteDiscovered as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskBetterRouteDiscovered = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:streamTask:didBecome:outputStream:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskDidBecomeInputAndOutputStreams: ((URLSession, URLSessionStreamTask, InputStream, OutputStream) -> Void)? {
-        get {
-            return _streamTaskDidBecomeInputStream as? (URLSession, URLSessionStreamTask, InputStream, OutputStream) -> Void
-        }
-        set {
-            _streamTaskDidBecomeInputStream = newValue
-        }
-    }
-
-    var _streamTaskReadClosed: Any?
-    var _streamTaskWriteClosed: Any?
-    var _streamTaskBetterRouteDiscovered: Any?
-    var _streamTaskDidBecomeInputStream: Any?
-
-#endif
-
-    // MARK: Properties
-
-    var retrier: RequestRetrier?
-    weak var sessionManager: SessionManager?
-
-    private var requests: [Int: Request] = [:]
-    private let lock = NSLock()
-
-    /// Access the task delegate for the specified task in a thread-safe manner.
-    open subscript(task: URLSessionTask) -> Request? {
-        get {
-            lock.lock() ; defer { lock.unlock() }
-            return requests[task.taskIdentifier]
-        }
-        set {
-            lock.lock() ; defer { lock.unlock() }
-            requests[task.taskIdentifier] = newValue
-        }
-    }
-
-    // MARK: Lifecycle
-
-    /// Initializes the `SessionDelegate` instance.
-    ///
-    /// - returns: The new `SessionDelegate` instance.
-    public override init() {
-        super.init()
-    }
-
-    // MARK: NSObject Overrides
-
-    /// Returns a `Bool` indicating whether the `SessionDelegate` implements or inherits a method that can respond
-    /// to a specified message.
-    ///
-    /// - parameter selector: A selector that identifies a message.
-    ///
-    /// - returns: `true` if the receiver implements or inherits a method that can respond to selector, otherwise `false`.
-    open override func responds(to selector: Selector) -> Bool {
-        #if !os(macOS)
-            if selector == #selector(URLSessionDelegate.urlSessionDidFinishEvents(forBackgroundURLSession:)) {
-                return sessionDidFinishEventsForBackgroundURLSession != nil
-            }
-        #endif
-
-        #if !os(watchOS)
-            if #available(iOS 9.0, macOS 10.11, tvOS 9.0, *) {
-                switch selector {
-                case #selector(URLSessionStreamDelegate.urlSession(_:readClosedFor:)):
-                    return streamTaskReadClosed != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:writeClosedFor:)):
-                    return streamTaskWriteClosed != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:betterRouteDiscoveredFor:)):
-                    return streamTaskBetterRouteDiscovered != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:streamTask:didBecome:outputStream:)):
-                    return streamTaskDidBecomeInputAndOutputStreams != nil
-                default:
-                    break
-                }
-            }
-        #endif
-
-        switch selector {
-        case #selector(URLSessionDelegate.urlSession(_:didBecomeInvalidWithError:)):
-            return sessionDidBecomeInvalidWithError != nil
-        case #selector(URLSessionDelegate.urlSession(_:didReceive:completionHandler:)):
-            return (sessionDidReceiveChallenge != nil  || sessionDidReceiveChallengeWithCompletion != nil)
-        case #selector(URLSessionTaskDelegate.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)):
-            return (taskWillPerformHTTPRedirection != nil || taskWillPerformHTTPRedirectionWithCompletion != nil)
-        case #selector(URLSessionDataDelegate.urlSession(_:dataTask:didReceive:completionHandler:)):
-            return (dataTaskDidReceiveResponse != nil || dataTaskDidReceiveResponseWithCompletion != nil)
-        default:
-            return type(of: self).instancesRespond(to: selector)
-        }
-    }
-}
-
-// MARK: - URLSessionDelegate
-
-extension SessionDelegate: URLSessionDelegate {
-    /// Tells the delegate that the session has been invalidated.
-    ///
-    /// - parameter session: The session object that was invalidated.
-    /// - parameter error:   The error that caused invalidation, or nil if the invalidation was explicit.
-    open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
-        sessionDidBecomeInvalidWithError?(session, error)
-    }
-
-    /// Requests credentials from the delegate in response to a session-level authentication request from the
-    /// remote server.
-    ///
-    /// - parameter session:           The session containing the task that requested authentication.
-    /// - parameter challenge:         An object that contains the request for authentication.
-    /// - parameter completionHandler: A handler that your delegate method must call providing the disposition
-    ///                                and credential.
-    open func urlSession(
-        _ session: URLSession,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        guard sessionDidReceiveChallengeWithCompletion == nil else {
-            sessionDidReceiveChallengeWithCompletion?(session, challenge, completionHandler)
-            return
-        }
-
-        var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
-        var credential: URLCredential?
-
-        if let sessionDidReceiveChallenge = sessionDidReceiveChallenge {
-            (disposition, credential) = sessionDidReceiveChallenge(session, challenge)
-        } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
-            let host = challenge.protectionSpace.host
-
-            if
-                let serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicy(forHost: host),
-                let serverTrust = challenge.protectionSpace.serverTrust
-            {
-                if serverTrustPolicy.evaluate(serverTrust, forHost: host) {
-                    disposition = .useCredential
-                    credential = URLCredential(trust: serverTrust)
-                } else {
-                    disposition = .cancelAuthenticationChallenge
-                }
-            }
-        }
-
-        completionHandler(disposition, credential)
-    }
-
-#if !os(macOS)
-
-    /// Tells the delegate that all messages enqueued for a session have been delivered.
-    ///
-    /// - parameter session: The session that no longer has any outstanding requests.
-    open func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
-        sessionDidFinishEventsForBackgroundURLSession?(session)
-    }
-
-#endif
-}
-
-// MARK: - URLSessionTaskDelegate
-
-extension SessionDelegate: URLSessionTaskDelegate {
-    /// Tells the delegate that the remote server requested an HTTP redirect.
-    ///
-    /// - parameter session:           The session containing the task whose request resulted in a redirect.
-    /// - parameter task:              The task whose request resulted in a redirect.
-    /// - parameter response:          An object containing the server’s response to the original request.
-    /// - parameter request:           A URL request object filled out with the new location.
-    /// - parameter completionHandler: A closure that your handler should call with either the value of the request
-    ///                                parameter, a modified URL request object, or NULL to refuse the redirect and
-    ///                                return the body of the redirect response.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        guard taskWillPerformHTTPRedirectionWithCompletion == nil else {
-            taskWillPerformHTTPRedirectionWithCompletion?(session, task, response, request, completionHandler)
-            return
-        }
-
-        var redirectRequest: URLRequest? = request
-
-        if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
-            redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
-        }
-
-        completionHandler(redirectRequest)
-    }
-
-    /// Requests credentials from the delegate in response to an authentication request from the remote server.
-    ///
-    /// - parameter session:           The session containing the task whose request requires authentication.
-    /// - parameter task:              The task whose request requires authentication.
-    /// - parameter challenge:         An object that contains the request for authentication.
-    /// - parameter completionHandler: A handler that your delegate method must call providing the disposition
-    ///                                and credential.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        guard taskDidReceiveChallengeWithCompletion == nil else {
-            taskDidReceiveChallengeWithCompletion?(session, task, challenge, completionHandler)
-            return
-        }
-
-        if let taskDidReceiveChallenge = taskDidReceiveChallenge {
-            let result = taskDidReceiveChallenge(session, task, challenge)
-            completionHandler(result.0, result.1)
-        } else if let delegate = self[task]?.delegate {
-            delegate.urlSession(
-                session,
-                task: task,
-                didReceive: challenge,
-                completionHandler: completionHandler
-            )
-        } else {
-            urlSession(session, didReceive: challenge, completionHandler: completionHandler)
-        }
-    }
-
-    /// Tells the delegate when a task requires a new request body stream to send to the remote server.
-    ///
-    /// - parameter session:           The session containing the task that needs a new body stream.
-    /// - parameter task:              The task that needs a new body stream.
-    /// - parameter completionHandler: A completion handler that your delegate method should call with the new body stream.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void)
-    {
-        guard taskNeedNewBodyStreamWithCompletion == nil else {
-            taskNeedNewBodyStreamWithCompletion?(session, task, completionHandler)
-            return
-        }
-
-        if let taskNeedNewBodyStream = taskNeedNewBodyStream {
-            completionHandler(taskNeedNewBodyStream(session, task))
-        } else if let delegate = self[task]?.delegate {
-            delegate.urlSession(session, task: task, needNewBodyStream: completionHandler)
-        }
-    }
-
-    /// Periodically informs the delegate of the progress of sending body content to the server.
-    ///
-    /// - parameter session:                  The session containing the data task.
-    /// - parameter task:                     The data task.
-    /// - parameter bytesSent:                The number of bytes sent since the last time this delegate method was called.
-    /// - parameter totalBytesSent:           The total number of bytes sent so far.
-    /// - parameter totalBytesExpectedToSend: The expected length of the body data.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didSendBodyData bytesSent: Int64,
-        totalBytesSent: Int64,
-        totalBytesExpectedToSend: Int64)
-    {
-        if let taskDidSendBodyData = taskDidSendBodyData {
-            taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
-        } else if let delegate = self[task]?.delegate as? UploadTaskDelegate {
-            delegate.URLSession(
-                session,
-                task: task,
-                didSendBodyData: bytesSent,
-                totalBytesSent: totalBytesSent,
-                totalBytesExpectedToSend: totalBytesExpectedToSend
-            )
-        }
-    }
-
-#if !os(watchOS)
-
-    /// Tells the delegate that the session finished collecting metrics for the task.
-    ///
-    /// - parameter session: The session collecting the metrics.
-    /// - parameter task:    The task whose metrics have been collected.
-    /// - parameter metrics: The collected metrics.
-    @available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-    @objc(URLSession:task:didFinishCollectingMetrics:)
-    open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
-        self[task]?.delegate.metrics = metrics
-    }
-
-#endif
-
-    /// Tells the delegate that the task finished transferring data.
-    ///
-    /// - parameter session: The session containing the task whose request finished transferring data.
-    /// - parameter task:    The task whose request finished transferring data.
-    /// - parameter error:   If an error occurred, an error object indicating how the transfer failed, otherwise nil.
-    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
-        /// Executed after it is determined that the request is not going to be retried
-        let completeTask: (URLSession, URLSessionTask, Error?) -> Void = { [weak self] session, task, error in
-            guard let strongSelf = self else { return }
-
-            strongSelf.taskDidComplete?(session, task, error)
-
-            strongSelf[task]?.delegate.urlSession(session, task: task, didCompleteWithError: error)
-
-            NotificationCenter.default.post(
-                name: Notification.Name.Task.DidComplete,
-                object: strongSelf,
-                userInfo: [Notification.Key.Task: task]
-            )
-
-            strongSelf[task] = nil
-        }
-
-        guard let request = self[task], let sessionManager = sessionManager else {
-            completeTask(session, task, error)
-            return
-        }
-
-        // Run all validations on the request before checking if an error occurred
-        request.validations.forEach { $0() }
-
-        // Determine whether an error has occurred
-        var error: Error? = error
-
-        if request.delegate.error != nil {
-            error = request.delegate.error
-        }
-
-        /// If an error occurred and the retrier is set, asynchronously ask the retrier if the request
-        /// should be retried. Otherwise, complete the task by notifying the task delegate.
-        if let retrier = retrier, let error = error {
-            retrier.should(sessionManager, retry: request, with: error) { [weak self] shouldRetry, timeDelay in
-                guard shouldRetry else { completeTask(session, task, error) ; return }
-
-                DispatchQueue.utility.after(timeDelay) { [weak self] in
-                    guard let strongSelf = self else { return }
-
-                    let retrySucceeded = strongSelf.sessionManager?.retry(request) ?? false
-
-                    if retrySucceeded, let task = request.task {
-                        strongSelf[task] = request
-                        return
-                    } else {
-                        completeTask(session, task, error)
-                    }
-                }
-            }
-        } else {
-            completeTask(session, task, error)
-        }
-    }
-}
-
-// MARK: - URLSessionDataDelegate
-
-extension SessionDelegate: URLSessionDataDelegate {
-    /// Tells the delegate that the data task received the initial reply (headers) from the server.
-    ///
-    /// - parameter session:           The session containing the data task that received an initial reply.
-    /// - parameter dataTask:          The data task that received an initial reply.
-    /// - parameter response:          A URL response object populated with headers.
-    /// - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a
-    ///                                constant to indicate whether the transfer should continue as a data task or
-    ///                                should become a download task.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didReceive response: URLResponse,
-        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
-    {
-        guard dataTaskDidReceiveResponseWithCompletion == nil else {
-            dataTaskDidReceiveResponseWithCompletion?(session, dataTask, response, completionHandler)
-            return
-        }
-
-        var disposition: URLSession.ResponseDisposition = .allow
-
-        if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
-            disposition = dataTaskDidReceiveResponse(session, dataTask, response)
-        }
-
-        completionHandler(disposition)
-    }
-
-    /// Tells the delegate that the data task was changed to a download task.
-    ///
-    /// - parameter session:      The session containing the task that was replaced by a download task.
-    /// - parameter dataTask:     The data task that was replaced by a download task.
-    /// - parameter downloadTask: The new download task that replaced the data task.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didBecome downloadTask: URLSessionDownloadTask)
-    {
-        if let dataTaskDidBecomeDownloadTask = dataTaskDidBecomeDownloadTask {
-            dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask)
-        } else {
-            self[downloadTask]?.delegate = DownloadTaskDelegate(task: downloadTask)
-        }
-    }
-
-    /// Tells the delegate that the data task has received some of the expected data.
-    ///
-    /// - parameter session:  The session containing the data task that provided data.
-    /// - parameter dataTask: The data task that provided data.
-    /// - parameter data:     A data object containing the transferred data.
-    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
-        if let dataTaskDidReceiveData = dataTaskDidReceiveData {
-            dataTaskDidReceiveData(session, dataTask, data)
-        } else if let delegate = self[dataTask]?.delegate as? DataTaskDelegate {
-            delegate.urlSession(session, dataTask: dataTask, didReceive: data)
-        }
-    }
-
-    /// Asks the delegate whether the data (or upload) task should store the response in the cache.
-    ///
-    /// - parameter session:           The session containing the data (or upload) task.
-    /// - parameter dataTask:          The data (or upload) task.
-    /// - parameter proposedResponse:  The default caching behavior. This behavior is determined based on the current
-    ///                                caching policy and the values of certain received headers, such as the Pragma
-    ///                                and Cache-Control headers.
-    /// - parameter completionHandler: A block that your handler must call, providing either the original proposed
-    ///                                response, a modified version of that response, or NULL to prevent caching the
-    ///                                response. If your delegate implements this method, it must call this completion
-    ///                                handler; otherwise, your app leaks memory.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        willCacheResponse proposedResponse: CachedURLResponse,
-        completionHandler: @escaping (CachedURLResponse?) -> Void)
-    {
-        guard dataTaskWillCacheResponseWithCompletion == nil else {
-            dataTaskWillCacheResponseWithCompletion?(session, dataTask, proposedResponse, completionHandler)
-            return
-        }
-
-        if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
-            completionHandler(dataTaskWillCacheResponse(session, dataTask, proposedResponse))
-        } else if let delegate = self[dataTask]?.delegate as? DataTaskDelegate {
-            delegate.urlSession(
-                session,
-                dataTask: dataTask,
-                willCacheResponse: proposedResponse,
-                completionHandler: completionHandler
-            )
-        } else {
-            completionHandler(proposedResponse)
-        }
-    }
-}
-
-// MARK: - URLSessionDownloadDelegate
-
-extension SessionDelegate: URLSessionDownloadDelegate {
-    /// Tells the delegate that a download task has finished downloading.
-    ///
-    /// - parameter session:      The session containing the download task that finished.
-    /// - parameter downloadTask: The download task that finished.
-    /// - parameter location:     A file URL for the temporary file. Because the file is temporary, you must either
-    ///                           open the file for reading or move it to a permanent location in your app’s sandbox
-    ///                           container directory before returning from this delegate method.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didFinishDownloadingTo location: URL)
-    {
-        if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL {
-            downloadTaskDidFinishDownloadingToURL(session, downloadTask, location)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
-        }
-    }
-
-    /// Periodically informs the delegate about the download’s progress.
-    ///
-    /// - parameter session:                   The session containing the download task.
-    /// - parameter downloadTask:              The download task.
-    /// - parameter bytesWritten:              The number of bytes transferred since the last time this delegate
-    ///                                        method was called.
-    /// - parameter totalBytesWritten:         The total number of bytes transferred so far.
-    /// - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length
-    ///                                        header. If this header was not provided, the value is
-    ///                                        `NSURLSessionTransferSizeUnknown`.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didWriteData bytesWritten: Int64,
-        totalBytesWritten: Int64,
-        totalBytesExpectedToWrite: Int64)
-    {
-        if let downloadTaskDidWriteData = downloadTaskDidWriteData {
-            downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(
-                session,
-                downloadTask: downloadTask,
-                didWriteData: bytesWritten,
-                totalBytesWritten: totalBytesWritten,
-                totalBytesExpectedToWrite: totalBytesExpectedToWrite
-            )
-        }
-    }
-
-    /// Tells the delegate that the download task has resumed downloading.
-    ///
-    /// - parameter session:            The session containing the download task that finished.
-    /// - parameter downloadTask:       The download task that resumed. See explanation in the discussion.
-    /// - parameter fileOffset:         If the file's cache policy or last modified date prevents reuse of the
-    ///                                 existing content, then this value is zero. Otherwise, this value is an
-    ///                                 integer representing the number of bytes on disk that do not need to be
-    ///                                 retrieved again.
-    /// - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header.
-    ///                                 If this header was not provided, the value is NSURLSessionTransferSizeUnknown.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didResumeAtOffset fileOffset: Int64,
-        expectedTotalBytes: Int64)
-    {
-        if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
-            downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(
-                session,
-                downloadTask: downloadTask,
-                didResumeAtOffset: fileOffset,
-                expectedTotalBytes: expectedTotalBytes
-            )
-        }
-    }
-}
-
-// MARK: - URLSessionStreamDelegate
-
-#if !os(watchOS)
-
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-extension SessionDelegate: URLSessionStreamDelegate {
-    /// Tells the delegate that the read side of the connection has been closed.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
-        streamTaskReadClosed?(session, streamTask)
-    }
-
-    /// Tells the delegate that the write side of the connection has been closed.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
-        streamTaskWriteClosed?(session, streamTask)
-    }
-
-    /// Tells the delegate that the system has determined that a better route to the host is available.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
-        streamTaskBetterRouteDiscovered?(session, streamTask)
-    }
-
-    /// Tells the delegate that the stream task has been completed and provides the unopened stream objects.
-    ///
-    /// - parameter session:      The session.
-    /// - parameter streamTask:   The stream task.
-    /// - parameter inputStream:  The new input stream.
-    /// - parameter outputStream: The new output stream.
-    open func urlSession(
-        _ session: URLSession,
-        streamTask: URLSessionStreamTask,
-        didBecome inputStream: InputStream,
-        outputStream: OutputStream)
-    {
-        streamTaskDidBecomeInputAndOutputStreams?(session, streamTask, inputStream, outputStream)
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
deleted file mode 100644
index 493ce29cb4e..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
+++ /dev/null
@@ -1,899 +0,0 @@
-//
-//  SessionManager.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for creating and managing `Request` objects, as well as their underlying `NSURLSession`.
-open class SessionManager {
-
-    // MARK: - Helper Types
-
-    /// Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as
-    /// associated values.
-    ///
-    /// - Success: Represents a successful `MultipartFormData` encoding and contains the new `UploadRequest` along with
-    ///            streaming information.
-    /// - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding
-    ///            error.
-    public enum MultipartFormDataEncodingResult {
-        case success(request: UploadRequest, streamingFromDisk: Bool, streamFileURL: URL?)
-        case failure(Error)
-    }
-
-    // MARK: - Properties
-
-    /// A default instance of `SessionManager`, used by top-level Alamofire request methods, and suitable for use
-    /// directly for any ad hoc requests.
-    open static let `default`: SessionManager = {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders
-
-        return SessionManager(configuration: configuration)
-    }()
-
-    /// Creates default values for the "Accept-Encoding", "Accept-Language" and "User-Agent" headers.
-    open static let defaultHTTPHeaders: HTTPHeaders = {
-        // Accept-Encoding HTTP Header; see https://tools.ietf.org/html/rfc7230#section-4.2.3
-        let acceptEncoding: String = "gzip;q=1.0, compress;q=0.5"
-
-        // Accept-Language HTTP Header; see https://tools.ietf.org/html/rfc7231#section-5.3.5
-    #if swift(>=4.0)
-        let acceptLanguage = Locale.preferredLanguages.prefix(6).enumerated().map { enumeratedLanguage in
-            let (index, languageCode) = enumeratedLanguage
-            let quality = 1.0 - (Double(index) * 0.1)
-            return "\(languageCode);q=\(quality)"
-        }.joined(separator: ", ")
-    #else
-        let acceptLanguage = Locale.preferredLanguages.prefix(6).enumerated().map { index, languageCode in
-            let quality = 1.0 - (Double(index) * 0.1)
-            return "\(languageCode);q=\(quality)"
-        }.joined(separator: ", ")
-    #endif
-
-        // User-Agent Header; see https://tools.ietf.org/html/rfc7231#section-5.5.3
-        // Example: `iOS Example/1.0 (org.alamofire.iOS-Example; build:1; iOS 10.0.0) Alamofire/4.0.0`
-        let userAgent: String = {
-            if let info = Bundle.main.infoDictionary {
-                let executable = info[kCFBundleExecutableKey as String] as? String ?? "Unknown"
-                let bundle = info[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
-                let appVersion = info["CFBundleShortVersionString"] as? String ?? "Unknown"
-                let appBuild = info[kCFBundleVersionKey as String] as? String ?? "Unknown"
-
-                let osNameVersion: String = {
-                    let version = ProcessInfo.processInfo.operatingSystemVersion
-                    let versionString = "\(version.majorVersion).\(version.minorVersion).\(version.patchVersion)"
-
-                    let osName: String = {
-                        #if os(iOS)
-                            return "iOS"
-                        #elseif os(watchOS)
-                            return "watchOS"
-                        #elseif os(tvOS)
-                            return "tvOS"
-                        #elseif os(macOS)
-                            return "OS X"
-                        #elseif os(Linux)
-                            return "Linux"
-                        #else
-                            return "Unknown"
-                        #endif
-                    }()
-
-                    return "\(osName) \(versionString)"
-                }()
-
-                let alamofireVersion: String = {
-                    guard
-                        let afInfo = Bundle(for: SessionManager.self).infoDictionary,
-                        let build = afInfo["CFBundleShortVersionString"]
-                    else { return "Unknown" }
-
-                    return "Alamofire/\(build)"
-                }()
-
-                return "\(executable)/\(appVersion) (\(bundle); build:\(appBuild); \(osNameVersion)) \(alamofireVersion)"
-            }
-
-            return "Alamofire"
-        }()
-
-        return [
-            "Accept-Encoding": acceptEncoding,
-            "Accept-Language": acceptLanguage,
-            "User-Agent": userAgent
-        ]
-    }()
-
-    /// Default memory threshold used when encoding `MultipartFormData` in bytes.
-    open static let multipartFormDataEncodingMemoryThreshold: UInt64 = 10_000_000
-
-    /// The underlying session.
-    open let session: URLSession
-
-    /// The session delegate handling all the task and session delegate callbacks.
-    open let delegate: SessionDelegate
-
-    /// Whether to start requests immediately after being constructed. `true` by default.
-    open var startRequestsImmediately: Bool = true
-
-    /// The request adapter called each time a new request is created.
-    open var adapter: RequestAdapter?
-
-    /// The request retrier called each time a request encounters an error to determine whether to retry the request.
-    open var retrier: RequestRetrier? {
-        get { return delegate.retrier }
-        set { delegate.retrier = newValue }
-    }
-
-    /// The background completion handler closure provided by the UIApplicationDelegate
-    /// `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background
-    /// completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation
-    /// will automatically call the handler.
-    ///
-    /// If you need to handle your own events before the handler is called, then you need to override the
-    /// SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` and manually call the handler when finished.
-    ///
-    /// `nil` by default.
-    open var backgroundCompletionHandler: (() -> Void)?
-
-    let queue = DispatchQueue(label: "org.alamofire.session-manager." + UUID().uuidString)
-
-    // MARK: - Lifecycle
-
-    /// Creates an instance with the specified `configuration`, `delegate` and `serverTrustPolicyManager`.
-    ///
-    /// - parameter configuration:            The configuration used to construct the managed session.
-    ///                                       `URLSessionConfiguration.default` by default.
-    /// - parameter delegate:                 The delegate used when initializing the session. `SessionDelegate()` by
-    ///                                       default.
-    /// - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
-    ///                                       challenges. `nil` by default.
-    ///
-    /// - returns: The new `SessionManager` instance.
-    public init(
-        configuration: URLSessionConfiguration = URLSessionConfiguration.default,
-        delegate: SessionDelegate = SessionDelegate(),
-        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
-    {
-        self.delegate = delegate
-        self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
-
-        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
-    }
-
-    /// Creates an instance with the specified `session`, `delegate` and `serverTrustPolicyManager`.
-    ///
-    /// - parameter session:                  The URL session.
-    /// - parameter delegate:                 The delegate of the URL session. Must equal the URL session's delegate.
-    /// - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
-    ///                                       challenges. `nil` by default.
-    ///
-    /// - returns: The new `SessionManager` instance if the URL session's delegate matches; `nil` otherwise.
-    public init?(
-        session: URLSession,
-        delegate: SessionDelegate,
-        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
-    {
-        guard delegate === session.delegate else { return nil }
-
-        self.delegate = delegate
-        self.session = session
-
-        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
-    }
-
-    private func commonInit(serverTrustPolicyManager: ServerTrustPolicyManager?) {
-        session.serverTrustPolicyManager = serverTrustPolicyManager
-
-        delegate.sessionManager = self
-
-        delegate.sessionDidFinishEventsForBackgroundURLSession = { [weak self] session in
-            guard let strongSelf = self else { return }
-            DispatchQueue.main.async { strongSelf.backgroundCompletionHandler?() }
-        }
-    }
-
-    deinit {
-        session.invalidateAndCancel()
-    }
-
-    // MARK: - Data Request
-
-    /// Creates a `DataRequest` to retrieve the contents of the specified `url`, `method`, `parameters`, `encoding`
-    /// and `headers`.
-    ///
-    /// - parameter url:        The URL.
-    /// - parameter method:     The HTTP method. `.get` by default.
-    /// - parameter parameters: The parameters. `nil` by default.
-    /// - parameter encoding:   The parameter encoding. `URLEncoding.default` by default.
-    /// - parameter headers:    The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `DataRequest`.
-    @discardableResult
-    open func request(
-        _ url: URLConvertible,
-        method: HTTPMethod = .get,
-        parameters: Parameters? = nil,
-        encoding: ParameterEncoding = URLEncoding.default,
-        headers: HTTPHeaders? = nil)
-        -> DataRequest
-    {
-        var originalRequest: URLRequest?
-
-        do {
-            originalRequest = try URLRequest(url: url, method: method, headers: headers)
-            let encodedURLRequest = try encoding.encode(originalRequest!, with: parameters)
-            return request(encodedURLRequest)
-        } catch {
-            return request(originalRequest, failedWith: error)
-        }
-    }
-
-    /// Creates a `DataRequest` to retrieve the contents of a URL based on the specified `urlRequest`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `DataRequest`.
-    open func request(_ urlRequest: URLRequestConvertible) -> DataRequest {
-        var originalRequest: URLRequest?
-
-        do {
-            originalRequest = try urlRequest.asURLRequest()
-            let originalTask = DataRequest.Requestable(urlRequest: originalRequest!)
-
-            let task = try originalTask.task(session: session, adapter: adapter, queue: queue)
-            let request = DataRequest(session: session, requestTask: .data(originalTask, task))
-
-            delegate[task] = request
-
-            if startRequestsImmediately { request.resume() }
-
-            return request
-        } catch {
-            return request(originalRequest, failedWith: error)
-        }
-    }
-
-    // MARK: Private - Request Implementation
-
-    private func request(_ urlRequest: URLRequest?, failedWith error: Error) -> DataRequest {
-        var requestTask: Request.RequestTask = .data(nil, nil)
-
-        if let urlRequest = urlRequest {
-            let originalTask = DataRequest.Requestable(urlRequest: urlRequest)
-            requestTask = .data(originalTask, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-        let request = DataRequest(session: session, requestTask: requestTask, error: underlyingError)
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: request, with: underlyingError)
-        } else {
-            if startRequestsImmediately { request.resume() }
-        }
-
-        return request
-    }
-
-    // MARK: - Download Request
-
-    // MARK: URL Request
-
-    /// Creates a `DownloadRequest` to retrieve the contents the specified `url`, `method`, `parameters`, `encoding`,
-    /// `headers` and save them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter url:         The URL.
-    /// - parameter method:      The HTTP method. `.get` by default.
-    /// - parameter parameters:  The parameters. `nil` by default.
-    /// - parameter encoding:    The parameter encoding. `URLEncoding.default` by default.
-    /// - parameter headers:     The HTTP headers. `nil` by default.
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        _ url: URLConvertible,
-        method: HTTPMethod = .get,
-        parameters: Parameters? = nil,
-        encoding: ParameterEncoding = URLEncoding.default,
-        headers: HTTPHeaders? = nil,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            let encodedURLRequest = try encoding.encode(urlRequest, with: parameters)
-            return download(encodedURLRequest, to: destination)
-        } catch {
-            return download(nil, to: destination, failedWith: error)
-        }
-    }
-
-    /// Creates a `DownloadRequest` to retrieve the contents of a URL based on the specified `urlRequest` and save
-    /// them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter urlRequest:  The URL request
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        _ urlRequest: URLRequestConvertible,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return download(.request(urlRequest), to: destination)
-        } catch {
-            return download(nil, to: destination, failedWith: error)
-        }
-    }
-
-    // MARK: Resume Data
-
-    /// Creates a `DownloadRequest` from the `resumeData` produced from a previous request cancellation to retrieve
-    /// the contents of the original request and save them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken
-    /// on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the
-    /// data is written incorrectly and will always fail to resume the download. For more information about the bug and
-    /// possible workarounds, please refer to the following Stack Overflow post:
-    ///
-    ///    - http://stackoverflow.com/a/39347461/1342462
-    ///
-    /// - parameter resumeData:  The resume data. This is an opaque data blob produced by `URLSessionDownloadTask`
-    ///                          when a task is cancelled. See `URLSession -downloadTask(withResumeData:)` for
-    ///                          additional information.
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        resumingWith resumeData: Data,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        return download(.resumeData(resumeData), to: destination)
-    }
-
-    // MARK: Private - Download Implementation
-
-    private func download(
-        _ downloadable: DownloadRequest.Downloadable,
-        to destination: DownloadRequest.DownloadFileDestination?)
-        -> DownloadRequest
-    {
-        do {
-            let task = try downloadable.task(session: session, adapter: adapter, queue: queue)
-            let download = DownloadRequest(session: session, requestTask: .download(downloadable, task))
-
-            download.downloadDelegate.destination = destination
-
-            delegate[task] = download
-
-            if startRequestsImmediately { download.resume() }
-
-            return download
-        } catch {
-            return download(downloadable, to: destination, failedWith: error)
-        }
-    }
-
-    private func download(
-        _ downloadable: DownloadRequest.Downloadable?,
-        to destination: DownloadRequest.DownloadFileDestination?,
-        failedWith error: Error)
-        -> DownloadRequest
-    {
-        var downloadTask: Request.RequestTask = .download(nil, nil)
-
-        if let downloadable = downloadable {
-            downloadTask = .download(downloadable, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-
-        let download = DownloadRequest(session: session, requestTask: downloadTask, error: underlyingError)
-        download.downloadDelegate.destination = destination
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: download, with: underlyingError)
-        } else {
-            if startRequestsImmediately { download.resume() }
-        }
-
-        return download
-    }
-
-    // MARK: - Upload Request
-
-    // MARK: File
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `file`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter file:    The file to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ fileURL: URL,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(fileURL, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates a `UploadRequest` from the specified `urlRequest` for uploading the `file`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter file:       The file to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ fileURL: URL, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.file(fileURL, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: Data
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `data`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter data:    The data to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ data: Data,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(data, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates an `UploadRequest` from the specified `urlRequest` for uploading the `data`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter data:       The data to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ data: Data, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.data(data, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: InputStream
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `stream`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter stream:  The stream to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ stream: InputStream,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(stream, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates an `UploadRequest` from the specified `urlRequest` for uploading the `stream`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter stream:     The stream to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ stream: InputStream, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.stream(stream, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: MultipartFormData
-
-    /// Encodes `multipartFormData` using `encodingMemoryThreshold` and calls `encodingCompletion` with new
-    /// `UploadRequest` using the `url`, `method` and `headers`.
-    ///
-    /// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-    /// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-    /// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-    /// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-    /// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-    /// used for larger payloads such as video content.
-    ///
-    /// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-    /// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-    /// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-    /// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-    /// technique was used.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-    /// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-    ///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-    /// - parameter url:                     The URL.
-    /// - parameter method:                  The HTTP method. `.post` by default.
-    /// - parameter headers:                 The HTTP headers. `nil` by default.
-    /// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-    open func upload(
-        multipartFormData: @escaping (MultipartFormData) -> Void,
-        usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil,
-        encodingCompletion: ((MultipartFormDataEncodingResult) -> Void)?)
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-
-            return upload(
-                multipartFormData: multipartFormData,
-                usingThreshold: encodingMemoryThreshold,
-                with: urlRequest,
-                encodingCompletion: encodingCompletion
-            )
-        } catch {
-            DispatchQueue.main.async { encodingCompletion?(.failure(error)) }
-        }
-    }
-
-    /// Encodes `multipartFormData` using `encodingMemoryThreshold` and calls `encodingCompletion` with new
-    /// `UploadRequest` using the `urlRequest`.
-    ///
-    /// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-    /// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-    /// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-    /// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-    /// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-    /// used for larger payloads such as video content.
-    ///
-    /// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-    /// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-    /// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-    /// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-    /// technique was used.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-    /// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-    ///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-    /// - parameter urlRequest:              The URL request.
-    /// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-    open func upload(
-        multipartFormData: @escaping (MultipartFormData) -> Void,
-        usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-        with urlRequest: URLRequestConvertible,
-        encodingCompletion: ((MultipartFormDataEncodingResult) -> Void)?)
-    {
-        DispatchQueue.global(qos: .utility).async {
-            let formData = MultipartFormData()
-            multipartFormData(formData)
-
-            var tempFileURL: URL?
-
-            do {
-                var urlRequestWithContentType = try urlRequest.asURLRequest()
-                urlRequestWithContentType.setValue(formData.contentType, forHTTPHeaderField: "Content-Type")
-
-                let isBackgroundSession = self.session.configuration.identifier != nil
-
-                if formData.contentLength < encodingMemoryThreshold && !isBackgroundSession {
-                    let data = try formData.encode()
-
-                    let encodingResult = MultipartFormDataEncodingResult.success(
-                        request: self.upload(data, with: urlRequestWithContentType),
-                        streamingFromDisk: false,
-                        streamFileURL: nil
-                    )
-
-                    DispatchQueue.main.async { encodingCompletion?(encodingResult) }
-                } else {
-                    let fileManager = FileManager.default
-                    let tempDirectoryURL = URL(fileURLWithPath: NSTemporaryDirectory())
-                    let directoryURL = tempDirectoryURL.appendingPathComponent("org.alamofire.manager/multipart.form.data")
-                    let fileName = UUID().uuidString
-                    let fileURL = directoryURL.appendingPathComponent(fileName)
-
-                    tempFileURL = fileURL
-
-                    var directoryError: Error?
-
-                    // Create directory inside serial queue to ensure two threads don't do this in parallel
-                    self.queue.sync {
-                        do {
-                            try fileManager.createDirectory(at: directoryURL, withIntermediateDirectories: true, attributes: nil)
-                        } catch {
-                            directoryError = error
-                        }
-                    }
-
-                    if let directoryError = directoryError { throw directoryError }
-
-                    try formData.writeEncodedData(to: fileURL)
-
-                    let upload = self.upload(fileURL, with: urlRequestWithContentType)
-
-                    // Cleanup the temp file once the upload is complete
-                    upload.delegate.queue.addOperation {
-                        do {
-                            try FileManager.default.removeItem(at: fileURL)
-                        } catch {
-                            // No-op
-                        }
-                    }
-
-                    DispatchQueue.main.async {
-                        let encodingResult = MultipartFormDataEncodingResult.success(
-                            request: upload,
-                            streamingFromDisk: true,
-                            streamFileURL: fileURL
-                        )
-
-                        encodingCompletion?(encodingResult)
-                    }
-                }
-            } catch {
-                // Cleanup the temp file in the event that the multipart form data encoding failed
-                if let tempFileURL = tempFileURL {
-                    do {
-                        try FileManager.default.removeItem(at: tempFileURL)
-                    } catch {
-                        // No-op
-                    }
-                }
-
-                DispatchQueue.main.async { encodingCompletion?(.failure(error)) }
-            }
-        }
-    }
-
-    // MARK: Private - Upload Implementation
-
-    private func upload(_ uploadable: UploadRequest.Uploadable) -> UploadRequest {
-        do {
-            let task = try uploadable.task(session: session, adapter: adapter, queue: queue)
-            let upload = UploadRequest(session: session, requestTask: .upload(uploadable, task))
-
-            if case let .stream(inputStream, _) = uploadable {
-                upload.delegate.taskNeedNewBodyStream = { _, _ in inputStream }
-            }
-
-            delegate[task] = upload
-
-            if startRequestsImmediately { upload.resume() }
-
-            return upload
-        } catch {
-            return upload(uploadable, failedWith: error)
-        }
-    }
-
-    private func upload(_ uploadable: UploadRequest.Uploadable?, failedWith error: Error) -> UploadRequest {
-        var uploadTask: Request.RequestTask = .upload(nil, nil)
-
-        if let uploadable = uploadable {
-            uploadTask = .upload(uploadable, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-        let upload = UploadRequest(session: session, requestTask: uploadTask, error: underlyingError)
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: upload, with: underlyingError)
-        } else {
-            if startRequestsImmediately { upload.resume() }
-        }
-
-        return upload
-    }
-
-#if !os(watchOS)
-
-    // MARK: - Stream Request
-
-    // MARK: Hostname and Port
-
-    /// Creates a `StreamRequest` for bidirectional streaming using the `hostname` and `port`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter hostName: The hostname of the server to connect to.
-    /// - parameter port:     The port of the server to connect to.
-    ///
-    /// - returns: The created `StreamRequest`.
-    @discardableResult
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open func stream(withHostName hostName: String, port: Int) -> StreamRequest {
-        return stream(.stream(hostName: hostName, port: port))
-    }
-
-    // MARK: NetService
-
-    /// Creates a `StreamRequest` for bidirectional streaming using the `netService`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter netService: The net service used to identify the endpoint.
-    ///
-    /// - returns: The created `StreamRequest`.
-    @discardableResult
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open func stream(with netService: NetService) -> StreamRequest {
-        return stream(.netService(netService))
-    }
-
-    // MARK: Private - Stream Implementation
-
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    private func stream(_ streamable: StreamRequest.Streamable) -> StreamRequest {
-        do {
-            let task = try streamable.task(session: session, adapter: adapter, queue: queue)
-            let request = StreamRequest(session: session, requestTask: .stream(streamable, task))
-
-            delegate[task] = request
-
-            if startRequestsImmediately { request.resume() }
-
-            return request
-        } catch {
-            return stream(failedWith: error)
-        }
-    }
-
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    private func stream(failedWith error: Error) -> StreamRequest {
-        let stream = StreamRequest(session: session, requestTask: .stream(nil, nil), error: error)
-        if startRequestsImmediately { stream.resume() }
-        return stream
-    }
-
-#endif
-
-    // MARK: - Internal - Retry Request
-
-    func retry(_ request: Request) -> Bool {
-        guard let originalTask = request.originalTask else { return false }
-
-        do {
-            let task = try originalTask.task(session: session, adapter: adapter, queue: queue)
-
-            request.delegate.task = task // resets all task delegate data
-
-            request.retryCount += 1
-            request.startTime = CFAbsoluteTimeGetCurrent()
-            request.endTime = nil
-
-            task.resume()
-
-            return true
-        } catch {
-            request.delegate.error = error.underlyingAdaptError ?? error
-            return false
-        }
-    }
-
-    private func allowRetrier(_ retrier: RequestRetrier, toRetry request: Request, with error: Error) {
-        DispatchQueue.utility.async { [weak self] in
-            guard let strongSelf = self else { return }
-
-            retrier.should(strongSelf, retry: request, with: error) { shouldRetry, timeDelay in
-                guard let strongSelf = self else { return }
-
-                guard shouldRetry else {
-                    if strongSelf.startRequestsImmediately { request.resume() }
-                    return
-                }
-
-                DispatchQueue.utility.after(timeDelay) {
-                    guard let strongSelf = self else { return }
-
-                    let retrySucceeded = strongSelf.retry(request)
-
-                    if retrySucceeded, let task = request.task {
-                        strongSelf.delegate[task] = request
-                    } else {
-                        if strongSelf.startRequestsImmediately { request.resume() }
-                    }
-                }
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
deleted file mode 100644
index d4fd2163c10..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
+++ /dev/null
@@ -1,453 +0,0 @@
-//
-//  TaskDelegate.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// The task delegate is responsible for handling all delegate callbacks for the underlying task as well as
-/// executing all operations attached to the serial operation queue upon task completion.
-open class TaskDelegate: NSObject {
-
-    // MARK: Properties
-
-    /// The serial operation queue used to execute all operations after the task completes.
-    open let queue: OperationQueue
-
-    /// The data returned by the server.
-    public var data: Data? { return nil }
-
-    /// The error generated throughout the lifecyle of the task.
-    public var error: Error?
-
-    var task: URLSessionTask? {
-        didSet { reset() }
-    }
-
-    var initialResponseTime: CFAbsoluteTime?
-    var credential: URLCredential?
-    var metrics: AnyObject? // URLSessionTaskMetrics
-
-    // MARK: Lifecycle
-
-    init(task: URLSessionTask?) {
-        self.task = task
-
-        self.queue = {
-            let operationQueue = OperationQueue()
-
-            operationQueue.maxConcurrentOperationCount = 1
-            operationQueue.isSuspended = true
-            operationQueue.qualityOfService = .utility
-
-            return operationQueue
-        }()
-    }
-
-    func reset() {
-        error = nil
-        initialResponseTime = nil
-    }
-
-    // MARK: URLSessionTaskDelegate
-
-    var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-    var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-    var taskNeedNewBodyStream: ((URLSession, URLSessionTask) -> InputStream?)?
-    var taskDidCompleteWithError: ((URLSession, URLSessionTask, Error?) -> Void)?
-
-    @objc(URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        var redirectRequest: URLRequest? = request
-
-        if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
-            redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
-        }
-
-        completionHandler(redirectRequest)
-    }
-
-    @objc(URLSession:task:didReceiveChallenge:completionHandler:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
-        var credential: URLCredential?
-
-        if let taskDidReceiveChallenge = taskDidReceiveChallenge {
-            (disposition, credential) = taskDidReceiveChallenge(session, task, challenge)
-        } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
-            let host = challenge.protectionSpace.host
-
-            if
-                let serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicy(forHost: host),
-                let serverTrust = challenge.protectionSpace.serverTrust
-            {
-                if serverTrustPolicy.evaluate(serverTrust, forHost: host) {
-                    disposition = .useCredential
-                    credential = URLCredential(trust: serverTrust)
-                } else {
-                    disposition = .cancelAuthenticationChallenge
-                }
-            }
-        } else {
-            if challenge.previousFailureCount > 0 {
-                disposition = .rejectProtectionSpace
-            } else {
-                credential = self.credential ?? session.configuration.urlCredentialStorage?.defaultCredential(for: challenge.protectionSpace)
-
-                if credential != nil {
-                    disposition = .useCredential
-                }
-            }
-        }
-
-        completionHandler(disposition, credential)
-    }
-
-    @objc(URLSession:task:needNewBodyStream:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void)
-    {
-        var bodyStream: InputStream?
-
-        if let taskNeedNewBodyStream = taskNeedNewBodyStream {
-            bodyStream = taskNeedNewBodyStream(session, task)
-        }
-
-        completionHandler(bodyStream)
-    }
-
-    @objc(URLSession:task:didCompleteWithError:)
-    func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
-        if let taskDidCompleteWithError = taskDidCompleteWithError {
-            taskDidCompleteWithError(session, task, error)
-        } else {
-            if let error = error {
-                if self.error == nil { self.error = error }
-
-                if
-                    let downloadDelegate = self as? DownloadTaskDelegate,
-                    let resumeData = (error as NSError).userInfo[NSURLSessionDownloadTaskResumeData] as? Data
-                {
-                    downloadDelegate.resumeData = resumeData
-                }
-            }
-
-            queue.isSuspended = false
-        }
-    }
-}
-
-// MARK: -
-
-class DataTaskDelegate: TaskDelegate, URLSessionDataDelegate {
-
-    // MARK: Properties
-
-    var dataTask: URLSessionDataTask { return task as! URLSessionDataTask }
-
-    override var data: Data? {
-        if dataStream != nil {
-            return nil
-        } else {
-            return mutableData
-        }
-    }
-
-    var progress: Progress
-    var progressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    var dataStream: ((_ data: Data) -> Void)?
-
-    private var totalBytesReceived: Int64 = 0
-    private var mutableData: Data
-
-    private var expectedContentLength: Int64?
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        mutableData = Data()
-        progress = Progress(totalUnitCount: 0)
-
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-
-        progress = Progress(totalUnitCount: 0)
-        totalBytesReceived = 0
-        mutableData = Data()
-        expectedContentLength = nil
-    }
-
-    // MARK: URLSessionDataDelegate
-
-    var dataTaskDidReceiveResponse: ((URLSession, URLSessionDataTask, URLResponse) -> URLSession.ResponseDisposition)?
-    var dataTaskDidBecomeDownloadTask: ((URLSession, URLSessionDataTask, URLSessionDownloadTask) -> Void)?
-    var dataTaskDidReceiveData: ((URLSession, URLSessionDataTask, Data) -> Void)?
-    var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didReceive response: URLResponse,
-        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
-    {
-        var disposition: URLSession.ResponseDisposition = .allow
-
-        expectedContentLength = response.expectedContentLength
-
-        if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
-            disposition = dataTaskDidReceiveResponse(session, dataTask, response)
-        }
-
-        completionHandler(disposition)
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didBecome downloadTask: URLSessionDownloadTask)
-    {
-        dataTaskDidBecomeDownloadTask?(session, dataTask, downloadTask)
-    }
-
-    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let dataTaskDidReceiveData = dataTaskDidReceiveData {
-            dataTaskDidReceiveData(session, dataTask, data)
-        } else {
-            if let dataStream = dataStream {
-                dataStream(data)
-            } else {
-                mutableData.append(data)
-            }
-
-            let bytesReceived = Int64(data.count)
-            totalBytesReceived += bytesReceived
-            let totalBytesExpected = dataTask.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
-
-            progress.totalUnitCount = totalBytesExpected
-            progress.completedUnitCount = totalBytesReceived
-
-            if let progressHandler = progressHandler {
-                progressHandler.queue.async { progressHandler.closure(self.progress) }
-            }
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        willCacheResponse proposedResponse: CachedURLResponse,
-        completionHandler: @escaping (CachedURLResponse?) -> Void)
-    {
-        var cachedResponse: CachedURLResponse? = proposedResponse
-
-        if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
-            cachedResponse = dataTaskWillCacheResponse(session, dataTask, proposedResponse)
-        }
-
-        completionHandler(cachedResponse)
-    }
-}
-
-// MARK: -
-
-class DownloadTaskDelegate: TaskDelegate, URLSessionDownloadDelegate {
-
-    // MARK: Properties
-
-    var downloadTask: URLSessionDownloadTask { return task as! URLSessionDownloadTask }
-
-    var progress: Progress
-    var progressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    var resumeData: Data?
-    override var data: Data? { return resumeData }
-
-    var destination: DownloadRequest.DownloadFileDestination?
-
-    var temporaryURL: URL?
-    var destinationURL: URL?
-
-    var fileURL: URL? { return destination != nil ? destinationURL : temporaryURL }
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        progress = Progress(totalUnitCount: 0)
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-
-        progress = Progress(totalUnitCount: 0)
-        resumeData = nil
-    }
-
-    // MARK: URLSessionDownloadDelegate
-
-    var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> URL)?
-    var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
-    var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)?
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didFinishDownloadingTo location: URL)
-    {
-        temporaryURL = location
-
-        guard
-            let destination = destination,
-            let response = downloadTask.response as? HTTPURLResponse
-        else { return }
-
-        let result = destination(location, response)
-        let destinationURL = result.destinationURL
-        let options = result.options
-
-        self.destinationURL = destinationURL
-
-        do {
-            if options.contains(.removePreviousFile), FileManager.default.fileExists(atPath: destinationURL.path) {
-                try FileManager.default.removeItem(at: destinationURL)
-            }
-
-            if options.contains(.createIntermediateDirectories) {
-                let directory = destinationURL.deletingLastPathComponent()
-                try FileManager.default.createDirectory(at: directory, withIntermediateDirectories: true)
-            }
-
-            try FileManager.default.moveItem(at: location, to: destinationURL)
-        } catch {
-            self.error = error
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didWriteData bytesWritten: Int64,
-        totalBytesWritten: Int64,
-        totalBytesExpectedToWrite: Int64)
-    {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let downloadTaskDidWriteData = downloadTaskDidWriteData {
-            downloadTaskDidWriteData(
-                session,
-                downloadTask,
-                bytesWritten,
-                totalBytesWritten,
-                totalBytesExpectedToWrite
-            )
-        } else {
-            progress.totalUnitCount = totalBytesExpectedToWrite
-            progress.completedUnitCount = totalBytesWritten
-
-            if let progressHandler = progressHandler {
-                progressHandler.queue.async { progressHandler.closure(self.progress) }
-            }
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didResumeAtOffset fileOffset: Int64,
-        expectedTotalBytes: Int64)
-    {
-        if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
-            downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
-        } else {
-            progress.totalUnitCount = expectedTotalBytes
-            progress.completedUnitCount = fileOffset
-        }
-    }
-}
-
-// MARK: -
-
-class UploadTaskDelegate: DataTaskDelegate {
-
-    // MARK: Properties
-
-    var uploadTask: URLSessionUploadTask { return task as! URLSessionUploadTask }
-
-    var uploadProgress: Progress
-    var uploadProgressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        uploadProgress = Progress(totalUnitCount: 0)
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-        uploadProgress = Progress(totalUnitCount: 0)
-    }
-
-    // MARK: URLSessionTaskDelegate
-
-    var taskDidSendBodyData: ((URLSession, URLSessionTask, Int64, Int64, Int64) -> Void)?
-
-    func URLSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didSendBodyData bytesSent: Int64,
-        totalBytesSent: Int64,
-        totalBytesExpectedToSend: Int64)
-    {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let taskDidSendBodyData = taskDidSendBodyData {
-            taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
-        } else {
-            uploadProgress.totalUnitCount = totalBytesExpectedToSend
-            uploadProgress.completedUnitCount = totalBytesSent
-
-            if let uploadProgressHandler = uploadProgressHandler {
-                uploadProgressHandler.queue.async { uploadProgressHandler.closure(self.uploadProgress) }
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
deleted file mode 100644
index 1440989d5f1..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
+++ /dev/null
@@ -1,136 +0,0 @@
-//
-//  Timeline.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for computing the timing metrics for the complete lifecycle of a `Request`.
-public struct Timeline {
-    /// The time the request was initialized.
-    public let requestStartTime: CFAbsoluteTime
-
-    /// The time the first bytes were received from or sent to the server.
-    public let initialResponseTime: CFAbsoluteTime
-
-    /// The time when the request was completed.
-    public let requestCompletedTime: CFAbsoluteTime
-
-    /// The time when the response serialization was completed.
-    public let serializationCompletedTime: CFAbsoluteTime
-
-    /// The time interval in seconds from the time the request started to the initial response from the server.
-    public let latency: TimeInterval
-
-    /// The time interval in seconds from the time the request started to the time the request completed.
-    public let requestDuration: TimeInterval
-
-    /// The time interval in seconds from the time the request completed to the time response serialization completed.
-    public let serializationDuration: TimeInterval
-
-    /// The time interval in seconds from the time the request started to the time response serialization completed.
-    public let totalDuration: TimeInterval
-
-    /// Creates a new `Timeline` instance with the specified request times.
-    ///
-    /// - parameter requestStartTime:           The time the request was initialized. Defaults to `0.0`.
-    /// - parameter initialResponseTime:        The time the first bytes were received from or sent to the server.
-    ///                                         Defaults to `0.0`.
-    /// - parameter requestCompletedTime:       The time when the request was completed. Defaults to `0.0`.
-    /// - parameter serializationCompletedTime: The time when the response serialization was completed. Defaults
-    ///                                         to `0.0`.
-    ///
-    /// - returns: The new `Timeline` instance.
-    public init(
-        requestStartTime: CFAbsoluteTime = 0.0,
-        initialResponseTime: CFAbsoluteTime = 0.0,
-        requestCompletedTime: CFAbsoluteTime = 0.0,
-        serializationCompletedTime: CFAbsoluteTime = 0.0)
-    {
-        self.requestStartTime = requestStartTime
-        self.initialResponseTime = initialResponseTime
-        self.requestCompletedTime = requestCompletedTime
-        self.serializationCompletedTime = serializationCompletedTime
-
-        self.latency = initialResponseTime - requestStartTime
-        self.requestDuration = requestCompletedTime - requestStartTime
-        self.serializationDuration = serializationCompletedTime - requestCompletedTime
-        self.totalDuration = serializationCompletedTime - requestStartTime
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Timeline: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the latency, the request
-    /// duration and the total duration.
-    public var description: String {
-        let latency = String(format: "%.3f", self.latency)
-        let requestDuration = String(format: "%.3f", self.requestDuration)
-        let serializationDuration = String(format: "%.3f", self.serializationDuration)
-        let totalDuration = String(format: "%.3f", self.totalDuration)
-
-        // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is
-        // fixed, we should move back to string interpolation by reverting commit 7d4a43b1.
-        let timings = [
-            "\"Latency\": " + latency + " secs",
-            "\"Request Duration\": " + requestDuration + " secs",
-            "\"Serialization Duration\": " + serializationDuration + " secs",
-            "\"Total Duration\": " + totalDuration + " secs"
-        ]
-
-        return "Timeline: { " + timings.joined(separator: ", ") + " }"
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Timeline: CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the request start time, the
-    /// initial response time, the request completed time, the serialization completed time, the latency, the request
-    /// duration and the total duration.
-    public var debugDescription: String {
-        let requestStartTime = String(format: "%.3f", self.requestStartTime)
-        let initialResponseTime = String(format: "%.3f", self.initialResponseTime)
-        let requestCompletedTime = String(format: "%.3f", self.requestCompletedTime)
-        let serializationCompletedTime = String(format: "%.3f", self.serializationCompletedTime)
-        let latency = String(format: "%.3f", self.latency)
-        let requestDuration = String(format: "%.3f", self.requestDuration)
-        let serializationDuration = String(format: "%.3f", self.serializationDuration)
-        let totalDuration = String(format: "%.3f", self.totalDuration)
-
-        // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is
-        // fixed, we should move back to string interpolation by reverting commit 7d4a43b1.
-        let timings = [
-            "\"Request Start Time\": " + requestStartTime,
-            "\"Initial Response Time\": " + initialResponseTime,
-            "\"Request Completed Time\": " + requestCompletedTime,
-            "\"Serialization Completed Time\": " + serializationCompletedTime,
-            "\"Latency\": " + latency + " secs",
-            "\"Request Duration\": " + requestDuration + " secs",
-            "\"Serialization Duration\": " + serializationDuration + " secs",
-            "\"Total Duration\": " + totalDuration + " secs"
-        ]
-
-        return "Timeline: { " + timings.joined(separator: ", ") + " }"
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
deleted file mode 100644
index c405d02af10..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
+++ /dev/null
@@ -1,309 +0,0 @@
-//
-//  Validation.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Request {
-
-    // MARK: Helper Types
-
-    fileprivate typealias ErrorReason = AFError.ResponseValidationFailureReason
-
-    /// Used to represent whether validation was successful or encountered an error resulting in a failure.
-    ///
-    /// - success: The validation was successful.
-    /// - failure: The validation failed encountering the provided error.
-    public enum ValidationResult {
-        case success
-        case failure(Error)
-    }
-
-    fileprivate struct MIMEType {
-        let type: String
-        let subtype: String
-
-        var isWildcard: Bool { return type == "*" && subtype == "*" }
-
-        init?(_ string: String) {
-            let components: [String] = {
-                let stripped = string.trimmingCharacters(in: .whitespacesAndNewlines)
-                let split = stripped.substring(to: stripped.range(of: ";")?.lowerBound ?? stripped.endIndex)
-                return split.components(separatedBy: "/")
-            }()
-
-            if let type = components.first, let subtype = components.last {
-                self.type = type
-                self.subtype = subtype
-            } else {
-                return nil
-            }
-        }
-
-        func matches(_ mime: MIMEType) -> Bool {
-            switch (type, subtype) {
-            case (mime.type, mime.subtype), (mime.type, "*"), ("*", mime.subtype), ("*", "*"):
-                return true
-            default:
-                return false
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    fileprivate var acceptableStatusCodes: [Int] { return Array(200..<300) }
-
-    fileprivate var acceptableContentTypes: [String] {
-        if let accept = request?.value(forHTTPHeaderField: "Accept") {
-            return accept.components(separatedBy: ",")
-        }
-
-        return ["*/*"]
-    }
-
-    // MARK: Status Code
-
-    fileprivate func validate<S: Sequence>(
-        statusCode acceptableStatusCodes: S,
-        response: HTTPURLResponse)
-        -> ValidationResult
-        where S.Iterator.Element == Int
-    {
-        if acceptableStatusCodes.contains(response.statusCode) {
-            return .success
-        } else {
-            let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
-            return .failure(AFError.responseValidationFailed(reason: reason))
-        }
-    }
-
-    // MARK: Content Type
-
-    fileprivate func validate<S: Sequence>(
-        contentType acceptableContentTypes: S,
-        response: HTTPURLResponse,
-        data: Data?)
-        -> ValidationResult
-        where S.Iterator.Element == String
-    {
-        guard let data = data, data.count > 0 else { return .success }
-
-        guard
-            let responseContentType = response.mimeType,
-            let responseMIMEType = MIMEType(responseContentType)
-        else {
-            for contentType in acceptableContentTypes {
-                if let mimeType = MIMEType(contentType), mimeType.isWildcard {
-                    return .success
-                }
-            }
-
-            let error: AFError = {
-                let reason: ErrorReason = .missingContentType(acceptableContentTypes: Array(acceptableContentTypes))
-                return AFError.responseValidationFailed(reason: reason)
-            }()
-
-            return .failure(error)
-        }
-
-        for contentType in acceptableContentTypes {
-            if let acceptableMIMEType = MIMEType(contentType), acceptableMIMEType.matches(responseMIMEType) {
-                return .success
-            }
-        }
-
-        let error: AFError = {
-            let reason: ErrorReason = .unacceptableContentType(
-                acceptableContentTypes: Array(acceptableContentTypes),
-                responseContentType: responseContentType
-            )
-
-            return AFError.responseValidationFailed(reason: reason)
-        }()
-
-        return .failure(error)
-    }
-}
-
-// MARK: -
-
-extension DataRequest {
-    /// A closure used to validate a request that takes a URL request, a URL response and data, and returns whether the
-    /// request was valid.
-    public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
-
-    /// Validates the request, using the specified closure.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter validation: A closure to validate the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate(_ validation: @escaping Validation) -> Self {
-        let validationExecution: () -> Void = { [unowned self] in
-            if
-                let response = self.response,
-                self.delegate.error == nil,
-                case let .failure(error) = validation(self.request, response, self.delegate.data)
-            {
-                self.delegate.error = error
-            }
-        }
-
-        validations.append(validationExecution)
-
-        return self
-    }
-
-    /// Validates that the response has a status code in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter range: The range of acceptable status codes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
-        return validate { [unowned self] _, response, _ in
-            return self.validate(statusCode: acceptableStatusCodes, response: response)
-        }
-    }
-
-    /// Validates that the response has a content type in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(contentType acceptableContentTypes: S) -> Self where S.Iterator.Element == String {
-        return validate { [unowned self] _, response, data in
-            return self.validate(contentType: acceptableContentTypes, response: response, data: data)
-        }
-    }
-
-    /// Validates that the response has a status code in the default acceptable range of 200...299, and that the content
-    /// type matches any specified in the Accept HTTP header field.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate() -> Self {
-        return validate(statusCode: self.acceptableStatusCodes).validate(contentType: self.acceptableContentTypes)
-    }
-}
-
-// MARK: -
-
-extension DownloadRequest {
-    /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a
-    /// destination URL, and returns whether the request was valid.
-    public typealias Validation = (
-        _ request: URLRequest?,
-        _ response: HTTPURLResponse,
-        _ temporaryURL: URL?,
-        _ destinationURL: URL?)
-        -> ValidationResult
-
-    /// Validates the request, using the specified closure.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter validation: A closure to validate the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate(_ validation: @escaping Validation) -> Self {
-        let validationExecution: () -> Void = { [unowned self] in
-            let request = self.request
-            let temporaryURL = self.downloadDelegate.temporaryURL
-            let destinationURL = self.downloadDelegate.destinationURL
-
-            if
-                let response = self.response,
-                self.delegate.error == nil,
-                case let .failure(error) = validation(request, response, temporaryURL, destinationURL)
-            {
-                self.delegate.error = error
-            }
-        }
-
-        validations.append(validationExecution)
-
-        return self
-    }
-
-    /// Validates that the response has a status code in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter range: The range of acceptable status codes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
-        return validate { [unowned self] _, response, _, _ in
-            return self.validate(statusCode: acceptableStatusCodes, response: response)
-        }
-    }
-
-    /// Validates that the response has a content type in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(contentType acceptableContentTypes: S) -> Self where S.Iterator.Element == String {
-        return validate { [unowned self] _, response, _, _ in
-            let fileURL = self.downloadDelegate.fileURL
-
-            guard let validFileURL = fileURL else {
-                return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: validFileURL)
-                return self.validate(contentType: acceptableContentTypes, response: response, data: data)
-            } catch {
-                return .failure(AFError.responseValidationFailed(reason: .dataFileReadFailed(at: validFileURL)))
-            }
-        }
-    }
-
-    /// Validates that the response has a status code in the default acceptable range of 200...299, and that the content
-    /// type matches any specified in the Accept HTTP header field.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate() -> Self {
-        return validate(statusCode: self.acceptableStatusCodes).validate(contentType: self.acceptableContentTypes)
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json
deleted file mode 100644
index 95f4d993980..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json	
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  "name": "PetstoreClient",
-  "platforms": {
-    "ios": "9.0",
-    "osx": "10.11",
-    "tvos": "9.0"
-  },
-  "version": "0.0.1",
-  "source": {
-    "git": "git@github.com:openapitools/openapi-generator.git",
-    "tag": "v1.0.0"
-  },
-  "authors": "",
-  "license": "Proprietary",
-  "homepage": "https://github.com/openapitools/openapi-generator",
-  "summary": "PetstoreClient",
-  "source_files": "PetstoreClient/Classes/**/*.swift",
-  "dependencies": {
-    "PromiseKit/CorePromise": [
-      "~> 4.4.0"
-    ],
-    "Alamofire": [
-      "~> 4.5.0"
-    ]
-  }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Manifest.lock b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Manifest.lock
deleted file mode 100644
index 5f69a517d4b..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Manifest.lock
+++ /dev/null
@@ -1,27 +0,0 @@
-PODS:
-  - Alamofire (4.5.0)
-  - PetstoreClient (0.0.1):
-    - Alamofire (~> 4.5.0)
-    - PromiseKit/CorePromise (~> 4.4.0)
-  - PromiseKit/CorePromise (4.4.0)
-
-DEPENDENCIES:
-  - PetstoreClient (from `../`)
-
-SPEC REPOS:
-  https://github.com/cocoapods/specs.git:
-    - Alamofire
-    - PromiseKit
-
-EXTERNAL SOURCES:
-  PetstoreClient:
-    :path: "../"
-
-SPEC CHECKSUMS:
-  Alamofire: f28cdffd29de33a7bfa022cbd63ae95a27fae140
-  PetstoreClient: b5876a16a88cce6a4fc71443a62f9892171b48e2
-  PromiseKit: ecf5fe92275d57ee77c9ede858af47a162e9b97e
-
-PODFILE CHECKSUM: da9f5a7ad6086f2c7abb73cf2c35cefce04a9a30
-
-COCOAPODS: 1.5.3
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index 313e55a56ed..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1486 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		01CFE58A73E5BF020E8D6E295B526567 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B9A5CB4B436C4A88BA49990C94DB065 /* Foundation.framework */; };
-		04EF4F9A97B11DB9A5FED91F47B25982 /* Dog.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08583885463D1EDB2F8023584348659C /* Dog.swift */; };
-		06F013FCC3383A42626ABDD06BAF5B16 /* ApiResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */; };
-		0FFCB09E3E9B2CE432C9A1DA196F336F /* join.m in Sources */ = {isa = PBXBuildFile; fileRef = 47F1D5162720B2001CA614017A1ACE90 /* join.m */; };
-		103703B2AFC3F1B129FBDF5B94D6DFEF /* when.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05D32F7DA10CFDD71EAA3EA19946CD1D /* when.swift */; };
-		10EB23E9ECC4B33E16933BB1EA560B6A /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = AE6E736FF5D4320FE1647DB1724C14B8 /* Timeline.swift */; };
-		1B9EDEDC964E6B08F78920B4F4B9DB84 /* Alamofire-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = A16286911EF2D17072D77A2B43E34006 /* Alamofire-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		1D9CEF79CC2D5FFE3A7C56C7ED6ACA9A /* PetstoreClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */; };
-		20E2CC1FD887EC3DA74724A32DDA1132 /* Pods-SwaggerClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		219FE1E23C00F7FD807754240B209C92 /* SpecialModelName.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */; };
-		231F732DA4194F2BBB495B8C55A4731F /* APIs.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */; };
-		2367D029393B6AD52DF45A90051AFCA8 /* fwd.h in Headers */ = {isa = PBXBuildFile; fileRef = 645D2C8A204D8C820EEF9684DC5A65F8 /* fwd.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		23ECCCE721C0E2B6AC2101CF0CBBBC3B /* hang.m in Sources */ = {isa = PBXBuildFile; fileRef = CA6251246DA0044C165AC891CDE64344 /* hang.m */; };
-		25BB94C34507196F4BA2B4E77134F3B9 /* wrap.swift in Sources */ = {isa = PBXBuildFile; fileRef = 04B96D6AE9F0F69FC801059349B8A234 /* wrap.swift */; };
-		265B9DA59211B0B5FFF987E408A0AA9C /* Pods-SwaggerClientTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		26B718D25FB0C7F996174784716061A3 /* PetAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */; };
-		27CB0A250126F6D24E806E69A705EBDB /* EnumClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */; };
-		27D78C37454409BA11AB73A7EC9DDB5B /* DispatchQueue+Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0B75FBDF2B74DA3B74C5F0ADD20F42A2 /* DispatchQueue+Promise.swift */; };
-		2A72C39269BFFC89FEE2B4D9C6CC49C0 /* Promise+Properties.swift in Sources */ = {isa = PBXBuildFile; fileRef = 24AEF2E680D3A5F36B2C7C53FA70938A /* Promise+Properties.swift */; };
-		2EBE61A399E8FBF68BC9E4DA41B42993 /* PetstoreClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		2F9B8B649CCAF9E6FB4CAD7471B8DDED /* when.m in Sources */ = {isa = PBXBuildFile; fileRef = 9E9E772008F75FBB98AEE83B59F519A9 /* when.m */; };
-		32BB3604C571D998D14FE2250AB66C87 /* EnumTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */; };
-		3626B94094672CB1C9DEA32B9F9502E1 /* TaskDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F8D293ABA4E6DE8B257C7E9899F1B08 /* TaskDelegate.swift */; };
-		38D74E81D7448683908E85A2CDAC98C2 /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */; };
-		3CD8CD323460E6D9EAA3E73589C4C090 /* ArrayTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */; };
-		42D2092C84FDC3E0813B03FBD8336E75 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */; };
-		44AE6FB3DED64897C2FA694470E92786 /* Category.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C103637D74EC198CF949454436D3616 /* Category.swift */; };
-		44BE905B96695A8C23EAE61A770CDCB3 /* MapTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */; };
-		499CB252CEE9BCBB301FC00864DEA23F /* PromiseKit.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 4DD27DB5AB64425B97113FA8D5A10F19 /* PromiseKit.framework */; };
-		4C10F55358B408559757EFA795BA759B /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = A03102A2289886143D394C1EEF173C69 /* Alamofire.framework */; };
-		5334E14F60DFB828EF27BB85CB0BF3AA /* AdditionalPropertiesClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */; };
-		5387216E723A3C68E851CA15573CDD71 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = C8A3F20B5239DF2DF6CB987D4827C198 /* Request.swift */; };
-		585961AE2C313F0484DC94E7123B7384 /* after.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6AFE5B442894FF7BEA9ECAB0A39B4AD /* after.swift */; };
-		5F4F4E0D84288987C470DFAE80E9C7AB /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B9A5CB4B436C4A88BA49990C94DB065 /* Foundation.framework */; };
-		5F8B6F0D85F60DDEB217EE08168CADB7 /* GlobalState.m in Sources */ = {isa = PBXBuildFile; fileRef = 7824BE1937712800889974B222CAB1AD /* GlobalState.m */; };
-		61200D01A1855D7920CEF835C8BE00B0 /* DispatchQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = F48DFEE4376C36D6CF4C7DBFEBF91F45 /* DispatchQueue+Alamofire.swift */; };
-		62F65AD8DC4F0F9610F4B8B4738EC094 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 428236967C1B816363FB039AD9A0D098 /* ServerTrustPolicy.swift */; };
-		63DB912E169D1F8BF4B64B5EE73F6AB9 /* Pet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */; };
-		63E2034DB2CC4ABA407CB11F2CD5F8EA /* dispatch_promise.m in Sources */ = {isa = PBXBuildFile; fileRef = ACDBB9A0818694ED3F5545A2102E7624 /* dispatch_promise.m */; };
-		63E686B0A0025A45E0D18215008FCBB5 /* race.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2293B3E9936106C01A2A831A2C1E8AD6 /* race.swift */; };
-		641381821D2DB1A4E01C6C095E6C56A4 /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA5F47130C28C4C5652E69E59A0902BD /* User.swift */; };
-		691A19D66B4AC099C54D2BAF40068C5A /* Order.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */; };
-		699ED9DCDE1A4C8346C0EDA41B142AD8 /* AnyPromise.m in Sources */ = {isa = PBXBuildFile; fileRef = CB66B121BF9B4DF48FE2F6A4D044C443 /* AnyPromise.m */; };
-		6E3AD6CCFCA63569D8DE3A32C7A1132A /* after.m in Sources */ = {isa = PBXBuildFile; fileRef = 3EDF4D8C4A3CD3A61ACE20A71F71A107 /* after.m */; };
-		6FA118FD3264A4102AAB1F3926DFED5F /* PromiseKit-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = E63746E0EEDB9AB11F3F623A63F36BB3 /* PromiseKit-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		718DD7A904E6D014EFC81CDE3DFBF930 /* PromiseKit.h in Headers */ = {isa = PBXBuildFile; fileRef = 6456A8E3DB29C967B8479EA4438C76F3 /* PromiseKit.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		73B9C996AED49ED7CF8EC2A6F1738059 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B9A5CB4B436C4A88BA49990C94DB065 /* Foundation.framework */; };
-		73E09CEF7AFEE6F395D2B9D6E74ADEFE /* State.swift in Sources */ = {isa = PBXBuildFile; fileRef = E775A7621846699F1A762DB966B3DC48 /* State.swift */; };
-		77A2033DE971F9E3B91FDFE2E38FEA6D /* OuterComposite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */; };
-		7B5FE28C7EA4122B0598738E54DBEBD8 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64759A200040719DDE024A0F1BCDDDEE /* SessionDelegate.swift */; };
-		7D8CC01E8C9EFFF9F4D65406CDE0AB66 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE689938DB1BB3BAF7C98928CB02978A /* Result.swift */; };
-		7F3C4DAEF3A108B4936F52CB7247D55B /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B9A5CB4B436C4A88BA49990C94DB065 /* Foundation.framework */; };
-		80C3B52F0D2A4EFBCFFB4F3581FA3598 /* Pods-SwaggerClientTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */; };
-		814D37FBB96C14ADCF09D927378CCE16 /* Models.swift in Sources */ = {isa = PBXBuildFile; fileRef = B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */; };
-		8740BC8B595A54E9C973D7110740D43F /* Pods-SwaggerClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */; };
-		883EEA3DD1A2F81816A97D866E326883 /* Return.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */; };
-		8C73430A31E483D393F5DEF88A508EA1 /* NumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */; };
-		8CDBE98AF0551E45E72B7B1648D31F80 /* AnyPromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = C9CE45709BBC984B7998B833B10FC058 /* AnyPromise.swift */; };
-		8DDBE39C464CF72A61F21BA253A4CC90 /* Animal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */; };
-		8EA32ABEE6939D03B78008BBCD75F184 /* List.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */; };
-		9B2E9A05870436FB6A8F0F1BD348D929 /* MixedPropertiesAndAdditionalPropertiesClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */; };
-		9B9E66A0DEA1D13FA40F8B96E2B52E44 /* FakeClassnameTags123API.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */; };
-		9D3E58EBB53AAA758A9CC82687F573FB /* Model200Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */; };
-		9ED2BB2981896E0A39EFA365503F58CE /* AFError.swift in Sources */ = {isa = PBXBuildFile; fileRef = EEA7D6AB49001069ED310CBCA8FCBB44 /* AFError.swift */; };
-		9FF2CFB0995902A220D313224467091D /* AlamofireImplementations.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */; };
-		A2A6F71B727312BD45CC7A4AAD7B0AB7 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7AE857E00E364AD3F18C2C39D49D6DDD /* NetworkReachabilityManager.swift */; };
-		A9AB67BC9B70F93C9750B2C9FEDA17F5 /* HasOnlyReadOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */; };
-		A9EEEA7477981DEEBC72432DE9990A4B /* Alamofire-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 60347AB0041CEAF3AFE665EDD5ED3839 /* Alamofire-dummy.m */; };
-		AE1EF48399533730D0066E04B22CA2D6 /* SessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9585493102C1567226760B6BACFDF648 /* SessionManager.swift */; };
-		AFC93E2F0FC280C96F56714503FD791E /* PromiseKit-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 4667C7609366DAC2FC770F6565F7F2A2 /* PromiseKit-dummy.m */; };
-		AFFE3E17AE77FA05D77C29D9B1341110 /* Promise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22932972F4F492160D4694C01CAF311D /* Promise.swift */; };
-		B65FCF589DA398C3EFE0128064E510EC /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = D75CBCB14282D5EBA5A424CCF0655C2A /* MultipartFormData.swift */; };
-		B93DCCA0C3EFD603321B83568BAF3528 /* Cat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */; };
-		B966CB82AA59221824B1A312DCA732BF /* OuterEnum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */; };
-		BBEFE2F9CEB73DC7BD97FFA66A0D9D4F /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08A7F97EB8AC32E44E21839FA607D2CE /* Validation.swift */; };
-		BE13C1CEC5F1054D0C811F948144BB6D /* EnumArrays.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */; };
-		BE5C67A07E289FE1F9BE27335B159997 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3D5BF61C764F8D1E7F2631DE14AC6B36 /* ParameterEncoding.swift */; };
-		C446D5151005AE86668FC8E3302F9322 /* FormatTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */; };
-		C5C4410C4E0FFAC1B32B06F8CBFB6259 /* Promise+AnyPromise.swift in Sources */ = {isa = PBXBuildFile; fileRef = 947066689D96D035F88E7408FA47E193 /* Promise+AnyPromise.swift */; };
-		C93ED6D8E9EC20D0BE77A55B6E00C52C /* ArrayOfNumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */; };
-		CB6D60925223897FFA2662667DF83E8A /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 714D784CFA6CB99C3B07B03487960BE0 /* Response.swift */; };
-		CC7367CCDE0BBC9D2A51A49D73863DF9 /* AnimalFarm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */; };
-		CEBC19117C306BC35BDB1E3E323E9D0E /* join.swift in Sources */ = {isa = PBXBuildFile; fileRef = 54DD29EE59FE04DF98E96700B3A276DB /* join.swift */; };
-		CFB4111F30C45601D2002E2A1AE388E4 /* ClassModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */; };
-		D02CA2F93049B1BC3D40BF7B1A47CF19 /* Client.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */; };
-		D210B9E8D1B698A92D285845C09C9960 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6B9A5CB4B436C4A88BA49990C94DB065 /* Foundation.framework */; };
-		D242EA2DA2F73FE9179A2DC38A1DBA94 /* StoreAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */; };
-		D3BC76F41203E1F97E43A5B056361539 /* Name.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */; };
-		DBA7023E4D92933BCED1925AC4A1F66C /* Tag.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */; };
-		DDE87E79D21CAFCD4BD44205D8952996 /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5F434ADE4363A510D2EFDCE14A0C5746 /* Error.swift */; };
-		E52198D4DEBEB022BA31C65ECD467B6F /* ArrayOfArrayOfNumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */; };
-		ED5F3591C7F1037A271BA08F78F006D2 /* ReadOnlyFirst.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */; };
-		EFD264FC408EBF3BA2528E70B08DDD94 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC1CEE597A54C622C960B36A5EC2FA0F /* Notifications.swift */; };
-		F4578EC1C5C581113AD691B0B3C2A116 /* Capitalization.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */; };
-		F520D6DFDCDE9A76E253C33790C72A36 /* APIHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */; };
-		F5FB347092197098AFBC705080CA1DAC /* AnyPromise.h in Headers */ = {isa = PBXBuildFile; fileRef = 80933905730AC186F9CA86852B3817E6 /* AnyPromise.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		F673C12859ABA85B07C53573619F4319 /* FakeAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */; };
-		F6BECD98B97CBFEBE2C96F0E9E72A6C0 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 948BFEDB052F09AD8DAE3BD3CB286673 /* ResponseSerialization.swift */; };
-		F8B3D3092ED0417E8CDF32033F6122F5 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 23C4E6603FB90F49BE8906508887D859 /* Alamofire.swift */; };
-		FB99E623D7F83A48B5460F58DEFD0F76 /* UserAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */; };
-		FC5EDB72D2571F4CF5206E7D71B1AFEF /* AnotherFakeAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */; };
-		FD1E2558C46622C1D769AFD511EC87CE /* Zalgo.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA33807992507937BA2869E4D72BA073 /* Zalgo.swift */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		39BC36C8D9E651B0E90400DB5CB4450E /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = E5B96E99C219DDBC57BC27EE9DF5EC22;
-			remoteInfo = "Pods-SwaggerClient";
-		};
-		B173CFF2A1174933D7851E8CE1CA77AB /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = FF7E20767096F041BFF22A3EDFD030E8;
-			remoteInfo = PetstoreClient;
-		};
-		BBE116AAF20C2D98E0CC5B0D86765D22 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 88E9EC28B8B46C3631E6B242B50F4442;
-			remoteInfo = Alamofire;
-		};
-		CD31F0032076F778C8017DBDFF3DCA0B /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = C6AEB3EDCE021B764B46D50BFC2D7F0C;
-			remoteInfo = PromiseKit;
-		};
-		F4F5C9A84714BE23040A5FB7588DA6BD /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = C6AEB3EDCE021B764B46D50BFC2D7F0C;
-			remoteInfo = PromiseKit;
-		};
-		F7D43D16B4131241D02F5FCD10F79D65 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 88E9EC28B8B46C3631E6B242B50F4442;
-			remoteInfo = Alamofire;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MapTest.swift; sourceTree = "<group>"; };
-		04B96D6AE9F0F69FC801059349B8A234 /* wrap.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = wrap.swift; path = Sources/wrap.swift; sourceTree = "<group>"; };
-		05D32F7DA10CFDD71EAA3EA19946CD1D /* when.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = when.swift; path = Sources/when.swift; sourceTree = "<group>"; };
-		08583885463D1EDB2F8023584348659C /* Dog.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Dog.swift; sourceTree = "<group>"; };
-		08A7F97EB8AC32E44E21839FA607D2CE /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = "<group>"; };
-		08BDFE9C9E9365771FF2D47928E3E79A /* Pods-SwaggerClient-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwaggerClient-acknowledgements.plist"; sourceTree = "<group>"; };
-		0AD61F8554C909A3AFA66AD9ECCB5F23 /* Pods-SwaggerClient-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClient-frameworks.sh"; sourceTree = "<group>"; };
-		0B4A4A4EB2DBD6F56B1383E53763FD1B /* PetstoreClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = PetstoreClient.framework; path = PetstoreClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		0B75FBDF2B74DA3B74C5F0ADD20F42A2 /* DispatchQueue+Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Promise.swift"; path = "Sources/DispatchQueue+Promise.swift"; sourceTree = "<group>"; };
-		0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PetstoreClient-umbrella.h"; sourceTree = "<group>"; };
-		14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Pet.swift; sourceTree = "<group>"; };
-		15EC3D8D715BC3F25A366C403ED02060 /* PetstoreClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = PetstoreClient.modulemap; sourceTree = "<group>"; };
-		1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Return.swift; sourceTree = "<group>"; };
-		1C103637D74EC198CF949454436D3616 /* Category.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Category.swift; sourceTree = "<group>"; };
-		1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = APIHelper.swift; path = PetstoreClient/Classes/OpenAPIs/APIHelper.swift; sourceTree = "<group>"; };
-		1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumClass.swift; sourceTree = "<group>"; };
-		2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Animal.swift; sourceTree = "<group>"; };
-		22932972F4F492160D4694C01CAF311D /* Promise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Promise.swift; path = Sources/Promise.swift; sourceTree = "<group>"; };
-		2293B3E9936106C01A2A831A2C1E8AD6 /* race.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = race.swift; path = Sources/race.swift; sourceTree = "<group>"; };
-		23C4E6603FB90F49BE8906508887D859 /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = "<group>"; };
-		24AEF2E680D3A5F36B2C7C53FA70938A /* Promise+Properties.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Promise+Properties.swift"; path = "Sources/Promise+Properties.swift"; sourceTree = "<group>"; };
-		27E9F1130735B56DF22A1439B5BA6333 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		2A8ED560E3DF01E75E0272F7A1B911DD /* Alamofire.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Alamofire.modulemap; sourceTree = "<group>"; };
-		2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumTest.swift; sourceTree = "<group>"; };
-		2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ClassModel.swift; sourceTree = "<group>"; };
-		32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwaggerClient-umbrella.h"; sourceTree = "<group>"; };
-		3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = PetAPI.swift; sourceTree = "<group>"; };
-		3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UserAPI.swift; sourceTree = "<group>"; };
-		3D5BF61C764F8D1E7F2631DE14AC6B36 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = "<group>"; };
-		3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Cat.swift; sourceTree = "<group>"; };
-		3EDF4D8C4A3CD3A61ACE20A71F71A107 /* after.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = after.m; path = Sources/after.m; sourceTree = "<group>"; };
-		4050C78B3A61270CDB69C80EFEB9BF4B /* PetstoreClient-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PetstoreClient-prefix.pch"; sourceTree = "<group>"; };
-		408CD558DEC1EFB9C57002ADB50665FC /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		419496CDDD7E7536CBEA02BAEE2C7C21 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		428236967C1B816363FB039AD9A0D098 /* ServerTrustPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustPolicy.swift; path = Source/ServerTrustPolicy.swift; sourceTree = "<group>"; };
-		451D13FDA61BDE9EB91BBC6CEA52AED4 /* PromiseKit.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PromiseKit.xcconfig; sourceTree = "<group>"; };
-		45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AnotherFakeAPI.swift; sourceTree = "<group>"; };
-		45FB2502919E80623D265FE19C0A8FC4 /* Alamofire.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.xcconfig; sourceTree = "<group>"; };
-		4667C7609366DAC2FC770F6565F7F2A2 /* PromiseKit-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PromiseKit-dummy.m"; sourceTree = "<group>"; };
-		46A00B403166BEF9EE215F6CB59BE9A6 /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SwaggerClient.framework; path = "Pods-SwaggerClient.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
-		47F1D5162720B2001CA614017A1ACE90 /* join.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = join.m; path = Sources/join.m; sourceTree = "<group>"; };
-		48B406C5392E8AC40762B8EDE6DF1FE8 /* PromiseKit-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PromiseKit-prefix.pch"; sourceTree = "<group>"; };
-		4DD27DB5AB64425B97113FA8D5A10F19 /* PromiseKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = PromiseKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayOfArrayOfNumberOnly.swift; sourceTree = "<group>"; };
-		4F8D293ABA4E6DE8B257C7E9899F1B08 /* TaskDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TaskDelegate.swift; path = Source/TaskDelegate.swift; sourceTree = "<group>"; };
-		536A8BDFB104F4132169F2B758A6AA0C /* PetstoreClient.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = PetstoreClient.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
-		54DD29EE59FE04DF98E96700B3A276DB /* join.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = join.swift; path = Sources/join.swift; sourceTree = "<group>"; };
-		57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Model200Response.swift; sourceTree = "<group>"; };
-		59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OuterComposite.swift; sourceTree = "<group>"; };
-		5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NumberOnly.swift; sourceTree = "<group>"; };
-		5F434ADE4363A510D2EFDCE14A0C5746 /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = Sources/Error.swift; sourceTree = "<group>"; };
-		60347AB0041CEAF3AFE665EDD5ED3839 /* Alamofire-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-dummy.m"; sourceTree = "<group>"; };
-		6456A8E3DB29C967B8479EA4438C76F3 /* PromiseKit.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = PromiseKit.h; path = Sources/PromiseKit.h; sourceTree = "<group>"; };
-		645D2C8A204D8C820EEF9684DC5A65F8 /* fwd.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = fwd.h; path = Sources/fwd.h; sourceTree = "<group>"; };
-		64759A200040719DDE024A0F1BCDDDEE /* SessionDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionDelegate.swift; path = Source/SessionDelegate.swift; sourceTree = "<group>"; };
-		6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AnimalFarm.swift; sourceTree = "<group>"; };
-		6B9A5CB4B436C4A88BA49990C94DB065 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
-		6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = PetstoreClient/Classes/OpenAPIs/Extensions.swift; sourceTree = "<group>"; };
-		714D784CFA6CB99C3B07B03487960BE0 /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Source/Response.swift; sourceTree = "<group>"; };
-		721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwaggerClientTests-dummy.m"; sourceTree = "<group>"; };
-		749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayTest.swift; sourceTree = "<group>"; };
-		76645699475D3AB6EB5242AC4D0CEFAE /* Pods-SwaggerClient-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwaggerClient-acknowledgements.markdown"; sourceTree = "<group>"; };
-		7824BE1937712800889974B222CAB1AD /* GlobalState.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = GlobalState.m; path = Sources/GlobalState.m; sourceTree = "<group>"; };
-		79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FakeAPI.swift; sourceTree = "<group>"; };
-		7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = StoreAPI.swift; sourceTree = "<group>"; };
-		7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Configuration.swift; path = PetstoreClient/Classes/OpenAPIs/Configuration.swift; sourceTree = "<group>"; };
-		7AE857E00E364AD3F18C2C39D49D6DDD /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkReachabilityManager.swift; path = Source/NetworkReachabilityManager.swift; sourceTree = "<group>"; };
-		7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OuterEnum.swift; sourceTree = "<group>"; };
-		7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PetstoreClient-dummy.m"; sourceTree = "<group>"; };
-		80933905730AC186F9CA86852B3817E6 /* AnyPromise.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; name = AnyPromise.h; path = Sources/AnyPromise.h; sourceTree = "<group>"; };
-		814471C0F27B39D751143F0CD53670BD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FormatTest.swift; sourceTree = "<group>"; };
-		8BBF3490280C4ED53738743F84C890BC /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SwaggerClientTests.framework; path = "Pods-SwaggerClientTests.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
-		93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
-		93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FakeClassnameTags123API.swift; sourceTree = "<group>"; };
-		947066689D96D035F88E7408FA47E193 /* Promise+AnyPromise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Promise+AnyPromise.swift"; path = "Sources/Promise+AnyPromise.swift"; sourceTree = "<group>"; };
-		948BFEDB052F09AD8DAE3BD3CB286673 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = "<group>"; };
-		9585493102C1567226760B6BACFDF648 /* SessionManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionManager.swift; path = Source/SessionManager.swift; sourceTree = "<group>"; };
-		9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SpecialModelName.swift; sourceTree = "<group>"; };
-		9D08EC9B39FEBA43A5B55DAF97AAEBE9 /* Pods-SwaggerClientTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwaggerClientTests.modulemap"; sourceTree = "<group>"; };
-		9D780FDAD16A03CC25F4D6F3317B9423 /* Pods-SwaggerClientTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwaggerClientTests-acknowledgements.plist"; sourceTree = "<group>"; };
-		9E9E772008F75FBB98AEE83B59F519A9 /* when.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = when.m; path = Sources/when.m; sourceTree = "<group>"; };
-		A03102A2289886143D394C1EEF173C69 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		A16286911EF2D17072D77A2B43E34006 /* Alamofire-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-umbrella.h"; sourceTree = "<group>"; };
-		AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Tag.swift; sourceTree = "<group>"; };
-		ACDBB9A0818694ED3F5545A2102E7624 /* dispatch_promise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = dispatch_promise.m; path = Sources/dispatch_promise.m; sourceTree = "<group>"; };
-		AD3B511F5C43568AAFBA2714468F9FD5 /* PromiseKit.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = PromiseKit.framework; path = PromiseKit.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		AE6E736FF5D4320FE1647DB1724C14B8 /* Timeline.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeline.swift; path = Source/Timeline.swift; sourceTree = "<group>"; };
-		AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PetstoreClient.xcconfig; sourceTree = "<group>"; };
-		B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = List.swift; sourceTree = "<group>"; };
-		B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Client.swift; sourceTree = "<group>"; };
-		B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ReadOnlyFirst.swift; sourceTree = "<group>"; };
-		B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Models.swift; path = PetstoreClient/Classes/OpenAPIs/Models.swift; sourceTree = "<group>"; };
-		B6AFE5B442894FF7BEA9ECAB0A39B4AD /* after.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = after.swift; path = Sources/after.swift; sourceTree = "<group>"; };
-		BC1CEE597A54C622C960B36A5EC2FA0F /* Notifications.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Notifications.swift; path = Source/Notifications.swift; sourceTree = "<group>"; };
-		BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AlamofireImplementations.swift; path = PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift; sourceTree = "<group>"; };
-		BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumArrays.swift; sourceTree = "<group>"; };
-		C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = HasOnlyReadOnly.swift; sourceTree = "<group>"; };
-		C8A3F20B5239DF2DF6CB987D4827C198 /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = "<group>"; };
-		C9CE45709BBC984B7998B833B10FC058 /* AnyPromise.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnyPromise.swift; path = Sources/AnyPromise.swift; sourceTree = "<group>"; };
-		CA6251246DA0044C165AC891CDE64344 /* hang.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = hang.m; path = Sources/hang.m; sourceTree = "<group>"; };
-		CAF6F32F117197F6F08B477687F09728 /* Pods-SwaggerClientTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClientTests-frameworks.sh"; sourceTree = "<group>"; };
-		CB66B121BF9B4DF48FE2F6A4D044C443 /* AnyPromise.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; name = AnyPromise.m; path = Sources/AnyPromise.m; sourceTree = "<group>"; };
-		CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MixedPropertiesAndAdditionalPropertiesClass.swift; sourceTree = "<group>"; };
-		CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwaggerClientTests-umbrella.h"; sourceTree = "<group>"; };
-		CFA4F581E074596AB5C3DAF3D9C39F17 /* Pods-SwaggerClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwaggerClient.modulemap"; sourceTree = "<group>"; };
-		D47B812D78D0AE64D85D16A96840F8C4 /* Pods-SwaggerClientTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwaggerClientTests-acknowledgements.markdown"; sourceTree = "<group>"; };
-		D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Name.swift; sourceTree = "<group>"; };
-		D75CBCB14282D5EBA5A424CCF0655C2A /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Source/MultipartFormData.swift; sourceTree = "<group>"; };
-		D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayOfNumberOnly.swift; sourceTree = "<group>"; };
-		DA33807992507937BA2869E4D72BA073 /* Zalgo.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Zalgo.swift; path = Sources/Zalgo.swift; sourceTree = "<group>"; };
-		DA5F47130C28C4C5652E69E59A0902BD /* User.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = User.swift; sourceTree = "<group>"; };
-		DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = APIs.swift; path = PetstoreClient/Classes/OpenAPIs/APIs.swift; sourceTree = "<group>"; };
-		DE689938DB1BB3BAF7C98928CB02978A /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Source/Result.swift; sourceTree = "<group>"; };
-		E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Order.swift; sourceTree = "<group>"; };
-		E19AF5866D261DB5B6AEC5D575086EA2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		E564E86B6F817ED6259E08FB2B589CAA /* Alamofire-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-prefix.pch"; sourceTree = "<group>"; };
-		E63746E0EEDB9AB11F3F623A63F36BB3 /* PromiseKit-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PromiseKit-umbrella.h"; sourceTree = "<group>"; };
-		E708155DC6E87EA22044EC19AB55DD05 /* PromiseKit.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = PromiseKit.modulemap; sourceTree = "<group>"; };
-		E775A7621846699F1A762DB966B3DC48 /* State.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = State.swift; path = Sources/State.swift; sourceTree = "<group>"; };
-		E80A16C989615AAE419866DB4FD10185 /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Alamofire.framework; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		EEA7D6AB49001069ED310CBCA8FCBB44 /* AFError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AFError.swift; path = Source/AFError.swift; sourceTree = "<group>"; };
-		F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ApiResponse.swift; sourceTree = "<group>"; };
-		F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Capitalization.swift; sourceTree = "<group>"; };
-		F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-		F3E1116FA9F9F3AFD9332B7236F6E711 /* Pods-SwaggerClientTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClientTests-resources.sh"; sourceTree = "<group>"; };
-		F48DFEE4376C36D6CF4C7DBFEBF91F45 /* DispatchQueue+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Alamofire.swift"; path = "Source/DispatchQueue+Alamofire.swift"; sourceTree = "<group>"; };
-		F4BB3B2146310CA18C30F145BFF15BD9 /* Pods-SwaggerClient-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClient-resources.sh"; sourceTree = "<group>"; };
-		F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwaggerClient-dummy.m"; sourceTree = "<group>"; };
-		FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AdditionalPropertiesClass.swift; sourceTree = "<group>"; };
-		FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		1D8C8B25D2467630E50174D221B39B90 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				5F4F4E0D84288987C470DFAE80E9C7AB /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		2AD45FCB2069AB57E58A481FA3D91BDD /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				01CFE58A73E5BF020E8D6E295B526567 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		57369C46F0A9150DAF16BA64D5DEF3C1 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				4C10F55358B408559757EFA795BA759B /* Alamofire.framework in Frameworks */,
-				7F3C4DAEF3A108B4936F52CB7247D55B /* Foundation.framework in Frameworks */,
-				499CB252CEE9BCBB301FC00864DEA23F /* PromiseKit.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		7139BF778844E2A9E420524D8146ECD8 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				D210B9E8D1B698A92D285845C09C9960 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		99195E4207764744AEC07ECCBCD550EB /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				73B9C996AED49ED7CF8EC2A6F1738059 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		107C3DDE80B0397D875BC41D8D8F734E /* PromiseKit */ = {
-			isa = PBXGroup;
-			children = (
-				15CB611E37F9E1F821FFD8B29C385FF9 /* CorePromise */,
-				63AC42361BEBCC6C083B9575B72D40DE /* Support Files */,
-			);
-			name = PromiseKit;
-			path = PromiseKit;
-			sourceTree = "<group>";
-		};
-		15CB611E37F9E1F821FFD8B29C385FF9 /* CorePromise */ = {
-			isa = PBXGroup;
-			children = (
-				3EDF4D8C4A3CD3A61ACE20A71F71A107 /* after.m */,
-				B6AFE5B442894FF7BEA9ECAB0A39B4AD /* after.swift */,
-				80933905730AC186F9CA86852B3817E6 /* AnyPromise.h */,
-				CB66B121BF9B4DF48FE2F6A4D044C443 /* AnyPromise.m */,
-				C9CE45709BBC984B7998B833B10FC058 /* AnyPromise.swift */,
-				ACDBB9A0818694ED3F5545A2102E7624 /* dispatch_promise.m */,
-				0B75FBDF2B74DA3B74C5F0ADD20F42A2 /* DispatchQueue+Promise.swift */,
-				5F434ADE4363A510D2EFDCE14A0C5746 /* Error.swift */,
-				645D2C8A204D8C820EEF9684DC5A65F8 /* fwd.h */,
-				7824BE1937712800889974B222CAB1AD /* GlobalState.m */,
-				CA6251246DA0044C165AC891CDE64344 /* hang.m */,
-				47F1D5162720B2001CA614017A1ACE90 /* join.m */,
-				54DD29EE59FE04DF98E96700B3A276DB /* join.swift */,
-				22932972F4F492160D4694C01CAF311D /* Promise.swift */,
-				947066689D96D035F88E7408FA47E193 /* Promise+AnyPromise.swift */,
-				24AEF2E680D3A5F36B2C7C53FA70938A /* Promise+Properties.swift */,
-				6456A8E3DB29C967B8479EA4438C76F3 /* PromiseKit.h */,
-				2293B3E9936106C01A2A831A2C1E8AD6 /* race.swift */,
-				E775A7621846699F1A762DB966B3DC48 /* State.swift */,
-				9E9E772008F75FBB98AEE83B59F519A9 /* when.m */,
-				05D32F7DA10CFDD71EAA3EA19946CD1D /* when.swift */,
-				04B96D6AE9F0F69FC801059349B8A234 /* wrap.swift */,
-				DA33807992507937BA2869E4D72BA073 /* Zalgo.swift */,
-			);
-			name = CorePromise;
-			sourceTree = "<group>";
-		};
-		38BCEE2B62E7F17FC1A6B47F74A915B1 /* PetstoreClient */ = {
-			isa = PBXGroup;
-			children = (
-				BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */,
-				1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */,
-				DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */,
-				7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */,
-				6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */,
-				B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */,
-				71EF1D86BA306C7F68FA92ABA15B0633 /* APIs */,
-				5540224464BBA954BAFB3FC559814D13 /* Models */,
-				758ACCF640B62D96565B035F4A4931A6 /* Pod */,
-				FC9FD763F0BBF138A397EE0401BEA7BE /* Support Files */,
-			);
-			name = PetstoreClient;
-			path = ../..;
-			sourceTree = "<group>";
-		};
-		439566E0F816C232FEEB9A3F1FFFEF20 /* Alamofire */ = {
-			isa = PBXGroup;
-			children = (
-				EEA7D6AB49001069ED310CBCA8FCBB44 /* AFError.swift */,
-				23C4E6603FB90F49BE8906508887D859 /* Alamofire.swift */,
-				F48DFEE4376C36D6CF4C7DBFEBF91F45 /* DispatchQueue+Alamofire.swift */,
-				D75CBCB14282D5EBA5A424CCF0655C2A /* MultipartFormData.swift */,
-				7AE857E00E364AD3F18C2C39D49D6DDD /* NetworkReachabilityManager.swift */,
-				BC1CEE597A54C622C960B36A5EC2FA0F /* Notifications.swift */,
-				3D5BF61C764F8D1E7F2631DE14AC6B36 /* ParameterEncoding.swift */,
-				C8A3F20B5239DF2DF6CB987D4827C198 /* Request.swift */,
-				714D784CFA6CB99C3B07B03487960BE0 /* Response.swift */,
-				948BFEDB052F09AD8DAE3BD3CB286673 /* ResponseSerialization.swift */,
-				DE689938DB1BB3BAF7C98928CB02978A /* Result.swift */,
-				428236967C1B816363FB039AD9A0D098 /* ServerTrustPolicy.swift */,
-				64759A200040719DDE024A0F1BCDDDEE /* SessionDelegate.swift */,
-				9585493102C1567226760B6BACFDF648 /* SessionManager.swift */,
-				4F8D293ABA4E6DE8B257C7E9899F1B08 /* TaskDelegate.swift */,
-				AE6E736FF5D4320FE1647DB1724C14B8 /* Timeline.swift */,
-				08A7F97EB8AC32E44E21839FA607D2CE /* Validation.swift */,
-				699F78D1F95BB0051EF9E96BA468FBDD /* Support Files */,
-			);
-			name = Alamofire;
-			path = Alamofire;
-			sourceTree = "<group>";
-		};
-		5540224464BBA954BAFB3FC559814D13 /* Models */ = {
-			isa = PBXGroup;
-			children = (
-				FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */,
-				2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */,
-				6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */,
-				F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */,
-				4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */,
-				D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */,
-				749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */,
-				F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */,
-				3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */,
-				1C103637D74EC198CF949454436D3616 /* Category.swift */,
-				2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */,
-				B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */,
-				08583885463D1EDB2F8023584348659C /* Dog.swift */,
-				BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */,
-				1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */,
-				2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */,
-				8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */,
-				C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */,
-				B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */,
-				00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */,
-				CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */,
-				57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */,
-				D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */,
-				5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */,
-				E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */,
-				59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */,
-				7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */,
-				14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */,
-				B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */,
-				1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */,
-				9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */,
-				AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */,
-				DA5F47130C28C4C5652E69E59A0902BD /* User.swift */,
-			);
-			name = Models;
-			path = PetstoreClient/Classes/OpenAPIs/Models;
-			sourceTree = "<group>";
-		};
-		63AC42361BEBCC6C083B9575B72D40DE /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				27E9F1130735B56DF22A1439B5BA6333 /* Info.plist */,
-				E708155DC6E87EA22044EC19AB55DD05 /* PromiseKit.modulemap */,
-				451D13FDA61BDE9EB91BBC6CEA52AED4 /* PromiseKit.xcconfig */,
-				4667C7609366DAC2FC770F6565F7F2A2 /* PromiseKit-dummy.m */,
-				48B406C5392E8AC40762B8EDE6DF1FE8 /* PromiseKit-prefix.pch */,
-				E63746E0EEDB9AB11F3F623A63F36BB3 /* PromiseKit-umbrella.h */,
-			);
-			name = "Support Files";
-			path = "../Target Support Files/PromiseKit";
-			sourceTree = "<group>";
-		};
-		699F78D1F95BB0051EF9E96BA468FBDD /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				2A8ED560E3DF01E75E0272F7A1B911DD /* Alamofire.modulemap */,
-				45FB2502919E80623D265FE19C0A8FC4 /* Alamofire.xcconfig */,
-				60347AB0041CEAF3AFE665EDD5ED3839 /* Alamofire-dummy.m */,
-				E564E86B6F817ED6259E08FB2B589CAA /* Alamofire-prefix.pch */,
-				A16286911EF2D17072D77A2B43E34006 /* Alamofire-umbrella.h */,
-				408CD558DEC1EFB9C57002ADB50665FC /* Info.plist */,
-			);
-			name = "Support Files";
-			path = "../Target Support Files/Alamofire";
-			sourceTree = "<group>";
-		};
-		6BB94E4B786CD1A837889A78D18EDA58 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				A03102A2289886143D394C1EEF173C69 /* Alamofire.framework */,
-				4DD27DB5AB64425B97113FA8D5A10F19 /* PromiseKit.framework */,
-				DD9EED10DC8740383600E1BFF8D2162B /* iOS */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		71EF1D86BA306C7F68FA92ABA15B0633 /* APIs */ = {
-			isa = PBXGroup;
-			children = (
-				45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */,
-				79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */,
-				93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */,
-				3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */,
-				7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */,
-				3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */,
-			);
-			name = APIs;
-			path = PetstoreClient/Classes/OpenAPIs/APIs;
-			sourceTree = "<group>";
-		};
-		758ACCF640B62D96565B035F4A4931A6 /* Pod */ = {
-			isa = PBXGroup;
-			children = (
-				536A8BDFB104F4132169F2B758A6AA0C /* PetstoreClient.podspec */,
-			);
-			name = Pod;
-			sourceTree = "<group>";
-		};
-		7DB346D0F39D3F0E887471402A8071AB = {
-			isa = PBXGroup;
-			children = (
-				93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */,
-				8F0C005305764051BE9B8E1DEE8C7E64 /* Development Pods */,
-				6BB94E4B786CD1A837889A78D18EDA58 /* Frameworks */,
-				A1A7A33E3B583AD8CD782AFD6B69D4A0 /* Pods */,
-				D2A28169658A67F83CC3B568D7E0E6A1 /* Products */,
-				C1A60D10CED0E61146591438999C7502 /* Targets Support Files */,
-			);
-			sourceTree = "<group>";
-		};
-		8F0C005305764051BE9B8E1DEE8C7E64 /* Development Pods */ = {
-			isa = PBXGroup;
-			children = (
-				38BCEE2B62E7F17FC1A6B47F74A915B1 /* PetstoreClient */,
-			);
-			name = "Development Pods";
-			sourceTree = "<group>";
-		};
-		A1A7A33E3B583AD8CD782AFD6B69D4A0 /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				439566E0F816C232FEEB9A3F1FFFEF20 /* Alamofire */,
-				107C3DDE80B0397D875BC41D8D8F734E /* PromiseKit */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		C1A60D10CED0E61146591438999C7502 /* Targets Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				DE503BFFEBBF78BDC743C8A6A50DFF47 /* Pods-SwaggerClient */,
-				E9EDF70990CC7A4463ED5FC2E3719BD0 /* Pods-SwaggerClientTests */,
-			);
-			name = "Targets Support Files";
-			sourceTree = "<group>";
-		};
-		D2A28169658A67F83CC3B568D7E0E6A1 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				E80A16C989615AAE419866DB4FD10185 /* Alamofire.framework */,
-				0B4A4A4EB2DBD6F56B1383E53763FD1B /* PetstoreClient.framework */,
-				46A00B403166BEF9EE215F6CB59BE9A6 /* Pods_SwaggerClient.framework */,
-				8BBF3490280C4ED53738743F84C890BC /* Pods_SwaggerClientTests.framework */,
-				AD3B511F5C43568AAFBA2714468F9FD5 /* PromiseKit.framework */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		DD9EED10DC8740383600E1BFF8D2162B /* iOS */ = {
-			isa = PBXGroup;
-			children = (
-				6B9A5CB4B436C4A88BA49990C94DB065 /* Foundation.framework */,
-			);
-			name = iOS;
-			sourceTree = "<group>";
-		};
-		DE503BFFEBBF78BDC743C8A6A50DFF47 /* Pods-SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				814471C0F27B39D751143F0CD53670BD /* Info.plist */,
-				CFA4F581E074596AB5C3DAF3D9C39F17 /* Pods-SwaggerClient.modulemap */,
-				76645699475D3AB6EB5242AC4D0CEFAE /* Pods-SwaggerClient-acknowledgements.markdown */,
-				08BDFE9C9E9365771FF2D47928E3E79A /* Pods-SwaggerClient-acknowledgements.plist */,
-				F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */,
-				0AD61F8554C909A3AFA66AD9ECCB5F23 /* Pods-SwaggerClient-frameworks.sh */,
-				F4BB3B2146310CA18C30F145BFF15BD9 /* Pods-SwaggerClient-resources.sh */,
-				32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */,
-				AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */,
-				F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */,
-			);
-			name = "Pods-SwaggerClient";
-			path = "Target Support Files/Pods-SwaggerClient";
-			sourceTree = "<group>";
-		};
-		E9EDF70990CC7A4463ED5FC2E3719BD0 /* Pods-SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				419496CDDD7E7536CBEA02BAEE2C7C21 /* Info.plist */,
-				9D08EC9B39FEBA43A5B55DAF97AAEBE9 /* Pods-SwaggerClientTests.modulemap */,
-				D47B812D78D0AE64D85D16A96840F8C4 /* Pods-SwaggerClientTests-acknowledgements.markdown */,
-				9D780FDAD16A03CC25F4D6F3317B9423 /* Pods-SwaggerClientTests-acknowledgements.plist */,
-				721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */,
-				CAF6F32F117197F6F08B477687F09728 /* Pods-SwaggerClientTests-frameworks.sh */,
-				F3E1116FA9F9F3AFD9332B7236F6E711 /* Pods-SwaggerClientTests-resources.sh */,
-				CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */,
-				1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = "Pods-SwaggerClientTests";
-			path = "Target Support Files/Pods-SwaggerClientTests";
-			sourceTree = "<group>";
-		};
-		FC9FD763F0BBF138A397EE0401BEA7BE /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				E19AF5866D261DB5B6AEC5D575086EA2 /* Info.plist */,
-				15EC3D8D715BC3F25A366C403ED02060 /* PetstoreClient.modulemap */,
-				AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */,
-				7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */,
-				4050C78B3A61270CDB69C80EFEB9BF4B /* PetstoreClient-prefix.pch */,
-				0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */,
-			);
-			name = "Support Files";
-			path = "SwaggerClientTests/Pods/Target Support Files/PetstoreClient";
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
-		287EA94FA1CD1479B7ECFB5B20FA49F6 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				F5FB347092197098AFBC705080CA1DAC /* AnyPromise.h in Headers */,
-				2367D029393B6AD52DF45A90051AFCA8 /* fwd.h in Headers */,
-				6FA118FD3264A4102AAB1F3926DFED5F /* PromiseKit-umbrella.h in Headers */,
-				718DD7A904E6D014EFC81CDE3DFBF930 /* PromiseKit.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		AEF06A413F97A6E5233398FAC3F25335 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				20E2CC1FD887EC3DA74724A32DDA1132 /* Pods-SwaggerClient-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		B4002B6E97835FDCCAA5963EFE09A3E0 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				1B9EDEDC964E6B08F78920B4F4B9DB84 /* Alamofire-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		C0DEF2D68A236AE58DF2DB42D8D41154 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				2EBE61A399E8FBF68BC9E4DA41B42993 /* PetstoreClient-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		C19E54C800095CFA2457EC19C7C2E974 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				265B9DA59211B0B5FFF987E408A0AA9C /* Pods-SwaggerClientTests-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
-		88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 419E5D95491847CD79841B971A8A3277 /* Build configuration list for PBXNativeTarget "Alamofire" */;
-			buildPhases = (
-				32B9974868188C4803318E36329C87FE /* Sources */,
-				99195E4207764744AEC07ECCBCD550EB /* Frameworks */,
-				B4002B6E97835FDCCAA5963EFE09A3E0 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = Alamofire;
-			productName = Alamofire;
-			productReference = E80A16C989615AAE419866DB4FD10185 /* Alamofire.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		BCF05B222D1CA50E84618B500CB18541 /* Pods-SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6038DB15B6014EE0617ADC32733FC361 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClientTests" */;
-			buildPhases = (
-				61868F2FE74A9422171483DBABE7C61F /* Sources */,
-				7139BF778844E2A9E420524D8146ECD8 /* Frameworks */,
-				C19E54C800095CFA2457EC19C7C2E974 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				CAD6237EE98BEB14DA0AE88C1F89DF12 /* PBXTargetDependency */,
-			);
-			name = "Pods-SwaggerClientTests";
-			productName = "Pods-SwaggerClientTests";
-			productReference = 8BBF3490280C4ED53738743F84C890BC /* Pods_SwaggerClientTests.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		C6AEB3EDCE021B764B46D50BFC2D7F0C /* PromiseKit */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 8B17A4388FD8556EDC88266E4AB754DD /* Build configuration list for PBXNativeTarget "PromiseKit" */;
-			buildPhases = (
-				4A5B07B4D80E54BC27E3213F63897D52 /* Sources */,
-				2AD45FCB2069AB57E58A481FA3D91BDD /* Frameworks */,
-				287EA94FA1CD1479B7ECFB5B20FA49F6 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = PromiseKit;
-			productName = PromiseKit;
-			productReference = AD3B511F5C43568AAFBA2714468F9FD5 /* PromiseKit.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		E5B96E99C219DDBC57BC27EE9DF5EC22 /* Pods-SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 607382BCFF2B60BA932C95EC3C22A69F /* Build configuration list for PBXNativeTarget "Pods-SwaggerClient" */;
-			buildPhases = (
-				FA262994DA85648A45EB39519AF3D0E3 /* Sources */,
-				1D8C8B25D2467630E50174D221B39B90 /* Frameworks */,
-				AEF06A413F97A6E5233398FAC3F25335 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				1C76F9E08AAB9400CF7937D3DBF4E272 /* PBXTargetDependency */,
-				405120CD9D9120CBBC452E54C91FA485 /* PBXTargetDependency */,
-				328C6C7DF03199CFF8F5B47C39DEE2BC /* PBXTargetDependency */,
-			);
-			name = "Pods-SwaggerClient";
-			productName = "Pods-SwaggerClient";
-			productReference = 46A00B403166BEF9EE215F6CB59BE9A6 /* Pods_SwaggerClient.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		FF7E20767096F041BFF22A3EDFD030E8 /* PetstoreClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 32FC64AFF0587C67379066614065C3B0 /* Build configuration list for PBXNativeTarget "PetstoreClient" */;
-			buildPhases = (
-				409DF77D8A04CEB7AC7992A00FCD5CE8 /* Sources */,
-				57369C46F0A9150DAF16BA64D5DEF3C1 /* Frameworks */,
-				C0DEF2D68A236AE58DF2DB42D8D41154 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				1C394C3A43F0FA6E4BF76856613DB176 /* PBXTargetDependency */,
-				1D8FED0E6764FE46BE3E03DEC5959C3B /* PBXTargetDependency */,
-			);
-			name = PetstoreClient;
-			productName = PetstoreClient;
-			productReference = 0B4A4A4EB2DBD6F56B1383E53763FD1B /* PetstoreClient.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0930;
-				LastUpgradeCheck = 0930;
-			};
-			buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-			);
-			mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
-			productRefGroup = D2A28169658A67F83CC3B568D7E0E6A1 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */,
-				FF7E20767096F041BFF22A3EDFD030E8 /* PetstoreClient */,
-				E5B96E99C219DDBC57BC27EE9DF5EC22 /* Pods-SwaggerClient */,
-				BCF05B222D1CA50E84618B500CB18541 /* Pods-SwaggerClientTests */,
-				C6AEB3EDCE021B764B46D50BFC2D7F0C /* PromiseKit */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
-		32B9974868188C4803318E36329C87FE /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				9ED2BB2981896E0A39EFA365503F58CE /* AFError.swift in Sources */,
-				A9EEEA7477981DEEBC72432DE9990A4B /* Alamofire-dummy.m in Sources */,
-				F8B3D3092ED0417E8CDF32033F6122F5 /* Alamofire.swift in Sources */,
-				61200D01A1855D7920CEF835C8BE00B0 /* DispatchQueue+Alamofire.swift in Sources */,
-				B65FCF589DA398C3EFE0128064E510EC /* MultipartFormData.swift in Sources */,
-				A2A6F71B727312BD45CC7A4AAD7B0AB7 /* NetworkReachabilityManager.swift in Sources */,
-				EFD264FC408EBF3BA2528E70B08DDD94 /* Notifications.swift in Sources */,
-				BE5C67A07E289FE1F9BE27335B159997 /* ParameterEncoding.swift in Sources */,
-				5387216E723A3C68E851CA15573CDD71 /* Request.swift in Sources */,
-				CB6D60925223897FFA2662667DF83E8A /* Response.swift in Sources */,
-				F6BECD98B97CBFEBE2C96F0E9E72A6C0 /* ResponseSerialization.swift in Sources */,
-				7D8CC01E8C9EFFF9F4D65406CDE0AB66 /* Result.swift in Sources */,
-				62F65AD8DC4F0F9610F4B8B4738EC094 /* ServerTrustPolicy.swift in Sources */,
-				7B5FE28C7EA4122B0598738E54DBEBD8 /* SessionDelegate.swift in Sources */,
-				AE1EF48399533730D0066E04B22CA2D6 /* SessionManager.swift in Sources */,
-				3626B94094672CB1C9DEA32B9F9502E1 /* TaskDelegate.swift in Sources */,
-				10EB23E9ECC4B33E16933BB1EA560B6A /* Timeline.swift in Sources */,
-				BBEFE2F9CEB73DC7BD97FFA66A0D9D4F /* Validation.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		409DF77D8A04CEB7AC7992A00FCD5CE8 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				5334E14F60DFB828EF27BB85CB0BF3AA /* AdditionalPropertiesClass.swift in Sources */,
-				9FF2CFB0995902A220D313224467091D /* AlamofireImplementations.swift in Sources */,
-				8DDBE39C464CF72A61F21BA253A4CC90 /* Animal.swift in Sources */,
-				CC7367CCDE0BBC9D2A51A49D73863DF9 /* AnimalFarm.swift in Sources */,
-				FC5EDB72D2571F4CF5206E7D71B1AFEF /* AnotherFakeAPI.swift in Sources */,
-				F520D6DFDCDE9A76E253C33790C72A36 /* APIHelper.swift in Sources */,
-				06F013FCC3383A42626ABDD06BAF5B16 /* ApiResponse.swift in Sources */,
-				231F732DA4194F2BBB495B8C55A4731F /* APIs.swift in Sources */,
-				E52198D4DEBEB022BA31C65ECD467B6F /* ArrayOfArrayOfNumberOnly.swift in Sources */,
-				C93ED6D8E9EC20D0BE77A55B6E00C52C /* ArrayOfNumberOnly.swift in Sources */,
-				3CD8CD323460E6D9EAA3E73589C4C090 /* ArrayTest.swift in Sources */,
-				F4578EC1C5C581113AD691B0B3C2A116 /* Capitalization.swift in Sources */,
-				B93DCCA0C3EFD603321B83568BAF3528 /* Cat.swift in Sources */,
-				44AE6FB3DED64897C2FA694470E92786 /* Category.swift in Sources */,
-				CFB4111F30C45601D2002E2A1AE388E4 /* ClassModel.swift in Sources */,
-				D02CA2F93049B1BC3D40BF7B1A47CF19 /* Client.swift in Sources */,
-				38D74E81D7448683908E85A2CDAC98C2 /* Configuration.swift in Sources */,
-				04EF4F9A97B11DB9A5FED91F47B25982 /* Dog.swift in Sources */,
-				BE13C1CEC5F1054D0C811F948144BB6D /* EnumArrays.swift in Sources */,
-				27CB0A250126F6D24E806E69A705EBDB /* EnumClass.swift in Sources */,
-				32BB3604C571D998D14FE2250AB66C87 /* EnumTest.swift in Sources */,
-				42D2092C84FDC3E0813B03FBD8336E75 /* Extensions.swift in Sources */,
-				F673C12859ABA85B07C53573619F4319 /* FakeAPI.swift in Sources */,
-				9B9E66A0DEA1D13FA40F8B96E2B52E44 /* FakeClassnameTags123API.swift in Sources */,
-				C446D5151005AE86668FC8E3302F9322 /* FormatTest.swift in Sources */,
-				A9AB67BC9B70F93C9750B2C9FEDA17F5 /* HasOnlyReadOnly.swift in Sources */,
-				8EA32ABEE6939D03B78008BBCD75F184 /* List.swift in Sources */,
-				44BE905B96695A8C23EAE61A770CDCB3 /* MapTest.swift in Sources */,
-				9B2E9A05870436FB6A8F0F1BD348D929 /* MixedPropertiesAndAdditionalPropertiesClass.swift in Sources */,
-				9D3E58EBB53AAA758A9CC82687F573FB /* Model200Response.swift in Sources */,
-				814D37FBB96C14ADCF09D927378CCE16 /* Models.swift in Sources */,
-				D3BC76F41203E1F97E43A5B056361539 /* Name.swift in Sources */,
-				8C73430A31E483D393F5DEF88A508EA1 /* NumberOnly.swift in Sources */,
-				691A19D66B4AC099C54D2BAF40068C5A /* Order.swift in Sources */,
-				77A2033DE971F9E3B91FDFE2E38FEA6D /* OuterComposite.swift in Sources */,
-				B966CB82AA59221824B1A312DCA732BF /* OuterEnum.swift in Sources */,
-				63DB912E169D1F8BF4B64B5EE73F6AB9 /* Pet.swift in Sources */,
-				26B718D25FB0C7F996174784716061A3 /* PetAPI.swift in Sources */,
-				1D9CEF79CC2D5FFE3A7C56C7ED6ACA9A /* PetstoreClient-dummy.m in Sources */,
-				ED5F3591C7F1037A271BA08F78F006D2 /* ReadOnlyFirst.swift in Sources */,
-				883EEA3DD1A2F81816A97D866E326883 /* Return.swift in Sources */,
-				219FE1E23C00F7FD807754240B209C92 /* SpecialModelName.swift in Sources */,
-				D242EA2DA2F73FE9179A2DC38A1DBA94 /* StoreAPI.swift in Sources */,
-				DBA7023E4D92933BCED1925AC4A1F66C /* Tag.swift in Sources */,
-				641381821D2DB1A4E01C6C095E6C56A4 /* User.swift in Sources */,
-				FB99E623D7F83A48B5460F58DEFD0F76 /* UserAPI.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		4A5B07B4D80E54BC27E3213F63897D52 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6E3AD6CCFCA63569D8DE3A32C7A1132A /* after.m in Sources */,
-				585961AE2C313F0484DC94E7123B7384 /* after.swift in Sources */,
-				699ED9DCDE1A4C8346C0EDA41B142AD8 /* AnyPromise.m in Sources */,
-				8CDBE98AF0551E45E72B7B1648D31F80 /* AnyPromise.swift in Sources */,
-				63E2034DB2CC4ABA407CB11F2CD5F8EA /* dispatch_promise.m in Sources */,
-				27D78C37454409BA11AB73A7EC9DDB5B /* DispatchQueue+Promise.swift in Sources */,
-				DDE87E79D21CAFCD4BD44205D8952996 /* Error.swift in Sources */,
-				5F8B6F0D85F60DDEB217EE08168CADB7 /* GlobalState.m in Sources */,
-				23ECCCE721C0E2B6AC2101CF0CBBBC3B /* hang.m in Sources */,
-				0FFCB09E3E9B2CE432C9A1DA196F336F /* join.m in Sources */,
-				CEBC19117C306BC35BDB1E3E323E9D0E /* join.swift in Sources */,
-				C5C4410C4E0FFAC1B32B06F8CBFB6259 /* Promise+AnyPromise.swift in Sources */,
-				2A72C39269BFFC89FEE2B4D9C6CC49C0 /* Promise+Properties.swift in Sources */,
-				AFFE3E17AE77FA05D77C29D9B1341110 /* Promise.swift in Sources */,
-				AFC93E2F0FC280C96F56714503FD791E /* PromiseKit-dummy.m in Sources */,
-				63E686B0A0025A45E0D18215008FCBB5 /* race.swift in Sources */,
-				73E09CEF7AFEE6F395D2B9D6E74ADEFE /* State.swift in Sources */,
-				2F9B8B649CCAF9E6FB4CAD7471B8DDED /* when.m in Sources */,
-				103703B2AFC3F1B129FBDF5B94D6DFEF /* when.swift in Sources */,
-				25BB94C34507196F4BA2B4E77134F3B9 /* wrap.swift in Sources */,
-				FD1E2558C46622C1D769AFD511EC87CE /* Zalgo.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		61868F2FE74A9422171483DBABE7C61F /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				80C3B52F0D2A4EFBCFFB4F3581FA3598 /* Pods-SwaggerClientTests-dummy.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		FA262994DA85648A45EB39519AF3D0E3 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				8740BC8B595A54E9C973D7110740D43F /* Pods-SwaggerClient-dummy.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		1C394C3A43F0FA6E4BF76856613DB176 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = Alamofire;
-			target = 88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */;
-			targetProxy = F7D43D16B4131241D02F5FCD10F79D65 /* PBXContainerItemProxy */;
-		};
-		1C76F9E08AAB9400CF7937D3DBF4E272 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = Alamofire;
-			target = 88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */;
-			targetProxy = BBE116AAF20C2D98E0CC5B0D86765D22 /* PBXContainerItemProxy */;
-		};
-		1D8FED0E6764FE46BE3E03DEC5959C3B /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = PromiseKit;
-			target = C6AEB3EDCE021B764B46D50BFC2D7F0C /* PromiseKit */;
-			targetProxy = CD31F0032076F778C8017DBDFF3DCA0B /* PBXContainerItemProxy */;
-		};
-		328C6C7DF03199CFF8F5B47C39DEE2BC /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = PromiseKit;
-			target = C6AEB3EDCE021B764B46D50BFC2D7F0C /* PromiseKit */;
-			targetProxy = F4F5C9A84714BE23040A5FB7588DA6BD /* PBXContainerItemProxy */;
-		};
-		405120CD9D9120CBBC452E54C91FA485 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = PetstoreClient;
-			target = FF7E20767096F041BFF22A3EDFD030E8 /* PetstoreClient */;
-			targetProxy = B173CFF2A1174933D7851E8CE1CA77AB /* PBXContainerItemProxy */;
-		};
-		CAD6237EE98BEB14DA0AE88C1F89DF12 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = "Pods-SwaggerClient";
-			target = E5B96E99C219DDBC57BC27EE9DF5EC22 /* Pods-SwaggerClient */;
-			targetProxy = 39BC36C8D9E651B0E90400DB5CB4450E /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
-		0EE8843F198A5F366A4E623FAAE15059 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		1E204B6C5E33E3503DCAA188ED1F93D8 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 451D13FDA61BDE9EB91BBC6CEA52AED4 /* PromiseKit.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/PromiseKit/PromiseKit-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PromiseKit/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PromiseKit/PromiseKit.modulemap";
-				PRODUCT_MODULE_NAME = PromiseKit;
-				PRODUCT_NAME = PromiseKit;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		1FE3B4CE8C074CE87C18B26C91020E15 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_ENABLE_OBJC_WEAK = YES;
-				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_COMMA = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
-				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
-				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				CODE_SIGNING_ALLOWED = NO;
-				CODE_SIGNING_REQUIRED = NO;
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu11;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"POD_CONFIGURATION_DEBUG=1",
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				STRIP_INSTALLED_PRODUCT = NO;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
-				SYMROOT = "${SRCROOT}/../build";
-			};
-			name = Debug;
-		};
-		24EFEA6461F4ACD7936C9831B0D6C4C6 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/PetstoreClient/PetstoreClient-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PetstoreClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PetstoreClient/PetstoreClient.modulemap";
-				PRODUCT_MODULE_NAME = PetstoreClient;
-				PRODUCT_NAME = PetstoreClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		3726956BB7B8AB9D056C83310D723F67 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 451D13FDA61BDE9EB91BBC6CEA52AED4 /* PromiseKit.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/PromiseKit/PromiseKit-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PromiseKit/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PromiseKit/PromiseKit.modulemap";
-				PRODUCT_MODULE_NAME = PromiseKit;
-				PRODUCT_NAME = PromiseKit;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		5E110A36DB7BF1BF01973770C95C3047 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClientTests/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		75DC358D76CB10021D9785F4066DF13C /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/PetstoreClient/PetstoreClient-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PetstoreClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PetstoreClient/PetstoreClient.modulemap";
-				PRODUCT_MODULE_NAME = PetstoreClient;
-				PRODUCT_NAME = PetstoreClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		7B0415700290D1DEBAB6B173951CC0C7 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 45FB2502919E80623D265FE19C0A8FC4 /* Alamofire.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap";
-				PRODUCT_MODULE_NAME = Alamofire;
-				PRODUCT_NAME = Alamofire;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		89C68177307D3F04B055FD0AA2FC173A /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_ENABLE_OBJC_WEAK = YES;
-				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_COMMA = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
-				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
-				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				CODE_SIGNING_ALLOWED = NO;
-				CODE_SIGNING_REQUIRED = NO;
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu11;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"POD_CONFIGURATION_RELEASE=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				STRIP_INSTALLED_PRODUCT = NO;
-				SYMROOT = "${SRCROOT}/../build";
-			};
-			name = Release;
-		};
-		95DBEF0AB0B74932A7CEF4BB6099470D /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 45FB2502919E80623D265FE19C0A8FC4 /* Alamofire.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap";
-				PRODUCT_MODULE_NAME = Alamofire;
-				PRODUCT_NAME = Alamofire;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		AA44C748B579D9822A4F1DA83E57D74C /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClientTests/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		C6B2F4D332313254F97F583C4C1F5703 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				1FE3B4CE8C074CE87C18B26C91020E15 /* Debug */,
-				89C68177307D3F04B055FD0AA2FC173A /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		32FC64AFF0587C67379066614065C3B0 /* Build configuration list for PBXNativeTarget "PetstoreClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				24EFEA6461F4ACD7936C9831B0D6C4C6 /* Debug */,
-				75DC358D76CB10021D9785F4066DF13C /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		419E5D95491847CD79841B971A8A3277 /* Build configuration list for PBXNativeTarget "Alamofire" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				7B0415700290D1DEBAB6B173951CC0C7 /* Debug */,
-				95DBEF0AB0B74932A7CEF4BB6099470D /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6038DB15B6014EE0617ADC32733FC361 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				AA44C748B579D9822A4F1DA83E57D74C /* Debug */,
-				5E110A36DB7BF1BF01973770C95C3047 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		607382BCFF2B60BA932C95EC3C22A69F /* Build configuration list for PBXNativeTarget "Pods-SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				0EE8843F198A5F366A4E623FAAE15059 /* Debug */,
-				C6B2F4D332313254F97F583C4C1F5703 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		8B17A4388FD8556EDC88266E4AB754DD /* Build configuration list for PBXNativeTarget "PromiseKit" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				3726956BB7B8AB9D056C83310D723F67 /* Debug */,
-				1E204B6C5E33E3503DCAA188ED1F93D8 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/README.md b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/README.md
deleted file mode 100644
index 16f7520a241..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/README.md
+++ /dev/null
@@ -1,132 +0,0 @@
-![PromiseKit](http://promisekit.org/public/img/logo-tight.png)
-
-![badge-pod] ![badge-languages] ![badge-pms] ![badge-platforms] ![badge-mit]
-
-[繁體中文](README.zh_Hant.md), [简体中文](README.zh_CN.md)
-
----
-
-Promises simplify asynchronous programming, freeing you up to focus on the more
-important things. They are easy to learn, easy to master and result in clearer,
-more readable code. Your co-workers will thank you.
-
-```swift
-UIApplication.shared.isNetworkActivityIndicatorVisible = true
-
-firstly {
-    when(URLSession.dataTask(with: url).asImage(), CLLocationManager.promise())
-}.then { image, location -> Void in
-    self.imageView.image = image
-    self.label.text = "\(location)"
-}.always {
-    UIApplication.shared.isNetworkActivityIndicatorVisible = false
-}.catch { error in
-    self.show(UIAlertController(for: error), sender: self)
-}
-```
-
-PromiseKit is a thoughtful and complete implementation of promises for any
-platform with a `swiftc`, it has *excellent* Objective-C bridging and
-*delightful* specializations for iOS, macOS, tvOS and watchOS.
-
-# Quick Start
-
-In your [Podfile]:
-
-```ruby
-use_frameworks!
-swift_version = "3.1"
-pod "PromiseKit", "~> 4.3"
-```
-
-PromiseKit 4 supports Xcode 8 and 9, Swift 3.0, 3.1, 3.2 and Swift 4.0.
-
-For Carthage, SwiftPM, etc., or for instructions when using older Swifts or
-Xcodes see our [Installation Guide](Documentation/Installation.md).
-
-# Documentation
-
-* Handbook
-  * [Getting Started](Documentation/GettingStarted.md)
-  * [Promises: Common Patterns](Documentation/CommonPatterns.md)
-  * [Frequently Asked Questions](Documentation/FAQ.md)
-* Manual
-  * [Installation Guide](Documentation/Installation.md)
-  * [Objective-C Guide](Documentation/ObjectiveC.md)
-  * [Troubleshooting](Documentation/Troubleshooting.md) (eg. solutions to common compile errors)
-  * [Appendix](Documentation/Appendix.md)
-
-If you are looking for a function’s documentation, then please note
-[our sources](Sources/) are thoroughly documented.
-
-# Extensions
-
-Promises are only as useful as the asynchronous tasks they represent, thus we
-have converted (almost) all of Apple’s APIs to promises. The default CocoaPod
-comes with promises for UIKit and Foundation, the rest can be installed by
-specifying additional subspecs in your `Podfile`, eg:
-
-```ruby
-pod "PromiseKit/MapKit"          # MKDirections().promise().then { /*…*/ }
-pod "PromiseKit/CoreLocation"    # CLLocationManager.promise().then { /*…*/ }
-```
-
-All our extensions are separate repositories at the [PromiseKit organization].
-
-## Choose Your Networking Library
-
-Promise chains are commonly started with networking, thus we offer multiple
-options: [Alamofire], [OMGHTTPURLRQ] and of course (vanilla) `NSURLSession`:
-
-```swift
-// pod 'PromiseKit/Alamofire'
-// https://github.com/PromiseKit/Alamofire
-Alamofire.request("http://example.com", method: .post).responseJSON().then { json in
-    //…
-}.catch { error in
-    //…
-}
-
-// pod 'PromiseKit/OMGHTTPURLRQ'
-// https://github.com/PromiseKit/OMGHTTPURLRQ
-URLSession.POST("http://example.com").asDictionary().then { json in
-    //…
-}.catch { error in
-    //…
-}
-
-// pod 'PromiseKit/Foundation'
-// https://github.com/PromiseKit/Foundation
-URLSession.shared.dataTask(url).asDictionary().then { json in
-    // …
-}.catch { error in
-    //…
-}
-```
-
-Nobody ever got fired for using Alamofire, but at the end of the day, it’s
-just a small wrapper around `NSURLSession`. OMGHTTPURLRQ supplements
-`NSURLRequest` to make generating REST style requests easier, and the PromiseKit
-extensions extend `NSURLSession` to make OMG usage more convenient. But since a
-while now most servers accept JSON, so writing a simple API class that uses
-vanilla `NSURLSession` and our promises is not hard, and gives you the most
-control with the fewest black-boxes.
-
-The choice is yours.
-
-# Support
-
-Ask your question at our [Gitter chat channel] or on [our bug tracker].
-
-
-[badge-pod]: https://img.shields.io/cocoapods/v/PromiseKit.svg?label=version
-[badge-pms]: https://img.shields.io/badge/supports-CocoaPods%20%7C%20Carthage%20%7C%20SwiftPM-green.svg
-[badge-languages]: https://img.shields.io/badge/languages-Swift%20%7C%20ObjC-orange.svg
-[badge-platforms]: https://img.shields.io/badge/platforms-macOS%20%7C%20iOS%20%7C%20watchOS%20%7C%20tvOS%20%7C%20Linux-lightgrey.svg
-[badge-mit]: https://img.shields.io/badge/license-MIT-blue.svg
-[OMGHTTPURLRQ]: https://github.com/mxcl/OMGHTTPURLRQ
-[Alamofire]: http://alamofire.org
-[PromiseKit organization]: https://github.com/PromiseKit
-[Gitter chat channel]: https://gitter.im/mxcl/PromiseKit
-[our bug tracker]: https://github.com/mxcl/PromiseKit/issues/new
-[Podfile]: https://guides.cocoapods.org/syntax/podfile.html
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/AnyPromise.h b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/AnyPromise.h
deleted file mode 100644
index 6aafad7802d..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/AnyPromise.h
+++ /dev/null
@@ -1,289 +0,0 @@
-#import <Foundation/Foundation.h>
-#import <dispatch/dispatch.h>
-#import "fwd.h"
-
-typedef void (^PMKResolver)(id __nullable) NS_REFINED_FOR_SWIFT;
-
-typedef NS_ENUM(NSInteger, PMKCatchPolicy) {
-    PMKCatchPolicyAllErrors,
-    PMKCatchPolicyAllErrorsExceptCancellation
-} NS_SWIFT_NAME(CatchPolicy);
-
-
-#if __has_include("PromiseKit-Swift.h")
-    #pragma clang diagnostic push
-    #pragma clang diagnostic ignored"-Wdocumentation"
-    #import "PromiseKit-Swift.h"
-    #pragma clang diagnostic pop
-#else
-    // this hack because `AnyPromise` is Swift, but we add
-    // our own methods via the below category. This hack is
-    // only required while building PromiseKit since, once
-    // built, the generated -Swift header exists.
-
-    __attribute__((objc_subclassing_restricted)) __attribute__((objc_runtime_name("AnyPromise")))
-    @interface AnyPromise : NSObject
-    @property (nonatomic, readonly) BOOL resolved;
-    @property (nonatomic, readonly) BOOL pending;
-    @property (nonatomic, readonly) __nullable id value;
-    + (instancetype __nonnull)promiseWithResolverBlock:(void (^ __nonnull)(__nonnull PMKResolver))resolveBlock;
-    + (instancetype __nonnull)promiseWithValue:(__nullable id)value;
-    @end
-#endif
-
-
-@interface AnyPromise (obj)
-
-@property (nonatomic, readonly) __nullable id value;
-
-/**
- The provided block is executed when its receiver is resolved.
-
- If you provide a block that takes a parameter, the value of the receiver will be passed as that parameter.
-
-    [NSURLSession GET:url].then(^(NSData *data){
-        // do something with data
-    });
-
- @return A new promise that is resolved with the value returned from the provided block. For example:
-
-    [NSURLSession GET:url].then(^(NSData *data){
-        return data.length;
-    }).then(^(NSNumber *number){
-        //…
-    });
-
- @warning *Important* The block passed to `then` may take zero, one, two or three arguments, and return an object or return nothing. This flexibility is why the method signature for then is `id`, which means you will not get completion for the block parameter, and must type it yourself. It is safe to type any block syntax here, so to start with try just: `^{}`.
-
- @warning *Important* If an `NSError` or `NSString` is thrown inside your block, or you return an `NSError` object the next `Promise` will be rejected. See `catch` for documentation on error handling.
-
- @warning *Important* `then` is always executed on the main queue.
-
- @see thenOn
- @see thenInBackground
-*/
-- (AnyPromise * __nonnull (^ __nonnull)(id __nonnull))then NS_REFINED_FOR_SWIFT;
-
-
-/**
- The provided block is executed on the default queue when the receiver is fulfilled.
-
- This method is provided as a convenience for `thenOn`.
-
- @see then
- @see thenOn
-*/
-- (AnyPromise * __nonnull(^ __nonnull)(id __nonnull))thenInBackground NS_REFINED_FOR_SWIFT;
-
-/**
- The provided block is executed on the dispatch queue of your choice when the receiver is fulfilled.
-
- @see then
- @see thenInBackground
-*/
-- (AnyPromise * __nonnull(^ __nonnull)(dispatch_queue_t __nonnull, id __nonnull))thenOn NS_REFINED_FOR_SWIFT;
-
-#ifndef __cplusplus
-/**
- The provided block is executed when the receiver is rejected.
-
- Provide a block of form `^(NSError *){}` or simply `^{}`. The parameter has type `id` to give you the freedom to choose either.
-
- The provided block always runs on the main queue.
- 
- @warning *Note* Cancellation errors are not caught.
- 
- @warning *Note* Since catch is a c++ keyword, this method is not available in Objective-C++ files. Instead use catchWithPolicy.
-
- @see catchWithPolicy
-*/
-- (AnyPromise * __nonnull(^ __nonnull)(id __nonnull))catch NS_REFINED_FOR_SWIFT;
-#endif
-
-/**
- The provided block is executed when the receiver is rejected.
- 
- Provide a block of form `^(NSError *){}` or simply `^{}`. The parameter has type `id` to give you the freedom to choose either.
- 
- The provided block always runs on the global background queue.
- 
- @warning *Note* Cancellation errors are not caught.
- 
- @warning *Note* Since catch is a c++ keyword, this method is not available in Objective-C++ files. Instead use catchWithPolicy.
- 
- @see catchWithPolicy
- */
-- (AnyPromise * __nonnull(^ __nonnull)(id __nonnull))catchInBackground NS_REFINED_FOR_SWIFT;
-
-
-/**
- The provided block is executed when the receiver is rejected.
- 
- Provide a block of form `^(NSError *){}` or simply `^{}`. The parameter has type `id` to give you the freedom to choose either.
- 
- The provided block always runs on queue provided.
- 
- @warning *Note* Cancellation errors are not caught.
- 
- @see catchWithPolicy
- */
-- (AnyPromise * __nonnull(^ __nonnull)(dispatch_queue_t __nonnull, id __nonnull))catchOn NS_REFINED_FOR_SWIFT;
-
-/**
- The provided block is executed when the receiver is rejected with the specified policy.
-
- Specify the policy with which to catch as the first parameter to your block. Either for all errors, or all errors *except* cancellation errors.
-
- @see catch
-*/
-- (AnyPromise * __nonnull(^ __nonnull)(PMKCatchPolicy, id __nonnull))catchWithPolicy NS_REFINED_FOR_SWIFT;
-
-/**
- The provided block is executed when the receiver is rejected with the specified policy.
- 
- Specify the policy with which to catch as the first parameter to your block. Either for all errors, or all errors *except* cancellation errors.
- 
- The provided block always runs on queue provided.
-
- @see catch
- */
-- (AnyPromise * __nonnull(^ __nonnull)(dispatch_queue_t __nonnull, PMKCatchPolicy, id __nonnull))catchOnWithPolicy NS_REFINED_FOR_SWIFT;
-
-/**
- The provided block is executed when the receiver is resolved.
-
- The provided block always runs on the main queue.
-
- @see alwaysOn
-*/
-- (AnyPromise * __nonnull(^ __nonnull)(dispatch_block_t __nonnull))always NS_REFINED_FOR_SWIFT;
-
-/**
- The provided block is executed on the dispatch queue of your choice when the receiver is resolved.
-
- @see always
- */
-- (AnyPromise * __nonnull(^ __nonnull)(dispatch_queue_t __nonnull, dispatch_block_t __nonnull))alwaysOn NS_REFINED_FOR_SWIFT;
-
-/// @see always
-- (AnyPromise * __nonnull(^ __nonnull)(dispatch_block_t __nonnull))finally __attribute__((deprecated("Use always")));
-/// @see alwaysOn
-- (AnyPromise * __nonnull(^ __nonnull)(dispatch_block_t __nonnull, dispatch_block_t __nonnull))finallyOn __attribute__((deprecated("Use always")));
-
-/**
- Create a new promise with an associated resolver.
-
- Use this method when wrapping asynchronous code that does *not* use
- promises so that this code can be used in promise chains. Generally,
- prefer `promiseWithResolverBlock:` as the resulting code is more elegant.
-
-     PMKResolver resolve;
-     AnyPromise *promise = [[AnyPromise alloc] initWithResolver:&resolve];
-
-     // later
-     resolve(@"foo");
-
- @param resolver A reference to a block pointer of PMKResolver type.
- You can then call your resolver to resolve this promise.
-
- @return A new promise.
-
- @warning *Important* The resolver strongly retains the promise.
-
- @see promiseWithResolverBlock:
-*/
-- (instancetype __nonnull)initWithResolver:(PMKResolver __strong __nonnull * __nonnull)resolver NS_REFINED_FOR_SWIFT;
-
-@end
-
-
-
-@interface AnyPromise (Unavailable)
-
-- (instancetype __nonnull)init __attribute__((unavailable("It is illegal to create an unresolvable promise.")));
-+ (instancetype __nonnull)new __attribute__((unavailable("It is illegal to create an unresolvable promise.")));
-
-@end
-
-
-
-typedef void (^PMKAdapter)(id __nullable, NSError * __nullable) NS_REFINED_FOR_SWIFT;
-typedef void (^PMKIntegerAdapter)(NSInteger, NSError * __nullable) NS_REFINED_FOR_SWIFT;
-typedef void (^PMKBooleanAdapter)(BOOL, NSError * __nullable) NS_REFINED_FOR_SWIFT;
-
-
-@interface AnyPromise (Adapters)
-
-/**
- Create a new promise by adapting an existing asynchronous system.
-
- The pattern of a completion block that passes two parameters, the first
- the result and the second an `NSError` object is so common that we
- provide this convenience adapter to make wrapping such systems more
- elegant.
-
-    return [PMKPromise promiseWithAdapterBlock:^(PMKAdapter adapter){
-        PFQuery *query = [PFQuery …];
-        [query findObjectsInBackgroundWithBlock:adapter];
-    }];
-
- @warning *Important* If both parameters are nil, the promise fulfills,
- if both are non-nil the promise rejects. This is per the convention.
-
- @see http://promisekit.org/sealing-your-own-promises/
- */
-+ (instancetype __nonnull)promiseWithAdapterBlock:(void (^ __nonnull)(PMKAdapter __nonnull adapter))block NS_REFINED_FOR_SWIFT;
-
-/**
- Create a new promise by adapting an existing asynchronous system.
-
- Adapts asynchronous systems that complete with `^(NSInteger, NSError *)`.
- NSInteger will cast to enums provided the enum has been wrapped with
- `NS_ENUM`. All of Apple’s enums are, so if you find one that hasn’t you
- may need to make a pull-request.
-
- @see promiseWithAdapter
- */
-+ (instancetype __nonnull)promiseWithIntegerAdapterBlock:(void (^ __nonnull)(PMKIntegerAdapter __nonnull adapter))block NS_REFINED_FOR_SWIFT;
-
-/**
- Create a new promise by adapting an existing asynchronous system.
-
- Adapts asynchronous systems that complete with `^(BOOL, NSError *)`.
-
- @see promiseWithAdapter
- */
-+ (instancetype __nonnull)promiseWithBooleanAdapterBlock:(void (^ __nonnull)(PMKBooleanAdapter __nonnull adapter))block NS_REFINED_FOR_SWIFT;
-
-@end
-
-
-
-/**
- Whenever resolving a promise you may resolve with a tuple, eg.
- returning from a `then` or `catch` handler or resolving a new promise.
-
- Consumers of your Promise are not compelled to consume any arguments and
- in fact will often only consume the first parameter. Thus ensure the
- order of parameters is: from most-important to least-important.
-
- Currently PromiseKit limits you to THREE parameters to the manifold.
-*/
-#define PMKManifold(...) __PMKManifold(__VA_ARGS__, 3, 2, 1)
-#define __PMKManifold(_1, _2, _3, N, ...) __PMKArrayWithCount(N, _1, _2, _3)
-extern id __nonnull __PMKArrayWithCount(NSUInteger, ...);
-
-
-
-@interface AnyPromise (Deprecations)
-
-+ (instancetype __nonnull)new:(__nullable id)resolvers __attribute__((unavailable("See +promiseWithResolverBlock:")));
-+ (instancetype __nonnull)when:(__nullable id)promises __attribute__((unavailable("See PMKWhen()")));
-+ (instancetype __nonnull)join:(__nullable id)promises __attribute__((unavailable("See PMKJoin()")));
-
-@end
-
-
-__attribute__((unavailable("See AnyPromise")))
-@interface PMKPromise
-@end
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/AnyPromise.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/AnyPromise.swift
deleted file mode 100644
index 843f2c1facf..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/AnyPromise.swift
+++ /dev/null
@@ -1,279 +0,0 @@
-import Foundation
-
-/**
- AnyPromise is an Objective-C compatible promise.
-*/
-@objc(AnyPromise) public class AnyPromise: NSObject {
-    let state: State<Any?>
-
-    /**
-     - Returns: A new `AnyPromise` bound to a `Promise<Any>`.
-    */
-    required public init(_ bridge: Promise<Any?>) {
-        state = bridge.state
-    }
-
-    /// hack to ensure Swift picks the right initializer for each of the below
-    private init(force: Promise<Any?>) {
-        state = force.state
-    }
-
-    /**
-     - Returns: A new `AnyPromise` bound to a `Promise<T>`.
-    */
-    public convenience init<T>(_ bridge: Promise<T?>) {
-        self.init(force: bridge.then(on: zalgo) { $0 })
-    }
-
-    /**
-     - Returns: A new `AnyPromise` bound to a `Promise<T>`.
-    */
-    convenience public init<T>(_ bridge: Promise<T>) {
-        self.init(force: bridge.then(on: zalgo) { $0 })
-    }
-
-    /**
-     - Returns: A new `AnyPromise` bound to a `Promise<Void>`.
-     - Note: A “void” `AnyPromise` has a value of `nil`.
-    */
-    convenience public init(_ bridge: Promise<Void>) {
-        self.init(force: bridge.then(on: zalgo) { nil })
-    }
-
-    /**
-     Bridges an `AnyPromise` to a `Promise<Any?>`.
-
-     - Note: AnyPromises fulfilled with `PMKManifold` lose all but the first fulfillment object.
-     - Remark: Could not make this an initializer of `Promise` due to generics issues.
-     */
-    public func asPromise() -> Promise<Any?> {
-        return Promise(sealant: { resolve in
-            state.pipe { resolution in
-                switch resolution {
-                case .rejected:
-                    resolve(resolution)
-                case .fulfilled:
-                    let obj = (self as AnyObject).value(forKey: "value")
-                    resolve(.fulfilled(obj))
-                }
-            }
-        })
-    }
-
-    /// - See: `Promise.then()`
-    public func then<T>(on q: DispatchQueue = .default, execute body: @escaping (Any?) throws -> T) -> Promise<T> {
-        return asPromise().then(on: q, execute: body)
-    }
-
-    /// - See: `Promise.then()`
-    public func then(on q: DispatchQueue = .default, execute body: @escaping (Any?) throws -> AnyPromise) -> Promise<Any?> {
-        return asPromise().then(on: q, execute: body)
-    }
-
-    /// - See: `Promise.then()`
-    public func then<T>(on q: DispatchQueue = .default, execute body: @escaping (Any?) throws -> Promise<T>) -> Promise<T> {
-        return asPromise().then(on: q, execute: body)
-    }
-
-    /// - See: `Promise.always()`
-    public func always(on q: DispatchQueue = .default, execute body: @escaping () -> Void) -> Promise<Any?> {
-        return asPromise().always(execute: body)
-    }
-
-    /// - See: `Promise.tap()`
-    public func tap(on q: DispatchQueue = .default, execute body: @escaping (Result<Any?>) -> Void) -> Promise<Any?> {
-        return asPromise().tap(execute: body)
-    }
-
-    /// - See: `Promise.recover()`
-    public func recover(on q: DispatchQueue = .default, policy: CatchPolicy = .allErrorsExceptCancellation, execute body: @escaping (Error) throws -> Promise<Any?>) -> Promise<Any?> {
-        return asPromise().recover(on: q, policy: policy, execute: body)
-    }
-
-    /// - See: `Promise.recover()`
-    public func recover(on q: DispatchQueue = .default, policy: CatchPolicy = .allErrorsExceptCancellation, execute body: @escaping (Error) throws -> Any?) -> Promise<Any?> {
-        return asPromise().recover(on: q, policy: policy, execute: body)
-    }
-
-    /// - See: `Promise.catch()`
-    public func `catch`(on q: DispatchQueue = .default, policy: CatchPolicy = .allErrorsExceptCancellation, execute body: @escaping (Error) -> Void) {
-        state.catch(on: q, policy: policy, else: { _ in }, execute: body)
-    }
-
-//MARK: ObjC methods
-
-    /**
-     A promise starts pending and eventually resolves.
-     - Returns: `true` if the promise has not yet resolved.
-     */
-    @objc public var pending: Bool {
-        return state.get() == nil
-    }
-
-    /**
-     A promise starts pending and eventually resolves.
-     - Returns: `true` if the promise has resolved.
-     */
-    @objc public var resolved: Bool {
-        return !pending
-    }
-
-    /**
-     The value of the asynchronous task this promise represents.
-
-     A promise has `nil` value if the asynchronous task it represents has not finished. If the value is `nil` the promise is still `pending`.
-
-     - Warning: *Note* Our Swift variant’s value property returns nil if the promise is rejected where AnyPromise will return the error object. This fits with the pattern where AnyPromise is not strictly typed and is more dynamic, but you should be aware of the distinction.
-     
-     - Note: If the AnyPromise was fulfilled with a `PMKManifold`, returns only the first fulfillment object.
-
-     - Returns: The value with which this promise was resolved or `nil` if this promise is pending.
-     */
-    @objc private var __value: Any? {
-        switch state.get() {
-        case nil:
-            return nil
-        case .rejected(let error, _)?:
-            return error
-        case .fulfilled(let obj)?:
-            return obj
-        }
-    }
-
-    /**
-     Creates a resolved promise.
-
-     When developing your own promise systems, it is occasionally useful to be able to return an already resolved promise.
-
-     - Parameter value: The value with which to resolve this promise. Passing an `NSError` will cause the promise to be rejected, passing an AnyPromise will return a new AnyPromise bound to that promise, otherwise the promise will be fulfilled with the value passed.
-
-     - Returns: A resolved promise.
-     */
-    @objc public class func promiseWithValue(_ value: Any?) -> AnyPromise {
-        let state: State<Any?>
-        switch value {
-        case let promise as AnyPromise:
-            state = promise.state
-        case let err as Error:
-            state = SealedState(resolution: Resolution(err))
-        default:
-            state = SealedState(resolution: .fulfilled(value))
-        }
-        return AnyPromise(state: state)
-    }
-
-    private init(state: State<Any?>) {
-        self.state = state
-    }
-
-    /**
-     Create a new promise that resolves with the provided block.
-
-     Use this method when wrapping asynchronous code that does *not* use promises so that this code can be used in promise chains.
-
-     If `resolve` is called with an `NSError` object, the promise is rejected, otherwise the promise is fulfilled.
-
-     Don’t use this method if you already have promises! Instead, just return your promise.
-
-     Should you need to fulfill a promise but have no sensical value to use: your promise is a `void` promise: fulfill with `nil`.
-
-     The block you pass is executed immediately on the calling thread.
-
-     - Parameter block: The provided block is immediately executed, inside the block call `resolve` to resolve this promise and cause any attached handlers to execute. If you are wrapping a delegate-based system, we recommend instead to use: initWithResolver:
-
-     - Returns: A new promise.
-     - Warning: Resolving a promise with `nil` fulfills it.
-     - SeeAlso: http://promisekit.org/sealing-your-own-promises/
-     - SeeAlso: http://promisekit.org/wrapping-delegation/
-     */
-    @objc public class func promiseWithResolverBlock(_ body: (@escaping (Any?) -> Void) -> Void) -> AnyPromise {
-        return AnyPromise(sealant: { resolve in
-            body { obj in
-                makeHandler({ _ in obj }, resolve)(obj)
-            }
-        })
-    }
-
-    private init(sealant: (@escaping (Resolution<Any?>) -> Void) -> Void) {
-        var resolve: ((Resolution<Any?>) -> Void)!
-        state = UnsealedState(resolver: &resolve)
-        sealant(resolve)
-    }
-
-    @objc func __thenOn(_ q: DispatchQueue, execute body: @escaping (Any?) -> Any?) -> AnyPromise {
-        return AnyPromise(sealant: { resolve in
-            state.then(on: q, else: resolve, execute: makeHandler(body, resolve))
-        })
-    }
-
-    @objc func __catchOn(_ q: DispatchQueue, withPolicy policy: CatchPolicy, execute body: @escaping (Any?) -> Any?) -> AnyPromise {
-        return AnyPromise(sealant: { resolve in
-            state.catch(on: q, policy: policy, else: resolve) { err in
-                makeHandler(body, resolve)(err as NSError)
-            }
-        })
-    }
-
-    @objc func __alwaysOn(_ q: DispatchQueue, execute body: @escaping () -> Void) -> AnyPromise {
-        return AnyPromise(sealant: { resolve in
-            state.always(on: q) { resolution in
-                body()
-                resolve(resolution)
-            }
-        })
-    }
-
-    /**
-     Convert an `AnyPromise` to `Promise<T>`.
-
-         anyPromise.toPromise(T).then { (t: T) -> U in ... }
-     
-     - Returns: A `Promise<T>` with the requested type.
-     - Throws: `CastingError.CastingAnyPromiseFailed(T)` if self's value cannot be downcasted to the given type.
-     */
-    public func asPromise<T>(type: T.Type) -> Promise<T> {
-        return self.then(on: zalgo) { (value: Any?) -> T in
-            if let value = value as? T {
-                return value
-            }
-            throw PMKError.castError(type)
-        }
-    }
-
-    /// used by PMKWhen and PMKJoin
-    @objc func __pipe(_ body: @escaping (Any?) -> Void) {
-        state.pipe { resolution in
-            switch resolution {
-            case .rejected(let error, let token):
-                token.consumed = true  // when and join will create a new parent error that is unconsumed
-                body(error as NSError)
-            case .fulfilled(let value):
-                body(value)
-            }
-        }
-    }
-}
-
-
-extension AnyPromise {
-    /**
-     - Returns: A description of the state of this promise.
-     */
-    override public var description: String {
-        return "AnyPromise: \(state)"
-    }
-}
-
-private func makeHandler(_ body: @escaping (Any?) -> Any?, _ resolve: @escaping (Resolution<Any?>) -> Void) -> (Any?) -> Void {
-    return { obj in
-        let obj = body(obj)
-        switch obj {
-        case let err as Error:
-            resolve(Resolution(err))
-        case let promise as AnyPromise:
-            promise.state.pipe(resolve)
-        default:
-            resolve(.fulfilled(obj))
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Error.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Error.swift
deleted file mode 100644
index 40535ad4f51..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Error.swift
+++ /dev/null
@@ -1,172 +0,0 @@
-import Foundation
-
-public enum PMKError: Error {
-    /**
-     The ErrorType for a rejected `join`.
-     - Parameter 0: The promises passed to this `join` that did not *all* fulfill.
-     - Note: The array is untyped because Swift generics are fussy with enums.
-     */
-    case join([AnyObject])
-
-    /**
-     The completionHandler with form (T?, ErrorType?) was called with (nil, nil)
-     This is invalid as per Cocoa/Apple calling conventions.
-     */
-    case invalidCallingConvention
-
-    /**
-     A handler returned its own promise. 99% of the time, this is likely a 
-     programming error. It is also invalid per Promises/A+.
-     */
-    case returnedSelf
-
-    /** `when()` was called with a concurrency of <= 0 */
-    case whenConcurrentlyZero
-
-    /** AnyPromise.toPromise failed to cast as requested */
-    case castError(Any.Type)
-}
-
-public enum PMKURLError: Error {
-    /**
-     The URLRequest succeeded but a valid UIImage could not be decoded from
-     the data that was received.
-     */
-    case invalidImageData(URLRequest, Data)
-
-    /**
-     The HTTP request returned a non-200 status code.
-     */
-    case badResponse(URLRequest, Data?, URLResponse?)
-
-    /**
-     The data could not be decoded using the encoding specified by the HTTP
-     response headers.
-     */
-    case stringEncoding(URLRequest, Data, URLResponse)
-
-    /**
-     Usually the `URLResponse` is actually an `HTTPURLResponse`, if so you
-     can access it using this property. Since it is returned as an unwrapped
-     optional: be sure.
-     */
-    public var NSHTTPURLResponse: Foundation.HTTPURLResponse! {
-        switch self {
-        case .invalidImageData:
-            return nil
-        case .badResponse(_, _, let rsp):
-            return rsp as! Foundation.HTTPURLResponse
-        case .stringEncoding(_, _, let rsp):
-            return rsp as! Foundation.HTTPURLResponse
-        }
-    }
-}
-
-extension PMKURLError: CustomStringConvertible {
-    public var description: String {
-        switch self {
-        case let .badResponse(rq, data, rsp):
-            if let data = data, let str = String(data: data, encoding: .utf8), let rsp = rsp {
-                return "PromiseKit: badResponse: \(rq): \(rsp)\n\(str)"
-            } else {
-                fallthrough
-            }
-        default:
-            return "\(self)"
-        }
-    }
-}
-
-public enum JSONError: Error {
-    /// The JSON response was different to that requested
-    case unexpectedRootNode(Any)
-}
-
-
-//////////////////////////////////////////////////////////// Cancellation
-
-public protocol CancellableError: Error {
-    var isCancelled: Bool { get }
-}
-
-#if !SWIFT_PACKAGE
-
-private struct ErrorPair: Hashable {
-    let domain: String
-    let code: Int
-    init(_ d: String, _ c: Int) {
-        domain = d; code = c
-    }
-    var hashValue: Int {
-        return "\(domain):\(code)".hashValue
-    }
-}
-
-private func ==(lhs: ErrorPair, rhs: ErrorPair) -> Bool {
-    return lhs.domain == rhs.domain && lhs.code == rhs.code
-}
-
-extension NSError {
-    @objc public class func cancelledError() -> NSError {
-        let info = [NSLocalizedDescriptionKey: "The operation was cancelled"]
-        return NSError(domain: PMKErrorDomain, code: PMKOperationCancelled, userInfo: info)
-    }
-
-    /**
-      - Warning: You must call this method before any promises in your application are rejected. Failure to ensure this may lead to concurrency crashes.
-      - Warning: You must call this method on the main thread. Failure to do this may lead to concurrency crashes.
-     */
-    @objc public class func registerCancelledErrorDomain(_ domain: String, code: Int) {
-        cancelledErrorIdentifiers.insert(ErrorPair(domain, code))
-    }
-
-    /// - Returns: true if the error represents cancellation.
-    @objc public var isCancelled: Bool {
-        return (self as Error).isCancelledError
-    }
-}
-
-private var cancelledErrorIdentifiers = Set([
-    ErrorPair(PMKErrorDomain, PMKOperationCancelled),
-    ErrorPair(NSCocoaErrorDomain, NSUserCancelledError),
-    ErrorPair(NSURLErrorDomain, NSURLErrorCancelled),
-])
-
-#endif
-
-
-extension Error {
-    public var isCancelledError: Bool {
-        if let ce = self as? CancellableError {
-            return ce.isCancelled
-        } else {
-          #if SWIFT_PACKAGE
-            return false
-          #else
-            let ne = self as NSError
-            return cancelledErrorIdentifiers.contains(ErrorPair(ne.domain, ne.code))
-          #endif
-        }
-    }
-}
-
-
-//////////////////////////////////////////////////////// Unhandled Errors
-class ErrorConsumptionToken {
-    var consumed = false
-    let error: Error
-
-    init(_ error: Error) {
-        self.error = error
-    }
-
-    deinit {
-        if !consumed {
-#if os(Linux)
-            PMKUnhandledErrorHandler(error)
-#else
-            PMKUnhandledErrorHandler(error as NSError)
-#endif
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Promise.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Promise.swift
deleted file mode 100644
index 12c85ce4f0d..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Promise.swift
+++ /dev/null
@@ -1,637 +0,0 @@
-import class Dispatch.DispatchQueue
-import class Foundation.NSError
-import func Foundation.NSLog
-
-
-/**
- A *promise* represents the future value of a (usually) asynchronous task.
-
- To obtain the value of a promise we call `then`.
-
- Promises are chainable: `then` returns a promise, you can call `then` on
- that promise, which returns a promise, you can call `then` on that
- promise, et cetera.
-
- Promises start in a pending state and *resolve* with a value to become
- *fulfilled* or an `Error` to become rejected.
-
- - SeeAlso: [PromiseKit `then` Guide](http://promisekit.org/docs/)
- */
-open class Promise<T> {
-    let state: State<T>
-
-    /**
-     Create a new, pending promise.
-
-         func fetchAvatar(user: String) -> Promise<UIImage> {
-             return Promise { fulfill, reject in
-                 MyWebHelper.GET("\(user)/avatar") { data, err in
-                     guard let data = data else { return reject(err) }
-                     guard let img = UIImage(data: data) else { return reject(MyError.InvalidImage) }
-                     guard let img.size.width > 0 else { return reject(MyError.ImageTooSmall) }
-                     fulfill(img)
-                 }
-             }
-         }
-
-     - Parameter resolvers: The provided closure is called immediately on the active thread; commence your asynchronous task, calling either fulfill or reject when it completes.
-     - Parameter fulfill: Fulfills this promise with the provided value.
-     - Parameter reject: Rejects this promise with the provided error.
-
-     - Returns: A new promise.
-
-     - Note: If you are wrapping a delegate-based system, we recommend
-     to use instead: `Promise.pending()`
-
-     - SeeAlso: http://promisekit.org/docs/sealing-promises/
-     - SeeAlso: http://promisekit.org/docs/cookbook/wrapping-delegation/
-     - SeeAlso: pending()
-     */
-    required public init(resolvers: (_ fulfill: @escaping (T) -> Void, _ reject: @escaping (Error) -> Void) throws -> Void) {
-        var resolve: ((Resolution<T>) -> Void)!
-        do {
-            state = UnsealedState(resolver: &resolve)
-            try resolvers({ resolve(.fulfilled($0)) }, { error in
-                #if !PMKDisableWarnings
-                    if self.isPending {
-                        resolve(Resolution(error))
-                    } else {
-                        NSLog("PromiseKit: warning: reject called on already rejected Promise: \(error)")
-                    }
-                #else
-                    resolve(Resolution(error))
-                #endif
-            })
-        } catch {
-            resolve(Resolution(error))
-        }
-    }
-
-    /**
-     Create an already fulfilled promise.
-    
-     To create a resolved `Void` promise, do: `Promise(value: ())`
-     */
-    required public init(value: T) {
-        state = SealedState(resolution: .fulfilled(value))
-    }
-
-    /**
-     Create an already rejected promise.
-     */
-    required public init(error: Error) {
-        state = SealedState(resolution: Resolution(error))
-    }
-
-    /**
-     Careful with this, it is imperative that sealant can only be called once
-     or you will end up with spurious unhandled-errors due to possible double
-     rejections and thus immediately deallocated ErrorConsumptionTokens.
-     */
-    init(sealant: (@escaping (Resolution<T>) -> Void) -> Void) {
-        var resolve: ((Resolution<T>) -> Void)!
-        state = UnsealedState(resolver: &resolve)
-        sealant(resolve)
-    }
-
-    /**
-     A `typealias` for the return values of `pending()`. Simplifies declaration of properties that reference the values' containing tuple when this is necessary. For example, when working with multiple `pendingPromise(value: ())`s within the same scope, or when the promise initialization must occur outside of the caller's initialization.
-
-         class Foo: BarDelegate {
-            var task: Promise<Int>.PendingTuple?
-         }
-
-     - SeeAlso: pending()
-     */
-    public typealias PendingTuple = (promise: Promise, fulfill: (T) -> Void, reject: (Error) -> Void)
-
-    /**
-     Making promises that wrap asynchronous delegation systems or other larger asynchronous systems without a simple completion handler is easier with pending.
-
-         class Foo: BarDelegate {
-             let (promise, fulfill, reject) = Promise<Int>.pending()
-    
-             func barDidFinishWithResult(result: Int) {
-                 fulfill(result)
-             }
-    
-             func barDidError(error: NSError) {
-                 reject(error)
-             }
-         }
-
-     - Returns: A tuple consisting of: 
-       1) A promise
-       2) A function that fulfills that promise
-       3) A function that rejects that promise
-     */
-    public final class func pending() -> PendingTuple {
-        var fulfill: ((T) -> Void)!
-        var reject: ((Error) -> Void)!
-        let promise = self.init { fulfill = $0; reject = $1 }
-        return (promise, fulfill, reject)
-    }
-
-    /**
-     The provided closure is executed when this promise is resolved.
-
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter body: The closure that is executed when this Promise is fulfilled.
-     - Returns: A new promise that is resolved with the value returned from the provided closure. For example:
-
-           URLSession.GET(url).then { data -> Int in
-               //…
-               return data.length
-           }.then { length in
-               //…
-           }
-     */
-    public func then<U>(on q: DispatchQueue = .default, execute body: @escaping (T) throws -> U) -> Promise<U> {
-        return Promise<U> { resolve in
-            state.then(on: q, else: resolve) { value in
-                resolve(.fulfilled(try body(value)))
-            }
-        }
-    }
-
-    /**
-     The provided closure executes when this promise resolves.
-     
-     This variant of `then` allows chaining promises, the promise returned by the provided closure is resolved before the promise returned by this closure resolves.
-
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter execute: The closure that executes when this promise fulfills.
-     - Returns: A new promise that resolves when the promise returned from the provided closure resolves. For example:
-
-           URLSession.GET(url1).then { data in
-               return CLLocationManager.promise()
-           }.then { location in
-               //…
-           }
-     */
-    public func then<U>(on q: DispatchQueue = .default, execute body: @escaping (T) throws -> Promise<U>) -> Promise<U> {
-        var resolve: ((Resolution<U>) -> Void)!
-        let rv = Promise<U>{ resolve = $0 }
-        state.then(on: q, else: resolve) { value in
-            let promise = try body(value)
-            guard promise !== rv else { throw PMKError.returnedSelf }
-            promise.state.pipe(resolve)
-        }
-        return rv
-    }
-
-    /**
-     The provided closure executes when this promise resolves.
-
-     This variant of `then` allows returning a tuple of promises within provided closure. All of the returned
-     promises needs be fulfilled for this promise to be marked as resolved.
-
-     - Note: At maximum 5 promises may be returned in a tuple
-     - Note: If *any* of the tuple-provided promises reject, the returned promise is immediately rejected with that error.
-     - Warning: In the event of rejection the other promises will continue to resolve and, as per any other promise, will either fulfill or reject.
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter execute: The closure that executes when this promise fulfills.
-     - Returns: A new promise that resolves when all promises returned from the provided closure resolve. For example:
-
-           loginPromise.then { _ -> (Promise<Data>, Promise<UIImage>)
-               return (URLSession.GET(userUrl), URLSession.dataTask(with: avatarUrl).asImage())
-           }.then { userData, avatarImage in
-               //…
-           }
-     */
-    public func then<U, V>(on q: DispatchQueue = .default, execute body: @escaping (T) throws -> (Promise<U>, Promise<V>)) -> Promise<(U, V)> {
-        return then(on: q, execute: body) { when(fulfilled: $0.0, $0.1) }
-    }
-
-    /// This variant of `then` allows returning a tuple of promises within provided closure.
-    public func then<U, V, X>(on q: DispatchQueue = .default, execute body: @escaping (T) throws -> (Promise<U>, Promise<V>, Promise<X>)) -> Promise<(U, V, X)> {
-        return then(on: q, execute: body) { when(fulfilled: $0.0, $0.1, $0.2) }
-    }
-
-    /// This variant of `then` allows returning a tuple of promises within provided closure.
-    public func then<U, V, X, Y>(on q: DispatchQueue = .default, execute body: @escaping (T) throws -> (Promise<U>, Promise<V>, Promise<X>, Promise<Y>)) -> Promise<(U, V, X, Y)> {
-        return then(on: q, execute: body) { when(fulfilled: $0.0, $0.1, $0.2, $0.3) }
-    }
-
-    /// This variant of `then` allows returning a tuple of promises within provided closure.
-    public func then<U, V, X, Y, Z>(on q: DispatchQueue = .default, execute body: @escaping (T) throws -> (Promise<U>, Promise<V>, Promise<X>, Promise<Y>, Promise<Z>)) -> Promise<(U, V, X, Y, Z)> {
-        return then(on: q, execute: body) { when(fulfilled: $0.0, $0.1, $0.2, $0.3, $0.4) }
-    }
-
-    /// utility function to serve `then` implementations with `body` returning tuple of promises
-    private func then<U, V>(on q: DispatchQueue, execute body: @escaping (T) throws -> V, when: @escaping (V) -> Promise<U>) -> Promise<U> {
-        return Promise<U> { resolve in
-            state.then(on: q, else: resolve) { value in
-                let promise = try body(value)
-
-                // since when(promise) switches to `zalgo`, we have to pipe back to `q`
-                when(promise).state.pipe(on: q, to: resolve)
-            }
-        }
-    }
-
-    /**
-     The provided closure executes when this promise rejects.
-
-     Rejecting a promise cascades: rejecting all subsequent promises (unless
-     recover is invoked) thus you will typically place your catch at the end
-     of a chain. Often utility promises will not have a catch, instead
-     delegating the error handling to the caller.
-
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter policy: The default policy does not execute your handler for cancellation errors.
-     - Parameter execute: The handler to execute if this promise is rejected.
-     - Returns: `self`
-     - SeeAlso: [Cancellation](http://promisekit.org/docs/)
-     - Important: The promise that is returned is `self`. `catch` cannot affect the chain, in PromiseKit 3 no promise was returned to strongly imply this, however for PromiseKit 4 we started returning a promise so that you can `always` after a catch or return from a function that has an error handler.
-     */
-    @discardableResult
-    public func `catch`(on q: DispatchQueue = .default, policy: CatchPolicy = .allErrorsExceptCancellation, execute body: @escaping (Error) -> Void) -> Promise {
-        state.catch(on: q, policy: policy, else: { _ in }, execute: body)
-        return self
-    }
-
-    /**
-     The provided closure executes when this promise rejects.
-     
-     Unlike `catch`, `recover` continues the chain provided the closure does not throw. Use `recover` in circumstances where recovering the chain from certain errors is a possibility. For example:
-     
-         CLLocationManager.promise().recover { error in
-             guard error == CLError.unknownLocation else { throw error }
-             return CLLocation.Chicago
-         }
-
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter policy: The default policy does not execute your handler for cancellation errors.
-     - Parameter execute: The handler to execute if this promise is rejected.
-     - SeeAlso: [Cancellation](http://promisekit.org/docs/)
-     */
-    public func recover(on q: DispatchQueue = .default, policy: CatchPolicy = .allErrorsExceptCancellation, execute body: @escaping (Error) throws -> Promise) -> Promise {
-        var resolve: ((Resolution<T>) -> Void)!
-        let rv = Promise{ resolve = $0 }
-        state.catch(on: q, policy: policy, else: resolve) { error in
-            let promise = try body(error)
-            guard promise !== rv else { throw PMKError.returnedSelf }
-            promise.state.pipe(resolve)
-        }
-        return rv
-    }
-
-    /**
-     The provided closure executes when this promise rejects.
-
-     Unlike `catch`, `recover` continues the chain provided the closure does not throw. Use `recover` in circumstances where recovering the chain from certain errors is a possibility. For example:
-
-         CLLocationManager.promise().recover { error in
-             guard error == CLError.unknownLocation else { throw error }
-             return CLLocation.Chicago
-         }
-
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter policy: The default policy does not execute your handler for cancellation errors.
-     - Parameter execute: The handler to execute if this promise is rejected.
-     - SeeAlso: [Cancellation](http://promisekit.org/docs/)
-     */
-    public func recover(on q: DispatchQueue = .default, policy: CatchPolicy = .allErrorsExceptCancellation, execute body: @escaping (Error) throws -> T) -> Promise {
-        return Promise { resolve in
-            state.catch(on: q, policy: policy, else: resolve) { error in
-                resolve(.fulfilled(try body(error)))
-            }
-        }
-    }
-
-    /**
-     The provided closure executes when this promise resolves.
-
-         firstly {
-             UIApplication.shared.networkActivityIndicatorVisible = true
-         }.then {
-             //…
-         }.always {
-             UIApplication.shared.networkActivityIndicatorVisible = false
-         }.catch {
-             //…
-         }
-
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter execute: The closure that executes when this promise resolves.
-     - Returns: A new promise, resolved with this promise’s resolution.
-     */
-	@discardableResult
-    public func always(on q: DispatchQueue = .default, execute body: @escaping () -> Void) -> Promise {
-        state.always(on: q) { resolution in
-            body()
-        }
-        return self
-    }
-
-    /**
-     Allows you to “tap” into a promise chain and inspect its result.
-     
-     The function you provide cannot mutate the chain.
- 
-         URLSession.GET(/*…*/).tap { result in
-             print(result)
-         }
-
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter execute: The closure that executes when this promise resolves.
-     - Returns: A new promise, resolved with this promise’s resolution.
-     */
-    @discardableResult
-    public func tap(on q: DispatchQueue = .default, execute body: @escaping (Result<T>) -> Void) -> Promise {
-        state.always(on: q) { resolution in
-            body(Result(resolution))
-        }
-        return self
-    }
-
-    /**
-     Void promises are less prone to generics-of-doom scenarios.
-     - SeeAlso: when.swift contains enlightening examples of using `Promise<Void>` to simplify your code.
-     */
-    public func asVoid() -> Promise<Void> {
-        return then(on: zalgo) { _ in return }
-    }
-
-//MARK: deprecations
-
-    @available(*, unavailable, renamed: "always()")
-    public func finally(on: DispatchQueue = DispatchQueue.main, execute body: () -> Void) -> Promise { fatalError() }
-
-    @available(*, unavailable, renamed: "always()")
-    public func ensure(on: DispatchQueue = DispatchQueue.main, execute body: () -> Void) -> Promise { fatalError() }
-
-    @available(*, unavailable, renamed: "pending()")
-    public class func `defer`() -> PendingTuple { fatalError() }
-
-    @available(*, unavailable, renamed: "pending()")
-    public class func `pendingPromise`() -> PendingTuple { fatalError() }
-
-    @available(*, unavailable, message: "deprecated: use then(on: .global())")
-    public func thenInBackground<U>(execute body: (T) throws -> U) -> Promise<U> { fatalError() }
-
-    @available(*, unavailable, renamed: "catch")
-    public func onError(policy: CatchPolicy = .allErrors, execute body: (Error) -> Void) { fatalError() }
-
-    @available(*, unavailable, renamed: "catch")
-    public func errorOnQueue(_ on: DispatchQueue, policy: CatchPolicy = .allErrors, execute body: (Error) -> Void) { fatalError() }
-
-    @available(*, unavailable, renamed: "catch")
-    public func error(policy: CatchPolicy, execute body: (Error) -> Void) { fatalError() }
-
-    @available(*, unavailable, renamed: "catch")
-    public func report(policy: CatchPolicy = .allErrors, execute body: (Error) -> Void) { fatalError() }
-
-    @available(*, unavailable, renamed: "init(value:)")
-    public init(_ value: T) { fatalError() }
-
-//MARK: disallow `Promise<Error>`
-
-    @available(*, unavailable, message: "cannot instantiate Promise<Error>")
-    public init<T: Error>(resolvers: (_ fulfill: (T) -> Void, _ reject: (Error) -> Void) throws -> Void) { fatalError() }
-
-    @available(*, unavailable, message: "cannot instantiate Promise<Error>")
-    public class func pending<T: Error>() -> (promise: Promise, fulfill: (T) -> Void, reject: (Error) -> Void) { fatalError() }
-
-//MARK: disallow returning `Error`
-
-    @available (*, unavailable, message: "instead of returning the error; throw")
-    public func then<U: Error>(on: DispatchQueue = .default, execute body: (T) throws -> U) -> Promise<U> { fatalError() }
-
-    @available (*, unavailable, message: "instead of returning the error; throw")
-    public func recover<T: Error>(on: DispatchQueue = .default, execute body: (Error) throws -> T) -> Promise { fatalError() }
-
-//MARK: disallow returning `Promise?`
-
-    @available(*, unavailable, message: "unwrap the promise")
-    public func then<U>(on: DispatchQueue = .default, execute body: (T) throws -> Promise<U>?) -> Promise<U> { fatalError() }
-
-    @available(*, unavailable, message: "unwrap the promise")
-    public func recover(on: DispatchQueue = .default, execute body: (Error) throws -> Promise?) -> Promise { fatalError() }
-}
-
-extension Promise: CustomStringConvertible {
-    public var description: String {
-        return "Promise: \(state)"
-    }
-}
-
-/**
- Judicious use of `firstly` *may* make chains more readable.
-
- Compare:
-
-     URLSession.GET(url1).then {
-         URLSession.GET(url2)
-     }.then {
-         URLSession.GET(url3)
-     }
-
- With:
-
-     firstly {
-         URLSession.GET(url1)
-     }.then {
-         URLSession.GET(url2)
-     }.then {
-         URLSession.GET(url3)
-     }
- */
-public func firstly<T>(execute body: () throws -> Promise<T>) -> Promise<T> {
-    return firstly(execute: body) { $0 }
-}
-
-/**
- Judicious use of `firstly` *may* make chains more readable.
- Firstly allows to return tuple of promises
-
- Compare:
-
-     when(fulfilled: URLSession.GET(url1), URLSession.GET(url2)).then {
-         URLSession.GET(url3)
-     }.then {
-         URLSession.GET(url4)
-     }
-
- With:
-
-     firstly {
-         (URLSession.GET(url1), URLSession.GET(url2))
-     }.then { _, _ in
-         URLSession.GET(url2)
-     }.then {
-         URLSession.GET(url3)
-     }
-
- - Note: At maximum 5 promises may be returned in a tuple
- - Note: If *any* of the tuple-provided promises reject, the returned promise is immediately rejected with that error.
- */
-public func firstly<T, U>(execute body: () throws -> (Promise<T>, Promise<U>)) -> Promise<(T, U)> {
-    return firstly(execute: body) { when(fulfilled: $0.0, $0.1) }
-}
-
-/// Firstly allows to return tuple of promises
-public func firstly<T, U, V>(execute body: () throws -> (Promise<T>, Promise<U>, Promise<V>)) -> Promise<(T, U, V)> {
-    return firstly(execute: body) { when(fulfilled: $0.0, $0.1, $0.2) }
-}
-
-/// Firstly allows to return tuple of promises
-public func firstly<T, U, V, W>(execute body: () throws -> (Promise<T>, Promise<U>, Promise<V>, Promise<W>)) -> Promise<(T, U, V, W)> {
-    return firstly(execute: body) { when(fulfilled: $0.0, $0.1, $0.2, $0.3) }
-}
-
-/// Firstly allows to return tuple of promises
-public func firstly<T, U, V, W, X>(execute body: () throws -> (Promise<T>, Promise<U>, Promise<V>, Promise<W>, Promise<X>)) -> Promise<(T, U, V, W, X)> {
-    return firstly(execute: body) { when(fulfilled: $0.0, $0.1, $0.2, $0.3, $0.4) }
-}
-
-/// utility function to serve `firstly` implementations with `body` returning tuple of promises
-fileprivate func firstly<U, V>(execute body: () throws -> V, when: (V) -> Promise<U>) -> Promise<U> {
-    do {
-        return when(try body())
-    } catch {
-        return Promise(error: error)
-    }
-}
-
-@available(*, unavailable, message: "instead of returning the error; throw")
-public func firstly<T: Error>(execute body: () throws -> T) -> Promise<T> { fatalError() }
-
-@available(*, unavailable, message: "use DispatchQueue.promise")
-public func firstly<T>(on: DispatchQueue, execute body: () throws -> Promise<T>) -> Promise<T> { fatalError() }
-
-/**
- - SeeAlso: `DispatchQueue.promise(group:qos:flags:execute:)`
- */
-@available(*, deprecated: 4.0, renamed: "DispatchQueue.promise")
-public func dispatch_promise<T>(_ on: DispatchQueue, _ body: @escaping () throws -> T) -> Promise<T> {
-    return Promise(value: ()).then(on: on, execute: body)
-}
-
-
-/**
- The underlying resolved state of a promise.
- - Remark: Same as `Resolution<T>` but without the associated `ErrorConsumptionToken`.
-*/
-public enum Result<T> {
-    /// Fulfillment
-    case fulfilled(T)
-    /// Rejection
-    case rejected(Error)
-
-    init(_ resolution: Resolution<T>) {
-        switch resolution {
-        case .fulfilled(let value):
-            self = .fulfilled(value)
-        case .rejected(let error, _):
-            self = .rejected(error)
-        }
-    }
-
-    /**
-     - Returns: `true` if the result is `fulfilled` or `false` if it is `rejected`.
-     */
-    public var boolValue: Bool {
-        switch self {
-        case .fulfilled:
-            return true
-        case .rejected:
-            return false
-        }
-    }
-}
-
-/**
- An object produced by `Promise.joint()`, along with a promise to which it is bound.
-
- Joining with a promise via `Promise.join(_:)` will pipe the resolution of that promise to
- the joint's bound promise.
-
- - SeeAlso: `Promise.joint()`
- - SeeAlso: `Promise.join(_:)`
- */
-public class PMKJoint<T> {
-    fileprivate var resolve: ((Resolution<T>) -> Void)!
-}
-
-extension Promise {
-    /**
-     Provides a safe way to instantiate a `Promise` and resolve it later via its joint and another
-     promise.
-
-         class Engine {
-            static func make() -> Promise<Engine> {
-                let (enginePromise, joint) = Promise<Engine>.joint()
-                let cylinder: Cylinder = Cylinder(explodeAction: {
-
-                    // We *could* use an IUO, but there are no guarantees about when
-                    // this callback will be called. Having an actual promise is safe.
-
-                    enginePromise.then { engine in
-                        engine.checkOilPressure()
-                    }
-                })
-
-                firstly {
-                    Ignition.default.start()
-                }.then { plugs in
-                    Engine(cylinders: [cylinder], sparkPlugs: plugs)
-                }.join(joint)
-
-                return enginePromise
-            }
-         }
-
-     - Returns: A new promise and its joint.
-     - SeeAlso: `Promise.join(_:)`
-     */
-    public final class func joint() -> (Promise<T>, PMKJoint<T>) {
-        let pipe = PMKJoint<T>()
-        let promise = Promise(sealant: { pipe.resolve = $0 })
-        return (promise, pipe)
-    }
-
-    /**
-     Pipes the value of this promise to the promise created with the joint.
-
-     - Parameter joint: The joint on which to join.
-     - SeeAlso: `Promise.joint()`
-     */
-    public func join(_ joint: PMKJoint<T>) {
-        state.pipe(joint.resolve)
-    }
-}
-
-
-extension Promise where T: Collection {
-    /**
-     Transforms a `Promise` where `T` is a `Collection` into a `Promise<[U]>`
-
-         URLSession.shared.dataTask(url: /*…*/).asArray().map { result in
-             return download(result)
-         }.then { images in
-             // images is `[UIImage]`
-         }
-
-     - Parameter on: The queue to which the provided closure dispatches.
-     - Parameter transform: The closure that executes when this promise resolves.
-     - Returns: A new promise, resolved with this promise’s resolution.
-     */
-    public func map<U>(on: DispatchQueue = .default, transform: @escaping (T.Iterator.Element) throws -> Promise<U>) -> Promise<[U]> {
-        return Promise<[U]> { resolve in
-            return state.then(on: zalgo, else: resolve) { tt in
-                when(fulfilled: try tt.map(transform)).state.pipe(resolve)
-            }
-        }
-    }
-}
-
-
-#if swift(>=3.1)
-public extension Promise where T == Void {
-    convenience init() {
-        self.init(value: ())
-    }
-}
-#endif
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/State.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/State.swift
deleted file mode 100644
index cc1a19ce700..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/State.swift
+++ /dev/null
@@ -1,219 +0,0 @@
-import class Dispatch.DispatchQueue
-import func Foundation.NSLog
-
-enum Seal<T> {
-    case pending(Handlers<T>)
-    case resolved(Resolution<T>)
-}
-
-enum Resolution<T> {
-    case fulfilled(T)
-    case rejected(Error, ErrorConsumptionToken)
-
-    init(_ error: Error) {
-        self = .rejected(error, ErrorConsumptionToken(error))
-    }
-}
-
-class State<T> {
-
-    // would be a protocol, but you can't have typed variables of “generic”
-    // protocols in Swift 2. That is, I couldn’t do var state: State<R> when
-    // it was a protocol. There is no work around. Update: nor Swift 3
-
-    func get() -> Resolution<T>? { fatalError("Abstract Base Class") }
-    func get(body: @escaping (Seal<T>) -> Void) { fatalError("Abstract Base Class") }
-
-    final func pipe(_ body: @escaping (Resolution<T>) -> Void) {
-        get { seal in
-            switch seal {
-            case .pending(let handlers):
-                handlers.append(body)
-            case .resolved(let resolution):
-                body(resolution)
-            }
-        }
-    }
-
-    final func pipe(on q: DispatchQueue, to body: @escaping (Resolution<T>) -> Void) {
-        pipe { resolution in
-            contain_zalgo(q) {
-                body(resolution)
-            }
-        }
-    }
-
-    final func then<U>(on q: DispatchQueue, else rejecter: @escaping (Resolution<U>) -> Void, execute body: @escaping (T) throws -> Void) {
-        pipe { resolution in
-            switch resolution {
-            case .fulfilled(let value):
-                contain_zalgo(q, rejecter: rejecter) {
-                    try body(value)
-                }
-            case .rejected(let error, let token):
-                rejecter(.rejected(error, token))
-            }
-        }
-    }
-
-    final func always(on q: DispatchQueue, body: @escaping (Resolution<T>) -> Void) {
-        pipe { resolution in
-            contain_zalgo(q) {
-                body(resolution)
-            }
-        }
-    }
-
-    final func `catch`(on q: DispatchQueue, policy: CatchPolicy, else resolve: @escaping (Resolution<T>) -> Void, execute body: @escaping (Error) throws -> Void) {
-        pipe { resolution in
-            switch (resolution, policy) {
-            case (.fulfilled, _):
-                resolve(resolution)
-            case (.rejected(let error, _), .allErrorsExceptCancellation) where error.isCancelledError:
-                resolve(resolution)
-            case (let .rejected(error, token), _):
-                contain_zalgo(q, rejecter: resolve) {
-                    token.consumed = true
-                    try body(error)
-                }
-            }
-        }
-    }
-}
-
-class UnsealedState<T>: State<T> {
-    private let barrier = DispatchQueue(label: "org.promisekit.barrier", attributes: .concurrent)
-    private var seal: Seal<T>
-
-    /**
-     Quick return, but will not provide the handlers array because
-     it could be modified while you are using it by another thread.
-     If you need the handlers, use the second `get` variant.
-     */
-    override func get() -> Resolution<T>? {
-        var result: Resolution<T>?
-        barrier.sync {
-            if case .resolved(let resolution) = self.seal {
-                result = resolution
-            }
-        }
-        return result
-    }
-
-    override func get(body: @escaping (Seal<T>) -> Void) {
-        var sealed = false
-        barrier.sync {
-            switch self.seal {
-            case .resolved:
-                sealed = true
-            case .pending:
-                sealed = false
-            }
-        }
-        if !sealed {
-            barrier.sync(flags: .barrier) {
-                switch (self.seal) {
-                case .pending:
-                    body(self.seal)
-                case .resolved:
-                    sealed = true  // welcome to race conditions
-                }
-            }
-        }
-        if sealed {
-            body(seal)  // as much as possible we do things OUTSIDE the barrier_sync
-        }
-    }
-
-    required init(resolver: inout ((Resolution<T>) -> Void)!) {
-        seal = .pending(Handlers<T>())
-        super.init()
-        resolver = { resolution in
-            var handlers: Handlers<T>?
-            self.barrier.sync(flags: .barrier) {
-                if case .pending(let hh) = self.seal {
-                    self.seal = .resolved(resolution)
-                    handlers = hh
-                }
-            }
-            if let handlers = handlers {
-                for handler in handlers {
-                    handler(resolution)
-                }
-            }
-        }
-    }
-#if !PMKDisableWarnings
-    deinit {
-        if case .pending = seal {
-            NSLog("PromiseKit: Pending Promise deallocated! This is usually a bug")
-        }
-    }
-#endif
-}
-
-class SealedState<T>: State<T> {
-    fileprivate let resolution: Resolution<T>
-    
-    init(resolution: Resolution<T>) {
-        self.resolution = resolution
-    }
-    
-    override func get() -> Resolution<T>? {
-        return resolution
-    }
-
-    override func get(body: @escaping (Seal<T>) -> Void) {
-        body(.resolved(resolution))
-    }
-}
-
-
-class Handlers<T>: Sequence {
-    var bodies: [(Resolution<T>) -> Void] = []
-
-    func append(_ body: @escaping (Resolution<T>) -> Void) {
-        bodies.append(body)
-    }
-
-    func makeIterator() -> IndexingIterator<[(Resolution<T>) -> Void]> {
-        return bodies.makeIterator()
-    }
-
-    var count: Int {
-        return bodies.count
-    }
-}
-
-
-extension Resolution: CustomStringConvertible {
-    var description: String {
-        switch self {
-        case .fulfilled(let value):
-            return "Fulfilled with value: \(value)"
-        case .rejected(let error):
-            return "Rejected with error: \(error)"
-        }
-    }
-}
-
-extension UnsealedState: CustomStringConvertible {
-    var description: String {
-        var rv: String!
-        get { seal in
-            switch seal {
-            case .pending(let handlers):
-                rv = "Pending with \(handlers.count) handlers"
-            case .resolved(let resolution):
-                rv = "\(resolution)"
-            }
-        }
-        return "UnsealedState: \(rv)"
-    }
-}
-
-extension SealedState: CustomStringConvertible {
-    var description: String {
-        return "SealedState: \(resolution)"
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Zalgo.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Zalgo.swift
deleted file mode 100644
index e191df10d69..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/Zalgo.swift
+++ /dev/null
@@ -1,80 +0,0 @@
-import class Dispatch.DispatchQueue
-import class Foundation.Thread
-
-/**
- `zalgo` causes your handlers to be executed as soon as their promise resolves.
-
- Usually all handlers are dispatched to a queue (the main queue by default); the `on:` parameter of `then` configures this. Its default value is `DispatchQueue.main`.
-
- - Important: `zalgo` is dangerous.
-
-    Compare:
-
-       var x = 0
-       foo.then {
-           print(x)  // => 1
-       }
-       x++
-
-    With:
-
-       var x = 0
-       foo.then(on: zalgo) {
-           print(x)  // => 0 or 1
-       }
-       x++
- 
-    In the latter case the value of `x` may be `0` or `1` depending on whether `foo` is resolved. This is a race-condition that is easily avoided by not using `zalgo`.
-
- - Important: you cannot control the queue that your handler executes if using `zalgo`.
-
- - Note: `zalgo` is provided for libraries providing promises that have good tests that prove “Unleashing Zalgo” is safe. You can also use it in your application code in situations where performance is critical, but be careful: read the essay liked below to understand the risks.
-
- - SeeAlso: [Designing APIs for Asynchrony](http://blog.izs.me/post/59142742143/designing-apis-for-asynchrony)
- - SeeAlso: `waldo`
- */
-public let zalgo = DispatchQueue(label: "Zalgo")
-
-/**
- `waldo` is dangerous.
-
- `waldo` is `zalgo`, unless the current queue is the main thread, in which
- case we dispatch to the default background queue.
-
- If your block is likely to take more than a few milliseconds to execute,
- then you should use waldo: 60fps means the main thread cannot hang longer
- than 17 milliseconds: don’t contribute to UI lag.
-
- Conversely if your then block is trivial, use zalgo: GCD is not free and
- for whatever reason you may already be on the main thread so just do what
- you are doing quickly and pass on execution.
-
- It is considered good practice for asynchronous APIs to complete onto the
- main thread. Apple do not always honor this, nor do other developers.
- However, they *should*. In that respect waldo is a good choice if your
- then is going to take some time and doesn’t interact with the UI.
-
- Please note (again) that generally you should not use `zalgo` or `waldo`.
- The performance gains are negligible and we provide these functions only out
- of a misguided sense that library code should be as optimized as possible.
- If you use either without tests proving their correctness you may
- unwillingly introduce horrendous, near-impossible-to-trace bugs.
-
- - SeeAlso: `zalgo`
- */
-public let waldo = DispatchQueue(label: "Waldo")
-
-
-@inline(__always) func contain_zalgo(_ q: DispatchQueue, body: @escaping () -> Void) {
-    if q === zalgo || q === waldo && !Thread.isMainThread {
-        body()
-    } else {
-        q.async(execute: body)
-    }
-}
-
-@inline(__always) func contain_zalgo<T>(_ q: DispatchQueue, rejecter reject: @escaping (Resolution<T>) -> Void, block: @escaping () throws -> Void) {
-    contain_zalgo(q) {
-        do { try block() } catch { reject(Resolution(error)) }
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/fwd.h b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/fwd.h
deleted file mode 100644
index 825f47831bb..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/fwd.h
+++ /dev/null
@@ -1,240 +0,0 @@
-#import <Foundation/NSDate.h>
-#import <dispatch/dispatch.h>
-
-@class AnyPromise;
-extern NSString * __nonnull const PMKErrorDomain;
-
-#define PMKFailingPromiseIndexKey @"PMKFailingPromiseIndexKey"
-#define PMKJoinPromisesKey @"PMKJoinPromisesKey"
-
-#define PMKUnexpectedError 1l
-#define PMKInvalidUsageError 3l
-#define PMKAccessDeniedError 4l
-#define PMKOperationCancelled 5l
-#define PMKOperationFailed 8l
-#define PMKTaskError 9l
-#define PMKJoinError 10l
-
-
-#if __cplusplus
-extern "C" {
-#endif
-
-/**
- @return A new promise that resolves after the specified duration.
-
- @parameter duration The duration in seconds to wait before this promise is resolve.
-
- For example:
-
-    PMKAfter(1).then(^{
-        //…
-    });
-*/
-extern AnyPromise * __nonnull PMKAfter(NSTimeInterval duration) NS_REFINED_FOR_SWIFT;
-
-
-
-/**
- `when` is a mechanism for waiting more than one asynchronous task and responding when they are all complete.
-
- `PMKWhen` accepts varied input. If an array is passed then when those promises fulfill, when’s promise fulfills with an array of fulfillment values. If a dictionary is passed then the same occurs, but when’s promise fulfills with a dictionary of fulfillments keyed as per the input.
-
- Interestingly, if a single promise is passed then when waits on that single promise, and if a single non-promise object is passed then when fulfills immediately with that object. If the array or dictionary that is passed contains objects that are not promises, then these objects are considered fulfilled promises. The reason we do this is to allow a pattern know as "abstracting away asynchronicity".
-
- If *any* of the provided promises reject, the returned promise is immediately rejected with that promise’s rejection. The error’s `userInfo` object is supplemented with `PMKFailingPromiseIndexKey`.
-
- For example:
-
-    PMKWhen(@[promise1, promise2]).then(^(NSArray *results){
-        //…
-    });
-
- @warning *Important* In the event of rejection the other promises will continue to resolve and as per any other promise will either fulfill or reject. This is the right pattern for `getter` style asynchronous tasks, but often for `setter` tasks (eg. storing data on a server), you most likely will need to wait on all tasks and then act based on which have succeeded and which have failed. In such situations use `PMKJoin`.
-
- @param input The input upon which to wait before resolving this promise.
-
- @return A promise that is resolved with either:
-
-  1. An array of values from the provided array of promises.
-  2. The value from the provided promise.
-  3. The provided non-promise object.
-
- @see PMKJoin
-
-*/
-extern AnyPromise * __nonnull PMKWhen(id __nonnull input) NS_REFINED_FOR_SWIFT;
-
-
-
-/**
- Creates a new promise that resolves only when all provided promises have resolved.
-
- Typically, you should use `PMKWhen`.
-
- For example:
-
-    PMKJoin(@[promise1, promise2]).then(^(NSArray *resultingValues){
-        //…
-    }).catch(^(NSError *error){
-        assert(error.domain == PMKErrorDomain);
-        assert(error.code == PMKJoinError);
-
-        NSArray *promises = error.userInfo[PMKJoinPromisesKey];
-        for (AnyPromise *promise in promises) {
-            if (promise.rejected) {
-                //…
-            }
-        }
-    });
-
- @param promises An array of promises.
-
- @return A promise that thens three parameters:
-
-  1) An array of mixed values and errors from the resolved input.
-  2) An array of values from the promises that fulfilled.
-  3) An array of errors from the promises that rejected or nil if all promises fulfilled.
-
- @see when
-*/
-AnyPromise *__nonnull PMKJoin(NSArray * __nonnull promises) NS_REFINED_FOR_SWIFT;
-
-
-
-/**
- Literally hangs this thread until the promise has resolved.
- 
- Do not use hang… unless you are testing, playing or debugging.
- 
- If you use it in production code I will literally and honestly cry like a child.
- 
- @return The resolved value of the promise.
-
- @warning T SAFE. IT IS NOT SAFE. IT IS NOT SAFE. IT IS NOT SAFE. IT IS NO
-*/
-extern id __nullable PMKHang(AnyPromise * __nonnull promise);
-
-
-
-/**
- Sets the unhandled exception handler.
-
- If an exception is thrown inside an AnyPromise handler it is caught and
- this handler is executed to determine if the promise is rejected.
- 
- The default handler rejects the promise if an NSError or an NSString is
- thrown.
- 
- The default handler in PromiseKit 1.x would reject whatever object was
- thrown (including nil).
-
- @warning *Important* This handler is provided to allow you to customize
- which exceptions cause rejection and which abort. You should either
- return a fully-formed NSError object or nil. Returning nil causes the
- exception to be re-thrown.
-
- @warning *Important* The handler is executed on an undefined queue.
-
- @warning *Important* This function is thread-safe, but to facilitate this
- it can only be called once per application lifetime and it must be called
- before any promise in the app throws an exception. Subsequent calls will
- silently fail.
-*/
-extern void PMKSetUnhandledExceptionHandler(NSError * __nullable (^__nonnull handler)(id __nullable));
-
-/**
- If an error cascades through a promise chain and is not handled by any
- `catch`, the unhandled error handler is called. The default logs all
- non-cancelled errors.
-
- This handler can only be set once, and must be set before any promises
- are rejected in your application.
-
-     PMKSetUnhandledErrorHandler({ error in
-        mylogf("Unhandled error: \(error)")
-     })
-
- - Warning: *Important* The handler is executed on an undefined queue.
- - Warning: *Important* Don’t use promises in your handler, or you risk an infinite error loop.
-*/
-extern void PMKSetUnhandledErrorHandler(void (^__nonnull handler)(NSError * __nonnull));
-
-extern void PMKUnhandledErrorHandler(NSError * __nonnull error);
-
-/**
- Executes the provided block on a background queue.
-
- dispatch_promise is a convenient way to start a promise chain where the
- first step needs to run synchronously on a background queue.
-
-    dispatch_promise(^{
-        return md5(input);
-    }).then(^(NSString *md5){
-        NSLog(@"md5: %@", md5);
-    });
-
- @param block The block to be executed in the background. Returning an `NSError` will reject the promise, everything else (including void) fulfills the promise.
-
- @return A promise resolved with the return value of the provided block.
-
- @see dispatch_async
-*/
-extern AnyPromise * __nonnull dispatch_promise(id __nonnull block) NS_SWIFT_UNAVAILABLE("Use our `DispatchQueue.async` override instead");
-
-
-
-/**
- Executes the provided block on the specified background queue.
-
-    dispatch_promise_on(myDispatchQueue, ^{
-        return md5(input);
-    }).then(^(NSString *md5){
-        NSLog(@"md5: %@", md5);
-    });
-
- @param block The block to be executed in the background. Returning an `NSError` will reject the promise, everything else (including void) fulfills the promise.
-
- @return A promise resolved with the return value of the provided block.
-
- @see dispatch_promise
-*/
-extern AnyPromise * __nonnull dispatch_promise_on(dispatch_queue_t __nonnull queue, id __nonnull block) NS_SWIFT_UNAVAILABLE("Use our `DispatchQueue.async` override instead");
-
-
-#define PMKJSONDeserializationOptions ((NSJSONReadingOptions)(NSJSONReadingAllowFragments | NSJSONReadingMutableContainers))
-
-/**
- Really we shouldn’t assume JSON for (application|text)/(x-)javascript,
- really we should return a String of Javascript. However in practice
- for the apps we write it *will be* JSON. Thus if you actually want
- a Javascript String, use the promise variant of our category functions.
-*/
-#define PMKHTTPURLResponseIsJSON(rsp) [@[@"application/json", @"text/json", @"text/javascript", @"application/x-javascript", @"application/javascript"] containsObject:[rsp MIMEType]]
-#define PMKHTTPURLResponseIsImage(rsp) [@[@"image/tiff", @"image/jpeg", @"image/gif", @"image/png", @"image/ico", @"image/x-icon", @"image/bmp", @"image/x-bmp", @"image/x-xbitmap", @"image/x-win-bitmap"] containsObject:[rsp MIMEType]]
-#define PMKHTTPURLResponseIsText(rsp) [[rsp MIMEType] hasPrefix:@"text/"]
-
-/**
- The default queue for all calls to `then`, `catch` etc. is the main queue.
-
- By default this returns dispatch_get_main_queue()
- */
-extern __nonnull dispatch_queue_t PMKDefaultDispatchQueue(void) NS_REFINED_FOR_SWIFT;
-
-/**
- You may alter the default dispatch queue, but you may only alter it once, and you must alter it before any `then`, etc. calls are made in your app.
- 
- The primary motivation for this function is so that your tests can operate off the main thread preventing dead-locking, or with `zalgo` to speed them up.
-*/
-extern void PMKSetDefaultDispatchQueue(__nonnull dispatch_queue_t) NS_REFINED_FOR_SWIFT;
-
-#if __cplusplus
-}   // Extern C
-#endif
-
-
-typedef NS_OPTIONS(NSInteger, PMKAnimationOptions) {
-    PMKAnimationOptionsNone = 1 << 0,
-    PMKAnimationOptionsAppear = 1 << 1,
-    PMKAnimationOptionsDisappear = 1 << 2,
-};
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/join.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/join.swift
deleted file mode 100644
index 8ff69b2c2c0..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/join.swift
+++ /dev/null
@@ -1,60 +0,0 @@
-import Dispatch
-
-/**
- Waits on all provided promises.
-
- `when` rejects as soon as one of the provided promises rejects. `join` waits on all provided promises, then rejects if any of those promises rejected, otherwise it fulfills with values from the provided promises.
-
-     join(promise1, promise2, promise3).then { results in
-         //…
-     }.catch { error in
-         switch error {
-         case Error.Join(let promises):
-             //…
-         }
-     }
-
- - Returns: A new promise that resolves once all the provided promises resolve.
- - SeeAlso: `PromiseKit.Error.join`
-*/
-@available(*, deprecated: 4.0, message: "Use when(resolved:)")
-public func join<T>(_ promises: Promise<T>...) -> Promise<[T]> {
-    return join(promises)
-}
-
-/// Waits on all provided promises.
-@available(*, deprecated: 4.0, message: "Use when(resolved:)")
-public func join(_ promises: [Promise<Void>]) -> Promise<Void> {
-    return join(promises).then(on: zalgo) { (_: [Void]) in return Promise(value: ()) }
-}
-
-/// Waits on all provided promises.
-@available(*, deprecated: 4.0, message: "Use when(resolved:)")
-public func join<T>(_ promises: [Promise<T>]) -> Promise<[T]> {
-    guard !promises.isEmpty else { return Promise(value: []) }
-  
-    var countdown = promises.count
-    let barrier = DispatchQueue(label: "org.promisekit.barrier.join", attributes: .concurrent)
-    var rejected = false
-
-    return Promise { fulfill, reject in
-        for promise in promises {
-            promise.state.pipe { resolution in
-                barrier.sync(flags: .barrier) {
-                    if case .rejected(_, let token) = resolution {
-                        token.consumed = true  // the parent Error.Join consumes all
-                        rejected = true
-                    }
-                    countdown -= 1
-                    if countdown == 0 {
-                        if rejected {
-                            reject(PMKError.join(promises))
-                        } else {
-                            fulfill(promises.map{ $0.value! })
-                        }
-                    }
-                }
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/when.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/when.swift
deleted file mode 100644
index 41943b88b78..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/when.swift
+++ /dev/null
@@ -1,257 +0,0 @@
-import Foundation
-import Dispatch
-
-private func _when<T>(_ promises: [Promise<T>]) -> Promise<Void> {
-    let root = Promise<Void>.pending()
-    var countdown = promises.count
-    guard countdown > 0 else {
-      #if swift(>=4.0)
-        root.fulfill(())
-      #else
-        root.fulfill()
-      #endif
-        return root.promise
-    }
-
-#if PMKDisableProgress || os(Linux)
-    var progress: (completedUnitCount: Int, totalUnitCount: Int) = (0, 0)
-#else
-    let progress = Progress(totalUnitCount: Int64(promises.count))
-    progress.isCancellable = false
-    progress.isPausable = false
-#endif
-
-    let barrier = DispatchQueue(label: "org.promisekit.barrier.when", attributes: .concurrent)
-
-    for promise in promises {
-        promise.state.pipe { resolution in
-            barrier.sync(flags: .barrier) {
-                switch resolution {
-                case .rejected(let error, let token):
-                    token.consumed = true
-                    if root.promise.isPending {
-                        progress.completedUnitCount = progress.totalUnitCount
-                        root.reject(error)
-                    }
-                case .fulfilled:
-                    guard root.promise.isPending else { return }
-                    progress.completedUnitCount += 1
-                    countdown -= 1
-                    if countdown == 0 {
-                      #if swift(>=4.0)
-                        root.fulfill(())
-                      #else
-                        root.fulfill()
-                      #endif
-                    }
-                }
-            }
-        }
-    }
-
-    return root.promise
-}
-
-/**
- Wait for all promises in a set to fulfill.
-
- For example:
-
-     when(fulfilled: promise1, promise2).then { results in
-         //…
-     }.catch { error in
-         switch error {
-         case URLError.notConnectedToInternet:
-             //…
-         case CLError.denied:
-             //…
-         }
-     }
-
- - Note: If *any* of the provided promises reject, the returned promise is immediately rejected with that error.
- - Warning: In the event of rejection the other promises will continue to resolve and, as per any other promise, will either fulfill or reject. This is the right pattern for `getter` style asynchronous tasks, but often for `setter` tasks (eg. storing data on a server), you most likely will need to wait on all tasks and then act based on which have succeeded and which have failed, in such situations use `when(resolved:)`.
- - Parameter promises: The promises upon which to wait before the returned promise resolves.
- - Returns: A new promise that resolves when all the provided promises fulfill or one of the provided promises rejects.
- - Note: `when` provides `NSProgress`.
- - SeeAlso: `when(resolved:)`
-*/
-public func when<T>(fulfilled promises: [Promise<T>]) -> Promise<[T]> {
-    return _when(promises).then(on: zalgo) { promises.map{ $0.value! } }
-}
-
-/// Wait for all promises in a set to fulfill.
-public func when(fulfilled promises: Promise<Void>...) -> Promise<Void> {
-    return _when(promises)
-}
-
-/// Wait for all promises in a set to fulfill.
-public func when(fulfilled promises: [Promise<Void>]) -> Promise<Void> {
-    return _when(promises)
-}
-
-/// Wait for all promises in a set to fulfill.
-public func when<U, V>(fulfilled pu: Promise<U>, _ pv: Promise<V>) -> Promise<(U, V)> {
-    return _when([pu.asVoid(), pv.asVoid()]).then(on: zalgo) { (pu.value!, pv.value!) }
-}
-
-/// Wait for all promises in a set to fulfill.
-public func when<U, V, W>(fulfilled pu: Promise<U>, _ pv: Promise<V>, _ pw: Promise<W>) -> Promise<(U, V, W)> {
-    return _when([pu.asVoid(), pv.asVoid(), pw.asVoid()]).then(on: zalgo) { (pu.value!, pv.value!, pw.value!) }
-}
-
-/// Wait for all promises in a set to fulfill.
-public func when<U, V, W, X>(fulfilled pu: Promise<U>, _ pv: Promise<V>, _ pw: Promise<W>, _ px: Promise<X>) -> Promise<(U, V, W, X)> {
-    return _when([pu.asVoid(), pv.asVoid(), pw.asVoid(), px.asVoid()]).then(on: zalgo) { (pu.value!, pv.value!, pw.value!, px.value!) }
-}
-
-/// Wait for all promises in a set to fulfill.
-public func when<U, V, W, X, Y>(fulfilled pu: Promise<U>, _ pv: Promise<V>, _ pw: Promise<W>, _ px: Promise<X>, _ py: Promise<Y>) -> Promise<(U, V, W, X, Y)> {
-    return _when([pu.asVoid(), pv.asVoid(), pw.asVoid(), px.asVoid(), py.asVoid()]).then(on: zalgo) { (pu.value!, pv.value!, pw.value!, px.value!, py.value!) }
-}
-
-/**
- Generate promises at a limited rate and wait for all to fulfill.
-
- For example:
- 
-     func downloadFile(url: URL) -> Promise<Data> {
-         // ...
-     }
- 
-     let urls: [URL] = /*…*/
-     let urlGenerator = urls.makeIterator()
-
-     let generator = AnyIterator<Promise<Data>> {
-         guard url = urlGenerator.next() else {
-             return nil
-         }
-
-         return downloadFile(url)
-     }
-
-     when(generator, concurrently: 3).then { datum: [Data] -> Void in
-         // ...
-     }
-
- - Warning: Refer to the warnings on `when(fulfilled:)`
- - Parameter promiseGenerator: Generator of promises.
- - Returns: A new promise that resolves when all the provided promises fulfill or one of the provided promises rejects.
- - SeeAlso: `when(resolved:)`
- */
-
-public func when<T, PromiseIterator: IteratorProtocol>(fulfilled promiseIterator: PromiseIterator, concurrently: Int) -> Promise<[T]> where PromiseIterator.Element == Promise<T> {
-
-    guard concurrently > 0 else {
-        return Promise(error: PMKError.whenConcurrentlyZero)
-    }
-
-    var generator = promiseIterator
-    var root = Promise<[T]>.pending()
-    var pendingPromises = 0
-    var promises: [Promise<T>] = []
-
-    let barrier = DispatchQueue(label: "org.promisekit.barrier.when", attributes: [.concurrent])
-
-    func dequeue() {
-        guard root.promise.isPending else { return }  // don’t continue dequeueing if root has been rejected
-
-        var shouldDequeue = false
-        barrier.sync {
-            shouldDequeue = pendingPromises < concurrently
-        }
-        guard shouldDequeue else { return }
-
-        var index: Int!
-        var promise: Promise<T>!
-
-        barrier.sync(flags: .barrier) {
-            guard let next = generator.next() else { return }
-
-            promise = next
-            index = promises.count
-
-            pendingPromises += 1
-            promises.append(next)
-        }
-
-        func testDone() {
-            barrier.sync {
-                if pendingPromises == 0 {
-                    root.fulfill(promises.flatMap{ $0.value })
-                }
-            }
-        }
-
-        guard promise != nil else {
-            return testDone()
-        }
-
-        promise.state.pipe { resolution in
-            barrier.sync(flags: .barrier) {
-                pendingPromises -= 1
-            }
-
-            switch resolution {
-            case .fulfilled:
-                dequeue()
-                testDone()
-            case .rejected(let error, let token):
-                token.consumed = true
-                root.reject(error)
-            }
-        }
-
-        dequeue()
-    }
-        
-    dequeue()
-
-    return root.promise
-}
-
-/**
- Waits on all provided promises.
-
- `when(fulfilled:)` rejects as soon as one of the provided promises rejects. `when(resolved:)` waits on all provided promises and **never** rejects.
-
-     when(resolved: promise1, promise2, promise3).then { results in
-         for result in results where case .fulfilled(let value) {
-            //…
-         }
-     }.catch { error in
-         // invalid! Never rejects
-     }
-
- - Returns: A new promise that resolves once all the provided promises resolve.
- - Warning: The returned promise can *not* be rejected.
- - Note: Any promises that error are implicitly consumed, your UnhandledErrorHandler will not be called.
-*/
-public func when<T>(resolved promises: Promise<T>...) -> Promise<[Result<T>]> {
-    return when(resolved: promises)
-}
-
-/// Waits on all provided promises.
-public func when<T>(resolved promises: [Promise<T>]) -> Promise<[Result<T>]> {
-    guard !promises.isEmpty else { return Promise(value: []) }
-
-    var countdown = promises.count
-    let barrier = DispatchQueue(label: "org.promisekit.barrier.join", attributes: .concurrent)
-
-    return Promise { fulfill, reject in
-        for promise in promises {
-            promise.state.pipe { resolution in
-                if case .rejected(_, let token) = resolution {
-                    token.consumed = true  // all errors are implicitly consumed
-                }
-                var done = false
-                barrier.sync(flags: .barrier) {
-                    countdown -= 1
-                    done = countdown == 0
-                }
-                if done {
-                    fulfill(promises.map { Result($0.state.get()!) })
-                }
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/wrap.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/wrap.swift
deleted file mode 100644
index 7249df91d3e..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/PromiseKit/Sources/wrap.swift
+++ /dev/null
@@ -1,79 +0,0 @@
-/**
- Create a new pending promise by wrapping another asynchronous system.
-
- This initializer is convenient when wrapping asynchronous systems that
- use common patterns. For example:
-
-     func fetchKitten() -> Promise<UIImage> {
-         return PromiseKit.wrap { resolve in
-             KittenFetcher.fetchWithCompletionBlock(resolve)
-         }
-     }
-
- - SeeAlso: Promise.init(resolvers:)
-*/
-public func wrap<T>(_ body: (@escaping (T?, Error?) -> Void) throws -> Void) -> Promise<T> {
-    return Promise { fulfill, reject in
-        try body { obj, err in
-            if let err = err {
-                reject(err)
-            } else if let obj = obj {
-                fulfill(obj)
-            } else {
-                reject(PMKError.invalidCallingConvention)
-            }
-        }
-    }
-}
-
-/// For completion-handlers that eg. provide an enum or an error.
-public func wrap<T>(_ body: (@escaping (T, Error?) -> Void) throws -> Void) -> Promise<T>  {
-    return Promise { fulfill, reject in
-        try body { obj, err in
-            if let err = err {
-                reject(err)
-            } else {
-                fulfill(obj)
-            }
-        }
-    }
-}
-
-/// Some APIs unwisely invert the Cocoa standard for completion-handlers.
-public func wrap<T>(_ body: (@escaping (Error?, T?) -> Void) throws -> Void) -> Promise<T> {
-    return Promise { fulfill, reject in
-        try body { err, obj in
-            if let err = err {
-                reject(err)
-            } else if let obj = obj {
-                fulfill(obj)
-            } else {
-                reject(PMKError.invalidCallingConvention)
-            }
-        }
-    }
-}
-
-/// For completion-handlers with just an optional Error
-public func wrap(_ body: (@escaping (Error?) -> Void) throws -> Void) -> Promise<Void> {
-    return Promise { fulfill, reject in
-        try body { error in
-            if let error = error {
-                reject(error)
-            } else {
-              #if swift(>=4.0)
-                fulfill(())
-              #else
-                fulfill()
-              #endif
-            }
-        }
-    }
-}
-
-/// For completions that cannot error.
-public func wrap<T>(_ body: (@escaping (T) -> Void) throws -> Void) -> Promise<T> {
-    return Promise { fulfill, _ in
-        try body(fulfill)
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig
deleted file mode 100644
index 6b8baab300a..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig	
+++ /dev/null
@@ -1,9 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Alamofire
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/Alamofire
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist
deleted file mode 100644
index c1c4a98b9a1..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist	
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-  <key>CFBundleDevelopmentRegion</key>
-  <string>en</string>
-  <key>CFBundleExecutable</key>
-  <string>${EXECUTABLE_NAME}</string>
-  <key>CFBundleIdentifier</key>
-  <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
-  <key>CFBundleInfoDictionaryVersion</key>
-  <string>6.0</string>
-  <key>CFBundleName</key>
-  <string>${PRODUCT_NAME}</string>
-  <key>CFBundlePackageType</key>
-  <string>FMWK</string>
-  <key>CFBundleShortVersionString</key>
-  <string>4.5.0</string>
-  <key>CFBundleSignature</key>
-  <string>????</string>
-  <key>CFBundleVersion</key>
-  <string>${CURRENT_PROJECT_VERSION}</string>
-  <key>NSPrincipalClass</key>
-  <string></string>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig
deleted file mode 100644
index 1704e72da48..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig	
+++ /dev/null
@@ -1,10 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown
deleted file mode 100644
index aefa208fd08..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown	
+++ /dev/null
@@ -1,50 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## Alamofire
-
-Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-## PromiseKit
-
-Copyright 2016, Max Howell; mxcl@me.com
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-
-Generated by CocoaPods - https://cocoapods.org
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist
deleted file mode 100644
index 987225cd1bb..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist	
+++ /dev/null
@@ -1,88 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>PreferenceSpecifiers</key>
-	<array>
-		<dict>
-			<key>FooterText</key>
-			<string>This application makes use of the following third party libraries:</string>
-			<key>Title</key>
-			<string>Acknowledgements</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-</string>
-			<key>License</key>
-			<string>MIT</string>
-			<key>Title</key>
-			<string>Alamofire</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>Copyright 2016, Max Howell; mxcl@me.com
-
-Permission is hereby granted, free of charge, to any person obtaining a
-copy of this software and associated documentation files (the
-"Software"), to deal in the Software without restriction, including
-without limitation the rights to use, copy, modify, merge, publish,
-distribute, sublicense, and/or sell copies of the Software, and to
-permit persons to whom the Software is furnished to do so, subject to
-the following conditions:
-
-The above copyright notice and this permission notice shall be included
-in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
-OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
-MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
-IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
-CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
-TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
-SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-</string>
-			<key>License</key>
-			<string>MIT</string>
-			<key>Title</key>
-			<string>PromiseKit</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>Generated by CocoaPods - https://cocoapods.org</string>
-			<key>Title</key>
-			<string></string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-	</array>
-	<key>StringsTable</key>
-	<string>Acknowledgements</string>
-	<key>Title</key>
-	<string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh
deleted file mode 100755
index 9e0a7d4afaa..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh	
+++ /dev/null
@@ -1,157 +0,0 @@
-#!/bin/sh
-set -e
-set -u
-set -o pipefail
-
-if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
-    # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
-    # frameworks to, so exit 0 (signalling the script phase was successful).
-    exit 0
-fi
-
-echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
-SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
-
-# Used as a return value for each invocation of `strip_invalid_archs` function.
-STRIP_BINARY_RETVAL=0
-
-# This protects against multiple targets copying the same framework dependency at the same time. The solution
-# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
-RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
-
-# Copies and strips a vendored framework
-install_framework()
-{
-  if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
-    local source="${BUILT_PRODUCTS_DIR}/$1"
-  elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
-    local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
-  elif [ -r "$1" ]; then
-    local source="$1"
-  fi
-
-  local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-  if [ -L "${source}" ]; then
-      echo "Symlinked..."
-      source="$(readlink "${source}")"
-  fi
-
-  # Use filter instead of exclude so missing patterns don't throw errors.
-  echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
-  rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
-
-  local basename
-  basename="$(basename -s .framework "$1")"
-  binary="${destination}/${basename}.framework/${basename}"
-  if ! [ -r "$binary" ]; then
-    binary="${destination}/${basename}"
-  fi
-
-  # Strip invalid architectures so "fat" simulator / device frameworks work on device
-  if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
-    strip_invalid_archs "$binary"
-  fi
-
-  # Resign the code if required by the build settings to avoid unstable apps
-  code_sign_if_enabled "${destination}/$(basename "$1")"
-
-  # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
-  if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
-    local swift_runtime_libs
-    swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u  && exit ${PIPESTATUS[0]})
-    for lib in $swift_runtime_libs; do
-      echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
-      rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
-      code_sign_if_enabled "${destination}/${lib}"
-    done
-  fi
-}
-
-# Copies and strips a vendored dSYM
-install_dsym() {
-  local source="$1"
-  if [ -r "$source" ]; then
-    # Copy the dSYM into a the targets temp dir.
-    echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
-    rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
-
-    local basename
-    basename="$(basename -s .framework.dSYM "$source")"
-    binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
-
-    # Strip invalid architectures so "fat" simulator / device frameworks work on device
-    if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
-      strip_invalid_archs "$binary"
-    fi
-
-    if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
-      # Move the stripped file into its final destination.
-      echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
-      rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
-    else
-      # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
-      touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
-    fi
-  fi
-}
-
-# Signs a framework with the provided identity
-code_sign_if_enabled() {
-  if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
-    # Use the current code_sign_identitiy
-    echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
-    local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
-
-    if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
-      code_sign_cmd="$code_sign_cmd &"
-    fi
-    echo "$code_sign_cmd"
-    eval "$code_sign_cmd"
-  fi
-}
-
-# Strip invalid architectures
-strip_invalid_archs() {
-  binary="$1"
-  # Get architectures for current target binary
-  binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
-  # Intersect them with the architectures we are building for
-  intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
-  # If there are no archs supported by this binary then warn the user
-  if [[ -z "$intersected_archs" ]]; then
-    echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
-    STRIP_BINARY_RETVAL=0
-    return
-  fi
-  stripped=""
-  for arch in $binary_archs; do
-    if ! [[ "${ARCHS}" == *"$arch"* ]]; then
-      # Strip non-valid architectures in-place
-      lipo -remove "$arch" -output "$binary" "$binary" || exit 1
-      stripped="$stripped $arch"
-    fi
-  done
-  if [[ "$stripped" ]]; then
-    echo "Stripped $binary of architectures:$stripped"
-  fi
-  STRIP_BINARY_RETVAL=1
-}
-
-
-if [[ "$CONFIGURATION" == "Debug" ]]; then
-  install_framework "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/PromiseKit/PromiseKit.framework"
-fi
-if [[ "$CONFIGURATION" == "Release" ]]; then
-  install_framework "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/PromiseKit/PromiseKit.framework"
-fi
-if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
-  wait
-fi
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig
deleted file mode 100644
index 52a643ada6e..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig	
+++ /dev/null
@@ -1,11 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient" "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit/PromiseKit.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "PetstoreClient" -framework "PromiseKit"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig
deleted file mode 100644
index 52a643ada6e..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig	
+++ /dev/null
@@ -1,11 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient" "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit/PromiseKit.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "PetstoreClient" -framework "PromiseKit"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig
deleted file mode 100644
index 436aa2cb9ed..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig	
+++ /dev/null
@@ -1,8 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient" "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit/PromiseKit.framework/Headers"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig
deleted file mode 100644
index 436aa2cb9ed..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig	
+++ /dev/null
@@ -1,8 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient" "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit/PromiseKit.framework/Headers"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PromiseKit/PromiseKit-umbrella.h b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PromiseKit/PromiseKit-umbrella.h
deleted file mode 100644
index d90df9dacd4..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PromiseKit/PromiseKit-umbrella.h	
+++ /dev/null
@@ -1,19 +0,0 @@
-#ifdef __OBJC__
-#import <UIKit/UIKit.h>
-#else
-#ifndef FOUNDATION_EXPORT
-#if defined(__cplusplus)
-#define FOUNDATION_EXPORT extern "C"
-#else
-#define FOUNDATION_EXPORT extern
-#endif
-#endif
-#endif
-
-#import "AnyPromise.h"
-#import "fwd.h"
-#import "PromiseKit.h"
-
-FOUNDATION_EXPORT double PromiseKitVersionNumber;
-FOUNDATION_EXPORT const unsigned char PromiseKitVersionString[];
-
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PromiseKit/PromiseKit.xcconfig b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PromiseKit/PromiseKit.xcconfig
deleted file mode 100644
index 6c47b4c1b92..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/Pods/Target Support Files/PromiseKit/PromiseKit.xcconfig	
+++ /dev/null
@@ -1,10 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/PromiseKit
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_LDFLAGS = -framework "Foundation"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/PromiseKit
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
deleted file mode 100644
index fafcbb55afc..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,528 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		54DA06C1D70D78EC0EC72B61 /* Pods_SwaggerClientTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */; };
-		6D4EFB951C692C6300B96B06 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFB941C692C6300B96B06 /* AppDelegate.swift */; };
-		6D4EFB971C692C6300B96B06 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFB961C692C6300B96B06 /* ViewController.swift */; };
-		6D4EFB9A1C692C6300B96B06 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB981C692C6300B96B06 /* Main.storyboard */; };
-		6D4EFB9C1C692C6300B96B06 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */; };
-		6D4EFB9F1C692C6300B96B06 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = 6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */; };
-		6D4EFBB51C693BE200B96B06 /* PetAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */; };
-		6D4EFBB71C693BED00B96B06 /* StoreAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */; };
-		6D4EFBB91C693BFC00B96B06 /* UserAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */; };
-		751C65B82F596107A3DC8ED9 /* Pods_SwaggerClient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		6D4EFBA61C692C6300B96B06 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = 6D4EFB891C692C6300B96B06 /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 6D4EFB901C692C6300B96B06;
-			remoteInfo = SwaggerClient;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		6D4EFB911C692C6300B96B06 /* SwaggerClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwaggerClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
-		6D4EFB941C692C6300B96B06 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
-		6D4EFB961C692C6300B96B06 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
-		6D4EFB991C692C6300B96B06 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
-		6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		6D4EFB9E1C692C6300B96B06 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		6D4EFBA01C692C6300B96B06 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwaggerClientTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
-		6D4EFBAB1C692C6300B96B06 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PetAPITests.swift; sourceTree = "<group>"; };
-		6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoreAPITests.swift; sourceTree = "<group>"; };
-		6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserAPITests.swift; sourceTree = "<group>"; };
-		8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-		C07EC0A94AA0F86D60668B32 /* Pods.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClientTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		6D4EFB8E1C692C6300B96B06 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				751C65B82F596107A3DC8ED9 /* Pods_SwaggerClient.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA21C692C6300B96B06 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				54DA06C1D70D78EC0EC72B61 /* Pods_SwaggerClientTests.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		0CAA98BEFA303B94D3664C7D /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */,
-				FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */,
-				289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		3FABC56EC0BA84CBF4F99564 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				C07EC0A94AA0F86D60668B32 /* Pods.framework */,
-				8F60AECFF321A25553B6A5B0 /* Pods_SwaggerClient.framework */,
-				F65B6638217EDDC99D103B16 /* Pods_SwaggerClientTests.framework */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		6D4EFB881C692C6300B96B06 = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB931C692C6300B96B06 /* SwaggerClient */,
-				6D4EFBA81C692C6300B96B06 /* SwaggerClientTests */,
-				6D4EFB921C692C6300B96B06 /* Products */,
-				3FABC56EC0BA84CBF4F99564 /* Frameworks */,
-				0CAA98BEFA303B94D3664C7D /* Pods */,
-			);
-			sourceTree = "<group>";
-		};
-		6D4EFB921C692C6300B96B06 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB911C692C6300B96B06 /* SwaggerClient.app */,
-				6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		6D4EFB931C692C6300B96B06 /* SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFB941C692C6300B96B06 /* AppDelegate.swift */,
-				6D4EFB961C692C6300B96B06 /* ViewController.swift */,
-				6D4EFB981C692C6300B96B06 /* Main.storyboard */,
-				6D4EFB9B1C692C6300B96B06 /* Assets.xcassets */,
-				6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */,
-				6D4EFBA01C692C6300B96B06 /* Info.plist */,
-			);
-			path = SwaggerClient;
-			sourceTree = "<group>";
-		};
-		6D4EFBA81C692C6300B96B06 /* SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				6D4EFBAB1C692C6300B96B06 /* Info.plist */,
-				6D4EFBB41C693BE200B96B06 /* PetAPITests.swift */,
-				6D4EFBB61C693BED00B96B06 /* StoreAPITests.swift */,
-				6D4EFBB81C693BFC00B96B06 /* UserAPITests.swift */,
-			);
-			path = SwaggerClientTests;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		6D4EFB901C692C6300B96B06 /* SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6D4EFBAE1C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClient" */;
-			buildPhases = (
-				1F03F780DC2D9727E5E64BA9 /* [CP] Check Pods Manifest.lock */,
-				6D4EFB8D1C692C6300B96B06 /* Sources */,
-				6D4EFB8E1C692C6300B96B06 /* Frameworks */,
-				6D4EFB8F1C692C6300B96B06 /* Resources */,
-				4485A75250058E2D5BBDF63F /* [CP] Embed Pods Frameworks */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = SwaggerClient;
-			productName = SwaggerClient;
-			productReference = 6D4EFB911C692C6300B96B06 /* SwaggerClient.app */;
-			productType = "com.apple.product-type.application";
-		};
-		6D4EFBA41C692C6300B96B06 /* SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6D4EFBB11C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */;
-			buildPhases = (
-				79FE27B09B2DD354C831BD49 /* [CP] Check Pods Manifest.lock */,
-				6D4EFBA11C692C6300B96B06 /* Sources */,
-				6D4EFBA21C692C6300B96B06 /* Frameworks */,
-				6D4EFBA31C692C6300B96B06 /* Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				6D4EFBA71C692C6300B96B06 /* PBXTargetDependency */,
-			);
-			name = SwaggerClientTests;
-			productName = SwaggerClientTests;
-			productReference = 6D4EFBA51C692C6300B96B06 /* SwaggerClientTests.xctest */;
-			productType = "com.apple.product-type.bundle.unit-test";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		6D4EFB891C692C6300B96B06 /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0720;
-				LastUpgradeCheck = 0800;
-				ORGANIZATIONNAME = Swagger;
-				TargetAttributes = {
-					6D4EFB901C692C6300B96B06 = {
-						CreatedOnToolsVersion = 7.2.1;
-						LastSwiftMigration = 0800;
-					};
-					6D4EFBA41C692C6300B96B06 = {
-						CreatedOnToolsVersion = 7.2.1;
-						LastSwiftMigration = 0800;
-						TestTargetID = 6D4EFB901C692C6300B96B06;
-					};
-				};
-			};
-			buildConfigurationList = 6D4EFB8C1C692C6300B96B06 /* Build configuration list for PBXProject "SwaggerClient" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = 6D4EFB881C692C6300B96B06;
-			productRefGroup = 6D4EFB921C692C6300B96B06 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				6D4EFB901C692C6300B96B06 /* SwaggerClient */,
-				6D4EFBA41C692C6300B96B06 /* SwaggerClientTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-		6D4EFB8F1C692C6300B96B06 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFB9F1C692C6300B96B06 /* LaunchScreen.storyboard in Resources */,
-				6D4EFB9C1C692C6300B96B06 /* Assets.xcassets in Resources */,
-				6D4EFB9A1C692C6300B96B06 /* Main.storyboard in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA31C692C6300B96B06 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
-		1F03F780DC2D9727E5E64BA9 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-SwaggerClient-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-		4485A75250058E2D5BBDF63F /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh",
-				"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
-				"${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework",
-				"${BUILT_PRODUCTS_DIR}/PromiseKit/PromiseKit.framework",
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputPaths = (
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PetstoreClient.framework",
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PromiseKit.framework",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-		79FE27B09B2DD354C831BD49 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-SwaggerClientTests-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		6D4EFB8D1C692C6300B96B06 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFB971C692C6300B96B06 /* ViewController.swift in Sources */,
-				6D4EFB951C692C6300B96B06 /* AppDelegate.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		6D4EFBA11C692C6300B96B06 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				6D4EFBB71C693BED00B96B06 /* StoreAPITests.swift in Sources */,
-				6D4EFBB91C693BFC00B96B06 /* UserAPITests.swift in Sources */,
-				6D4EFBB51C693BE200B96B06 /* PetAPITests.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		6D4EFBA71C692C6300B96B06 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = 6D4EFB901C692C6300B96B06 /* SwaggerClient */;
-			targetProxy = 6D4EFBA61C692C6300B96B06 /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-		6D4EFB981C692C6300B96B06 /* Main.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				6D4EFB991C692C6300B96B06 /* Base */,
-			);
-			name = Main.storyboard;
-			sourceTree = "<group>";
-		};
-		6D4EFB9D1C692C6300B96B06 /* LaunchScreen.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				6D4EFB9E1C692C6300B96B06 /* Base */,
-			);
-			name = LaunchScreen.storyboard;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		6D4EFBAC1C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				SDKROOT = iphoneos;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Debug;
-		};
-		6D4EFBAD1C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.2;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				SDKROOT = iphoneos;
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		6D4EFBAF1C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = A638467ACFB30852DEA51F7A /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-			};
-			name = Debug;
-		};
-		6D4EFBB01C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = FC60BDC7328C2AA916F25840 /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-			};
-			name = Release;
-		};
-		6D4EFBB21C692C6300B96B06 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 289E8A9E9C0BB66AD190C7C6 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Debug;
-		};
-		6D4EFBB31C692C6300B96B06 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = B4B2BEC2ECA535C616F2F3FE /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		6D4EFB8C1C692C6300B96B06 /* Build configuration list for PBXProject "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBAC1C692C6300B96B06 /* Debug */,
-				6D4EFBAD1C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6D4EFBAE1C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBAF1C692C6300B96B06 /* Debug */,
-				6D4EFBB01C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6D4EFBB11C692C6300B96B06 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				6D4EFBB21C692C6300B96B06 /* Debug */,
-				6D4EFBB31C692C6300B96B06 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = 6D4EFB891C692C6300B96B06 /* Project object */;
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
deleted file mode 100644
index 4d00ed5f92e..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "0800"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-               BuildableName = "SwaggerClient.app"
-               BlueprintName = "SwaggerClient"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "6D4EFBA41C692C6300B96B06"
-               BuildableName = "SwaggerClientTests.xctest"
-               BlueprintName = "SwaggerClientTests"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </MacroExpansion>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "6D4EFB901C692C6300B96B06"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 9b3fa18954f..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "group:SwaggerClient.xcodeproj">
-   </FileRef>
-   <FileRef
-      location = "group:Pods/Pods.xcodeproj">
-   </FileRef>
-</Workspace>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/AppDelegate.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/AppDelegate.swift
deleted file mode 100644
index 7fd69296176..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/AppDelegate.swift
+++ /dev/null
@@ -1,46 +0,0 @@
-//
-//  AppDelegate.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-
-    var window: UIWindow?
-
-
-    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
-        // Override point for customization after application launch.
-        return true
-    }
-
-    func applicationWillResignActive(_ application: UIApplication) {
-        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
-        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
-    }
-
-    func applicationDidEnterBackground(_ application: UIApplication) {
-        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
-        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
-    }
-
-    func applicationWillEnterForeground(_ application: UIApplication) {
-        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
-    }
-
-    func applicationDidBecomeActive(_ application: UIApplication) {
-        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
-    }
-
-    func applicationWillTerminate(_ application: UIApplication) {
-        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-    }
-
-
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index 1d060ed2882..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,93 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "iphone",
-      "size" : "20x20",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "20x20",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "20x20",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "20x20",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "29x29",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "40x40",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "76x76",
-      "scale" : "1x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "76x76",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "ipad",
-      "size" : "83.5x83.5",
-      "scale" : "2x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 2e721e1833f..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="EHf-IW-A2E">
-            <objects>
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
-                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <animations/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="53" y="375"/>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
deleted file mode 100644
index 3a2a49bad8c..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Info.plist b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Info.plist
deleted file mode 100644
index bb71d00fa8a..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/Info.plist
+++ /dev/null
@@ -1,59 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UILaunchStoryboardName</key>
-	<string>LaunchScreen</string>
-	<key>UIMainStoryboardFile</key>
-	<string>Main</string>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>armv7</string>
-	</array>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>petstore.swagger.io</key>
-            <dict>
-                <!--Include to allow HTTP requests-->
-                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/ViewController.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/ViewController.swift
deleted file mode 100644
index cd7e9a16761..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClient/ViewController.swift
+++ /dev/null
@@ -1,25 +0,0 @@
-//
-//  ViewController.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-class ViewController: UIViewController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        // Do any additional setup after loading the view, typically from a nib.
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-
-
-}
-
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/Info.plist b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/Info.plist
deleted file mode 100644
index 802f84f540d..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/Info.plist
+++ /dev/null
@@ -1,36 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>BNDL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>petstore.swagger.io</key>
-            <dict>
-                <!--Include to allow HTTP requests-->
-                <key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
deleted file mode 100644
index 7151720bf4e..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
+++ /dev/null
@@ -1,69 +0,0 @@
-//
-//  PetAPITests.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import PromiseKit
-import XCTest
-@testable import SwaggerClient
-
-class PetAPITests: XCTestCase {
-    
-    let testTimeout = 10.0
-
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-    
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-    
-    func test1CreatePet() {
-        let expectation = self.expectation(description: "testCreatePet")
-        let newPet = Pet()
-        let category = PetstoreClient.Category()
-        category.id = 1234
-        category.name = "eyeColor"
-        newPet.category = category
-        newPet.id = 1000
-        newPet.name = "Fluffy"
-        newPet.status = .available
-        PetAPI.addPet(body: newPet).then {
-                expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.catch { errorType in
-                XCTFail("error creating pet")
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test2GetPet() {
-        let expectation = self.expectation(description: "testGetPet")
-        PetAPI.getPetById(petId: 1000).then { pet -> Void in
-                XCTAssert(pet.id == 1000, "invalid id")
-                XCTAssert(pet.name == "Fluffy", "invalid name")
-                expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.catch { errorType in
-                XCTFail("error creating pet")
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test3DeletePet() {
-        let expectation = self.expectation(description: "testDeletePet")
-        PetAPI.deletePet(petId: 1000).then {
-            expectation.fulfill()
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
deleted file mode 100644
index 6a40c564378..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
+++ /dev/null
@@ -1,88 +0,0 @@
-//
-//  StoreAPITests.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import PromiseKit
-import XCTest
-@testable import SwaggerClient
-
-class StoreAPITests: XCTestCase {
-
-    let isoDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-    let testTimeout = 10.0
-    
-    func test1PlaceOrder() {
-        let order = Order()
-        let shipDate = Date()
-        order.id = 1000
-        order.petId = 1000
-        order.complete = false
-        order.quantity = 10
-        order.shipDate = shipDate
-        // use explicit naming to reference the enum so that we test we don't regress on enum naming
-        order.status = Order.Status.placed
-        let expectation = self.expectation(description: "testPlaceOrder")
-        StoreAPI.placeOrder(body: order).then { order -> Void in
-                XCTAssert(order.id == 1000, "invalid id")
-                XCTAssert(order.quantity == 10, "invalid quantity")
-                XCTAssert(order.status == .placed, "invalid status")
-                XCTAssert(order.shipDate!.isEqual(shipDate, format: self.isoDateFormat),
-                          "Date should be idempotent")
-
-                expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.catch { errorType in
-                XCTFail("error placing order")
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test2GetOrder() {
-        let expectation = self.expectation(description: "testGetOrder")
-        StoreAPI.getOrderById(orderId: 1000).then { order -> Void in
-            XCTAssert(order.id == 1000, "invalid id")
-            XCTAssert(order.quantity == 10, "invalid quantity")
-            XCTAssert(order.status == .placed, "invalid status")
-            expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.catch { errorType in
-                XCTFail("error placing order")
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test3DeleteOrder() {
-        let expectation = self.expectation(description: "testDeleteOrder")
-        StoreAPI.deleteOrder(orderId: "1000").then {
-            expectation.fulfill()
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-}
-
-private extension Date {
-
-    /**
-     Returns true if the dates are equal given the format string.
-
-     - parameter date:   The date to compare to.
-     - parameter format: The format string to use to compare.
-
-     - returns: true if the dates are equal, given the format string.
-     */
-    func isEqual(_ date: Date, format: String) -> Bool {
-        let fmt = DateFormatter()
-        fmt.dateFormat = format
-        return fmt.string(from: self).isEqual(fmt.string(from: date))
-    }
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
deleted file mode 100644
index ec8631589c2..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
+++ /dev/null
@@ -1,115 +0,0 @@
-//
-//  UserAPITests.swift
-//  SwaggerClient
-//
-//  Created by Joseph Zuromski on 2/8/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import PromiseKit
-import XCTest
-@testable import SwaggerClient
-
-class UserAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-        
-    func testLogin() {
-        let expectation = self.expectation(description: "testLogin")
-        UserAPI.loginUser(username: "swiftTester", password: "swift").then { _ -> Void in
-                expectation.fulfill()
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func testLogout() {
-        let expectation = self.expectation(description: "testLogout")
-        UserAPI.logoutUser().then {
-            expectation.fulfill()
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test1CreateUser() {
-        let expectation = self.expectation(description: "testCreateUser")
-        let newUser = User()
-        newUser.email = "test@test.com"
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-        UserAPI.createUser(body: newUser).then {
-            expectation.fulfill()
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func testCreateUserWithArray() {
-        let expectation = self.expectation(description: "testCreateUserWithArray")
-        let newUser = User()
-        newUser.email = "test@test.com"
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-        
-        let newUser2 = User()
-        newUser2.email = "test2@test.com"
-        newUser2.firstName = "Test2"
-        newUser2.lastName = "Tester2"
-        newUser2.id = 1001
-        newUser2.password = "test2!"
-        newUser2.phone = "867-5302"
-        newUser2.username = "test2@test.com"
-        newUser2.userStatus = 0
-        
-        _ = UserAPI.createUsersWithArrayInput(body: [newUser, newUser2]).then {
-            expectation.fulfill()
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test2GetUser() {
-        let expectation = self.expectation(description: "testGetUser")
-        UserAPI.getUserByName(username: "test@test.com").then {user -> Void in
-                XCTAssert(user.userStatus == 0, "invalid userStatus")
-                XCTAssert(user.email == "test@test.com", "invalid email")
-                XCTAssert(user.firstName == "Test", "invalid firstName")
-                XCTAssert(user.lastName == "Tester", "invalid lastName")
-                XCTAssert(user.password == "test!", "invalid password")
-                XCTAssert(user.phone == "867-5309", "invalid phone")
-                expectation.fulfill()
-            }.always {
-                // Noop for now
-            }.catch { errorType in
-                XCTFail("error getting user")
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func test3DeleteUser() {
-        let expectation = self.expectation(description: "testDeleteUser")
-        UserAPI.deleteUser(username: "test@test.com").then {
-            expectation.fulfill()
-        }
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func testPathParamsAreEscaped() {
-        // The path for this operation is /user/{userId}. In order to make a usable path,
-        // then we must make sure that {userId} is percent-escaped when it is substituted
-        // into the path. So we intentionally introduce a path with spaces.
-        let userRequestBuilder = UserAPI.getUserByNameWithRequestBuilder(username: "User Name With Spaces")
-        let urlContainsSpace = userRequestBuilder.URLString.contains(" ")
-
-        XCTAssert(!urlContainsSpace, "Expected URL to be escaped, but it was not.")
-    }
-
-}
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/pom.xml b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/pom.xml
deleted file mode 100644
index 16941c95284..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<project>
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>io.swagger</groupId>
-    <artifactId>Swift3PromiseKitPetstoreClientTests</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0-SNAPSHOT</version>
-    <name>Swift3 PromiseKit Swagger Petstore Client</name>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <version>1.2.1</version>
-                <executions>
-                    <execution>
-                        <id>xcodebuild-test</id>
-                        <phase>integration-test</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                        <configuration>
-                            <executable>./run_xcodebuild.sh</executable>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/run_xcodebuild.sh b/samples/client/petstore/swift3/promisekit/SwaggerClientTests/run_xcodebuild.sh
deleted file mode 100755
index f1d49608668..00000000000
--- a/samples/client/petstore/swift3/promisekit/SwaggerClientTests/run_xcodebuild.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-xcodebuild -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" test -destination "platform=iOS Simulator,name=iPhone 6,OS=9.3" | xcpretty && exit ${PIPESTATUS[0]}
diff --git a/samples/client/petstore/swift3/promisekit/git_push.sh b/samples/client/petstore/swift3/promisekit/git_push.sh
deleted file mode 100644
index 20057f67ade..00000000000
--- a/samples/client/petstore/swift3/promisekit/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="GIT_USER_ID"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="GIT_REPO_ID"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="Minor update"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/samples/client/petstore/swift3/rxswift/.gitignore b/samples/client/petstore/swift3/rxswift/.gitignore
deleted file mode 100644
index fc4e330f8fa..00000000000
--- a/samples/client/petstore/swift3/rxswift/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift3/rxswift/.openapi-generator-ignore b/samples/client/petstore/swift3/rxswift/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift3/rxswift/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift3/rxswift/.openapi-generator/VERSION b/samples/client/petstore/swift3/rxswift/.openapi-generator/VERSION
deleted file mode 100644
index 6d94c9c2e12..00000000000
--- a/samples/client/petstore/swift3/rxswift/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/rxswift/Cartfile b/samples/client/petstore/swift3/rxswift/Cartfile
deleted file mode 100644
index ab18dbf913f..00000000000
--- a/samples/client/petstore/swift3/rxswift/Cartfile
+++ /dev/null
@@ -1,2 +0,0 @@
-github "Alamofire/Alamofire" ~> 4.5
-github "ReactiveX/RxSwift" "rxswift-3.0"
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient.podspec b/samples/client/petstore/swift3/rxswift/PetstoreClient.podspec
deleted file mode 100644
index e556f44d3d4..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient.podspec
+++ /dev/null
@@ -1,15 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = 'PetstoreClient'
-  s.ios.deployment_target = '9.0'
-  s.osx.deployment_target = '10.11'
-  s.tvos.deployment_target = '9.0'
-  s.version = '0.0.1'
-  s.source = { :git => 'git@github.com:OpenAPITools/openapi-generator.git', :tag => 'v1.0.0' }
-  s.authors = ''
-  s.license = 'Proprietary'
-  s.homepage = 'https://github.com/openapitools/openapi-generator'
-  s.summary = 'PetstoreClient'
-  s.source_files = 'PetstoreClient/Classes/**/*.swift'
-  s.dependency 'RxSwift', '3.6.1'
-  s.dependency 'Alamofire', '~> 4.5.0'
-end
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIHelper.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
deleted file mode 100644
index d99d4858ff8..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
+++ /dev/null
@@ -1,75 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-class APIHelper {
-    static func rejectNil(_ source: [String:Any?]) -> [String:Any]? {
-        var destination = [String:Any]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(_ source: [String:Any?]) -> [String:String] {
-        var destination = [String:String]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(_ source: [String: Any]?) -> [String:Any]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String:Any]()
-        let theTrue = NSNumber(value: true as Bool)
-        let theFalse = NSNumber(value: false as Bool)
-        for (key, value) in source {
-            switch value {
-            case let x where x as? NSNumber === theTrue || x as? NSNumber === theFalse:
-                destination[key] = "\(value as! Bool)" as Any?
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-    static func mapValuesToQueryItems(values: [String:Any?]) -> [URLQueryItem]? {
-        let returnValues = values
-            .filter { $0.1 != nil }
-            .map { (item: (_key: String, _value: Any?)) -> [URLQueryItem] in
-                if let value = item._value as? Array<String> {
-                    return value.map { (v) -> URLQueryItem in
-                        URLQueryItem(
-                            name: item._key,
-                            value: v
-                        )
-                    }
-                } else {
-                    return [URLQueryItem(
-                        name: item._key,
-                        value: "\(item._value!)"
-                    )]
-                }
-            }
-            .flatMap { $0 }
-
-        if returnValues.isEmpty { return nil }
-        return returnValues
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs.swift
deleted file mode 100644
index c474dd4a9fa..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs.swift
+++ /dev/null
@@ -1,77 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class PetstoreClientAPI {
-    open static var basePath = "http://petstore.swagger.io:80/v2"
-    open static var credential: URLCredential?
-    open static var customHeaders: [String:String] = [:]
-    open static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-open class APIBase {
-    func toParameters(_ encodable: JSONEncodable?) -> [String: Any]? {
-        let encoded: Any? = encodable?.encodeToJSON()
-
-        if encoded! is [Any] {
-            var dictionary = [String:Any]()
-            for (index, item) in (encoded as! [Any]).enumerated() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String:Any]
-        }
-    }
-}
-
-open class RequestBuilder<T> {
-    var credential: URLCredential?
-    var headers: [String:String]
-    public let parameters: Any?
-    public let isBody: Bool
-    public let method: String
-    public let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((Progress) -> ())?
-
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String:String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders(PetstoreClientAPI.customHeaders)
-    }
-
-    open func addHeaders(_ aHeaders:[String:String]) {
-        for (header, value) in aHeaders {
-            addHeader(name: header, value: value)
-        }
-    }
-
-    open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) { }
-
-    @discardableResult public func addHeader(name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    open func addCredential() -> Self {
-        self.credential = PetstoreClientAPI.credential
-        return self
-    }
-}
-
-public protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
deleted file mode 100644
index c468f8a3828..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
+++ /dev/null
@@ -1,63 +0,0 @@
-//
-// AnotherFakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import RxSwift
-
-
-open class AnotherFakeAPI: APIBase {
-    /**
-     To test special tags
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testSpecialTags(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testSpecialTagsWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     To test special tags
-     - parameter client: (body) client model 
-     - returns: Observable<Client>
-     */
-    open class func testSpecialTags(client: Client) -> Observable<Client> {
-        return Observable.create { observer -> Disposable in
-            testSpecialTags(client: client) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     To test special tags
-     - PATCH /another-fake/dummy
-     - To test special tags
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testSpecialTagsWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/another-fake/dummy"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
deleted file mode 100644
index 9197924fff8..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
+++ /dev/null
@@ -1,567 +0,0 @@
-//
-// FakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import RxSwift
-
-
-open class FakeAPI: APIBase {
-    /**
-     - parameter body: (body) Input boolean as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterBooleanSerialize(body: Bool? = nil, completion: @escaping ((_ data: Bool?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterBooleanSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     - parameter body: (body) Input boolean as post body (optional)
-     - returns: Observable<Bool>
-     */
-    open class func fakeOuterBooleanSerialize(body: Bool? = nil) -> Observable<Bool> {
-        return Observable.create { observer -> Disposable in
-            fakeOuterBooleanSerialize(body: body) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     - POST /fake/outer/boolean
-     - Test serialization of outer boolean types
-     - parameter body: (body) Input boolean as post body (optional)
-     - returns: RequestBuilder<Bool> 
-     */
-    open class func fakeOuterBooleanSerializeWithRequestBuilder(body: Bool? = nil) -> RequestBuilder<Bool> {
-        let path = "/fake/outer/boolean"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Bool>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterCompositeSerialize(outerComposite: OuterComposite? = nil, completion: @escaping ((_ data: OuterComposite?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: outerComposite).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - returns: Observable<OuterComposite>
-     */
-    open class func fakeOuterCompositeSerialize(outerComposite: OuterComposite? = nil) -> Observable<OuterComposite> {
-        return Observable.create { observer -> Disposable in
-            fakeOuterCompositeSerialize(outerComposite: outerComposite) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     - POST /fake/outer/composite
-     - Test serialization of object with outer number type
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - returns: RequestBuilder<OuterComposite> 
-     */
-    open class func fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: OuterComposite? = nil) -> RequestBuilder<OuterComposite> {
-        let path = "/fake/outer/composite"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = outerComposite?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<OuterComposite>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input number as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterNumberSerialize(body: Double? = nil, completion: @escaping ((_ data: Double?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterNumberSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     - parameter body: (body) Input number as post body (optional)
-     - returns: Observable<Double>
-     */
-    open class func fakeOuterNumberSerialize(body: Double? = nil) -> Observable<Double> {
-        return Observable.create { observer -> Disposable in
-            fakeOuterNumberSerialize(body: body) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     - POST /fake/outer/number
-     - Test serialization of outer number types
-     - parameter body: (body) Input number as post body (optional)
-     - returns: RequestBuilder<Double> 
-     */
-    open class func fakeOuterNumberSerializeWithRequestBuilder(body: Double? = nil) -> RequestBuilder<Double> {
-        let path = "/fake/outer/number"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Double>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input string as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterStringSerialize(body: String? = nil, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterStringSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     - parameter body: (body) Input string as post body (optional)
-     - returns: Observable<String>
-     */
-    open class func fakeOuterStringSerialize(body: String? = nil) -> Observable<String> {
-        return Observable.create { observer -> Disposable in
-            fakeOuterStringSerialize(body: body) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     - POST /fake/outer/string
-     - Test serialization of outer string types
-     - parameter body: (body) Input string as post body (optional)
-     - returns: RequestBuilder<String> 
-     */
-    open class func fakeOuterStringSerializeWithRequestBuilder(body: String? = nil) -> RequestBuilder<String> {
-        let path = "/fake/outer/string"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     To test \"client\" model
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClientModel(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClientModelWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     To test \"client\" model
-     - parameter client: (body) client model 
-     - returns: Observable<Client>
-     */
-    open class func testClientModel(client: Client) -> Observable<Client> {
-        return Observable.create { observer -> Disposable in
-            testClientModel(client: client) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     To test \"client\" model
-     - PATCH /fake
-     - To test \"client\" model
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClientModelWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEndpointParameters(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEndpointParametersWithRequestBuilder(number: number, double: double, patternWithoutDelimiter: patternWithoutDelimiter, byte: byte, integer: integer, int32: int32, int64: int64, float: float, string: string, binary: binary, date: date, dateTime: dateTime, password: password, callback: callback).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - returns: Observable<Void>
-     */
-    open class func testEndpointParameters(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            testEndpointParameters(number: number, double: double, patternWithoutDelimiter: patternWithoutDelimiter, byte: byte, integer: integer, int32: int32, int64: int64, float: float, string: string, binary: binary, date: date, dateTime: dateTime, password: password, callback: callback) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - POST /fake
-     - Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - BASIC:
-       - type: http
-       - name: http_basic_test
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEndpointParametersWithRequestBuilder(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "integer": integer?.encodeToJSON(),
-            "int32": int32?.encodeToJSON(),
-            "int64": int64?.encodeToJSON(),
-            "number": number,
-            "float": float,
-            "double": double,
-            "string": string,
-            "pattern_without_delimiter": patternWithoutDelimiter,
-            "byte": byte,
-            "binary": binary,
-            "date": date?.encodeToJSON(),
-            "dateTime": dateTime?.encodeToJSON(),
-            "password": password,
-            "callback": callback
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     * enum for parameter enumHeaderStringArray
-     */
-    public enum EnumHeaderStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumHeaderString
-     */
-    public enum EnumHeaderString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryStringArray
-     */
-    public enum EnumQueryStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumQueryString
-     */
-    public enum EnumQueryString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryInteger
-     */
-    public enum EnumQueryInteger_testEnumParameters: Int32 { 
-        case _1 = 1
-        case number2 = -2
-    }
-
-    /**
-     * enum for parameter enumFormStringArray
-     */
-    public enum EnumFormStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumFormString
-     */
-    public enum EnumFormString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryDouble
-     */
-    public enum EnumQueryDouble_testEnumParameters: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-
-    /**
-     To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEnumParameters(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEnumParametersWithRequestBuilder(enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString, enumQueryDouble: enumQueryDouble).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - returns: Observable<Void>
-     */
-    open class func testEnumParameters(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            testEnumParameters(enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString, enumQueryDouble: enumQueryDouble) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     To test enum parameters
-     - GET /fake
-     - To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEnumParametersWithRequestBuilder(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "enum_form_string_array": enumFormStringArray,
-            "enum_form_string": enumFormString?.rawValue,
-            "enum_query_double": enumQueryDouble?.rawValue
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "enum_query_string_array": enumQueryStringArray,
-            "enum_query_string": enumQueryString?.rawValue,
-            "enum_query_integer": enumQueryInteger?.rawValue
-        ])
-        let nillableHeaders: [String: Any?] = [
-            "enum_header_string_array": enumHeaderStringArray,
-            "enum_header_string": enumHeaderString?.rawValue
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     test json serialization of form data
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testJsonFormData(param: String, param2: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testJsonFormDataWithRequestBuilder(param: param, param2: param2).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     test json serialization of form data
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - returns: Observable<Void>
-     */
-    open class func testJsonFormData(param: String, param2: String) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            testJsonFormData(param: param, param2: param2) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     test json serialization of form data
-     - GET /fake/jsonFormData
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testJsonFormDataWithRequestBuilder(param: String, param2: String) -> RequestBuilder<Void> {
-        let path = "/fake/jsonFormData"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "param": param,
-            "param2": param2
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
deleted file mode 100644
index d2a6ecf2197..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-// FakeClassnameTags123API.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import RxSwift
-
-
-open class FakeClassnameTags123API: APIBase {
-    /**
-     To test class name in snake case
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClassname(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClassnameWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     To test class name in snake case
-     - parameter client: (body) client model 
-     - returns: Observable<Client>
-     */
-    open class func testClassname(client: Client) -> Observable<Client> {
-        return Observable.create { observer -> Disposable in
-            testClassname(client: client) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     To test class name in snake case
-     - PATCH /fake_classname_test
-     - To test class name in snake case
-     - API Key:
-       - type: apiKey api_key_query (QUERY)
-       - name: api_key_query
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClassnameWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake_classname_test"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
deleted file mode 100644
index 0cb25ffcbdb..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
+++ /dev/null
@@ -1,483 +0,0 @@
-//
-// PetAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import RxSwift
-
-
-open class PetAPI: APIBase {
-    /**
-     Add a new pet to the store
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func addPet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        addPetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Add a new pet to the store
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: Observable<Void>
-     */
-    open class func addPet(pet: Pet) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            addPet(pet: pet) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Add a new pet to the store
-     - POST /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func addPetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Deletes a pet
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deletePet(petId: Int64, apiKey: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deletePetWithRequestBuilder(petId: petId, apiKey: apiKey).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Deletes a pet
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: Observable<Void>
-     */
-    open class func deletePet(petId: Int64, apiKey: String? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            deletePet(petId: petId, apiKey: apiKey) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Deletes a pet
-     - DELETE /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deletePetWithRequestBuilder(petId: Int64, apiKey: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-        let nillableHeaders: [String: Any?] = [
-            "api_key": apiKey
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     * enum for parameter status
-     */
-    public enum Status_findPetsByStatus: String { 
-        case available = ""available""
-        case pending = ""pending""
-        case sold = ""sold""
-    }
-
-    /**
-     Finds Pets by status
-     - parameter status: (query) Status values that need to be considered for filter 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByStatus(status: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByStatusWithRequestBuilder(status: status).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Finds Pets by status
-     - parameter status: (query) Status values that need to be considered for filter 
-     - returns: Observable<[Pet]>
-     */
-    open class func findPetsByStatus(status: [String]) -> Observable<[Pet]> {
-        return Observable.create { observer -> Disposable in
-            findPetsByStatus(status: status) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Finds Pets by status
-     - GET /pet/findByStatus
-     - Multiple status values can be provided with comma separated strings
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter status: (query) Status values that need to be considered for filter 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByStatusWithRequestBuilder(status: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByStatus"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "status": status
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Finds Pets by tags
-     - parameter tags: (query) Tags to filter by 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByTags(tags: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByTagsWithRequestBuilder(tags: tags).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Finds Pets by tags
-     - parameter tags: (query) Tags to filter by 
-     - returns: Observable<[Pet]>
-     */
-    open class func findPetsByTags(tags: [String]) -> Observable<[Pet]> {
-        return Observable.create { observer -> Disposable in
-            findPetsByTags(tags: tags) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Finds Pets by tags
-     - GET /pet/findByTags
-     - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter tags: (query) Tags to filter by 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByTagsWithRequestBuilder(tags: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByTags"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "tags": tags
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find pet by ID
-     - parameter petId: (path) ID of pet to return 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getPetById(petId: Int64, completion: @escaping ((_ data: Pet?, _ error: ErrorResponse?) -> Void)) {
-        getPetByIdWithRequestBuilder(petId: petId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Find pet by ID
-     - parameter petId: (path) ID of pet to return 
-     - returns: Observable<Pet>
-     */
-    open class func getPetById(petId: Int64) -> Observable<Pet> {
-        return Observable.create { observer -> Disposable in
-            getPetById(petId: petId) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Find pet by ID
-     - GET /pet/{petId}
-     - Returns a single pet
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - parameter petId: (path) ID of pet to return 
-     - returns: RequestBuilder<Pet> 
-     */
-    open class func getPetByIdWithRequestBuilder(petId: Int64) -> RequestBuilder<Pet> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Pet>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Update an existing pet
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Update an existing pet
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: Observable<Void>
-     */
-    open class func updatePet(pet: Pet) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            updatePet(pet: pet) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Update an existing pet
-     - PUT /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePetWithForm(petId: Int64, name: String? = nil, status: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithFormWithRequestBuilder(petId: petId, name: name, status: status).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: Observable<Void>
-     */
-    open class func updatePetWithForm(petId: Int64, name: String? = nil, status: String? = nil) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            updatePetWithForm(petId: petId, name: name, status: status) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - POST /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithFormWithRequestBuilder(petId: Int64, name: String? = nil, status: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "name": name,
-            "status": status
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     uploads an image
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func uploadFile(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil, completion: @escaping ((_ data: ApiResponse?, _ error: ErrorResponse?) -> Void)) {
-        uploadFileWithRequestBuilder(petId: petId, additionalMetadata: additionalMetadata, file: file).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     uploads an image
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: Observable<ApiResponse>
-     */
-    open class func uploadFile(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil) -> Observable<ApiResponse> {
-        return Observable.create { observer -> Disposable in
-            uploadFile(petId: petId, additionalMetadata: additionalMetadata, file: file) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     uploads an image
-     - POST /pet/{petId}/uploadImage
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: RequestBuilder<ApiResponse> 
-     */
-    open class func uploadFileWithRequestBuilder(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil) -> RequestBuilder<ApiResponse> {
-        var path = "/pet/{petId}/uploadImage"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "additionalMetadata": additionalMetadata,
-            "file": file
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<ApiResponse>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
deleted file mode 100644
index 1fc9de36c09..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
+++ /dev/null
@@ -1,215 +0,0 @@
-//
-// StoreAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import RxSwift
-
-
-open class StoreAPI: APIBase {
-    /**
-     Delete purchase order by ID
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteOrder(orderId: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteOrderWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Delete purchase order by ID
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: Observable<Void>
-     */
-    open class func deleteOrder(orderId: String) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            deleteOrder(orderId: orderId) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Delete purchase order by ID
-     - DELETE /store/order/{order_id}
-     - For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteOrderWithRequestBuilder(orderId: String) -> RequestBuilder<Void> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Returns pet inventories by status
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getInventory(completion: @escaping ((_ data: [String:Int32]?, _ error: ErrorResponse?) -> Void)) {
-        getInventoryWithRequestBuilder().execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Returns pet inventories by status
-     - returns: Observable<[String:Int32]>
-     */
-    open class func getInventory() -> Observable<[String:Int32]> {
-        return Observable.create { observer -> Disposable in
-            getInventory() { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Returns pet inventories by status
-     - GET /store/inventory
-     - Returns a map of status codes to quantities
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - returns: RequestBuilder<[String:Int32]> 
-     */
-    open class func getInventoryWithRequestBuilder() -> RequestBuilder<[String:Int32]> {
-        let path = "/store/inventory"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<[String:Int32]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find purchase order by ID
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getOrderById(orderId: Int64, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        getOrderByIdWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Find purchase order by ID
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: Observable<Order>
-     */
-    open class func getOrderById(orderId: Int64) -> Observable<Order> {
-        return Observable.create { observer -> Disposable in
-            getOrderById(orderId: orderId) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Find purchase order by ID
-     - GET /store/order/{order_id}
-     - For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func getOrderByIdWithRequestBuilder(orderId: Int64) -> RequestBuilder<Order> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Place an order for a pet
-     - parameter order: (body) order placed for purchasing the pet 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func placeOrder(order: Order, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        placeOrderWithRequestBuilder(order: order).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Place an order for a pet
-     - parameter order: (body) order placed for purchasing the pet 
-     - returns: Observable<Order>
-     */
-    open class func placeOrder(order: Order) -> Observable<Order> {
-        return Observable.create { observer -> Disposable in
-            placeOrder(order: order) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Place an order for a pet
-     - POST /store/order
-     - parameter order: (body) order placed for purchasing the pet 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func placeOrderWithRequestBuilder(order: Order) -> RequestBuilder<Order> {
-        let path = "/store/order"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = order.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
deleted file mode 100644
index 0641d7201db..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
+++ /dev/null
@@ -1,418 +0,0 @@
-//
-// UserAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-import RxSwift
-
-
-open class UserAPI: APIBase {
-    /**
-     Create user
-     - parameter user: (body) Created user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUser(user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUserWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Create user
-     - parameter user: (body) Created user object 
-     - returns: Observable<Void>
-     */
-    open class func createUser(user: User) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            createUser(user: user) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Create user
-     - POST /user
-     - This can only be done by the logged in user.
-     - parameter user: (body) Created user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUserWithRequestBuilder(user: User) -> RequestBuilder<Void> {
-        let path = "/user"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithArrayInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithArrayInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - returns: Observable<Void>
-     */
-    open class func createUsersWithArrayInput(user: [User]) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            createUsersWithArrayInput(user: user) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithArray
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithArrayInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithArray"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithListInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithListInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - returns: Observable<Void>
-     */
-    open class func createUsersWithListInput(user: [User]) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            createUsersWithListInput(user: user) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithList
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithListInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithList"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Delete user
-     - parameter username: (path) The name that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteUser(username: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteUserWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Delete user
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: Observable<Void>
-     */
-    open class func deleteUser(username: String) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            deleteUser(username: username) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Delete user
-     - DELETE /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteUserWithRequestBuilder(username: String) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Get user by user name
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getUserByName(username: String, completion: @escaping ((_ data: User?, _ error: ErrorResponse?) -> Void)) {
-        getUserByNameWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Get user by user name
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: Observable<User>
-     */
-    open class func getUserByName(username: String) -> Observable<User> {
-        return Observable.create { observer -> Disposable in
-            getUserByName(username: username) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Get user by user name
-     - GET /user/{username}
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: RequestBuilder<User> 
-     */
-    open class func getUserByNameWithRequestBuilder(username: String) -> RequestBuilder<User> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<User>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs user into the system
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func loginUser(username: String, password: String, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        loginUserWithRequestBuilder(username: username, password: password).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-    /**
-     Logs user into the system
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - returns: Observable<String>
-     */
-    open class func loginUser(username: String, password: String) -> Observable<String> {
-        return Observable.create { observer -> Disposable in
-            loginUser(username: username, password: password) { data, error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next(data!))
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Logs user into the system
-     - GET /user/login
-     - responseHeaders: [X-Rate-Limit(Int32), X-Expires-After(Date)]
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - returns: RequestBuilder<String> 
-     */
-    open class func loginUserWithRequestBuilder(username: String, password: String) -> RequestBuilder<String> {
-        let path = "/user/login"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "username": username,
-            "password": password
-        ])
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs out current logged in user session
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func logoutUser(completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        logoutUserWithRequestBuilder().execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Logs out current logged in user session
-     - returns: Observable<Void>
-     */
-    open class func logoutUser() -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            logoutUser() { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Logs out current logged in user session
-     - GET /user/logout
-     - returns: RequestBuilder<Void> 
-     */
-    open class func logoutUserWithRequestBuilder() -> RequestBuilder<Void> {
-        let path = "/user/logout"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Updated user
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updateUser(username: String, user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updateUserWithRequestBuilder(username: username, user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-    /**
-     Updated user
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - returns: Observable<Void>
-     */
-    open class func updateUser(username: String, user: User) -> Observable<Void> {
-        return Observable.create { observer -> Disposable in
-            updateUser(username: username, user: user) { error in
-                if let error = error {
-                    observer.on(.error(error as Error))
-                } else {
-                    observer.on(.next())
-                }
-                observer.on(.completed)
-            }
-            return Disposables.create()
-        }
-    }
-
-    /**
-     Updated user
-     - PUT /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updateUserWithRequestBuilder(username: String, user: User) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
deleted file mode 100644
index 5be6b2b08cf..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
+++ /dev/null
@@ -1,374 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-private struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = DispatchQueue(
-        label: "SynchronizedDictionary",
-        qos: DispatchQoS.userInitiated,
-        attributes: [DispatchQueue.Attributes.concurrent],
-        autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit,
-        target: nil
-    )
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            queue.sync {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-        set {
-            queue.sync(flags: DispatchWorkItemFlags.barrier) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-class JSONEncodingWrapper: ParameterEncoding {
-    var bodyParameters: Any?
-    var encoding: JSONEncoding = JSONEncoding()
-
-    public init(parameters: Any?) {
-        self.bodyParameters = parameters
-    }
-
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        return try encoding.encode(urlRequest, withJSONObject: bodyParameters)
-    }
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.SessionManager>()
-
-open class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String : String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the session
-     configuration.
-     */
-    open func createSessionManager() -> Alamofire.SessionManager {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = buildHeaders()
-        return Alamofire.SessionManager(configuration: configuration)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the Content-Type
-     that is given to an uploaded form part.
-
-     Return nil to use the default behavior (inferring the Content-Type from
-     the file extension).  Return the desired Content-Type otherwise.
-     */
-    open func contentTypeForFormPart(fileURL: URL) -> String? {
-        return nil
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the request
-     configuration (e.g. to override the cache policy).
-     */
-    open func makeRequest(manager: SessionManager, method: HTTPMethod, encoding: ParameterEncoding, headers: [String:String]) -> DataRequest {
-        return manager.request(URLString, method: method, parameters: parameters as? Parameters, encoding: encoding, headers: headers)
-    }
-
-    override open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        let managerId:String = UUID().uuidString
-        // Create a new manager for each request to customize its request header
-        let manager = createSessionManager()
-        managerStore[managerId] = manager
-
-        let encoding:ParameterEncoding = isBody ? JSONEncodingWrapper(parameters: parameters) : URLEncoding()
-
-        let xMethod = Alamofire.HTTPMethod(rawValue: method)
-
-        let param = parameters as? Parameters
-        let fileKeys = param == nil ? [] : param!.filter { $1 is NSURL }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(multipartFormData: { mpForm in
-                for (k, v) in param! {
-                    switch v {
-                    case let fileURL as URL:
-                        if let mimeType = self.contentTypeForFormPart(fileURL: fileURL) {
-                            mpForm.append(fileURL, withName: k, fileName: fileURL.lastPathComponent, mimeType: mimeType)
-                        }
-                        else {
-                            mpForm.append(fileURL, withName: k)
-                        }
-                    case let string as String:
-                        mpForm.append(string.data(using: String.Encoding.utf8)!, withName: k)
-                    case let number as NSNumber:
-                        mpForm.append(number.stringValue.data(using: String.Encoding.utf8)!, withName: k)
-                    default:
-                        fatalError("Unprocessable value \(v) with key \(k)")
-                    }
-                }
-                }, to: URLString, method: xMethod!, headers: nil, encodingCompletion: { encodingResult in
-                switch encodingResult {
-                case .success(let upload, _, _):
-                    if let onProgressReady = self.onProgressReady {
-                        onProgressReady(upload.uploadProgress)
-                    }
-                    self.processRequest(request: upload, managerId, completion)
-                case .failure(let encodingError):
-                    completion(nil, ErrorResponse.HttpError(statusCode: 415, data: nil, error: encodingError))
-                }
-            })
-        } else {
-            let request = makeRequest(manager: manager, method: xMethod!, encoding: encoding, headers: headers)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request: request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: DataRequest, _ managerId: String, _ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: stringResponse.response?.statusCode ?? 500, data: stringResponse.data, error: stringResponse.result.error as Error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: stringResponse.response!,
-                        body: ((stringResponse.result.value ?? "") as! T)
-                    ),
-                    nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: voidResponse.response?.statusCode ?? 500, data: voidResponse.data, error: voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: voidResponse.response!,
-                        body: nil),
-                    nil
-                )
-            })
-        case is Data.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: dataResponse.response?.statusCode ?? 500, data: dataResponse.data, error: dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: dataResponse.response!,
-                        body: (dataResponse.data as! T)
-                    ),
-                    nil
-                )
-            })
-        case is URL.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                do {
-
-                    guard !dataResponse.result.isFailure else {
-                        throw DownloadException.responseFailed
-                    }
-
-                    guard let data = dataResponse.data else {
-                        throw DownloadException.responseDataMissing
-                    }
-
-                    guard let request = request.request else {
-                        throw DownloadException.requestMissing
-                    }
-
-                    let fileManager = FileManager.default
-                    let urlRequest = try request.asURLRequest()
-                    let documentsDirectory = fileManager.urls(for: .documentDirectory, in: .userDomainMask)[0]
-                    let requestURL = try self.getURL(from: urlRequest)
-
-                    var requestPath = try self.getPath(from: requestURL)
-
-                    if let headerFileName = self.getFileName(fromContentDisposition: dataResponse.response?.allHeaderFields["Content-Disposition"] as? String) {
-                        requestPath = requestPath.appending("/\(headerFileName)")
-                    }
-
-                    let filePath = documentsDirectory.appendingPathComponent(requestPath)
-                    let directoryPath = filePath.deletingLastPathComponent().path
-
-                    try fileManager.createDirectory(atPath: directoryPath, withIntermediateDirectories: true, attributes: nil)
-                    try data.write(to: filePath, options: .atomic)
-
-                    completion(
-                        Response(
-                            response: dataResponse.response!,
-                            body: (filePath as! T)
-                        ),
-                        nil
-                    )
-
-                } catch let requestParserError as DownloadException {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data:  dataResponse.data, error: requestParserError))
-                } catch let error {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data: dataResponse.data, error: error))
-                }
-                return
-            })
-        default:
-            validatedRequest.responseJSON(options: .allowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(nil, ErrorResponse.HttpError(statusCode: response.response?.statusCode ?? 500, data: response.data, error: response.result.error!))
-                    return
-                }
-
-                // handle HTTP 204 No Content
-                // NSNull would crash decoders
-                if response.response?.statusCode == 204 && response.result.value is NSNull{
-                    completion(nil, nil)
-                    return
-                }
-
-                if () is T {
-                    completion(Response(response: response.response!, body: (() as! T)), nil)
-                    return
-                }
-                if let json: Any = response.result.value {
-                    let decoded = Decoders.decode(clazz: T.self, source: json as AnyObject, instance: nil)
-                    switch decoded {
-                    case let .success(object): completion(Response(response: response.response!, body: object), nil)
-                    case let .failure(error): completion(nil, ErrorResponse.DecodeError(response: response.data, decodeError: error))
-                    }
-                    return
-                } else if "" is T {
-                    completion(Response(response: response.response!, body: ("" as! T)), nil)
-                    return
-                }
-
-                completion(nil, ErrorResponse.HttpError(statusCode: 500, data: nil, error: NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    open func buildHeaders() -> [String: String] {
-        var httpHeaders = SessionManager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-
-    fileprivate func getFileName(fromContentDisposition contentDisposition : String?) -> String? {
-
-        guard let contentDisposition = contentDisposition else {
-            return nil
-        }
-
-        let items = contentDisposition.components(separatedBy: ";")
-
-        var filename : String? = nil
-
-        for contentItem in items {
-
-            let filenameKey = "filename="
-            guard let range = contentItem.range(of: filenameKey) else {
-                break
-            }
-
-            filename = contentItem
-            return filename?
-                .replacingCharacters(in: range, with:"")
-                .replacingOccurrences(of: "\"", with: "")
-                .trimmingCharacters(in: .whitespacesAndNewlines)
-        }
-
-        return filename
-
-    }
-
-    fileprivate func getPath(from url : URL) throws -> String {
-
-        guard var path = URLComponents(url: url, resolvingAgainstBaseURL: true)?.path else {
-            throw DownloadException.requestMissingPath
-        }
-
-        if path.hasPrefix("/") {
-            path.remove(at: path.startIndex)
-        }
-
-        return path
-
-    }
-
-    fileprivate func getURL(from urlRequest : URLRequest) throws -> URL {
-
-        guard let url = urlRequest.url else {
-            throw DownloadException.requestMissingURL
-        }
-
-        return url
-    }
-}
-
-fileprivate enum DownloadException : Error {
-    case responseDataMissing
-    case responseFailed
-    case requestMissing
-    case requestMissingPath
-    case requestMissingURL
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Configuration.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Configuration.swift
deleted file mode 100644
index b9e2e497683..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Configuration.swift
+++ /dev/null
@@ -1,15 +0,0 @@
-// Configuration.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class Configuration {
-
-	// This value is used to configure the date formatter that is used to serialize dates into JSON format.
-	// You must set it prior to encoding any dates, and it will only be read once.
-    open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Extensions.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Extensions.swift
deleted file mode 100644
index e83bfe67cb7..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Extensions.swift
+++ /dev/null
@@ -1,187 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int32) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int64) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-private func encodeIfPossible<T>(_ object: T) -> Any {
-    if let encodableObject = object as? JSONEncodable {
-        return encodableObject.encodeToJSON()
-    } else {
-        return object as Any
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> Any {
-        var dictionary = [AnyHashable: Any]()
-        for (key, value) in self {
-            dictionary[key] = encodeIfPossible(value)
-        }
-        return dictionary as Any
-    }
-}
-
-extension Data: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.base64EncodedString(options: Data.Base64EncodingOptions())
-    }
-}
-
-private let dateFormatter: DateFormatter = {
-    let fmt = DateFormatter()
-    fmt.dateFormat = Configuration.dateFormat
-    fmt.locale = Locale(identifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension Date: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return dateFormatter.string(from: self) as Any
-    }
-}
-
-extension UUID: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.uuidString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts a Date to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date: Date) -> ISOFullDate? {
-        let calendar = Calendar(identifier: .gregorian)
-
-        let components = calendar.dateComponents(
-            [
-                .year,
-                .month,
-                .day,
-            ],
-            from: date
-        )
-
-        guard
-            let year = components.year,
-            let month = components.month,
-            let day = components.day
-        else {
-            return nil
-        }
-
-        return ISOFullDate(
-            year: year,
-            month: month,
-            day: day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split(separator: "-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to a Date, in the default time zone.
-
-     - returns: A Date from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> Date? {
-        var components = DateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = TimeZone.ReferenceType.default
-        let calendar = Calendar(identifier: .gregorian)
-        return calendar.date(from: components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> Any {
-        return "\(year)-\(month)-\(day)"
-    }
-}
-
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models.swift
deleted file mode 100644
index d1465fe4cbe..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models.swift
+++ /dev/null
@@ -1,1292 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> Any
-}
-
-public enum ErrorResponse : Error {
-    case HttpError(statusCode: Int, data: Data?, error: Error)
-    case DecodeError(response: Data?, decodeError: DecodeError)
-}
-
-open class Response<T> {
-    open let statusCode: Int
-    open let header: [String: String]
-    open let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: HTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String:String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-public enum Decoded<ValueType> {
-    case success(ValueType)
-    case failure(DecodeError)
-}
-
-public extension Decoded {
-    var value: ValueType? {
-        switch self {
-        case let .success(value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-}
-
-public enum DecodeError {
-    case typeMismatch(expected: String, actual: String)
-    case missingKey(key: String)
-    case parseError(message: String)
-}
-
-private var once = Int()
-class Decoders {
-    static fileprivate var decoders = Dictionary<String, ((AnyObject, AnyObject?) -> AnyObject)>()
-
-    static func addDecoder<T>(clazz: T.Type, decoder: @escaping ((AnyObject, AnyObject?) -> Decoded<T>)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0, $1) as AnyObject }
-    }
-
-    static func decode<T>(clazz: T.Type, discriminator: String, source: AnyObject) -> Decoded<T> {
-        let key = discriminator
-        if let decoder = decoders[key], let value = decoder(source, nil) as? Decoded<T> {
-            return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: [T].Type, source: AnyObject) -> Decoded<[T]> {
-        if let sourceArray = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in sourceArray {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value):
-                    values.append(value)
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        switch Decoders.decode(clazz: T.self, source: source, instance: nil) {
-    	    case let .success(value):
-                return .success(value)
-            case let .failure(error):
-                return .failure(error)
-        }
-    }
-
-    static open func decode<T: RawRepresentable>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject) -> Decoded<[Key:T]> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value):
-                    dictionary[key] = value
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        guard !(source is NSNull), source != nil else { return .success(nil) }
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject, instance: AnyObject?) -> Decoded<T> {
-        initialize()
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int32.Type {
-            return .success(value)
-        }
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int64.Type {
-     	    return .success(value)
-        }
-        if let intermediate = source as? String, let value = UUID(uuidString: intermediate) as? T, source is String, T.self is UUID.Type {
-            return .success(value)
-        }
-        if let value = source as? T {
-            return .success(value)
-        }
-        if let intermediate = source as? String, let value = Data(base64Encoded: intermediate) as? T {
-            return .success(value)
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key], let value = decoder(source, instance) as? Decoded<T> {
-           return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    //Convert a Decoded so that its value is optional. DO WE STILL NEED THIS?
-    static func toOptional<T>(decoded: Decoded<T>) -> Decoded<T?> {
-        return .success(decoded.value)
-    }
-
-    static func decodeOptional<T>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        if let source = source, !(source is NSNull) {
-            switch Decoders.decode(clazz: clazz, source: source, instance: nil) {
-            case let .success(value): return .success(value)
-            case let .failure(error): return .failure(error)
-            }
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> where T: RawRepresentable {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decodeOptional(clazz: T.self, source: sourceValue) {
-                case let .success(value): if let value = value { values.append(value) }
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value): values.append(value)
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject?) -> Decoded<[Key:T]?> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value): dictionary[key] = value
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable, U: AnyObject>(clazz: T, source: AnyObject) -> Decoded<T?> where T.RawValue == U {
-        if let value = source as? U {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "String", actual: String(describing: type(of: source))))
-        }
-    }
-
-
-    private static var __once: () = {
-        let formatters = [
-            "yyyy-MM-dd",
-            "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss'Z'",
-            "yyyy-MM-dd'T'HH:mm:ss.SSS",
-            "yyyy-MM-dd HH:mm:ss"
-        ].map { (format: String) -> DateFormatter in
-            let formatter = DateFormatter()
-            formatter.locale = Locale(identifier: "en_US_POSIX")
-            formatter.dateFormat = format
-            return formatter
-        }
-        // Decoder for Date
-        Decoders.addDecoder(clazz: Date.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Date> in
-           if let sourceString = source as? String {
-                for formatter in formatters {
-                    if let date = formatter.date(from: sourceString) {
-                        return .success(date)
-                    }
-                }
-            }
-            if let sourceInt = source as? Int {
-                // treat as a java date
-                return .success(Date(timeIntervalSince1970: Double(sourceInt / 1000) ))
-            }
-            if source is String || source is Int {
-                return .failure(.parseError(message: "Could not decode date"))
-            } else {
-                return .failure(.typeMismatch(expected: "String or Int", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for ISOFullDate
-        Decoders.addDecoder(clazz: ISOFullDate.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ISOFullDate> in
-            if let string = source as? String,
-               let isoDate = ISOFullDate.from(string: string) {
-                return .success(isoDate)
-            } else {
-            	return .failure(.typeMismatch(expected: "ISO date", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for [AdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [AdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[AdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [AdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for AdditionalPropertiesClass
-        Decoders.addDecoder(clazz: AdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<AdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? AdditionalPropertiesClass() : instance as! AdditionalPropertiesClass
-                switch Decoders.decodeOptional(clazz: [String:String].self, source: sourceDictionary["map_property"] as AnyObject?) {
-                
-                case let .success(value): _result.mapProperty = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_of_map_property"] as AnyObject?) {
-                
-                case let .success(value): _result.mapOfMapProperty = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "AdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Animal]
-        Decoders.addDecoder(clazz: [Animal].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Animal]> in
-            return Decoders.decode(clazz: [Animal].self, source: source)
-        }
-
-        // Decoder for Animal
-        Decoders.addDecoder(clazz: Animal.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Animal> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                // Check discriminator to support inheritance
-                if let discriminator = sourceDictionary["className"] as? String, instance == nil && discriminator != "Animal"{
-                    return Decoders.decode(clazz: Animal.self, discriminator: discriminator, source: source)
-                }
-                let _result = instance == nil ? Animal() : instance as! Animal
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Animal", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ApiResponse]
-        Decoders.addDecoder(clazz: [ApiResponse].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ApiResponse]> in
-            return Decoders.decode(clazz: [ApiResponse].self, source: source)
-        }
-
-        // Decoder for ApiResponse
-        Decoders.addDecoder(clazz: ApiResponse.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ApiResponse> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ApiResponse() : instance as! ApiResponse
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["code"] as AnyObject?) {
-                
-                case let .success(value): _result.code = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["type"] as AnyObject?) {
-                
-                case let .success(value): _result.type = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["message"] as AnyObject?) {
-                
-                case let .success(value): _result.message = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ApiResponse", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayOfArrayOfNumberOnly() : instance as! ArrayOfArrayOfNumberOnly
-                switch Decoders.decodeOptional(clazz: [[Double]].self, source: sourceDictionary["ArrayArrayNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayOfNumberOnly() : instance as! ArrayOfNumberOnly
-                switch Decoders.decodeOptional(clazz: [Double].self, source: sourceDictionary["ArrayNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayTest]
-        Decoders.addDecoder(clazz: [ArrayTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayTest]> in
-            return Decoders.decode(clazz: [ArrayTest].self, source: source)
-        }
-
-        // Decoder for ArrayTest
-        Decoders.addDecoder(clazz: ArrayTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ArrayTest() : instance as! ArrayTest
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["array_of_string"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayOfString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [[Int64]].self, source: sourceDictionary["array_array_of_integer"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayOfInteger = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [[ReadOnlyFirst]].self, source: sourceDictionary["array_array_of_model"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayArrayOfModel = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Capitalization]
-        Decoders.addDecoder(clazz: [Capitalization].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Capitalization]> in
-            return Decoders.decode(clazz: [Capitalization].self, source: source)
-        }
-
-        // Decoder for Capitalization
-        Decoders.addDecoder(clazz: Capitalization.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Capitalization> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Capitalization() : instance as! Capitalization
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["smallCamel"] as AnyObject?) {
-                
-                case let .success(value): _result.smallCamel = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["CapitalCamel"] as AnyObject?) {
-                
-                case let .success(value): _result.capitalCamel = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["small_Snake"] as AnyObject?) {
-                
-                case let .success(value): _result.smallSnake = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["Capital_Snake"] as AnyObject?) {
-                
-                case let .success(value): _result.capitalSnake = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["SCA_ETH_Flow_Points"] as AnyObject?) {
-                
-                case let .success(value): _result.sCAETHFlowPoints = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["ATT_NAME"] as AnyObject?) {
-                
-                case let .success(value): _result.ATT_NAME = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Capitalization", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Cat]
-        Decoders.addDecoder(clazz: [Cat].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Cat]> in
-            return Decoders.decode(clazz: [Cat].self, source: source)
-        }
-
-        // Decoder for Cat
-        Decoders.addDecoder(clazz: Cat.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Cat> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Cat() : instance as! Cat
-                if decoders["\(Animal.self)"] != nil {
-                  _ = Decoders.decode(clazz: Animal.self, source: source, instance: _result)
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["declawed"] as AnyObject?) {
-                
-                case let .success(value): _result.declawed = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Cat", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Category]
-        Decoders.addDecoder(clazz: [Category].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Category]> in
-            return Decoders.decode(clazz: [Category].self, source: source)
-        }
-
-        // Decoder for Category
-        Decoders.addDecoder(clazz: Category.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Category> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Category() : instance as! Category
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Category", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ClassModel]
-        Decoders.addDecoder(clazz: [ClassModel].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ClassModel]> in
-            return Decoders.decode(clazz: [ClassModel].self, source: source)
-        }
-
-        // Decoder for ClassModel
-        Decoders.addDecoder(clazz: ClassModel.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ClassModel> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ClassModel() : instance as! ClassModel
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["_class"] as AnyObject?) {
-                
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ClassModel", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Client]
-        Decoders.addDecoder(clazz: [Client].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Client]> in
-            return Decoders.decode(clazz: [Client].self, source: source)
-        }
-
-        // Decoder for Client
-        Decoders.addDecoder(clazz: Client.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Client> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Client() : instance as! Client
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["client"] as AnyObject?) {
-                
-                case let .success(value): _result.client = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Client", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Dog]
-        Decoders.addDecoder(clazz: [Dog].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Dog]> in
-            return Decoders.decode(clazz: [Dog].self, source: source)
-        }
-
-        // Decoder for Dog
-        Decoders.addDecoder(clazz: Dog.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Dog> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Dog() : instance as! Dog
-                if decoders["\(Animal.self)"] != nil {
-                  _ = Decoders.decode(clazz: Animal.self, source: source, instance: _result)
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["className"] as AnyObject?) {
-                
-                case let .success(value): _result.className = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["breed"] as AnyObject?) {
-                
-                case let .success(value): _result.breed = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Dog", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumArrays]
-        Decoders.addDecoder(clazz: [EnumArrays].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumArrays]> in
-            return Decoders.decode(clazz: [EnumArrays].self, source: source)
-        }
-
-        // Decoder for EnumArrays
-        Decoders.addDecoder(clazz: EnumArrays.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumArrays> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? EnumArrays() : instance as! EnumArrays
-                switch Decoders.decodeOptional(clazz: EnumArrays.JustSymbol.self, source: sourceDictionary["just_symbol"] as AnyObject?) {
-                
-                case let .success(value): _result.justSymbol = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Array<EnumArrays.ArrayEnum>.self, source: sourceDictionary["array_enum"] as AnyObject?) {
-                
-                case let .success(value): _result.arrayEnum = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumArrays", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumClass]
-        Decoders.addDecoder(clazz: [EnumClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumClass]> in
-            return Decoders.decode(clazz: [EnumClass].self, source: source)
-        }
-
-        // Decoder for EnumClass
-        Decoders.addDecoder(clazz: EnumClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumClass> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: EnumClass.self, source: source, instance: instance)
-        }
-        // Decoder for [EnumTest]
-        Decoders.addDecoder(clazz: [EnumTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumTest]> in
-            return Decoders.decode(clazz: [EnumTest].self, source: source)
-        }
-
-        // Decoder for EnumTest
-        Decoders.addDecoder(clazz: EnumTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? EnumTest() : instance as! EnumTest
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumString.self, source: sourceDictionary["enum_string"] as AnyObject?) {
-                
-                case let .success(value): _result.enumString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumInteger.self, source: sourceDictionary["enum_integer"] as AnyObject?) {
-                
-                case let .success(value): _result.enumInteger = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumNumber.self, source: sourceDictionary["enum_number"] as AnyObject?) {
-                
-                case let .success(value): _result.enumNumber = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: OuterEnum.self, source: sourceDictionary["outerEnum"] as AnyObject?) {
-                
-                case let .success(value): _result.outerEnum = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [FormatTest]
-        Decoders.addDecoder(clazz: [FormatTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[FormatTest]> in
-            return Decoders.decode(clazz: [FormatTest].self, source: source)
-        }
-
-        // Decoder for FormatTest
-        Decoders.addDecoder(clazz: FormatTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<FormatTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? FormatTest() : instance as! FormatTest
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["integer"] as AnyObject?) {
-                
-                case let .success(value): _result.integer = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["int32"] as AnyObject?) {
-                
-                case let .success(value): _result.int32 = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["int64"] as AnyObject?) {
-                
-                case let .success(value): _result.int64 = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["number"] as AnyObject?) {
-                
-                case let .success(value): _result.number = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Float.self, source: sourceDictionary["float"] as AnyObject?) {
-                
-                case let .success(value): _result.float = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["double"] as AnyObject?) {
-                
-                case let .success(value): _result.double = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["string"] as AnyObject?) {
-                
-                case let .success(value): _result.string = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Data.self, source: sourceDictionary["byte"] as AnyObject?) {
-                
-                case let .success(value): _result.byte = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: URL.self, source: sourceDictionary["binary"] as AnyObject?) {
-                
-                case let .success(value): _result.binary = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: ISOFullDate.self, source: sourceDictionary["date"] as AnyObject?) {
-                
-                case let .success(value): _result.date = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "FormatTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [HasOnlyReadOnly]
-        Decoders.addDecoder(clazz: [HasOnlyReadOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[HasOnlyReadOnly]> in
-            return Decoders.decode(clazz: [HasOnlyReadOnly].self, source: source)
-        }
-
-        // Decoder for HasOnlyReadOnly
-        Decoders.addDecoder(clazz: HasOnlyReadOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<HasOnlyReadOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? HasOnlyReadOnly() : instance as! HasOnlyReadOnly
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["foo"] as AnyObject?) {
-                
-                case let .success(value): _result.foo = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "HasOnlyReadOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [List]
-        Decoders.addDecoder(clazz: [List].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[List]> in
-            return Decoders.decode(clazz: [List].self, source: source)
-        }
-
-        // Decoder for List
-        Decoders.addDecoder(clazz: List.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<List> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? List() : instance as! List
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["123-list"] as AnyObject?) {
-                
-                case let .success(value): _result._123list = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "List", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MapTest]
-        Decoders.addDecoder(clazz: [MapTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MapTest]> in
-            return Decoders.decode(clazz: [MapTest].self, source: source)
-        }
-
-        // Decoder for MapTest
-        Decoders.addDecoder(clazz: MapTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MapTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? MapTest() : instance as! MapTest
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_map_of_string"] as AnyObject?) {
-                
-                case let .success(value): _result.mapMapOfString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: MapTest.MapOfEnumString.self, source: sourceDictionary["map_of_enum_string"] as AnyObject?) {
-                /*
-                case let .success(value): _result.mapOfEnumString = value
-                case let .failure(error): break
-                */ default: break //TODO: handle enum map scenario
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MapTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MixedPropertiesAndAdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MixedPropertiesAndAdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for MixedPropertiesAndAdditionalPropertiesClass
-        Decoders.addDecoder(clazz: MixedPropertiesAndAdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MixedPropertiesAndAdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? MixedPropertiesAndAdditionalPropertiesClass() : instance as! MixedPropertiesAndAdditionalPropertiesClass
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String:Animal].self, source: sourceDictionary["map"] as AnyObject?) {
-                
-                case let .success(value): _result.map = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MixedPropertiesAndAdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Model200Response]
-        Decoders.addDecoder(clazz: [Model200Response].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Model200Response]> in
-            return Decoders.decode(clazz: [Model200Response].self, source: source)
-        }
-
-        // Decoder for Model200Response
-        Decoders.addDecoder(clazz: Model200Response.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Model200Response> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Model200Response() : instance as! Model200Response
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["class"] as AnyObject?) {
-                
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Model200Response", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Name]
-        Decoders.addDecoder(clazz: [Name].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Name]> in
-            return Decoders.decode(clazz: [Name].self, source: source)
-        }
-
-        // Decoder for Name
-        Decoders.addDecoder(clazz: Name.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Name> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Name() : instance as! Name
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["snake_case"] as AnyObject?) {
-                
-                case let .success(value): _result.snakeCase = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["property"] as AnyObject?) {
-                
-                case let .success(value): _result.property = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["123Number"] as AnyObject?) {
-                
-                case let .success(value): _result._123number = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Name", actual: "\(source)"))
-            }
-        }
-        // Decoder for [NumberOnly]
-        Decoders.addDecoder(clazz: [NumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[NumberOnly]> in
-            return Decoders.decode(clazz: [NumberOnly].self, source: source)
-        }
-
-        // Decoder for NumberOnly
-        Decoders.addDecoder(clazz: NumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<NumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? NumberOnly() : instance as! NumberOnly
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["JustNumber"] as AnyObject?) {
-                
-                case let .success(value): _result.justNumber = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "NumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Order]
-        Decoders.addDecoder(clazz: [Order].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Order]> in
-            return Decoders.decode(clazz: [Order].self, source: source)
-        }
-
-        // Decoder for Order
-        Decoders.addDecoder(clazz: Order.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Order> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Order() : instance as! Order
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["petId"] as AnyObject?) {
-                
-                case let .success(value): _result.petId = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["quantity"] as AnyObject?) {
-                
-                case let .success(value): _result.quantity = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["shipDate"] as AnyObject?) {
-                
-                case let .success(value): _result.shipDate = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Order.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["complete"] as AnyObject?) {
-                
-                case let .success(value): _result.complete = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Order", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterComposite]
-        Decoders.addDecoder(clazz: [OuterComposite].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterComposite]> in
-            return Decoders.decode(clazz: [OuterComposite].self, source: source)
-        }
-
-        // Decoder for OuterComposite
-        Decoders.addDecoder(clazz: OuterComposite.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterComposite> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? OuterComposite() : instance as! OuterComposite
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["my_number"] as AnyObject?) {
-                
-                case let .success(value): _result.myNumber = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["my_string"] as AnyObject?) {
-                
-                case let .success(value): _result.myString = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["my_boolean"] as AnyObject?) {
-                
-                case let .success(value): _result.myBoolean = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "OuterComposite", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterEnum]
-        Decoders.addDecoder(clazz: [OuterEnum].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterEnum]> in
-            return Decoders.decode(clazz: [OuterEnum].self, source: source)
-        }
-
-        // Decoder for OuterEnum
-        Decoders.addDecoder(clazz: OuterEnum.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterEnum> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: OuterEnum.self, source: source, instance: instance)
-        }
-        // Decoder for [Pet]
-        Decoders.addDecoder(clazz: [Pet].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Pet]> in
-            return Decoders.decode(clazz: [Pet].self, source: source)
-        }
-
-        // Decoder for Pet
-        Decoders.addDecoder(clazz: Pet.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Pet> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Pet() : instance as! Pet
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Category.self, source: sourceDictionary["category"] as AnyObject?) {
-                
-                case let .success(value): _result.category = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["photoUrls"] as AnyObject?) {
-                
-                case let .success(value): _result.photoUrls = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: [Tag].self, source: sourceDictionary["tags"] as AnyObject?) {
-                
-                case let .success(value): _result.tags = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Pet.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Pet", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ReadOnlyFirst]
-        Decoders.addDecoder(clazz: [ReadOnlyFirst].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ReadOnlyFirst]> in
-            return Decoders.decode(clazz: [ReadOnlyFirst].self, source: source)
-        }
-
-        // Decoder for ReadOnlyFirst
-        Decoders.addDecoder(clazz: ReadOnlyFirst.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ReadOnlyFirst> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? ReadOnlyFirst() : instance as! ReadOnlyFirst
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["baz"] as AnyObject?) {
-                
-                case let .success(value): _result.baz = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ReadOnlyFirst", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Return]
-        Decoders.addDecoder(clazz: [Return].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Return]> in
-            return Decoders.decode(clazz: [Return].self, source: source)
-        }
-
-        // Decoder for Return
-        Decoders.addDecoder(clazz: Return.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Return> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Return() : instance as! Return
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["return"] as AnyObject?) {
-                
-                case let .success(value): _result._return = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Return", actual: "\(source)"))
-            }
-        }
-        // Decoder for [SpecialModelName]
-        Decoders.addDecoder(clazz: [SpecialModelName].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[SpecialModelName]> in
-            return Decoders.decode(clazz: [SpecialModelName].self, source: source)
-        }
-
-        // Decoder for SpecialModelName
-        Decoders.addDecoder(clazz: SpecialModelName.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<SpecialModelName> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? SpecialModelName() : instance as! SpecialModelName
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["$special[property.name]"] as AnyObject?) {
-                
-                case let .success(value): _result.specialPropertyName = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "SpecialModelName", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Tag]
-        Decoders.addDecoder(clazz: [Tag].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Tag]> in
-            return Decoders.decode(clazz: [Tag].self, source: source)
-        }
-
-        // Decoder for Tag
-        Decoders.addDecoder(clazz: Tag.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Tag> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? Tag() : instance as! Tag
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Tag", actual: "\(source)"))
-            }
-        }
-        // Decoder for [User]
-        Decoders.addDecoder(clazz: [User].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[User]> in
-            return Decoders.decode(clazz: [User].self, source: source)
-        }
-
-        // Decoder for User
-        Decoders.addDecoder(clazz: User.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<User> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = instance == nil ? User() : instance as! User
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["username"] as AnyObject?) {
-                
-                case let .success(value): _result.username = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["firstName"] as AnyObject?) {
-                
-                case let .success(value): _result.firstName = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["lastName"] as AnyObject?) {
-                
-                case let .success(value): _result.lastName = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["email"] as AnyObject?) {
-                
-                case let .success(value): _result.email = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["phone"] as AnyObject?) {
-                
-                case let .success(value): _result.phone = value
-                case let .failure(error): break
-                
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["userStatus"] as AnyObject?) {
-                
-                case let .success(value): _result.userStatus = value
-                case let .failure(error): break
-                
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "User", actual: "\(source)"))
-            }
-        }
-    }()
-
-    static fileprivate func initialize() {
-        _ = Decoders.__once
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
deleted file mode 100644
index 48724b45a3d..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// AdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class AdditionalPropertiesClass: JSONEncodable {
-
-    public var mapProperty: [String:String]?
-    public var mapOfMapProperty: [String:[String:String]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_property"] = self.mapProperty?.encodeToJSON()
-        nillableDictionary["map_of_map_property"] = self.mapOfMapProperty?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
deleted file mode 100644
index c88f4c243e6..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Animal.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Animal: JSONEncodable {
-
-    public var className: String?
-    public var color: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["className"] = self.className
-        nillableDictionary["color"] = self.color
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
deleted file mode 100644
index e7bea63f8ed..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// AnimalFarm.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public typealias AnimalFarm = [Animal]
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
deleted file mode 100644
index 5e71afe30e2..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// ApiResponse.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ApiResponse: JSONEncodable {
-
-    public var code: Int32?
-    public var type: String?
-    public var message: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["code"] = self.code?.encodeToJSON()
-        nillableDictionary["type"] = self.type
-        nillableDictionary["message"] = self.message
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
deleted file mode 100644
index 117028338c9..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// ArrayOfArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayArrayNumber: [[Double]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayArrayNumber"] = self.arrayArrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
deleted file mode 100644
index 0ef1486af41..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// ArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayNumber: [Double]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayNumber"] = self.arrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
deleted file mode 100644
index 7a6f225b4f1..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// ArrayTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayTest: JSONEncodable {
-
-    public var arrayOfString: [String]?
-    public var arrayArrayOfInteger: [[Int64]]?
-    public var arrayArrayOfModel: [[ReadOnlyFirst]]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["array_of_string"] = self.arrayOfString?.encodeToJSON()
-        nillableDictionary["array_array_of_integer"] = self.arrayArrayOfInteger?.encodeToJSON()
-        nillableDictionary["array_array_of_model"] = self.arrayArrayOfModel?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
deleted file mode 100644
index 7576f6e34e9..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-// Capitalization.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Capitalization: JSONEncodable {
-
-    public var smallCamel: String?
-    public var capitalCamel: String?
-    public var smallSnake: String?
-    public var capitalSnake: String?
-    public var sCAETHFlowPoints: String?
-    /** Name of the pet  */
-    public var ATT_NAME: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["smallCamel"] = self.smallCamel
-        nillableDictionary["CapitalCamel"] = self.capitalCamel
-        nillableDictionary["small_Snake"] = self.smallSnake
-        nillableDictionary["Capital_Snake"] = self.capitalSnake
-        nillableDictionary["SCA_ETH_Flow_Points"] = self.sCAETHFlowPoints
-        nillableDictionary["ATT_NAME"] = self.ATT_NAME
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
deleted file mode 100644
index 176f1d2cdce..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Cat.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Cat: Animal {
-
-    public var declawed: Bool?
-
-    
-
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["declawed"] = self.declawed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Category.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
deleted file mode 100644
index f655cdfbd1b..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Category.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Category: JSONEncodable {
-
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
deleted file mode 100644
index 8bcb3246540..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// ClassModel.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model with \&quot;_class\&quot; property */
-open class ClassModel: JSONEncodable {
-
-    public var _class: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["_class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Client.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
deleted file mode 100644
index 15911001e94..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Client.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Client: JSONEncodable {
-
-    public var client: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["client"] = self.client
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
deleted file mode 100644
index 93fd2df434b..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// Dog.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Dog: Animal {
-
-    public var breed: String?
-
-    
-
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["breed"] = self.breed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
deleted file mode 100644
index c2414d1023e..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-// EnumArrays.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumArrays: JSONEncodable {
-
-    public enum JustSymbol: String { 
-        case greaterThanOrEqualTo = ">="
-        case dollar = "$"
-    }
-    public enum ArrayEnum: String { 
-        case fish = ""fish""
-        case crab = ""crab""
-    }
-    public var justSymbol: JustSymbol?
-    public var arrayEnum: [ArrayEnum]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["just_symbol"] = self.justSymbol?.rawValue
-        nillableDictionary["array_enum"] = self.arrayEnum?.map({$0.rawValue}).encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
deleted file mode 100644
index 73a74ff53f7..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// EnumClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum EnumClass: String {
-    case abc = "_abc"
-    case efg = "-efg"
-    case xyz = "(xyz)"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
deleted file mode 100644
index 59c0660b900..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-// EnumTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumTest: JSONEncodable {
-
-    public enum EnumString: String { 
-        case upper = "UPPER"
-        case lower = "lower"
-        case empty = ""
-    }
-    public enum EnumInteger: Int32 { 
-        case _1 = 1
-        case number1 = -1
-    }
-    public enum EnumNumber: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-    public var enumString: EnumString?
-    public var enumInteger: EnumInteger?
-    public var enumNumber: EnumNumber?
-    public var outerEnum: OuterEnum?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["enum_string"] = self.enumString?.rawValue
-        nillableDictionary["enum_integer"] = self.enumInteger?.rawValue
-        nillableDictionary["enum_number"] = self.enumNumber?.rawValue
-        nillableDictionary["outerEnum"] = self.outerEnum?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
deleted file mode 100644
index 4e1ac026572..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// FormatTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class FormatTest: JSONEncodable {
-
-    public var integer: Int32?
-    public var int32: Int32?
-    public var int64: Int64?
-    public var number: Double?
-    public var float: Float?
-    public var double: Double?
-    public var string: String?
-    public var byte: Data?
-    public var binary: URL?
-    public var date: ISOFullDate?
-    public var dateTime: Date?
-    public var uuid: UUID?
-    public var password: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["integer"] = self.integer?.encodeToJSON()
-        nillableDictionary["int32"] = self.int32?.encodeToJSON()
-        nillableDictionary["int64"] = self.int64?.encodeToJSON()
-        nillableDictionary["number"] = self.number
-        nillableDictionary["float"] = self.float
-        nillableDictionary["double"] = self.double
-        nillableDictionary["string"] = self.string
-        nillableDictionary["byte"] = self.byte?.encodeToJSON()
-        nillableDictionary["binary"] = self.binary?.encodeToJSON()
-        nillableDictionary["date"] = self.date?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["password"] = self.password
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
deleted file mode 100644
index 8b30c111dea..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// HasOnlyReadOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class HasOnlyReadOnly: JSONEncodable {
-
-    public var bar: String?
-    public var foo: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["foo"] = self.foo
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/List.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/List.swift
deleted file mode 100644
index 2336d92501a..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/List.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// List.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class List: JSONEncodable {
-
-    public var _123list: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["123-list"] = self._123list
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
deleted file mode 100644
index 7b6af62b057..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// MapTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MapTest: JSONEncodable {
-
-    public enum MapOfEnumString: String { 
-        case upper = ""UPPER""
-        case lower = ""lower""
-    }
-    public var mapMapOfString: [String:[String:String]]?
-    public var mapOfEnumString: [String:String]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_map_of_string"] = self.mapMapOfString?.encodeToJSON()//TODO: handle enum map scenario
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
deleted file mode 100644
index 451a2275252..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// MixedPropertiesAndAdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MixedPropertiesAndAdditionalPropertiesClass: JSONEncodable {
-
-    public var uuid: UUID?
-    public var dateTime: Date?
-    public var map: [String:Animal]?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["map"] = self.map?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
deleted file mode 100644
index 4e5fe497d0e..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// Model200Response.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name starting with number */
-open class Model200Response: JSONEncodable {
-
-    public var name: Int32?
-    public var _class: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Name.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
deleted file mode 100644
index 56b9a73d3f5..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-// Name.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name same as property name */
-open class Name: JSONEncodable {
-
-    public var name: Int32?
-    public var snakeCase: Int32?
-    public var property: String?
-    public var _123number: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["snake_case"] = self.snakeCase?.encodeToJSON()
-        nillableDictionary["property"] = self.property
-        nillableDictionary["123Number"] = self._123number?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
deleted file mode 100644
index bbcf6dc330c..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// NumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class NumberOnly: JSONEncodable {
-
-    public var justNumber: Double?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["JustNumber"] = self.justNumber
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
deleted file mode 100644
index 53615e31d18..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Order.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Order: JSONEncodable {
-
-    public enum Status: String { 
-        case placed = "placed"
-        case approved = "approved"
-        case delivered = "delivered"
-    }
-    public var id: Int64?
-    public var petId: Int64?
-    public var quantity: Int32?
-    public var shipDate: Date?
-    /** Order Status */
-    public var status: Status?
-    public var complete: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["petId"] = self.petId?.encodeToJSON()
-        nillableDictionary["quantity"] = self.quantity?.encodeToJSON()
-        nillableDictionary["shipDate"] = self.shipDate?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        nillableDictionary["complete"] = self.complete
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
deleted file mode 100644
index b346eb47e5f..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
+++ /dev/null
@@ -1,30 +0,0 @@
-//
-// OuterComposite.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class OuterComposite: JSONEncodable {
-
-    public var myNumber: Double?
-    public var myString: String?
-    public var myBoolean: Bool?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["my_number"] = self.myNumber
-        nillableDictionary["my_string"] = self.myString
-        nillableDictionary["my_boolean"] = self.myBoolean
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
deleted file mode 100644
index 29609ed6517..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// OuterEnum.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum OuterEnum: String {
-    case placed = "placed"
-    case approved = "approved"
-    case delivered = "delivered"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
deleted file mode 100644
index 51785677759..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-// Pet.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Pet: JSONEncodable {
-
-    public enum Status: String { 
-        case available = "available"
-        case pending = "pending"
-        case sold = "sold"
-    }
-    public var id: Int64?
-    public var category: Category?
-    public var name: String?
-    public var photoUrls: [String]?
-    public var tags: [Tag]?
-    /** pet status in the store */
-    public var status: Status?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["category"] = self.category?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        nillableDictionary["photoUrls"] = self.photoUrls?.encodeToJSON()
-        nillableDictionary["tags"] = self.tags?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
deleted file mode 100644
index 2f169a93509..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// ReadOnlyFirst.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ReadOnlyFirst: JSONEncodable {
-
-    public var bar: String?
-    public var baz: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["baz"] = self.baz
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Return.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
deleted file mode 100644
index ceac4d7366b..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-// Return.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing reserved words */
-open class Return: JSONEncodable {
-
-    public var _return: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["return"] = self._return?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
deleted file mode 100644
index 5c6dc68f54a..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-// SpecialModelName.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class SpecialModelName: JSONEncodable {
-
-    public var specialPropertyName: Int64?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["$special[property.name]"] = self.specialPropertyName?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
deleted file mode 100644
index aacc34cb98f..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Tag.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Tag: JSONEncodable {
-
-    public var id: Int64?
-    public var name: String?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/User.swift b/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/User.swift
deleted file mode 100644
index a60b91ea67c..00000000000
--- a/samples/client/petstore/swift3/rxswift/PetstoreClient/Classes/OpenAPIs/Models/User.swift
+++ /dev/null
@@ -1,41 +0,0 @@
-//
-// User.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class User: JSONEncodable {
-
-    public var id: Int64?
-    public var username: String?
-    public var firstName: String?
-    public var lastName: String?
-    public var email: String?
-    public var password: String?
-    public var phone: String?
-    /** User Status */
-    public var userStatus: Int32?
-
-    public init() {}
-
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["username"] = self.username
-        nillableDictionary["firstName"] = self.firstName
-        nillableDictionary["lastName"] = self.lastName
-        nillableDictionary["email"] = self.email
-        nillableDictionary["password"] = self.password
-        nillableDictionary["phone"] = self.phone
-        nillableDictionary["userStatus"] = self.userStatus?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Podfile b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Podfile
deleted file mode 100644
index 77b1f16f2fe..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Podfile
+++ /dev/null
@@ -1,18 +0,0 @@
-use_frameworks!
-source 'https://github.com/CocoaPods/Specs.git'
-
-target 'SwaggerClient' do
-    pod "PetstoreClient", :path => "../"
-
-    target 'SwaggerClientTests' do
-        inherit! :search_paths
-    end
-end
-
-post_install do |installer|
-    installer.pods_project.targets.each do |target|
-        target.build_configurations.each do |configuration|
-            configuration.build_settings['SWIFT_VERSION'] = "3.0"
-        end
-    end
-end
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Podfile.lock b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Podfile.lock
deleted file mode 100644
index e999e49e506..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Podfile.lock
+++ /dev/null
@@ -1,27 +0,0 @@
-PODS:
-  - Alamofire (4.5.0)
-  - PetstoreClient (0.0.1):
-    - Alamofire (~> 4.5.0)
-    - RxSwift (= 3.6.1)
-  - RxSwift (3.6.1)
-
-DEPENDENCIES:
-  - PetstoreClient (from `../`)
-
-SPEC REPOS:
-  https://github.com/cocoapods/specs.git:
-    - Alamofire
-    - RxSwift
-
-EXTERNAL SOURCES:
-  PetstoreClient:
-    :path: "../"
-
-SPEC CHECKSUMS:
-  Alamofire: f28cdffd29de33a7bfa022cbd63ae95a27fae140
-  PetstoreClient: 8c4d20911bfd9f88418b64c1f141c8a47ab85e60
-  RxSwift: f9de85ea20cd2f7716ee5409fc13523dc638e4e4
-
-PODFILE CHECKSUM: 417049e9ed0e4680602b34d838294778389bd418
-
-COCOAPODS: 1.5.3
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/LICENSE b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/LICENSE
deleted file mode 100644
index 4cfbf72a4d8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/LICENSE
+++ /dev/null
@@ -1,19 +0,0 @@
-Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/README.md b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/README.md
deleted file mode 100644
index e1966fdca00..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/README.md
+++ /dev/null
@@ -1,1857 +0,0 @@
-![Alamofire: Elegant Networking in Swift](https://raw.githubusercontent.com/Alamofire/Alamofire/assets/alamofire.png)
-
-[![Build Status](https://travis-ci.org/Alamofire/Alamofire.svg?branch=master)](https://travis-ci.org/Alamofire/Alamofire)
-[![CocoaPods Compatible](https://img.shields.io/cocoapods/v/Alamofire.svg)](https://img.shields.io/cocoapods/v/Alamofire.svg)
-[![Carthage Compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage)
-[![Platform](https://img.shields.io/cocoapods/p/Alamofire.svg?style=flat)](http://cocoadocs.org/docsets/Alamofire)
-[![Twitter](https://img.shields.io/badge/twitter-@AlamofireSF-blue.svg?style=flat)](http://twitter.com/AlamofireSF)
-[![Gitter](https://badges.gitter.im/Alamofire/Alamofire.svg)](https://gitter.im/Alamofire/Alamofire?utm_source=badge&utm_medium=badge&utm_campaign=pr-badge)
-
-Alamofire is an HTTP networking library written in Swift.
-
-- [Features](#features)
-- [Component Libraries](#component-libraries)
-- [Requirements](#requirements)
-- [Migration Guides](#migration-guides)
-- [Communication](#communication)
-- [Installation](#installation)
-- [Usage](#usage)
-    - **Intro -** [Making a Request](#making-a-request), [Response Handling](#response-handling), [Response Validation](#response-validation), [Response Caching](#response-caching)
-	- **HTTP -** [HTTP Methods](#http-methods), [Parameter Encoding](#parameter-encoding), [HTTP Headers](#http-headers), [Authentication](#authentication)
-	- **Large Data -** [Downloading Data to a File](#downloading-data-to-a-file), [Uploading Data to a Server](#uploading-data-to-a-server)
-	- **Tools -** [Statistical Metrics](#statistical-metrics), [cURL Command Output](#curl-command-output)
-- [Advanced Usage](#advanced-usage)
-	- **URL Session -** [Session Manager](#session-manager), [Session Delegate](#session-delegate), [Request](#request)
-	- **Routing -** [Routing Requests](#routing-requests), [Adapting and Retrying Requests](#adapting-and-retrying-requests)
-	- **Model Objects -** [Custom Response Serialization](#custom-response-serialization)
-	- **Connection -** [Security](#security), [Network Reachability](#network-reachability)
-- [Open Radars](#open-radars)
-- [FAQ](#faq)
-- [Credits](#credits)
-- [Donations](#donations)
-- [License](#license)
-
-## Features
-
-- [x] Chainable Request / Response Methods
-- [x] URL / JSON / plist Parameter Encoding
-- [x] Upload File / Data / Stream / MultipartFormData
-- [x] Download File using Request or Resume Data
-- [x] Authentication with URLCredential
-- [x] HTTP Response Validation
-- [x] Upload and Download Progress Closures with Progress
-- [x] cURL Command Output
-- [x] Dynamically Adapt and Retry Requests
-- [x] TLS Certificate and Public Key Pinning
-- [x] Network Reachability
-- [x] Comprehensive Unit and Integration Test Coverage
-- [x] [Complete Documentation](http://cocoadocs.org/docsets/Alamofire)
-
-## Component Libraries
-
-In order to keep Alamofire focused specifically on core networking implementations, additional component libraries have been created by the [Alamofire Software Foundation](https://github.com/Alamofire/Foundation) to bring additional functionality to the Alamofire ecosystem.
-
-- [AlamofireImage](https://github.com/Alamofire/AlamofireImage) - An image library including image response serializers, `UIImage` and `UIImageView` extensions, custom image filters, an auto-purging in-memory cache and a priority-based image downloading system.
-- [AlamofireNetworkActivityIndicator](https://github.com/Alamofire/AlamofireNetworkActivityIndicator) - Controls the visibility of the network activity indicator on iOS using Alamofire. It contains configurable delay timers to help mitigate flicker and can support `URLSession` instances not managed by Alamofire.
-
-## Requirements
-
-- iOS 8.0+ / macOS 10.10+ / tvOS 9.0+ / watchOS 2.0+
-- Xcode 8.1, 8.2, 8.3, and 9.0
-- Swift 3.0, 3.1, 3.2, and 4.0
-
-## Migration Guides
-
-- [Alamofire 4.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%204.0%20Migration%20Guide.md)
-- [Alamofire 3.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%203.0%20Migration%20Guide.md)
-- [Alamofire 2.0 Migration Guide](https://github.com/Alamofire/Alamofire/blob/master/Documentation/Alamofire%202.0%20Migration%20Guide.md)
-
-## Communication
-
-- If you **need help**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire). (Tag 'alamofire')
-- If you'd like to **ask a general question**, use [Stack Overflow](http://stackoverflow.com/questions/tagged/alamofire).
-- If you **found a bug**, open an issue.
-- If you **have a feature request**, open an issue.
-- If you **want to contribute**, submit a pull request.
-
-## Installation
-
-### CocoaPods
-
-[CocoaPods](http://cocoapods.org) is a dependency manager for Cocoa projects. You can install it with the following command:
-
-```bash
-$ gem install cocoapods
-```
-
-> CocoaPods 1.1.0+ is required to build Alamofire 4.0.0+.
-
-To integrate Alamofire into your Xcode project using CocoaPods, specify it in your `Podfile`:
-
-```ruby
-source 'https://github.com/CocoaPods/Specs.git'
-platform :ios, '10.0'
-use_frameworks!
-
-target '<Your Target Name>' do
-    pod 'Alamofire', '~> 4.4'
-end
-```
-
-Then, run the following command:
-
-```bash
-$ pod install
-```
-
-### Carthage
-
-[Carthage](https://github.com/Carthage/Carthage) is a decentralized dependency manager that builds your dependencies and provides you with binary frameworks.
-
-You can install Carthage with [Homebrew](http://brew.sh/) using the following command:
-
-```bash
-$ brew update
-$ brew install carthage
-```
-
-To integrate Alamofire into your Xcode project using Carthage, specify it in your `Cartfile`:
-
-```ogdl
-github "Alamofire/Alamofire" ~> 4.4
-```
-
-Run `carthage update` to build the framework and drag the built `Alamofire.framework` into your Xcode project.
-
-### Swift Package Manager
-
-The [Swift Package Manager](https://swift.org/package-manager/) is a tool for automating the distribution of Swift code and is integrated into the `swift` compiler. It is in early development, but Alamofire does support its use on supported platforms. 
-
-Once you have your Swift package set up, adding Alamofire as a dependency is as easy as adding it to the `dependencies` value of your `Package.swift`.
-
-```swift
-dependencies: [
-    .Package(url: "https://github.com/Alamofire/Alamofire.git", majorVersion: 4)
-]
-```
-
-### Manually
-
-If you prefer not to use any of the aforementioned dependency managers, you can integrate Alamofire into your project manually.
-
-#### Embedded Framework
-
-- Open up Terminal, `cd` into your top-level project directory, and run the following command "if" your project is not initialized as a git repository:
-
-  ```bash
-  $ git init
-  ```
-
-- Add Alamofire as a git [submodule](http://git-scm.com/docs/git-submodule) by running the following command:
-
-  ```bash
-  $ git submodule add https://github.com/Alamofire/Alamofire.git
-  ```
-
-- Open the new `Alamofire` folder, and drag the `Alamofire.xcodeproj` into the Project Navigator of your application's Xcode project.
-
-    > It should appear nested underneath your application's blue project icon. Whether it is above or below all the other Xcode groups does not matter.
-
-- Select the `Alamofire.xcodeproj` in the Project Navigator and verify the deployment target matches that of your application target.
-- Next, select your application project in the Project Navigator (blue project icon) to navigate to the target configuration window and select the application target under the "Targets" heading in the sidebar.
-- In the tab bar at the top of that window, open the "General" panel.
-- Click on the `+` button under the "Embedded Binaries" section.
-- You will see two different `Alamofire.xcodeproj` folders each with two different versions of the `Alamofire.framework` nested inside a `Products` folder.
-
-    > It does not matter which `Products` folder you choose from, but it does matter whether you choose the top or bottom `Alamofire.framework`.
-
-- Select the top `Alamofire.framework` for iOS and the bottom one for OS X.
-
-    > You can verify which one you selected by inspecting the build log for your project. The build target for `Alamofire` will be listed as either `Alamofire iOS`, `Alamofire macOS`, `Alamofire tvOS` or `Alamofire watchOS`.
-
-- And that's it!
-
-  > The `Alamofire.framework` is automagically added as a target dependency, linked framework and embedded framework in a copy files build phase which is all you need to build on the simulator and a device.
-
----
-
-## Usage
-
-### Making a Request
-
-```swift
-import Alamofire
-
-Alamofire.request("https://httpbin.org/get")
-```
-
-### Response Handling
-
-Handling the `Response` of a `Request` made in Alamofire involves chaining a response handler onto the `Request`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print("Request: \(String(describing: response.request))")   // original url request
-    print("Response: \(String(describing: response.response))") // http url response
-    print("Result: \(response.result)")                         // response serialization result
-
-    if let json = response.result.value {
-        print("JSON: \(json)") // serialized json response
-    }
-
-    if let data = response.data, let utf8Text = String(data: data, encoding: .utf8) {
-        print("Data: \(utf8Text)") // original server data as UTF8 string
-    }
-}
-```
-
-In the above example, the `responseJSON` handler is appended to the `Request` to be executed once the `Request` is complete. Rather than blocking execution to wait for a response from the server, a [callback](http://en.wikipedia.org/wiki/Callback_%28computer_programming%29) in the form of a closure is specified to handle the response once it's received. The result of a request is only available inside the scope of a response closure. Any execution contingent on the response or data received from the server must be done within a response closure.
-
-> Networking in Alamofire is done _asynchronously_. Asynchronous programming may be a source of frustration to programmers unfamiliar with the concept, but there are [very good reasons](https://developer.apple.com/library/ios/qa/qa1693/_index.html) for doing it this way.
-
-Alamofire contains five different response handlers by default including:
-
-```swift
-// Response Handler - Unserialized Response
-func response(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DefaultDataResponse) -> Void)
-    -> Self
-
-// Response Data Handler - Serialized into Data
-func responseData(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Data>) -> Void)
-    -> Self
-
-// Response String Handler - Serialized into String
-func responseString(
-    queue: DispatchQueue?,
-    encoding: String.Encoding?,
-    completionHandler: @escaping (DataResponse<String>) -> Void)
-    -> Self
-
-// Response JSON Handler - Serialized into Any
-func responseJSON(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Any>) -> Void)
-    -> Self
-
-// Response PropertyList (plist) Handler - Serialized into Any
-func responsePropertyList(
-    queue: DispatchQueue?,
-    completionHandler: @escaping (DataResponse<Any>) -> Void))
-    -> Self
-```
-
-None of the response handlers perform any validation of the `HTTPURLResponse` it gets back from the server.
-
-> For example, response status codes in the `400..<500` and `500..<600` ranges do NOT automatically trigger an `Error`. Alamofire uses [Response Validation](#response-validation) method chaining to achieve this.
-
-#### Response Handler
-
-The `response` handler does NOT evaluate any of the response data. It merely forwards on all information directly from the URL session delegate. It is the Alamofire equivalent of using `cURL` to execute a `Request`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").response { response in
-    print("Request: \(response.request)")
-    print("Response: \(response.response)")
-    print("Error: \(response.error)")
-
-    if let data = response.data, let utf8Text = String(data: data, encoding: .utf8) {
-    	print("Data: \(utf8Text)")
-    }
-}
-```
-
-> We strongly encourage you to leverage the other response serializers taking advantage of `Response` and `Result` types.
-
-#### Response Data Handler
-
-The `responseData` handler uses the `responseDataSerializer` (the object that serializes the server data into some other type) to extract the `Data` returned by the server. If no errors occur and `Data` is returned, the response `Result` will be a `.success` and the `value` will be of type `Data`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseData { response in
-    debugPrint("All Response Info: \(response)")
-
-    if let data = response.result.value, let utf8Text = String(data: data, encoding: .utf8) {
-    	print("Data: \(utf8Text)")
-    }
-}
-```
-
-#### Response String Handler
-
-The `responseString` handler uses the `responseStringSerializer` to convert the `Data` returned by the server into a `String` with the specified encoding. If no errors occur and the server data is successfully serialized into a `String`, the response `Result` will be a `.success` and the `value` will be of type `String`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseString { response in
-    print("Success: \(response.result.isSuccess)")
-    print("Response String: \(response.result.value)")
-}
-```
-
-> If no encoding is specified, Alamofire will use the text encoding specified in the `HTTPURLResponse` from the server. If the text encoding cannot be determined by the server response, it defaults to `.isoLatin1`.
-
-#### Response JSON Handler
-
-The `responseJSON` handler uses the `responseJSONSerializer` to convert the `Data` returned by the server into an `Any` type using the specified `JSONSerialization.ReadingOptions`. If no errors occur and the server data is successfully serialized into a JSON object, the response `Result` will be a `.success` and the `value` will be of type `Any`.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    debugPrint(response)
-
-    if let json = response.result.value {
-        print("JSON: \(json)")
-    }
-}
-```
-
-> All JSON serialization is handled by the `JSONSerialization` API in the `Foundation` framework.
-
-#### Chained Response Handlers
-
-Response handlers can even be chained:
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-    .responseString { response in
-        print("Response String: \(response.result.value)")
-    }
-    .responseJSON { response in
-        print("Response JSON: \(response.result.value)")
-    }
-```
-
-> It is important to note that using multiple response handlers on the same `Request` requires the server data to be serialized multiple times. Once for each response handler.
-
-#### Response Handler Queue
-
-Response handlers by default are executed on the main dispatch queue. However, a custom dispatch queue can be provided instead.
-
-```swift
-let utilityQueue = DispatchQueue.global(qos: .utility)
-
-Alamofire.request("https://httpbin.org/get").responseJSON(queue: utilityQueue) { response in
-    print("Executing response handler on utility queue")
-}
-```
-
-### Response Validation
-
-By default, Alamofire treats any completed request to be successful, regardless of the content of the response. Calling `validate` before a response handler causes an error to be generated if the response had an unacceptable status code or MIME type.
-
-#### Manual Validation
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-    .validate(statusCode: 200..<300)
-    .validate(contentType: ["application/json"])
-    .responseData { response in
-        switch response.result {
-        case .success:
-            print("Validation Successful")
-        case .failure(let error):
-            print(error)
-        }
-    }
-```
-
-#### Automatic Validation
-
-Automatically validates status code within `200..<300` range, and that the `Content-Type` header of the response matches the `Accept` header of the request, if one is provided.
-
-```swift
-Alamofire.request("https://httpbin.org/get").validate().responseJSON { response in
-    switch response.result {
-    case .success:
-        print("Validation Successful")
-    case .failure(let error):
-        print(error)
-    }
-}
-```
-
-### Response Caching
-
-Response Caching is handled on the system framework level by [`URLCache`](https://developer.apple.com/reference/foundation/urlcache). It provides a composite in-memory and on-disk cache and lets you manipulate the sizes of both the in-memory and on-disk portions.
-
-> By default, Alamofire leverages the shared `URLCache`. In order to customize it, see the [Session Manager Configurations](#session-manager) section.
-
-### HTTP Methods
-
-The `HTTPMethod` enumeration lists the HTTP methods defined in [RFC 7231 §4.3](http://tools.ietf.org/html/rfc7231#section-4.3):
-
-```swift
-public enum HTTPMethod: String {
-    case options = "OPTIONS"
-    case get     = "GET"
-    case head    = "HEAD"
-    case post    = "POST"
-    case put     = "PUT"
-    case patch   = "PATCH"
-    case delete  = "DELETE"
-    case trace   = "TRACE"
-    case connect = "CONNECT"
-}
-```
-
-These values can be passed as the `method` argument to the `Alamofire.request` API:
-
-```swift
-Alamofire.request("https://httpbin.org/get") // method defaults to `.get`
-
-Alamofire.request("https://httpbin.org/post", method: .post)
-Alamofire.request("https://httpbin.org/put", method: .put)
-Alamofire.request("https://httpbin.org/delete", method: .delete)
-```
-
-> The `Alamofire.request` method parameter defaults to `.get`.
-
-### Parameter Encoding
-
-Alamofire supports three types of parameter encoding including: `URL`, `JSON` and `PropertyList`. It can also support any custom encoding that conforms to the `ParameterEncoding` protocol.
-
-#### URL Encoding
-
-The `URLEncoding` type creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP body of the URL request. Whether the query string is set or appended to any existing URL query string or set as the HTTP body depends on the `Destination` of the encoding. The `Destination` enumeration has three cases:
-
-- `.methodDependent` - Applies encoded query string result to existing query string for `GET`, `HEAD` and `DELETE` requests and sets as the HTTP body for requests with any other HTTP method.
-- `.queryString` - Sets or appends encoded query string result to existing query string.
-- `.httpBody` - Sets encoded query string result as the HTTP body of the URL request.
-
-The `Content-Type` HTTP header field of an encoded request with HTTP body is set to `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode collection types, the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`).
-
-##### GET Request With URL-Encoded Parameters
-
-```swift
-let parameters: Parameters = ["foo": "bar"]
-
-// All three of these calls are equivalent
-Alamofire.request("https://httpbin.org/get", parameters: parameters) // encoding defaults to `URLEncoding.default`
-Alamofire.request("https://httpbin.org/get", parameters: parameters, encoding: URLEncoding.default)
-Alamofire.request("https://httpbin.org/get", parameters: parameters, encoding: URLEncoding(destination: .methodDependent))
-
-// https://httpbin.org/get?foo=bar
-```
-
-##### POST Request With URL-Encoded Parameters
-
-```swift
-let parameters: Parameters = [
-    "foo": "bar",
-    "baz": ["a", 1],
-    "qux": [
-        "x": 1,
-        "y": 2,
-        "z": 3
-    ]
-]
-
-// All three of these calls are equivalent
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: URLEncoding.default)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: URLEncoding.httpBody)
-
-// HTTP body: foo=bar&baz[]=a&baz[]=1&qux[x]=1&qux[y]=2&qux[z]=3
-```
-
-#### JSON Encoding
-
-The `JSONEncoding` type creates a JSON representation of the parameters object, which is set as the HTTP body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`.
-
-##### POST Request with JSON-Encoded Parameters
-
-```swift
-let parameters: Parameters = [
-    "foo": [1,2,3],
-    "bar": [
-        "baz": "qux"
-    ]
-]
-
-// Both calls are equivalent
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: JSONEncoding.default)
-Alamofire.request("https://httpbin.org/post", method: .post, parameters: parameters, encoding: JSONEncoding(options: []))
-
-// HTTP body: {"foo": [1, 2, 3], "bar": {"baz": "qux"}}
-```
-
-#### Property List Encoding
-
-The `PropertyListEncoding` uses `PropertyListSerialization` to create a plist representation of the parameters object, according to the associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header field of an encoded request is set to `application/x-plist`.
-
-#### Custom Encoding
-
-In the event that the provided `ParameterEncoding` types do not meet your needs, you can create your own custom encoding. Here's a quick example of how you could build a custom `JSONStringArrayEncoding` type to encode a JSON string array onto a `Request`.
-
-```swift
-struct JSONStringArrayEncoding: ParameterEncoding {
-	private let array: [String]
-
-    init(array: [String]) {
-        self.array = array
-    }
-
-    func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        let data = try JSONSerialization.data(withJSONObject: array, options: [])
-
-        if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-            urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-        }
-
-        urlRequest.httpBody = data
-
-        return urlRequest
-    }
-}
-```
-
-#### Manual Parameter Encoding of a URLRequest
-
-The `ParameterEncoding` APIs can be used outside of making network requests.
-
-```swift
-let url = URL(string: "https://httpbin.org/get")!
-var urlRequest = URLRequest(url: url)
-
-let parameters: Parameters = ["foo": "bar"]
-let encodedURLRequest = try URLEncoding.queryString.encode(urlRequest, with: parameters)
-```
-
-### HTTP Headers
-
-Adding a custom HTTP header to a `Request` is supported directly in the global `request` method. This makes it easy to attach HTTP headers to a `Request` that can be constantly changing.
-
-```swift
-let headers: HTTPHeaders = [
-    "Authorization": "Basic QWxhZGRpbjpvcGVuIHNlc2FtZQ==",
-    "Accept": "application/json"
-]
-
-Alamofire.request("https://httpbin.org/headers", headers: headers).responseJSON { response in
-    debugPrint(response)
-}
-```
-
-> For HTTP headers that do not change, it is recommended to set them on the `URLSessionConfiguration` so they are automatically applied to any `URLSessionTask` created by the underlying `URLSession`. For more information, see the [Session Manager Configurations](#session-manager) section.
-
-The default Alamofire `SessionManager` provides a default set of headers for every `Request`. These include:
-
-- `Accept-Encoding`, which defaults to `gzip;q=1.0, compress;q=0.5`, per [RFC 7230 §4.2.3](https://tools.ietf.org/html/rfc7230#section-4.2.3).
-- `Accept-Language`, which defaults to up to the top 6 preferred languages on the system, formatted like `en;q=1.0`, per [RFC 7231 §5.3.5](https://tools.ietf.org/html/rfc7231#section-5.3.5).
-- `User-Agent`, which contains versioning information about the current app. For example: `iOS Example/1.0 (com.alamofire.iOS-Example; build:1; iOS 10.0.0) Alamofire/4.0.0`, per [RFC 7231 §5.5.3](https://tools.ietf.org/html/rfc7231#section-5.5.3).
-
-If you need to customize these headers, a custom `URLSessionConfiguration` should be created, the `defaultHTTPHeaders` property updated and the configuration applied to a new `SessionManager` instance.
-
-### Authentication
-
-Authentication is handled on the system framework level by [`URLCredential`](https://developer.apple.com/reference/foundation/nsurlcredential) and [`URLAuthenticationChallenge`](https://developer.apple.com/reference/foundation/urlauthenticationchallenge).
-
-**Supported Authentication Schemes**
-
-- [HTTP Basic](http://en.wikipedia.org/wiki/Basic_access_authentication)
-- [HTTP Digest](http://en.wikipedia.org/wiki/Digest_access_authentication)
-- [Kerberos](http://en.wikipedia.org/wiki/Kerberos_%28protocol%29)
-- [NTLM](http://en.wikipedia.org/wiki/NT_LAN_Manager)
-
-#### HTTP Basic Authentication
-
-The `authenticate` method on a `Request` will automatically provide a `URLCredential` to a `URLAuthenticationChallenge` when appropriate:
-
-```swift
-let user = "user"
-let password = "password"
-
-Alamofire.request("https://httpbin.org/basic-auth/\(user)/\(password)")
-    .authenticate(user: user, password: password)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-Depending upon your server implementation, an `Authorization` header may also be appropriate:
-
-```swift
-let user = "user"
-let password = "password"
-
-var headers: HTTPHeaders = [:]
-
-if let authorizationHeader = Request.authorizationHeader(user: user, password: password) {
-    headers[authorizationHeader.key] = authorizationHeader.value
-}
-
-Alamofire.request("https://httpbin.org/basic-auth/user/password", headers: headers)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-#### Authentication with URLCredential
-
-```swift
-let user = "user"
-let password = "password"
-
-let credential = URLCredential(user: user, password: password, persistence: .forSession)
-
-Alamofire.request("https://httpbin.org/basic-auth/\(user)/\(password)")
-    .authenticate(usingCredential: credential)
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-> It is important to note that when using a `URLCredential` for authentication, the underlying `URLSession` will actually end up making two requests if a challenge is issued by the server. The first request will not include the credential which "may" trigger a challenge from the server. The challenge is then received by Alamofire, the credential is appended and the request is retried by the underlying `URLSession`.
-
-### Downloading Data to a File
-
-Requests made in Alamofire that fetch data from a server can download the data in-memory or on-disk. The `Alamofire.request` APIs used in all the examples so far always downloads the server data in-memory. This is great for smaller payloads because it's more efficient, but really bad for larger payloads because the download could run your entire application out-of-memory. Because of this, you can also use the `Alamofire.download` APIs to download the server data to a temporary file on-disk.
-
-> This will only work on `macOS` as is. Other platforms don't allow access to the filesystem outside of your app's sandbox. To download files on other platforms, see the [Download File Destination](#download-file-destination) section.
-
-```swift
-Alamofire.download("https://httpbin.org/image/png").responseData { response in
-    if let data = response.result.value {
-        let image = UIImage(data: data)
-    }
-}
-```
-
-> The `Alamofire.download` APIs should also be used if you need to download data while your app is in the background. For more information, please see the [Session Manager Configurations](#session-manager) section.
-
-#### Download File Destination
-
-You can also provide a `DownloadFileDestination` closure to move the file from the temporary directory to a final destination. Before the temporary file is actually moved to the `destinationURL`, the `DownloadOptions` specified in the closure will be executed. The two currently supported `DownloadOptions` are:
-
-- `.createIntermediateDirectories` - Creates intermediate directories for the destination URL if specified.
-- `.removePreviousFile` - Removes a previous file from the destination URL if specified.
-
-```swift
-let destination: DownloadRequest.DownloadFileDestination = { _, _ in
-    let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
-    let fileURL = documentsURL.appendingPathComponent("pig.png")
-
-    return (fileURL, [.removePreviousFile, .createIntermediateDirectories])
-}
-
-Alamofire.download(urlString, to: destination).response { response in
-    print(response)
-
-    if response.error == nil, let imagePath = response.destinationURL?.path {
-        let image = UIImage(contentsOfFile: imagePath)
-    }
-}
-```
-
-You can also use the suggested download destination API.
-
-```swift
-let destination = DownloadRequest.suggestedDownloadDestination(for: .documentDirectory)
-Alamofire.download("https://httpbin.org/image/png", to: destination)
-```
-
-#### Download Progress
-
-Many times it can be helpful to report download progress to the user. Any `DownloadRequest` can report download progress using the `downloadProgress` API.
-
-```swift
-Alamofire.download("https://httpbin.org/image/png")
-    .downloadProgress { progress in
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseData { response in
-        if let data = response.result.value {
-            let image = UIImage(data: data)
-        }
-    }
-```
-
-The `downloadProgress` API also takes a `queue` parameter which defines which `DispatchQueue` the download progress closure should be called on.
-
-```swift
-let utilityQueue = DispatchQueue.global(qos: .utility)
-
-Alamofire.download("https://httpbin.org/image/png")
-    .downloadProgress(queue: utilityQueue) { progress in
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseData { response in
-        if let data = response.result.value {
-            let image = UIImage(data: data)
-        }
-    }
-```
-
-#### Resuming a Download
-
-If a `DownloadRequest` is cancelled or interrupted, the underlying URL session may generate resume data for the active `DownloadRequest`. If this happens, the resume data can be re-used to restart the `DownloadRequest` where it left off. The resume data can be accessed through the download response, then reused when trying to restart the request.
-
-> **IMPORTANT:** On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the data is written incorrectly and will always fail to resume the download. For more information about the bug and possible workarounds, please see this Stack Overflow [post](http://stackoverflow.com/a/39347461/1342462).
-
-```swift
-class ImageRequestor {
-    private var resumeData: Data?
-    private var image: UIImage?
-
-    func fetchImage(completion: (UIImage?) -> Void) {
-        guard image == nil else { completion(image) ; return }
-
-        let destination: DownloadRequest.DownloadFileDestination = { _, _ in
-            let documentsURL = FileManager.default.urls(for: .documentDirectory, in: .userDomainMask)[0]
-            let fileURL = documentsURL.appendingPathComponent("pig.png")
-
-            return (fileURL, [.removePreviousFile, .createIntermediateDirectories])
-        }
-
-        let request: DownloadRequest
-
-        if let resumeData = resumeData {
-            request = Alamofire.download(resumingWith: resumeData)
-        } else {
-            request = Alamofire.download("https://httpbin.org/image/png")
-        }
-
-        request.responseData { response in
-            switch response.result {
-            case .success(let data):
-                self.image = UIImage(data: data)
-            case .failure:
-                self.resumeData = response.resumeData
-            }
-        }
-    }
-}
-```
-
-### Uploading Data to a Server
-
-When sending relatively small amounts of data to a server using JSON or URL encoded parameters, the `Alamofire.request` APIs are usually sufficient. If you need to send much larger amounts of data from a file URL or an `InputStream`, then the `Alamofire.upload` APIs are what you want to use.
-
-> The `Alamofire.upload` APIs should also be used if you need to upload data while your app is in the background. For more information, please see the [Session Manager Configurations](#session-manager) section.
-
-#### Uploading Data
-
-```swift
-let imageData = UIPNGRepresentation(image)!
-
-Alamofire.upload(imageData, to: "https://httpbin.org/post").responseJSON { response in
-    debugPrint(response)
-}
-```
-
-#### Uploading a File
-
-```swift
-let fileURL = Bundle.main.url(forResource: "video", withExtension: "mov")
-
-Alamofire.upload(fileURL, to: "https://httpbin.org/post").responseJSON { response in
-    debugPrint(response)
-}
-```
-
-#### Uploading Multipart Form Data
-
-```swift
-Alamofire.upload(
-    multipartFormData: { multipartFormData in
-        multipartFormData.append(unicornImageURL, withName: "unicorn")
-        multipartFormData.append(rainbowImageURL, withName: "rainbow")
-    },
-    to: "https://httpbin.org/post",
-    encodingCompletion: { encodingResult in
-    	switch encodingResult {
-    	case .success(let upload, _, _):
-            upload.responseJSON { response in
-                debugPrint(response)
-            }
-    	case .failure(let encodingError):
-    	    print(encodingError)
-    	}
-    }
-)
-```
-
-#### Upload Progress
-
-While your user is waiting for their upload to complete, sometimes it can be handy to show the progress of the upload to the user. Any `UploadRequest` can report both upload progress and download progress of the response data using the `uploadProgress` and `downloadProgress` APIs.
-
-```swift
-let fileURL = Bundle.main.url(forResource: "video", withExtension: "mov")
-
-Alamofire.upload(fileURL, to: "https://httpbin.org/post")
-    .uploadProgress { progress in // main queue by default
-        print("Upload Progress: \(progress.fractionCompleted)")
-    }
-    .downloadProgress { progress in // main queue by default
-        print("Download Progress: \(progress.fractionCompleted)")
-    }
-    .responseJSON { response in
-        debugPrint(response)
-    }
-```
-
-### Statistical Metrics
-
-#### Timeline
-
-Alamofire collects timings throughout the lifecycle of a `Request` and creates a `Timeline` object exposed as a property on all response types.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print(response.timeline)
-}
-```
-
-The above reports the following `Timeline` info:
-
-- `Latency`: 0.428 seconds
-- `Request Duration`: 0.428 seconds
-- `Serialization Duration`: 0.001 seconds
-- `Total Duration`: 0.429 seconds
-
-#### URL Session Task Metrics
-
-In iOS and tvOS 10 and macOS 10.12, Apple introduced the new [URLSessionTaskMetrics](https://developer.apple.com/reference/foundation/urlsessiontaskmetrics) APIs. The task metrics encapsulate some fantastic statistical information about the request and response execution. The API is very similar to the `Timeline`, but provides many more statistics that Alamofire doesn't have access to compute. The metrics can be accessed through any response type.
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    print(response.metrics)
-}
-```
-
-It's important to note that these APIs are only available on iOS and tvOS 10 and macOS 10.12. Therefore, depending on your deployment target, you may need to use these inside availability checks:
-
-```swift
-Alamofire.request("https://httpbin.org/get").responseJSON { response in
-    if #available(iOS 10.0, *) {
-        print(response.metrics)
-    }
-}
-```
-
-### cURL Command Output
-
-Debugging platform issues can be frustrating. Thankfully, Alamofire `Request` objects conform to both the `CustomStringConvertible` and `CustomDebugStringConvertible` protocols to provide some VERY helpful debugging tools.
-
-#### CustomStringConvertible
-
-```swift
-let request = Alamofire.request("https://httpbin.org/ip")
-
-print(request)
-// GET https://httpbin.org/ip (200)
-```
-
-#### CustomDebugStringConvertible
-
-```swift
-let request = Alamofire.request("https://httpbin.org/get", parameters: ["foo": "bar"])
-debugPrint(request)
-```
-
-Outputs:
-
-```bash
-$ curl -i \
-    -H "User-Agent: Alamofire/4.0.0" \
-    -H "Accept-Encoding: gzip;q=1.0, compress;q=0.5" \
-    -H "Accept-Language: en;q=1.0,fr;q=0.9,de;q=0.8,zh-Hans;q=0.7,zh-Hant;q=0.6,ja;q=0.5" \
-    "https://httpbin.org/get?foo=bar"
-```
-
----
-
-## Advanced Usage
-
-Alamofire is built on `URLSession` and the Foundation URL Loading System. To make the most of this framework, it is recommended that you be familiar with the concepts and capabilities of the underlying networking stack.
-
-**Recommended Reading**
-
-- [URL Loading System Programming Guide](https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/URLLoadingSystem/URLLoadingSystem.html)
-- [URLSession Class Reference](https://developer.apple.com/reference/foundation/nsurlsession)
-- [URLCache Class Reference](https://developer.apple.com/reference/foundation/urlcache)
-- [URLAuthenticationChallenge Class Reference](https://developer.apple.com/reference/foundation/urlauthenticationchallenge)
-
-### Session Manager
-
-Top-level convenience methods like `Alamofire.request` use a default instance of `Alamofire.SessionManager`, which is configured with the default `URLSessionConfiguration`.
-
-As such, the following two statements are equivalent:
-
-```swift
-Alamofire.request("https://httpbin.org/get")
-```
-
-```swift
-let sessionManager = Alamofire.SessionManager.default
-sessionManager.request("https://httpbin.org/get")
-```
-
-Applications can create session managers for background and ephemeral sessions, as well as new managers that customize the default session configuration, such as for default headers (`httpAdditionalHeaders`) or timeout interval (`timeoutIntervalForRequest`).
-
-#### Creating a Session Manager with Default Configuration
-
-```swift
-let configuration = URLSessionConfiguration.default
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Creating a Session Manager with Background Configuration
-
-```swift
-let configuration = URLSessionConfiguration.background(withIdentifier: "com.example.app.background")
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Creating a Session Manager with Ephemeral Configuration
-
-```swift
-let configuration = URLSessionConfiguration.ephemeral
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-#### Modifying the Session Configuration
-
-```swift
-var defaultHeaders = Alamofire.SessionManager.defaultHTTPHeaders
-defaultHeaders["DNT"] = "1 (Do Not Track Enabled)"
-
-let configuration = URLSessionConfiguration.default
-configuration.httpAdditionalHeaders = defaultHeaders
-
-let sessionManager = Alamofire.SessionManager(configuration: configuration)
-```
-
-> This is **not** recommended for `Authorization` or `Content-Type` headers. Instead, use the `headers` parameter in the top-level `Alamofire.request` APIs, `URLRequestConvertible` and `ParameterEncoding`, respectively.
-
-### Session Delegate
-
-By default, an Alamofire `SessionManager` instance creates a `SessionDelegate` object to handle all the various types of delegate callbacks that are generated by the underlying `URLSession`. The implementations of each delegate method handle the most common use cases for these types of calls abstracting the complexity away from the top-level APIs. However, advanced users may find the need to override the default functionality for various reasons.
-
-#### Override Closures
-
-The first way to customize the `SessionDelegate` behavior is through the use of the override closures. Each closure gives you the ability to override the implementation of the matching `SessionDelegate` API, yet still use the default implementation for all other APIs. This makes it easy to customize subsets of the delegate functionality. Here are a few examples of some of the override closures available:
-
-```swift
-/// Overrides default behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)`.
-open var sessionDidReceiveChallenge: ((URLSession, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-/// Overrides default behavior for URLSessionDelegate method `urlSessionDidFinishEvents(forBackgroundURLSession:)`.
-open var sessionDidFinishEventsForBackgroundURLSession: ((URLSession) -> Void)?
-
-/// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)`.
-open var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-
-/// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)`.
-open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-```
-
-The following is a short example of how to use the `taskWillPerformHTTPRedirection` to avoid following redirects to any `apple.com` domains.
-
-```swift
-let sessionManager = Alamofire.SessionManager(configuration: URLSessionConfiguration.default)
-let delegate: Alamofire.SessionDelegate = sessionManager.delegate
-
-delegate.taskWillPerformHTTPRedirection = { session, task, response, request in
-    var finalRequest = request
-
-    if
-        let originalRequest = task.originalRequest,
-        let urlString = originalRequest.url?.urlString,
-        urlString.contains("apple.com")
-    {
-        finalRequest = originalRequest
-    }
-
-    return finalRequest
-}
-```
-
-#### Subclassing
-
-Another way to override the default implementation of the `SessionDelegate` is to subclass it. Subclassing allows you completely customize the behavior of the API or to create a proxy for the API and still use the default implementation. Creating a proxy allows you to log events, emit notifications, provide pre and post hook implementations, etc. Here's a quick example of subclassing the `SessionDelegate` and logging a message when a redirect occurs.
-
-```swift
-class LoggingSessionDelegate: SessionDelegate {
-    override func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        print("URLSession will perform HTTP redirection to request: \(request)")
-
-        super.urlSession(
-            session,
-            task: task,
-            willPerformHTTPRedirection: response,
-            newRequest: request,
-            completionHandler: completionHandler
-        )
-    }
-}
-```
-
-Generally speaking, either the default implementation or the override closures should provide the necessary functionality required. Subclassing should only be used as a last resort.
-
-> It is important to keep in mind that the `subdelegates` are initialized and destroyed in the default implementation. Be careful when subclassing to not introduce memory leaks.
-
-### Request
-
-The result of a `request`, `download`, `upload` or `stream` methods are a `DataRequest`, `DownloadRequest`, `UploadRequest` and `StreamRequest` which all inherit from `Request`. All `Request` instances are always created by an owning session manager, and never initialized directly.
-
-Each subclass has specialized methods such as `authenticate`, `validate`, `responseJSON` and `uploadProgress` that each return the caller instance in order to facilitate method chaining.
-
-Requests can be suspended, resumed and cancelled:
-
-- `suspend()`: Suspends the underlying task and dispatch queue.
-- `resume()`: Resumes the underlying task and dispatch queue. If the owning manager does not have `startRequestsImmediately` set to `true`, the request must call `resume()` in order to start.
-- `cancel()`: Cancels the underlying task, producing an error that is passed to any registered response handlers.
-
-### Routing Requests
-
-As apps grow in size, it's important to adopt common patterns as you build out your network stack. An important part of that design is how to route your requests. The Alamofire `URLConvertible` and `URLRequestConvertible` protocols along with the `Router` design pattern are here to help.
-
-#### URLConvertible
-
-Types adopting the `URLConvertible` protocol can be used to construct URLs, which are then used to construct URL requests internally. `String`, `URL`, and `URLComponents` conform to `URLConvertible` by default, allowing any of them to be passed as `url` parameters to the `request`, `upload`, and `download` methods:
-
-```swift
-let urlString = "https://httpbin.org/post"
-Alamofire.request(urlString, method: .post)
-
-let url = URL(string: urlString)!
-Alamofire.request(url, method: .post)
-
-let urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: true)!
-Alamofire.request(urlComponents, method: .post)
-```
-
-Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLConvertible` as a convenient way to map domain-specific models to server resources.
-
-##### Type-Safe Routing
-
-```swift
-extension User: URLConvertible {
-    static let baseURLString = "https://example.com"
-
-    func asURL() throws -> URL {
-    	let urlString = User.baseURLString + "/users/\(username)/"
-        return try urlString.asURL()
-    }
-}
-```
-
-```swift
-let user = User(username: "mattt")
-Alamofire.request(user) // https://example.com/users/mattt
-```
-
-#### URLRequestConvertible
-
-Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests. `URLRequest` conforms to `URLRequestConvertible` by default, allowing it to be passed into `request`, `upload`, and `download` methods directly (this is the recommended way to specify custom HTTP body for individual requests):
-
-```swift
-let url = URL(string: "https://httpbin.org/post")!
-var urlRequest = URLRequest(url: url)
-urlRequest.httpMethod = "POST"
-
-let parameters = ["foo": "bar"]
-
-do {
-    urlRequest.httpBody = try JSONSerialization.data(withJSONObject: parameters, options: [])
-} catch {
-    // No-op
-}
-
-urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-
-Alamofire.request(urlRequest)
-```
-
-Applications interacting with web applications in a significant manner are encouraged to have custom types conform to `URLRequestConvertible` as a way to ensure consistency of requested endpoints. Such an approach can be used to abstract away server-side inconsistencies and provide type-safe routing, as well as manage authentication credentials and other state.
-
-##### API Parameter Abstraction
-
-```swift
-enum Router: URLRequestConvertible {
-    case search(query: String, page: Int)
-
-    static let baseURLString = "https://example.com"
-    static let perPage = 50
-
-    // MARK: URLRequestConvertible
-
-    func asURLRequest() throws -> URLRequest {
-        let result: (path: String, parameters: Parameters) = {
-            switch self {
-            case let .search(query, page) where page > 0:
-                return ("/search", ["q": query, "offset": Router.perPage * page])
-            case let .search(query, _):
-                return ("/search", ["q": query])
-            }
-        }()
-
-        let url = try Router.baseURLString.asURL()
-        let urlRequest = URLRequest(url: url.appendingPathComponent(result.path))
-
-        return try URLEncoding.default.encode(urlRequest, with: result.parameters)
-    }
-}
-```
-
-```swift
-Alamofire.request(Router.search(query: "foo bar", page: 1)) // https://example.com/search?q=foo%20bar&offset=50
-```
-
-##### CRUD & Authorization
-
-```swift
-import Alamofire
-
-enum Router: URLRequestConvertible {
-    case createUser(parameters: Parameters)
-    case readUser(username: String)
-    case updateUser(username: String, parameters: Parameters)
-    case destroyUser(username: String)
-
-    static let baseURLString = "https://example.com"
-
-    var method: HTTPMethod {
-        switch self {
-        case .createUser:
-            return .post
-        case .readUser:
-            return .get
-        case .updateUser:
-            return .put
-        case .destroyUser:
-            return .delete
-        }
-    }
-
-    var path: String {
-        switch self {
-        case .createUser:
-            return "/users"
-        case .readUser(let username):
-            return "/users/\(username)"
-        case .updateUser(let username, _):
-            return "/users/\(username)"
-        case .destroyUser(let username):
-            return "/users/\(username)"
-        }
-    }
-
-    // MARK: URLRequestConvertible
-
-    func asURLRequest() throws -> URLRequest {
-    	let url = try Router.baseURLString.asURL()
-
-        var urlRequest = URLRequest(url: url.appendingPathComponent(path))
-        urlRequest.httpMethod = method.rawValue
-
-        switch self {
-        case .createUser(let parameters):
-            urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters)
-        case .updateUser(_, let parameters):
-            urlRequest = try URLEncoding.default.encode(urlRequest, with: parameters)
-        default:
-            break
-        }
-
-        return urlRequest
-    }
-}
-```
-
-```swift
-Alamofire.request(Router.readUser("mattt")) // GET https://example.com/users/mattt
-```
-
-### Adapting and Retrying Requests
-
-Most web services these days are behind some sort of authentication system. One of the more common ones today is OAuth. This generally involves generating an access token authorizing your application or user to call the various supported web services. While creating these initial access tokens can be laborsome, it can be even more complicated when your access token expires and you need to fetch a new one. There are many thread-safety issues that need to be considered.
-
-The `RequestAdapter` and `RequestRetrier` protocols were created to make it much easier to create a thread-safe authentication system for a specific set of web services.
-
-#### RequestAdapter
-
-The `RequestAdapter` protocol allows each `Request` made on a `SessionManager` to be inspected and adapted before being created. One very specific way to use an adapter is to append an `Authorization` header to requests behind a certain type of authentication.
-
-```swift
-class AccessTokenAdapter: RequestAdapter {
-    private let accessToken: String
-
-    init(accessToken: String) {
-        self.accessToken = accessToken
-    }
-
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest {
-        var urlRequest = urlRequest
-
-        if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix("https://httpbin.org") {
-            urlRequest.setValue("Bearer " + accessToken, forHTTPHeaderField: "Authorization")
-        }
-
-        return urlRequest
-	}
-}
-```
-
-```swift
-let sessionManager = SessionManager()
-sessionManager.adapter = AccessTokenAdapter(accessToken: "1234")
-
-sessionManager.request("https://httpbin.org/get")
-```
-
-#### RequestRetrier
-
-The `RequestRetrier` protocol allows a `Request` that encountered an `Error` while being executed to be retried. When using both the `RequestAdapter` and `RequestRetrier` protocols together, you can create credential refresh systems for OAuth1, OAuth2, Basic Auth and even exponential backoff retry policies. The possibilities are endless. Here's an example of how you could implement a refresh flow for OAuth2 access tokens.
-
-> **DISCLAIMER:** This is **NOT** a global `OAuth2` solution. It is merely an example demonstrating how one could use the `RequestAdapter` in conjunction with the `RequestRetrier` to create a thread-safe refresh system.
-
-> To reiterate, **do NOT copy** this sample code and drop it into a production application. This is merely an example. Each authentication system must be tailored to a particular platform and authentication type.
-
-```swift
-class OAuth2Handler: RequestAdapter, RequestRetrier {
-    private typealias RefreshCompletion = (_ succeeded: Bool, _ accessToken: String?, _ refreshToken: String?) -> Void
-
-    private let sessionManager: SessionManager = {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders
-
-        return SessionManager(configuration: configuration)
-    }()
-
-    private let lock = NSLock()
-
-    private var clientID: String
-    private var baseURLString: String
-    private var accessToken: String
-    private var refreshToken: String
-
-    private var isRefreshing = false
-    private var requestsToRetry: [RequestRetryCompletion] = []
-
-    // MARK: - Initialization
-
-    public init(clientID: String, baseURLString: String, accessToken: String, refreshToken: String) {
-        self.clientID = clientID
-        self.baseURLString = baseURLString
-        self.accessToken = accessToken
-        self.refreshToken = refreshToken
-    }
-
-    // MARK: - RequestAdapter
-
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest {
-        if let urlString = urlRequest.url?.absoluteString, urlString.hasPrefix(baseURLString) {
-            var urlRequest = urlRequest
-            urlRequest.setValue("Bearer " + accessToken, forHTTPHeaderField: "Authorization")
-            return urlRequest
-        }
-
-        return urlRequest
-    }
-
-    // MARK: - RequestRetrier
-
-    func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion) {
-        lock.lock() ; defer { lock.unlock() }
-
-        if let response = request.task?.response as? HTTPURLResponse, response.statusCode == 401 {
-            requestsToRetry.append(completion)
-
-            if !isRefreshing {
-                refreshTokens { [weak self] succeeded, accessToken, refreshToken in
-                    guard let strongSelf = self else { return }
-
-                    strongSelf.lock.lock() ; defer { strongSelf.lock.unlock() }
-
-                    if let accessToken = accessToken, let refreshToken = refreshToken {
-                        strongSelf.accessToken = accessToken
-                        strongSelf.refreshToken = refreshToken
-                    }
-
-                    strongSelf.requestsToRetry.forEach { $0(succeeded, 0.0) }
-                    strongSelf.requestsToRetry.removeAll()
-                }
-            }
-        } else {
-            completion(false, 0.0)
-        }
-    }
-
-    // MARK: - Private - Refresh Tokens
-
-    private func refreshTokens(completion: @escaping RefreshCompletion) {
-        guard !isRefreshing else { return }
-
-        isRefreshing = true
-
-        let urlString = "\(baseURLString)/oauth2/token"
-
-        let parameters: [String: Any] = [
-            "access_token": accessToken,
-            "refresh_token": refreshToken,
-            "client_id": clientID,
-            "grant_type": "refresh_token"
-        ]
-
-        sessionManager.request(urlString, method: .post, parameters: parameters, encoding: JSONEncoding.default)
-            .responseJSON { [weak self] response in
-                guard let strongSelf = self else { return }
-
-                if 
-                    let json = response.result.value as? [String: Any], 
-                    let accessToken = json["access_token"] as? String, 
-                    let refreshToken = json["refresh_token"] as? String 
-                {
-                    completion(true, accessToken, refreshToken)
-                } else {
-                    completion(false, nil, nil)
-                }
-
-                strongSelf.isRefreshing = false
-            }
-    }
-}
-```
-
-```swift
-let baseURLString = "https://some.domain-behind-oauth2.com"
-
-let oauthHandler = OAuth2Handler(
-    clientID: "12345678",
-    baseURLString: baseURLString,
-    accessToken: "abcd1234",
-    refreshToken: "ef56789a"
-)
-
-let sessionManager = SessionManager()
-sessionManager.adapter = oauthHandler
-sessionManager.retrier = oauthHandler
-
-let urlString = "\(baseURLString)/some/endpoint"
-
-sessionManager.request(urlString).validate().responseJSON { response in
-    debugPrint(response)
-}
-```
-
-Once the `OAuth2Handler` is applied as both the `adapter` and `retrier` for the `SessionManager`, it will handle an invalid access token error by automatically refreshing the access token and retrying all failed requests in the same order they failed.
-
-> If you needed them to execute in the same order they were created, you could sort them by their task identifiers.
-
-The example above only checks for a `401` response code which is not nearly robust enough, but does demonstrate how one could check for an invalid access token error. In a production application, one would want to check the `realm` and most likely the `www-authenticate` header response although it depends on the OAuth2 implementation.
-
-Another important note is that this authentication system could be shared between multiple session managers. For example, you may need to use both a `default` and `ephemeral` session configuration for the same set of web services. The example above allows the same `oauthHandler` instance to be shared across multiple session managers to manage the single refresh flow.
-
-### Custom Response Serialization
-
-Alamofire provides built-in response serialization for data, strings, JSON, and property lists:
-
-```swift
-Alamofire.request(...).responseData { (resp: DataResponse<Data>) in ... }
-Alamofire.request(...).responseString { (resp: DataResponse<String>) in ... }
-Alamofire.request(...).responseJSON { (resp: DataResponse<Any>) in ... }
-Alamofire.request(...).responsePropertyList { resp: DataResponse<Any>) in ... }
-```
-
-Those responses wrap deserialized *values* (Data, String, Any) or *errors* (network, validation errors), as well as *meta-data* (URL request, HTTP headers, status code, [metrics](#statistical-metrics), ...).
-
-You have several ways to customize all of those response elements:
-
-- [Response Mapping](#response-mapping)
-- [Handling Errors](#handling-errors)
-- [Creating a Custom Response Serializer](#creating-a-custom-response-serializer)
-- [Generic Response Object Serialization](#generic-response-object-serialization)
-
-#### Response Mapping
-
-Response mapping is the simplest way to produce customized responses. It transforms the value of a response, while preserving eventual errors and meta-data. For example, you can turn a json response `DataResponse<Any>` into a response that holds an application model, such as `DataResponse<User>`. You perform response mapping with the `DataResponse.map` method:
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseJSON { (response: DataResponse<Any>) in
-    let userResponse = response.map { json in
-        // We assume an existing User(json: Any) initializer
-        return User(json: json)
-    }
-
-    // Process userResponse, of type DataResponse<User>:
-    if let user = userResponse.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-When the transformation may throw an error, use `flatMap` instead:
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseJSON { response in
-    let userResponse = response.flatMap { json in
-        try User(json: json)
-    }
-}
-```
-
-Response mapping is a good fit for your custom completion handlers:
-
-```swift
-@discardableResult
-func loadUser(completionHandler: @escaping (DataResponse<User>) -> Void) -> Alamofire.DataRequest {
-    return Alamofire.request("https://example.com/users/mattt").responseJSON { response in
-        let userResponse = response.flatMap { json in
-            try User(json: json)
-        }
-
-        completionHandler(userResponse)
-    }
-}
-
-loadUser { response in
-    if let user = response.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-When the map/flatMap closure may process a big amount of data, make sure you execute it outside of the main thread:
-
-```swift
-@discardableResult
-func loadUser(completionHandler: @escaping (DataResponse<User>) -> Void) -> Alamofire.DataRequest {
-    let utilityQueue = DispatchQueue.global(qos: .utility)
-
-    return Alamofire.request("https://example.com/users/mattt").responseJSON(queue: utilityQueue) { response in
-        let userResponse = response.flatMap { json in
-            try User(json: json)
-        }
-
-        DispatchQueue.main.async {
-            completionHandler(userResponse)
-        }
-    }
-}
-```
-
-`map` and `flatMap` are also available for [download responses](#downloading-data-to-a-file).
-
-#### Handling Errors
-
-Before implementing custom response serializers or object serialization methods, it's important to consider how to handle any errors that may occur. There are two basic options: passing existing errors along unmodified, to be dealt with at response time; or, wrapping all errors in an `Error` type specific to your app.
-
-For example, here's a simple `BackendError` enum which will be used in later examples:
-
-```swift
-enum BackendError: Error {
-    case network(error: Error) // Capture any underlying Error from the URLSession API
-    case dataSerialization(error: Error)
-    case jsonSerialization(error: Error)
-    case xmlSerialization(error: Error)
-    case objectSerialization(reason: String)
-}
-```
-
-#### Creating a Custom Response Serializer
-
-Alamofire provides built-in response serialization for strings, JSON, and property lists, but others can be added in extensions on `Alamofire.DataRequest` and / or `Alamofire.DownloadRequest`.
-
-For example, here's how a response handler using [Ono](https://github.com/mattt/Ono) might be implemented:
-
-```swift
-extension DataRequest {
-    static func xmlResponseSerializer() -> DataResponseSerializer<ONOXMLDocument> {
-        return DataResponseSerializer { request, response, data, error in
-            // Pass through any underlying URLSession error to the .network case.
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            // Use Alamofire's existing data serializer to extract the data, passing the error as nil, as it has
-            // already been handled.
-            let result = Request.serializeResponseData(response: response, data: data, error: nil)
-
-            guard case let .success(validData) = result else {
-                return .failure(BackendError.dataSerialization(error: result.error! as! AFError))
-            }
-
-            do {
-                let xml = try ONOXMLDocument(data: validData)
-                return .success(xml)
-            } catch {
-                return .failure(BackendError.xmlSerialization(error: error))
-            }
-        }
-    }
-
-    @discardableResult
-    func responseXMLDocument(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<ONOXMLDocument>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.xmlResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-```
-
-#### Generic Response Object Serialization
-
-Generics can be used to provide automatic, type-safe response object serialization.
-
-```swift
-protocol ResponseObjectSerializable {
-    init?(response: HTTPURLResponse, representation: Any)
-}
-
-extension DataRequest {
-    func responseObject<T: ResponseObjectSerializable>(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<T>) -> Void)
-        -> Self
-    {
-        let responseSerializer = DataResponseSerializer<T> { request, response, data, error in
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            let jsonResponseSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments)
-            let result = jsonResponseSerializer.serializeResponse(request, response, data, nil)
-
-            guard case let .success(jsonObject) = result else {
-                return .failure(BackendError.jsonSerialization(error: result.error!))
-            }
-
-            guard let response = response, let responseObject = T(response: response, representation: jsonObject) else {
-                return .failure(BackendError.objectSerialization(reason: "JSON could not be serialized: \(jsonObject)"))
-            }
-
-            return .success(responseObject)
-        }
-
-        return response(queue: queue, responseSerializer: responseSerializer, completionHandler: completionHandler)
-    }
-}
-```
-
-```swift
-struct User: ResponseObjectSerializable, CustomStringConvertible {
-    let username: String
-    let name: String
-
-    var description: String {
-        return "User: { username: \(username), name: \(name) }"
-    }
-
-    init?(response: HTTPURLResponse, representation: Any) {
-        guard
-            let username = response.url?.lastPathComponent,
-            let representation = representation as? [String: Any],
-            let name = representation["name"] as? String
-        else { return nil }
-
-        self.username = username
-        self.name = name
-    }
-}
-```
-
-```swift
-Alamofire.request("https://example.com/users/mattt").responseObject { (response: DataResponse<User>) in
-    debugPrint(response)
-
-    if let user = response.result.value {
-        print("User: { username: \(user.username), name: \(user.name) }")
-    }
-}
-```
-
-The same approach can also be used to handle endpoints that return a representation of a collection of objects:
-
-```swift
-protocol ResponseCollectionSerializable {
-    static func collection(from response: HTTPURLResponse, withRepresentation representation: Any) -> [Self]
-}
-
-extension ResponseCollectionSerializable where Self: ResponseObjectSerializable {
-    static func collection(from response: HTTPURLResponse, withRepresentation representation: Any) -> [Self] {
-        var collection: [Self] = []
-
-        if let representation = representation as? [[String: Any]] {
-            for itemRepresentation in representation {
-                if let item = Self(response: response, representation: itemRepresentation) {
-                    collection.append(item)
-                }
-            }
-        }
-
-        return collection
-    }
-}
-```
-
-```swift
-extension DataRequest {
-    @discardableResult
-    func responseCollection<T: ResponseCollectionSerializable>(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<[T]>) -> Void) -> Self
-    {
-        let responseSerializer = DataResponseSerializer<[T]> { request, response, data, error in
-            guard error == nil else { return .failure(BackendError.network(error: error!)) }
-
-            let jsonSerializer = DataRequest.jsonResponseSerializer(options: .allowFragments)
-            let result = jsonSerializer.serializeResponse(request, response, data, nil)
-
-            guard case let .success(jsonObject) = result else {
-                return .failure(BackendError.jsonSerialization(error: result.error!))
-            }
-
-            guard let response = response else {
-                let reason = "Response collection could not be serialized due to nil response."
-                return .failure(BackendError.objectSerialization(reason: reason))
-            }
-
-            return .success(T.collection(from: response, withRepresentation: jsonObject))
-        }
-
-        return response(responseSerializer: responseSerializer, completionHandler: completionHandler)
-    }
-}
-```
-
-```swift
-struct User: ResponseObjectSerializable, ResponseCollectionSerializable, CustomStringConvertible {
-    let username: String
-    let name: String
-
-    var description: String {
-        return "User: { username: \(username), name: \(name) }"
-    }
-
-    init?(response: HTTPURLResponse, representation: Any) {
-        guard
-            let username = response.url?.lastPathComponent,
-            let representation = representation as? [String: Any],
-            let name = representation["name"] as? String
-        else { return nil }
-
-        self.username = username
-        self.name = name
-    }
-}
-```
-
-```swift
-Alamofire.request("https://example.com/users").responseCollection { (response: DataResponse<[User]>) in
-    debugPrint(response)
-
-    if let users = response.result.value {
-        users.forEach { print("- \($0)") }
-    }
-}
-```
-
-### Security
-
-Using a secure HTTPS connection when communicating with servers and web services is an important step in securing sensitive data. By default, Alamofire will evaluate the certificate chain provided by the server using Apple's built in validation provided by the Security framework. While this guarantees the certificate chain is valid, it does not prevent man-in-the-middle (MITM) attacks or other potential vulnerabilities. In order to mitigate MITM attacks, applications dealing with sensitive customer data or financial information should use certificate or public key pinning provided by the `ServerTrustPolicy`.
-
-#### ServerTrustPolicy
-
-The `ServerTrustPolicy` enumeration evaluates the server trust generally provided by an `URLAuthenticationChallenge` when connecting to a server over a secure HTTPS connection.
-
-```swift
-let serverTrustPolicy = ServerTrustPolicy.pinCertificates(
-    certificates: ServerTrustPolicy.certificates(),
-    validateCertificateChain: true,
-    validateHost: true
-)
-```
-
-There are many different cases of server trust evaluation giving you complete control over the validation process:
-
-* `performDefaultEvaluation`: Uses the default server trust evaluation while allowing you to control whether to validate the host provided by the challenge.
-* `pinCertificates`: Uses the pinned certificates to validate the server trust. The server trust is considered valid if one of the pinned certificates match one of the server certificates.
-* `pinPublicKeys`: Uses the pinned public keys to validate the server trust. The server trust is considered valid if one of the pinned public keys match one of the server certificate public keys.
-* `disableEvaluation`: Disables all evaluation which in turn will always consider any server trust as valid.
-* `customEvaluation`: Uses the associated closure to evaluate the validity of the server trust thus giving you complete control over the validation process. Use with caution.
-
-#### Server Trust Policy Manager
-
-The `ServerTrustPolicyManager` is responsible for storing an internal mapping of server trust policies to a particular host. This allows Alamofire to evaluate each host against a different server trust policy.
-
-```swift
-let serverTrustPolicies: [String: ServerTrustPolicy] = [
-    "test.example.com": .pinCertificates(
-        certificates: ServerTrustPolicy.certificates(),
-        validateCertificateChain: true,
-        validateHost: true
-    ),
-    "insecure.expired-apis.com": .disableEvaluation
-]
-
-let sessionManager = SessionManager(
-    serverTrustPolicyManager: ServerTrustPolicyManager(policies: serverTrustPolicies)
-)
-```
-
-> Make sure to keep a reference to the new `SessionManager` instance, otherwise your requests will all get cancelled when your `sessionManager` is deallocated.
-
-These server trust policies will result in the following behavior:
-
-- `test.example.com` will always use certificate pinning with certificate chain and host validation enabled thus requiring the following criteria to be met to allow the TLS handshake to succeed:
-	- Certificate chain MUST be valid.
-	- Certificate chain MUST include one of the pinned certificates.
-	- Challenge host MUST match the host in the certificate chain's leaf certificate.
-- `insecure.expired-apis.com` will never evaluate the certificate chain and will always allow the TLS handshake to succeed.
-- All other hosts will use the default evaluation provided by Apple.
-
-##### Subclassing Server Trust Policy Manager
-
-If you find yourself needing more flexible server trust policy matching behavior (i.e. wildcarded domains), then subclass the `ServerTrustPolicyManager` and override the `serverTrustPolicyForHost` method with your own custom implementation.
-
-```swift
-class CustomServerTrustPolicyManager: ServerTrustPolicyManager {
-    override func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? {
-        var policy: ServerTrustPolicy?
-
-        // Implement your custom domain matching behavior...
-
-        return policy
-    }
-}
-```
-
-#### Validating the Host
-
-The `.performDefaultEvaluation`, `.pinCertificates` and `.pinPublicKeys` server trust policies all take a `validateHost` parameter. Setting the value to `true` will cause the server trust evaluation to verify that hostname in the certificate matches the hostname of the challenge. If they do not match, evaluation will fail. A `validateHost` value of `false` will still evaluate the full certificate chain, but will not validate the hostname of the leaf certificate.
-
-> It is recommended that `validateHost` always be set to `true` in production environments.
-
-#### Validating the Certificate Chain
-
-Pinning certificates and public keys both have the option of validating the certificate chain using the `validateCertificateChain` parameter. By setting this value to `true`, the full certificate chain will be evaluated in addition to performing a byte equality check against the pinned certificates or public keys. A value of `false` will skip the certificate chain validation, but will still perform the byte equality check.
-
-There are several cases where it may make sense to disable certificate chain validation. The most common use cases for disabling validation are self-signed and expired certificates. The evaluation would always fail in both of these cases, but the byte equality check will still ensure you are receiving the certificate you expect from the server.
-
-> It is recommended that `validateCertificateChain` always be set to `true` in production environments.
-
-#### App Transport Security
-
-With the addition of App Transport Security (ATS) in iOS 9, it is possible that using a custom `ServerTrustPolicyManager` with several `ServerTrustPolicy` objects will have no effect. If you continuously see `CFNetwork SSLHandshake failed (-9806)` errors, you have probably run into this problem. Apple's ATS system overrides the entire challenge system unless you configure the ATS settings in your app's plist to disable enough of it to allow your app to evaluate the server trust.
-
-If you run into this problem (high probability with self-signed certificates), you can work around this issue by adding the following to your `Info.plist`.
-
-```xml
-<dict>
-    <key>NSAppTransportSecurity</key>
-    <dict>
-        <key>NSExceptionDomains</key>
-        <dict>
-            <key>example.com</key>
-            <dict>
-                <key>NSExceptionAllowsInsecureHTTPLoads</key>
-                <true/>
-                <key>NSExceptionRequiresForwardSecrecy</key>
-                <false/>
-                <key>NSIncludesSubdomains</key>
-                <true/>
-                <!-- Optional: Specify minimum TLS version -->
-                <key>NSTemporaryExceptionMinimumTLSVersion</key>
-                <string>TLSv1.2</string>
-            </dict>
-        </dict>
-    </dict>
-</dict>
-```
-
-Whether you need to set the `NSExceptionRequiresForwardSecrecy` to `NO` depends on whether your TLS connection is using an allowed cipher suite. In certain cases, it will need to be set to `NO`. The `NSExceptionAllowsInsecureHTTPLoads` MUST be set to `YES` in order to allow the `SessionDelegate` to receive challenge callbacks. Once the challenge callbacks are being called, the `ServerTrustPolicyManager` will take over the server trust evaluation. You may also need to specify the `NSTemporaryExceptionMinimumTLSVersion` if you're trying to connect to a host that only supports TLS versions less than `1.2`.
-
-> It is recommended to always use valid certificates in production environments.
-
-### Network Reachability
-
-The `NetworkReachabilityManager` listens for reachability changes of hosts and addresses for both WWAN and WiFi network interfaces.
-
-```swift
-let manager = NetworkReachabilityManager(host: "www.apple.com")
-
-manager?.listener = { status in
-    print("Network Status Changed: \(status)")
-}
-
-manager?.startListening()
-```
-
-> Make sure to remember to retain the `manager` in the above example, or no status changes will be reported.
-> Also, do not include the scheme in the `host` string or reachability won't function correctly.
-
-There are some important things to remember when using network reachability to determine what to do next.
-
-- **Do NOT** use Reachability to determine if a network request should be sent.
-    - You should **ALWAYS** send it.
-- When Reachability is restored, use the event to retry failed network requests.
-    - Even though the network requests may still fail, this is a good moment to retry them.
-- The network reachability status can be useful for determining why a network request may have failed.
-    - If a network request fails, it is more useful to tell the user that the network request failed due to being offline rather than a more technical error, such as "request timed out."
-
-> It is recommended to check out [WWDC 2012 Session 706, "Networking Best Practices"](https://developer.apple.com/videos/play/wwdc2012-706/) for more info.
-
----
-
-## Open Radars
-
-The following radars have some effect on the current implementation of Alamofire.
-
-- [`rdar://21349340`](http://www.openradar.me/radar?id=5517037090635776) - Compiler throwing warning due to toll-free bridging issue in test case
-- [`rdar://26761490`](http://www.openradar.me/radar?id=5010235949318144) - Swift string interpolation causing memory leak with common usage
-- `rdar://26870455` - Background URL Session Configurations do not work in the simulator
-- `rdar://26849668` - Some URLProtocol APIs do not properly handle `URLRequest`
-
-## FAQ
-
-### What's the origin of the name Alamofire?
-
-Alamofire is named after the [Alamo Fire flower](https://aggie-horticulture.tamu.edu/wildseed/alamofire.html), a hybrid variant of the Bluebonnet, the official state flower of Texas.
-
-### What logic belongs in a Router vs. a Request Adapter?
-
-Simple, static data such as paths, parameters and common headers belong in the `Router`. Dynamic data such as an `Authorization` header whose value can changed based on an authentication system belongs in a `RequestAdapter`.
-
-The reason the dynamic data MUST be placed into the `RequestAdapter` is to support retry operations. When a `Request` is retried, the original request is not rebuilt meaning the `Router` will not be called again. The `RequestAdapter` is called again allowing the dynamic data to be updated on the original request before retrying the `Request`.
-
----
-
-## Credits
-
-Alamofire is owned and maintained by the [Alamofire Software Foundation](http://alamofire.org). You can follow them on Twitter at [@AlamofireSF](https://twitter.com/AlamofireSF) for project updates and releases.
-
-### Security Disclosure
-
-If you believe you have identified a security vulnerability with Alamofire, you should report it as soon as possible via email to security@alamofire.org. Please do not post it to a public issue tracker.
-
-## Donations
-
-The [ASF](https://github.com/Alamofire/Foundation#members) is looking to raise money to officially register as a federal non-profit organization. Registering will allow us members to gain some legal protections and also allow us to put donations to use, tax free. Donating to the ASF will enable us to:
-
-- Pay our legal fees to register as a federal non-profit organization
-- Pay our yearly legal fees to keep the non-profit in good status
-- Pay for our mail servers to help us stay on top of all questions and security issues
-- Potentially fund test servers to make it easier for us to test the edge cases
-- Potentially fund developers to work on one of our projects full-time
-
-The community adoption of the ASF libraries has been amazing. We are greatly humbled by your enthusiasm around the projects, and want to continue to do everything we can to move the needle forward. With your continued support, the ASF will be able to improve its reach and also provide better legal safety for the core members. If you use any of our libraries for work, see if your employers would be interested in donating. Our initial goal is to raise $1000 to get all our legal ducks in a row and kickstart this campaign. Any amount you can donate today to help us reach our goal would be greatly appreciated.
-
-<a href='https://pledgie.com/campaigns/31474'><img alt='Click here to lend your support to: Alamofire Software Foundation and make a donation at pledgie.com !' src='https://pledgie.com/campaigns/31474.png?skin_name=chrome' border='0' ></a>
-
-## License
-
-Alamofire is released under the MIT license. [See LICENSE](https://github.com/Alamofire/Alamofire/blob/master/LICENSE) for details.
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
deleted file mode 100644
index f047695b6d6..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/AFError.swift
+++ /dev/null
@@ -1,460 +0,0 @@
-//
-//  AFError.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// `AFError` is the error type returned by Alamofire. It encompasses a few different types of errors, each with
-/// their own associated reasons.
-///
-/// - invalidURL:                  Returned when a `URLConvertible` type fails to create a valid `URL`.
-/// - parameterEncodingFailed:     Returned when a parameter encoding object throws an error during the encoding process.
-/// - multipartEncodingFailed:     Returned when some step in the multipart encoding process fails.
-/// - responseValidationFailed:    Returned when a `validate()` call fails.
-/// - responseSerializationFailed: Returned when a response serializer encounters an error in the serialization process.
-public enum AFError: Error {
-    /// The underlying reason the parameter encoding error occurred.
-    ///
-    /// - missingURL:                 The URL request did not have a URL to encode.
-    /// - jsonEncodingFailed:         JSON serialization failed with an underlying system error during the
-    ///                               encoding process.
-    /// - propertyListEncodingFailed: Property list serialization failed with an underlying system error during
-    ///                               encoding process.
-    public enum ParameterEncodingFailureReason {
-        case missingURL
-        case jsonEncodingFailed(error: Error)
-        case propertyListEncodingFailed(error: Error)
-    }
-
-    /// The underlying reason the multipart encoding error occurred.
-    ///
-    /// - bodyPartURLInvalid:                   The `fileURL` provided for reading an encodable body part isn't a
-    ///                                         file URL.
-    /// - bodyPartFilenameInvalid:              The filename of the `fileURL` provided has either an empty
-    ///                                         `lastPathComponent` or `pathExtension.
-    /// - bodyPartFileNotReachable:             The file at the `fileURL` provided was not reachable.
-    /// - bodyPartFileNotReachableWithError:    Attempting to check the reachability of the `fileURL` provided threw
-    ///                                         an error.
-    /// - bodyPartFileIsDirectory:              The file at the `fileURL` provided is actually a directory.
-    /// - bodyPartFileSizeNotAvailable:         The size of the file at the `fileURL` provided was not returned by
-    ///                                         the system.
-    /// - bodyPartFileSizeQueryFailedWithError: The attempt to find the size of the file at the `fileURL` provided
-    ///                                         threw an error.
-    /// - bodyPartInputStreamCreationFailed:    An `InputStream` could not be created for the provided `fileURL`.
-    /// - outputStreamCreationFailed:           An `OutputStream` could not be created when attempting to write the
-    ///                                         encoded data to disk.
-    /// - outputStreamFileAlreadyExists:        The encoded body data could not be writtent disk because a file
-    ///                                         already exists at the provided `fileURL`.
-    /// - outputStreamURLInvalid:               The `fileURL` provided for writing the encoded body data to disk is
-    ///                                         not a file URL.
-    /// - outputStreamWriteFailed:              The attempt to write the encoded body data to disk failed with an
-    ///                                         underlying error.
-    /// - inputStreamReadFailed:                The attempt to read an encoded body part `InputStream` failed with
-    ///                                         underlying system error.
-    public enum MultipartEncodingFailureReason {
-        case bodyPartURLInvalid(url: URL)
-        case bodyPartFilenameInvalid(in: URL)
-        case bodyPartFileNotReachable(at: URL)
-        case bodyPartFileNotReachableWithError(atURL: URL, error: Error)
-        case bodyPartFileIsDirectory(at: URL)
-        case bodyPartFileSizeNotAvailable(at: URL)
-        case bodyPartFileSizeQueryFailedWithError(forURL: URL, error: Error)
-        case bodyPartInputStreamCreationFailed(for: URL)
-
-        case outputStreamCreationFailed(for: URL)
-        case outputStreamFileAlreadyExists(at: URL)
-        case outputStreamURLInvalid(url: URL)
-        case outputStreamWriteFailed(error: Error)
-
-        case inputStreamReadFailed(error: Error)
-    }
-
-    /// The underlying reason the response validation error occurred.
-    ///
-    /// - dataFileNil:             The data file containing the server response did not exist.
-    /// - dataFileReadFailed:      The data file containing the server response could not be read.
-    /// - missingContentType:      The response did not contain a `Content-Type` and the `acceptableContentTypes`
-    ///                            provided did not contain wildcard type.
-    /// - unacceptableContentType: The response `Content-Type` did not match any type in the provided
-    ///                            `acceptableContentTypes`.
-    /// - unacceptableStatusCode:  The response status code was not acceptable.
-    public enum ResponseValidationFailureReason {
-        case dataFileNil
-        case dataFileReadFailed(at: URL)
-        case missingContentType(acceptableContentTypes: [String])
-        case unacceptableContentType(acceptableContentTypes: [String], responseContentType: String)
-        case unacceptableStatusCode(code: Int)
-    }
-
-    /// The underlying reason the response serialization error occurred.
-    ///
-    /// - inputDataNil:                    The server response contained no data.
-    /// - inputDataNilOrZeroLength:        The server response contained no data or the data was zero length.
-    /// - inputFileNil:                    The file containing the server response did not exist.
-    /// - inputFileReadFailed:             The file containing the server response could not be read.
-    /// - stringSerializationFailed:       String serialization failed using the provided `String.Encoding`.
-    /// - jsonSerializationFailed:         JSON serialization failed with an underlying system error.
-    /// - propertyListSerializationFailed: Property list serialization failed with an underlying system error.
-    public enum ResponseSerializationFailureReason {
-        case inputDataNil
-        case inputDataNilOrZeroLength
-        case inputFileNil
-        case inputFileReadFailed(at: URL)
-        case stringSerializationFailed(encoding: String.Encoding)
-        case jsonSerializationFailed(error: Error)
-        case propertyListSerializationFailed(error: Error)
-    }
-
-    case invalidURL(url: URLConvertible)
-    case parameterEncodingFailed(reason: ParameterEncodingFailureReason)
-    case multipartEncodingFailed(reason: MultipartEncodingFailureReason)
-    case responseValidationFailed(reason: ResponseValidationFailureReason)
-    case responseSerializationFailed(reason: ResponseSerializationFailureReason)
-}
-
-// MARK: - Adapt Error
-
-struct AdaptError: Error {
-    let error: Error
-}
-
-extension Error {
-    var underlyingAdaptError: Error? { return (self as? AdaptError)?.error }
-}
-
-// MARK: - Error Booleans
-
-extension AFError {
-    /// Returns whether the AFError is an invalid URL error.
-    public var isInvalidURLError: Bool {
-        if case .invalidURL = self { return true }
-        return false
-    }
-
-    /// Returns whether the AFError is a parameter encoding error. When `true`, the `underlyingError` property will
-    /// contain the associated value.
-    public var isParameterEncodingError: Bool {
-        if case .parameterEncodingFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the AFError is a multipart encoding error. When `true`, the `url` and `underlyingError` properties
-    /// will contain the associated values.
-    public var isMultipartEncodingError: Bool {
-        if case .multipartEncodingFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the `AFError` is a response validation error. When `true`, the `acceptableContentTypes`,
-    /// `responseContentType`, and `responseCode` properties will contain the associated values.
-    public var isResponseValidationError: Bool {
-        if case .responseValidationFailed = self { return true }
-        return false
-    }
-
-    /// Returns whether the `AFError` is a response serialization error. When `true`, the `failedStringEncoding` and
-    /// `underlyingError` properties will contain the associated values.
-    public var isResponseSerializationError: Bool {
-        if case .responseSerializationFailed = self { return true }
-        return false
-    }
-}
-
-// MARK: - Convenience Properties
-
-extension AFError {
-    /// The `URLConvertible` associated with the error.
-    public var urlConvertible: URLConvertible? {
-        switch self {
-        case .invalidURL(let url):
-            return url
-        default:
-            return nil
-        }
-    }
-
-    /// The `URL` associated with the error.
-    public var url: URL? {
-        switch self {
-        case .multipartEncodingFailed(let reason):
-            return reason.url
-        default:
-            return nil
-        }
-    }
-
-    /// The `Error` returned by a system framework associated with a `.parameterEncodingFailed`,
-    /// `.multipartEncodingFailed` or `.responseSerializationFailed` error.
-    public var underlyingError: Error? {
-        switch self {
-        case .parameterEncodingFailed(let reason):
-            return reason.underlyingError
-        case .multipartEncodingFailed(let reason):
-            return reason.underlyingError
-        case .responseSerializationFailed(let reason):
-            return reason.underlyingError
-        default:
-            return nil
-        }
-    }
-
-    /// The acceptable `Content-Type`s of a `.responseValidationFailed` error.
-    public var acceptableContentTypes: [String]? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.acceptableContentTypes
-        default:
-            return nil
-        }
-    }
-
-    /// The response `Content-Type` of a `.responseValidationFailed` error.
-    public var responseContentType: String? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.responseContentType
-        default:
-            return nil
-        }
-    }
-
-    /// The response code of a `.responseValidationFailed` error.
-    public var responseCode: Int? {
-        switch self {
-        case .responseValidationFailed(let reason):
-            return reason.responseCode
-        default:
-            return nil
-        }
-    }
-
-    /// The `String.Encoding` associated with a failed `.stringResponse()` call.
-    public var failedStringEncoding: String.Encoding? {
-        switch self {
-        case .responseSerializationFailed(let reason):
-            return reason.failedStringEncoding
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ParameterEncodingFailureReason {
-    var underlyingError: Error? {
-        switch self {
-        case .jsonEncodingFailed(let error), .propertyListEncodingFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.MultipartEncodingFailureReason {
-    var url: URL? {
-        switch self {
-        case .bodyPartURLInvalid(let url), .bodyPartFilenameInvalid(let url), .bodyPartFileNotReachable(let url),
-             .bodyPartFileIsDirectory(let url), .bodyPartFileSizeNotAvailable(let url),
-             .bodyPartInputStreamCreationFailed(let url), .outputStreamCreationFailed(let url),
-             .outputStreamFileAlreadyExists(let url), .outputStreamURLInvalid(let url),
-             .bodyPartFileNotReachableWithError(let url, _), .bodyPartFileSizeQueryFailedWithError(let url, _):
-            return url
-        default:
-            return nil
-        }
-    }
-
-    var underlyingError: Error? {
-        switch self {
-        case .bodyPartFileNotReachableWithError(_, let error), .bodyPartFileSizeQueryFailedWithError(_, let error),
-             .outputStreamWriteFailed(let error), .inputStreamReadFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ResponseValidationFailureReason {
-    var acceptableContentTypes: [String]? {
-        switch self {
-        case .missingContentType(let types), .unacceptableContentType(let types, _):
-            return types
-        default:
-            return nil
-        }
-    }
-
-    var responseContentType: String? {
-        switch self {
-        case .unacceptableContentType(_, let responseType):
-            return responseType
-        default:
-            return nil
-        }
-    }
-
-    var responseCode: Int? {
-        switch self {
-        case .unacceptableStatusCode(let code):
-            return code
-        default:
-            return nil
-        }
-    }
-}
-
-extension AFError.ResponseSerializationFailureReason {
-    var failedStringEncoding: String.Encoding? {
-        switch self {
-        case .stringSerializationFailed(let encoding):
-            return encoding
-        default:
-            return nil
-        }
-    }
-
-    var underlyingError: Error? {
-        switch self {
-        case .jsonSerializationFailed(let error), .propertyListSerializationFailed(let error):
-            return error
-        default:
-            return nil
-        }
-    }
-}
-
-// MARK: - Error Descriptions
-
-extension AFError: LocalizedError {
-    public var errorDescription: String? {
-        switch self {
-        case .invalidURL(let url):
-            return "URL is not valid: \(url)"
-        case .parameterEncodingFailed(let reason):
-            return reason.localizedDescription
-        case .multipartEncodingFailed(let reason):
-            return reason.localizedDescription
-        case .responseValidationFailed(let reason):
-            return reason.localizedDescription
-        case .responseSerializationFailed(let reason):
-            return reason.localizedDescription
-        }
-    }
-}
-
-extension AFError.ParameterEncodingFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .missingURL:
-            return "URL request to encode was missing a URL"
-        case .jsonEncodingFailed(let error):
-            return "JSON could not be encoded because of error:\n\(error.localizedDescription)"
-        case .propertyListEncodingFailed(let error):
-            return "PropertyList could not be encoded because of error:\n\(error.localizedDescription)"
-        }
-    }
-}
-
-extension AFError.MultipartEncodingFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .bodyPartURLInvalid(let url):
-            return "The URL provided is not a file URL: \(url)"
-        case .bodyPartFilenameInvalid(let url):
-            return "The URL provided does not have a valid filename: \(url)"
-        case .bodyPartFileNotReachable(let url):
-            return "The URL provided is not reachable: \(url)"
-        case .bodyPartFileNotReachableWithError(let url, let error):
-            return (
-                "The system returned an error while checking the provided URL for " +
-                "reachability.\nURL: \(url)\nError: \(error)"
-            )
-        case .bodyPartFileIsDirectory(let url):
-            return "The URL provided is a directory: \(url)"
-        case .bodyPartFileSizeNotAvailable(let url):
-            return "Could not fetch the file size from the provided URL: \(url)"
-        case .bodyPartFileSizeQueryFailedWithError(let url, let error):
-            return (
-                "The system returned an error while attempting to fetch the file size from the " +
-                "provided URL.\nURL: \(url)\nError: \(error)"
-            )
-        case .bodyPartInputStreamCreationFailed(let url):
-            return "Failed to create an InputStream for the provided URL: \(url)"
-        case .outputStreamCreationFailed(let url):
-            return "Failed to create an OutputStream for URL: \(url)"
-        case .outputStreamFileAlreadyExists(let url):
-            return "A file already exists at the provided URL: \(url)"
-        case .outputStreamURLInvalid(let url):
-            return "The provided OutputStream URL is invalid: \(url)"
-        case .outputStreamWriteFailed(let error):
-            return "OutputStream write failed with error: \(error)"
-        case .inputStreamReadFailed(let error):
-            return "InputStream read failed with error: \(error)"
-        }
-    }
-}
-
-extension AFError.ResponseSerializationFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .inputDataNil:
-            return "Response could not be serialized, input data was nil."
-        case .inputDataNilOrZeroLength:
-            return "Response could not be serialized, input data was nil or zero length."
-        case .inputFileNil:
-            return "Response could not be serialized, input file was nil."
-        case .inputFileReadFailed(let url):
-            return "Response could not be serialized, input file could not be read: \(url)."
-        case .stringSerializationFailed(let encoding):
-            return "String could not be serialized with encoding: \(encoding)."
-        case .jsonSerializationFailed(let error):
-            return "JSON could not be serialized because of error:\n\(error.localizedDescription)"
-        case .propertyListSerializationFailed(let error):
-            return "PropertyList could not be serialized because of error:\n\(error.localizedDescription)"
-        }
-    }
-}
-
-extension AFError.ResponseValidationFailureReason {
-    var localizedDescription: String {
-        switch self {
-        case .dataFileNil:
-            return "Response could not be validated, data file was nil."
-        case .dataFileReadFailed(let url):
-            return "Response could not be validated, data file could not be read: \(url)."
-        case .missingContentType(let types):
-            return (
-                "Response Content-Type was missing and acceptable content types " +
-                "(\(types.joined(separator: ","))) do not match \"*/*\"."
-            )
-        case .unacceptableContentType(let acceptableTypes, let responseType):
-            return (
-                "Response Content-Type \"\(responseType)\" does not match any acceptable types: " +
-                "\(acceptableTypes.joined(separator: ","))."
-            )
-        case .unacceptableStatusCode(let code):
-            return "Response status code was unacceptable: \(code)."
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
deleted file mode 100644
index edcf717ca9e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Alamofire.swift
+++ /dev/null
@@ -1,465 +0,0 @@
-//
-//  Alamofire.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Types adopting the `URLConvertible` protocol can be used to construct URLs, which are then used to construct
-/// URL requests.
-public protocol URLConvertible {
-    /// Returns a URL that conforms to RFC 2396 or throws an `Error`.
-    ///
-    /// - throws: An `Error` if the type cannot be converted to a `URL`.
-    ///
-    /// - returns: A URL or throws an `Error`.
-    func asURL() throws -> URL
-}
-
-extension String: URLConvertible {
-    /// Returns a URL if `self` represents a valid URL string that conforms to RFC 2396 or throws an `AFError`.
-    ///
-    /// - throws: An `AFError.invalidURL` if `self` is not a valid URL string.
-    ///
-    /// - returns: A URL or throws an `AFError`.
-    public func asURL() throws -> URL {
-        guard let url = URL(string: self) else { throw AFError.invalidURL(url: self) }
-        return url
-    }
-}
-
-extension URL: URLConvertible {
-    /// Returns self.
-    public func asURL() throws -> URL { return self }
-}
-
-extension URLComponents: URLConvertible {
-    /// Returns a URL if `url` is not nil, otherwise throws an `Error`.
-    ///
-    /// - throws: An `AFError.invalidURL` if `url` is `nil`.
-    ///
-    /// - returns: A URL or throws an `AFError`.
-    public func asURL() throws -> URL {
-        guard let url = url else { throw AFError.invalidURL(url: self) }
-        return url
-    }
-}
-
-// MARK: -
-
-/// Types adopting the `URLRequestConvertible` protocol can be used to construct URL requests.
-public protocol URLRequestConvertible {
-    /// Returns a URL request or throws if an `Error` was encountered.
-    ///
-    /// - throws: An `Error` if the underlying `URLRequest` is `nil`.
-    ///
-    /// - returns: A URL request.
-    func asURLRequest() throws -> URLRequest
-}
-
-extension URLRequestConvertible {
-    /// The URL request.
-    public var urlRequest: URLRequest? { return try? asURLRequest() }
-}
-
-extension URLRequest: URLRequestConvertible {
-    /// Returns a URL request or throws if an `Error` was encountered.
-    public func asURLRequest() throws -> URLRequest { return self }
-}
-
-// MARK: -
-
-extension URLRequest {
-    /// Creates an instance with the specified `method`, `urlString` and `headers`.
-    ///
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The new `URLRequest` instance.
-    public init(url: URLConvertible, method: HTTPMethod, headers: HTTPHeaders? = nil) throws {
-        let url = try url.asURL()
-
-        self.init(url: url)
-
-        httpMethod = method.rawValue
-
-        if let headers = headers {
-            for (headerField, headerValue) in headers {
-                setValue(headerValue, forHTTPHeaderField: headerField)
-            }
-        }
-    }
-
-    func adapt(using adapter: RequestAdapter?) throws -> URLRequest {
-        guard let adapter = adapter else { return self }
-        return try adapter.adapt(self)
-    }
-}
-
-// MARK: - Data Request
-
-/// Creates a `DataRequest` using the default `SessionManager` to retrieve the contents of the specified `url`,
-/// `method`, `parameters`, `encoding` and `headers`.
-///
-/// - parameter url:        The URL.
-/// - parameter method:     The HTTP method. `.get` by default.
-/// - parameter parameters: The parameters. `nil` by default.
-/// - parameter encoding:   The parameter encoding. `URLEncoding.default` by default.
-/// - parameter headers:    The HTTP headers. `nil` by default.
-///
-/// - returns: The created `DataRequest`.
-@discardableResult
-public func request(
-    _ url: URLConvertible,
-    method: HTTPMethod = .get,
-    parameters: Parameters? = nil,
-    encoding: ParameterEncoding = URLEncoding.default,
-    headers: HTTPHeaders? = nil)
-    -> DataRequest
-{
-    return SessionManager.default.request(
-        url,
-        method: method,
-        parameters: parameters,
-        encoding: encoding,
-        headers: headers
-    )
-}
-
-/// Creates a `DataRequest` using the default `SessionManager` to retrieve the contents of a URL based on the
-/// specified `urlRequest`.
-///
-/// - parameter urlRequest: The URL request
-///
-/// - returns: The created `DataRequest`.
-@discardableResult
-public func request(_ urlRequest: URLRequestConvertible) -> DataRequest {
-    return SessionManager.default.request(urlRequest)
-}
-
-// MARK: - Download Request
-
-// MARK: URL Request
-
-/// Creates a `DownloadRequest` using the default `SessionManager` to retrieve the contents of the specified `url`,
-/// `method`, `parameters`, `encoding`, `headers` and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// - parameter url:         The URL.
-/// - parameter method:      The HTTP method. `.get` by default.
-/// - parameter parameters:  The parameters. `nil` by default.
-/// - parameter encoding:    The parameter encoding. `URLEncoding.default` by default.
-/// - parameter headers:     The HTTP headers. `nil` by default.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    _ url: URLConvertible,
-    method: HTTPMethod = .get,
-    parameters: Parameters? = nil,
-    encoding: ParameterEncoding = URLEncoding.default,
-    headers: HTTPHeaders? = nil,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(
-        url,
-        method: method,
-        parameters: parameters,
-        encoding: encoding,
-        headers: headers,
-        to: destination
-    )
-}
-
-/// Creates a `DownloadRequest` using the default `SessionManager` to retrieve the contents of a URL based on the
-/// specified `urlRequest` and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// - parameter urlRequest:  The URL request.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    _ urlRequest: URLRequestConvertible,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(urlRequest, to: destination)
-}
-
-// MARK: Resume Data
-
-/// Creates a `DownloadRequest` using the default `SessionManager` from the `resumeData` produced from a
-/// previous request cancellation to retrieve the contents of the original request and save them to the `destination`.
-///
-/// If `destination` is not specified, the contents will remain in the temporary location determined by the
-/// underlying URL session.
-///
-/// On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken
-/// on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the
-/// data is written incorrectly and will always fail to resume the download. For more information about the bug and
-/// possible workarounds, please refer to the following Stack Overflow post:
-///
-///    - http://stackoverflow.com/a/39347461/1342462
-///
-/// - parameter resumeData:  The resume data. This is an opaque data blob produced by `URLSessionDownloadTask`
-///                          when a task is cancelled. See `URLSession -downloadTask(withResumeData:)` for additional
-///                          information.
-/// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-///
-/// - returns: The created `DownloadRequest`.
-@discardableResult
-public func download(
-    resumingWith resumeData: Data,
-    to destination: DownloadRequest.DownloadFileDestination? = nil)
-    -> DownloadRequest
-{
-    return SessionManager.default.download(resumingWith: resumeData, to: destination)
-}
-
-// MARK: - Upload Request
-
-// MARK: File
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `file`.
-///
-/// - parameter file:    The file to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ fileURL: URL,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(fileURL, to: url, method: method, headers: headers)
-}
-
-/// Creates a `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `file`.
-///
-/// - parameter file:       The file to upload.
-/// - parameter urlRequest: The URL request.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ fileURL: URL, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(fileURL, with: urlRequest)
-}
-
-// MARK: Data
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `data`.
-///
-/// - parameter data:    The data to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ data: Data,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(data, to: url, method: method, headers: headers)
-}
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `data`.
-///
-/// - parameter data:       The data to upload.
-/// - parameter urlRequest: The URL request.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ data: Data, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(data, with: urlRequest)
-}
-
-// MARK: InputStream
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `url`, `method` and `headers`
-/// for uploading the `stream`.
-///
-/// - parameter stream:  The stream to upload.
-/// - parameter url:     The URL.
-/// - parameter method:  The HTTP method. `.post` by default.
-/// - parameter headers: The HTTP headers. `nil` by default.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(
-    _ stream: InputStream,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil)
-    -> UploadRequest
-{
-    return SessionManager.default.upload(stream, to: url, method: method, headers: headers)
-}
-
-/// Creates an `UploadRequest` using the default `SessionManager` from the specified `urlRequest` for
-/// uploading the `stream`.
-///
-/// - parameter urlRequest: The URL request.
-/// - parameter stream:     The stream to upload.
-///
-/// - returns: The created `UploadRequest`.
-@discardableResult
-public func upload(_ stream: InputStream, with urlRequest: URLRequestConvertible) -> UploadRequest {
-    return SessionManager.default.upload(stream, with: urlRequest)
-}
-
-// MARK: MultipartFormData
-
-/// Encodes `multipartFormData` using `encodingMemoryThreshold` with the default `SessionManager` and calls
-/// `encodingCompletion` with new `UploadRequest` using the `url`, `method` and `headers`.
-///
-/// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-/// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-/// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-/// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-/// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-/// used for larger payloads such as video content.
-///
-/// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-/// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-/// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-/// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-/// technique was used.
-///
-/// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-/// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-/// - parameter url:                     The URL.
-/// - parameter method:                  The HTTP method. `.post` by default.
-/// - parameter headers:                 The HTTP headers. `nil` by default.
-/// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-public func upload(
-    multipartFormData: @escaping (MultipartFormData) -> Void,
-    usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-    to url: URLConvertible,
-    method: HTTPMethod = .post,
-    headers: HTTPHeaders? = nil,
-    encodingCompletion: ((SessionManager.MultipartFormDataEncodingResult) -> Void)?)
-{
-    return SessionManager.default.upload(
-        multipartFormData: multipartFormData,
-        usingThreshold: encodingMemoryThreshold,
-        to: url,
-        method: method,
-        headers: headers,
-        encodingCompletion: encodingCompletion
-    )
-}
-
-/// Encodes `multipartFormData` using `encodingMemoryThreshold` and the default `SessionManager` and
-/// calls `encodingCompletion` with new `UploadRequest` using the `urlRequest`.
-///
-/// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-/// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-/// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-/// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-/// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-/// used for larger payloads such as video content.
-///
-/// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-/// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-/// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-/// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-/// technique was used.
-///
-/// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-/// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-/// - parameter urlRequest:              The URL request.
-/// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-public func upload(
-    multipartFormData: @escaping (MultipartFormData) -> Void,
-    usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-    with urlRequest: URLRequestConvertible,
-    encodingCompletion: ((SessionManager.MultipartFormDataEncodingResult) -> Void)?)
-{
-    return SessionManager.default.upload(
-        multipartFormData: multipartFormData,
-        usingThreshold: encodingMemoryThreshold,
-        with: urlRequest,
-        encodingCompletion: encodingCompletion
-    )
-}
-
-#if !os(watchOS)
-
-// MARK: - Stream Request
-
-// MARK: Hostname and Port
-
-/// Creates a `StreamRequest` using the default `SessionManager` for bidirectional streaming with the `hostname`
-/// and `port`.
-///
-/// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-///
-/// - parameter hostName: The hostname of the server to connect to.
-/// - parameter port:     The port of the server to connect to.
-///
-/// - returns: The created `StreamRequest`.
-@discardableResult
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-public func stream(withHostName hostName: String, port: Int) -> StreamRequest {
-    return SessionManager.default.stream(withHostName: hostName, port: port)
-}
-
-// MARK: NetService
-
-/// Creates a `StreamRequest` using the default `SessionManager` for bidirectional streaming with the `netService`.
-///
-/// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-///
-/// - parameter netService: The net service used to identify the endpoint.
-///
-/// - returns: The created `StreamRequest`.
-@discardableResult
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-public func stream(with netService: NetService) -> StreamRequest {
-    return SessionManager.default.stream(with: netService)
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
deleted file mode 100644
index 78e214ea179..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/DispatchQueue+Alamofire.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-//  DispatchQueue+Alamofire.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Dispatch
-import Foundation
-
-extension DispatchQueue {
-    static var userInteractive: DispatchQueue { return DispatchQueue.global(qos: .userInteractive) }
-    static var userInitiated: DispatchQueue { return DispatchQueue.global(qos: .userInitiated) }
-    static var utility: DispatchQueue { return DispatchQueue.global(qos: .utility) }
-    static var background: DispatchQueue { return DispatchQueue.global(qos: .background) }
-
-    func after(_ delay: TimeInterval, execute closure: @escaping () -> Void) {
-        asyncAfter(deadline: .now() + delay, execute: closure)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
deleted file mode 100644
index c5093f9f857..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/MultipartFormData.swift
+++ /dev/null
@@ -1,580 +0,0 @@
-//
-//  MultipartFormData.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-#if os(iOS) || os(watchOS) || os(tvOS)
-import MobileCoreServices
-#elseif os(macOS)
-import CoreServices
-#endif
-
-/// Constructs `multipart/form-data` for uploads within an HTTP or HTTPS body. There are currently two ways to encode
-/// multipart form data. The first way is to encode the data directly in memory. This is very efficient, but can lead
-/// to memory issues if the dataset is too large. The second way is designed for larger datasets and will write all the
-/// data to a single file on disk with all the proper boundary segmentation. The second approach MUST be used for
-/// larger datasets such as video content, otherwise your app may run out of memory when trying to encode the dataset.
-///
-/// For more information on `multipart/form-data` in general, please refer to the RFC-2388 and RFC-2045 specs as well
-/// and the w3 form documentation.
-///
-/// - https://www.ietf.org/rfc/rfc2388.txt
-/// - https://www.ietf.org/rfc/rfc2045.txt
-/// - https://www.w3.org/TR/html401/interact/forms.html#h-17.13
-open class MultipartFormData {
-
-    // MARK: - Helper Types
-
-    struct EncodingCharacters {
-        static let crlf = "\r\n"
-    }
-
-    struct BoundaryGenerator {
-        enum BoundaryType {
-            case initial, encapsulated, final
-        }
-
-        static func randomBoundary() -> String {
-            return String(format: "alamofire.boundary.%08x%08x", arc4random(), arc4random())
-        }
-
-        static func boundaryData(forBoundaryType boundaryType: BoundaryType, boundary: String) -> Data {
-            let boundaryText: String
-
-            switch boundaryType {
-            case .initial:
-                boundaryText = "--\(boundary)\(EncodingCharacters.crlf)"
-            case .encapsulated:
-                boundaryText = "\(EncodingCharacters.crlf)--\(boundary)\(EncodingCharacters.crlf)"
-            case .final:
-                boundaryText = "\(EncodingCharacters.crlf)--\(boundary)--\(EncodingCharacters.crlf)"
-            }
-
-            return boundaryText.data(using: String.Encoding.utf8, allowLossyConversion: false)!
-        }
-    }
-
-    class BodyPart {
-        let headers: HTTPHeaders
-        let bodyStream: InputStream
-        let bodyContentLength: UInt64
-        var hasInitialBoundary = false
-        var hasFinalBoundary = false
-
-        init(headers: HTTPHeaders, bodyStream: InputStream, bodyContentLength: UInt64) {
-            self.headers = headers
-            self.bodyStream = bodyStream
-            self.bodyContentLength = bodyContentLength
-        }
-    }
-
-    // MARK: - Properties
-
-    /// The `Content-Type` header value containing the boundary used to generate the `multipart/form-data`.
-    open lazy var contentType: String = "multipart/form-data; boundary=\(self.boundary)"
-
-    /// The content length of all body parts used to generate the `multipart/form-data` not including the boundaries.
-    public var contentLength: UInt64 { return bodyParts.reduce(0) { $0 + $1.bodyContentLength } }
-
-    /// The boundary used to separate the body parts in the encoded form data.
-    public let boundary: String
-
-    private var bodyParts: [BodyPart]
-    private var bodyPartError: AFError?
-    private let streamBufferSize: Int
-
-    // MARK: - Lifecycle
-
-    /// Creates a multipart form data object.
-    ///
-    /// - returns: The multipart form data object.
-    public init() {
-        self.boundary = BoundaryGenerator.randomBoundary()
-        self.bodyParts = []
-
-        ///
-        /// The optimal read/write buffer size in bytes for input and output streams is 1024 (1KB). For more
-        /// information, please refer to the following article:
-        ///   - https://developer.apple.com/library/mac/documentation/Cocoa/Conceptual/Streams/Articles/ReadingInputStreams.html
-        ///
-
-        self.streamBufferSize = 1024
-    }
-
-    // MARK: - Body Parts
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
-    /// - Encoded data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data: The data to encode into the multipart form data.
-    /// - parameter name: The name to associate with the data in the `Content-Disposition` HTTP header.
-    public func append(_ data: Data, withName name: String) {
-        let headers = contentHeaders(withName: name)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}` (HTTP Header)
-    /// - `Content-Type: #{generated mimeType}` (HTTP Header)
-    /// - Encoded data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data:     The data to encode into the multipart form data.
-    /// - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the data content type in the `Content-Type` HTTP header.
-    public func append(_ data: Data, withName name: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, mimeType: mimeType)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the data and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
-    /// - `Content-Type: #{mimeType}` (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// - parameter data:     The data to encode into the multipart form data.
-    /// - parameter name:     The name to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the data in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the data in the `Content-Type` HTTP header.
-    public func append(_ data: Data, withName name: String, fileName: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-        let stream = InputStream(data: data)
-        let length = UInt64(data.count)
-
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part from the file and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{generated filename}` (HTTP Header)
-    /// - `Content-Type: #{generated mimeType}` (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// The filename in the `Content-Disposition` HTTP header is generated from the last path component of the
-    /// `fileURL`. The `Content-Type` HTTP header MIME type is generated by mapping the `fileURL` extension to the
-    /// system associated MIME type.
-    ///
-    /// - parameter fileURL: The URL of the file whose content will be encoded into the multipart form data.
-    /// - parameter name:    The name to associate with the file content in the `Content-Disposition` HTTP header.
-    public func append(_ fileURL: URL, withName name: String) {
-        let fileName = fileURL.lastPathComponent
-        let pathExtension = fileURL.pathExtension
-
-        if !fileName.isEmpty && !pathExtension.isEmpty {
-            let mime = mimeType(forPathExtension: pathExtension)
-            append(fileURL, withName: name, fileName: fileName, mimeType: mime)
-        } else {
-            setBodyPartError(withReason: .bodyPartFilenameInvalid(in: fileURL))
-        }
-    }
-
-    /// Creates a body part from the file and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - Content-Disposition: form-data; name=#{name}; filename=#{filename} (HTTP Header)
-    /// - Content-Type: #{mimeType} (HTTP Header)
-    /// - Encoded file data
-    /// - Multipart form boundary
-    ///
-    /// - parameter fileURL:  The URL of the file whose content will be encoded into the multipart form data.
-    /// - parameter name:     The name to associate with the file content in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the file content in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the file content in the `Content-Type` HTTP header.
-    public func append(_ fileURL: URL, withName name: String, fileName: String, mimeType: String) {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-
-        //============================================================
-        //                 Check 1 - is file URL?
-        //============================================================
-
-        guard fileURL.isFileURL else {
-            setBodyPartError(withReason: .bodyPartURLInvalid(url: fileURL))
-            return
-        }
-
-        //============================================================
-        //              Check 2 - is file URL reachable?
-        //============================================================
-
-        do {
-            let isReachable = try fileURL.checkPromisedItemIsReachable()
-            guard isReachable else {
-                setBodyPartError(withReason: .bodyPartFileNotReachable(at: fileURL))
-                return
-            }
-        } catch {
-            setBodyPartError(withReason: .bodyPartFileNotReachableWithError(atURL: fileURL, error: error))
-            return
-        }
-
-        //============================================================
-        //            Check 3 - is file URL a directory?
-        //============================================================
-
-        var isDirectory: ObjCBool = false
-        let path = fileURL.path
-
-        guard FileManager.default.fileExists(atPath: path, isDirectory: &isDirectory) && !isDirectory.boolValue else {
-            setBodyPartError(withReason: .bodyPartFileIsDirectory(at: fileURL))
-            return
-        }
-
-        //============================================================
-        //          Check 4 - can the file size be extracted?
-        //============================================================
-
-        let bodyContentLength: UInt64
-
-        do {
-            guard let fileSize = try FileManager.default.attributesOfItem(atPath: path)[.size] as? NSNumber else {
-                setBodyPartError(withReason: .bodyPartFileSizeNotAvailable(at: fileURL))
-                return
-            }
-
-            bodyContentLength = fileSize.uint64Value
-        }
-        catch {
-            setBodyPartError(withReason: .bodyPartFileSizeQueryFailedWithError(forURL: fileURL, error: error))
-            return
-        }
-
-        //============================================================
-        //       Check 5 - can a stream be created from file URL?
-        //============================================================
-
-        guard let stream = InputStream(url: fileURL) else {
-            setBodyPartError(withReason: .bodyPartInputStreamCreationFailed(for: fileURL))
-            return
-        }
-
-        append(stream, withLength: bodyContentLength, headers: headers)
-    }
-
-    /// Creates a body part from the stream and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - `Content-Disposition: form-data; name=#{name}; filename=#{filename}` (HTTP Header)
-    /// - `Content-Type: #{mimeType}` (HTTP Header)
-    /// - Encoded stream data
-    /// - Multipart form boundary
-    ///
-    /// - parameter stream:   The input stream to encode in the multipart form data.
-    /// - parameter length:   The content length of the stream.
-    /// - parameter name:     The name to associate with the stream content in the `Content-Disposition` HTTP header.
-    /// - parameter fileName: The filename to associate with the stream content in the `Content-Disposition` HTTP header.
-    /// - parameter mimeType: The MIME type to associate with the stream content in the `Content-Type` HTTP header.
-    public func append(
-        _ stream: InputStream,
-        withLength length: UInt64,
-        name: String,
-        fileName: String,
-        mimeType: String)
-    {
-        let headers = contentHeaders(withName: name, fileName: fileName, mimeType: mimeType)
-        append(stream, withLength: length, headers: headers)
-    }
-
-    /// Creates a body part with the headers, stream and length and appends it to the multipart form data object.
-    ///
-    /// The body part data will be encoded using the following format:
-    ///
-    /// - HTTP headers
-    /// - Encoded stream data
-    /// - Multipart form boundary
-    ///
-    /// - parameter stream:  The input stream to encode in the multipart form data.
-    /// - parameter length:  The content length of the stream.
-    /// - parameter headers: The HTTP headers for the body part.
-    public func append(_ stream: InputStream, withLength length: UInt64, headers: HTTPHeaders) {
-        let bodyPart = BodyPart(headers: headers, bodyStream: stream, bodyContentLength: length)
-        bodyParts.append(bodyPart)
-    }
-
-    // MARK: - Data Encoding
-
-    /// Encodes all the appended body parts into a single `Data` value.
-    ///
-    /// It is important to note that this method will load all the appended body parts into memory all at the same
-    /// time. This method should only be used when the encoded data will have a small memory footprint. For large data
-    /// cases, please use the `writeEncodedDataToDisk(fileURL:completionHandler:)` method.
-    ///
-    /// - throws: An `AFError` if encoding encounters an error.
-    ///
-    /// - returns: The encoded `Data` if encoding is successful.
-    public func encode() throws -> Data {
-        if let bodyPartError = bodyPartError {
-            throw bodyPartError
-        }
-
-        var encoded = Data()
-
-        bodyParts.first?.hasInitialBoundary = true
-        bodyParts.last?.hasFinalBoundary = true
-
-        for bodyPart in bodyParts {
-            let encodedData = try encode(bodyPart)
-            encoded.append(encodedData)
-        }
-
-        return encoded
-    }
-
-    /// Writes the appended body parts into the given file URL.
-    ///
-    /// This process is facilitated by reading and writing with input and output streams, respectively. Thus,
-    /// this approach is very memory efficient and should be used for large body part data.
-    ///
-    /// - parameter fileURL: The file URL to write the multipart form data into.
-    ///
-    /// - throws: An `AFError` if encoding encounters an error.
-    public func writeEncodedData(to fileURL: URL) throws {
-        if let bodyPartError = bodyPartError {
-            throw bodyPartError
-        }
-
-        if FileManager.default.fileExists(atPath: fileURL.path) {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamFileAlreadyExists(at: fileURL))
-        } else if !fileURL.isFileURL {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamURLInvalid(url: fileURL))
-        }
-
-        guard let outputStream = OutputStream(url: fileURL, append: false) else {
-            throw AFError.multipartEncodingFailed(reason: .outputStreamCreationFailed(for: fileURL))
-        }
-
-        outputStream.open()
-        defer { outputStream.close() }
-
-        self.bodyParts.first?.hasInitialBoundary = true
-        self.bodyParts.last?.hasFinalBoundary = true
-
-        for bodyPart in self.bodyParts {
-            try write(bodyPart, to: outputStream)
-        }
-    }
-
-    // MARK: - Private - Body Part Encoding
-
-    private func encode(_ bodyPart: BodyPart) throws -> Data {
-        var encoded = Data()
-
-        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
-        encoded.append(initialData)
-
-        let headerData = encodeHeaders(for: bodyPart)
-        encoded.append(headerData)
-
-        let bodyStreamData = try encodeBodyStream(for: bodyPart)
-        encoded.append(bodyStreamData)
-
-        if bodyPart.hasFinalBoundary {
-            encoded.append(finalBoundaryData())
-        }
-
-        return encoded
-    }
-
-    private func encodeHeaders(for bodyPart: BodyPart) -> Data {
-        var headerText = ""
-
-        for (key, value) in bodyPart.headers {
-            headerText += "\(key): \(value)\(EncodingCharacters.crlf)"
-        }
-        headerText += EncodingCharacters.crlf
-
-        return headerText.data(using: String.Encoding.utf8, allowLossyConversion: false)!
-    }
-
-    private func encodeBodyStream(for bodyPart: BodyPart) throws -> Data {
-        let inputStream = bodyPart.bodyStream
-        inputStream.open()
-        defer { inputStream.close() }
-
-        var encoded = Data()
-
-        while inputStream.hasBytesAvailable {
-            var buffer = [UInt8](repeating: 0, count: streamBufferSize)
-            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
-
-            if let error = inputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .inputStreamReadFailed(error: error))
-            }
-
-            if bytesRead > 0 {
-                encoded.append(buffer, count: bytesRead)
-            } else {
-                break
-            }
-        }
-
-        return encoded
-    }
-
-    // MARK: - Private - Writing Body Part to Output Stream
-
-    private func write(_ bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        try writeInitialBoundaryData(for: bodyPart, to: outputStream)
-        try writeHeaderData(for: bodyPart, to: outputStream)
-        try writeBodyStream(for: bodyPart, to: outputStream)
-        try writeFinalBoundaryData(for: bodyPart, to: outputStream)
-    }
-
-    private func writeInitialBoundaryData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let initialData = bodyPart.hasInitialBoundary ? initialBoundaryData() : encapsulatedBoundaryData()
-        return try write(initialData, to: outputStream)
-    }
-
-    private func writeHeaderData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let headerData = encodeHeaders(for: bodyPart)
-        return try write(headerData, to: outputStream)
-    }
-
-    private func writeBodyStream(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        let inputStream = bodyPart.bodyStream
-
-        inputStream.open()
-        defer { inputStream.close() }
-
-        while inputStream.hasBytesAvailable {
-            var buffer = [UInt8](repeating: 0, count: streamBufferSize)
-            let bytesRead = inputStream.read(&buffer, maxLength: streamBufferSize)
-
-            if let streamError = inputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .inputStreamReadFailed(error: streamError))
-            }
-
-            if bytesRead > 0 {
-                if buffer.count != bytesRead {
-                    buffer = Array(buffer[0..<bytesRead])
-                }
-
-                try write(&buffer, to: outputStream)
-            } else {
-                break
-            }
-        }
-    }
-
-    private func writeFinalBoundaryData(for bodyPart: BodyPart, to outputStream: OutputStream) throws {
-        if bodyPart.hasFinalBoundary {
-            return try write(finalBoundaryData(), to: outputStream)
-        }
-    }
-
-    // MARK: - Private - Writing Buffered Data to Output Stream
-
-    private func write(_ data: Data, to outputStream: OutputStream) throws {
-        var buffer = [UInt8](repeating: 0, count: data.count)
-        data.copyBytes(to: &buffer, count: data.count)
-
-        return try write(&buffer, to: outputStream)
-    }
-
-    private func write(_ buffer: inout [UInt8], to outputStream: OutputStream) throws {
-        var bytesToWrite = buffer.count
-
-        while bytesToWrite > 0, outputStream.hasSpaceAvailable {
-            let bytesWritten = outputStream.write(buffer, maxLength: bytesToWrite)
-
-            if let error = outputStream.streamError {
-                throw AFError.multipartEncodingFailed(reason: .outputStreamWriteFailed(error: error))
-            }
-
-            bytesToWrite -= bytesWritten
-
-            if bytesToWrite > 0 {
-                buffer = Array(buffer[bytesWritten..<buffer.count])
-            }
-        }
-    }
-
-    // MARK: - Private - Mime Type
-
-    private func mimeType(forPathExtension pathExtension: String) -> String {
-        if
-            let id = UTTypeCreatePreferredIdentifierForTag(kUTTagClassFilenameExtension, pathExtension as CFString, nil)?.takeRetainedValue(),
-            let contentType = UTTypeCopyPreferredTagWithClass(id, kUTTagClassMIMEType)?.takeRetainedValue()
-        {
-            return contentType as String
-        }
-
-        return "application/octet-stream"
-    }
-
-    // MARK: - Private - Content Headers
-
-    private func contentHeaders(withName name: String, fileName: String? = nil, mimeType: String? = nil) -> [String: String] {
-        var disposition = "form-data; name=\"\(name)\""
-        if let fileName = fileName { disposition += "; filename=\"\(fileName)\"" }
-
-        var headers = ["Content-Disposition": disposition]
-        if let mimeType = mimeType { headers["Content-Type"] = mimeType }
-
-        return headers
-    }
-
-    // MARK: - Private - Boundary Encoding
-
-    private func initialBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .initial, boundary: boundary)
-    }
-
-    private func encapsulatedBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .encapsulated, boundary: boundary)
-    }
-
-    private func finalBoundaryData() -> Data {
-        return BoundaryGenerator.boundaryData(forBoundaryType: .final, boundary: boundary)
-    }
-
-    // MARK: - Private - Errors
-
-    private func setBodyPartError(withReason reason: AFError.MultipartEncodingFailureReason) {
-        guard bodyPartError == nil else { return }
-        bodyPartError = AFError.multipartEncodingFailed(reason: reason)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
deleted file mode 100644
index 30443b99b29..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/NetworkReachabilityManager.swift
+++ /dev/null
@@ -1,233 +0,0 @@
-//
-//  NetworkReachabilityManager.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-#if !os(watchOS)
-
-import Foundation
-import SystemConfiguration
-
-/// The `NetworkReachabilityManager` class listens for reachability changes of hosts and addresses for both WWAN and
-/// WiFi network interfaces.
-///
-/// Reachability can be used to determine background information about why a network operation failed, or to retry
-/// network requests when a connection is established. It should not be used to prevent a user from initiating a network
-/// request, as it's possible that an initial request may be required to establish reachability.
-public class NetworkReachabilityManager {
-    /// Defines the various states of network reachability.
-    ///
-    /// - unknown:      It is unknown whether the network is reachable.
-    /// - notReachable: The network is not reachable.
-    /// - reachable:    The network is reachable.
-    public enum NetworkReachabilityStatus {
-        case unknown
-        case notReachable
-        case reachable(ConnectionType)
-    }
-
-    /// Defines the various connection types detected by reachability flags.
-    ///
-    /// - ethernetOrWiFi: The connection type is either over Ethernet or WiFi.
-    /// - wwan:           The connection type is a WWAN connection.
-    public enum ConnectionType {
-        case ethernetOrWiFi
-        case wwan
-    }
-
-    /// A closure executed when the network reachability status changes. The closure takes a single argument: the
-    /// network reachability status.
-    public typealias Listener = (NetworkReachabilityStatus) -> Void
-
-    // MARK: - Properties
-
-    /// Whether the network is currently reachable.
-    public var isReachable: Bool { return isReachableOnWWAN || isReachableOnEthernetOrWiFi }
-
-    /// Whether the network is currently reachable over the WWAN interface.
-    public var isReachableOnWWAN: Bool { return networkReachabilityStatus == .reachable(.wwan) }
-
-    /// Whether the network is currently reachable over Ethernet or WiFi interface.
-    public var isReachableOnEthernetOrWiFi: Bool { return networkReachabilityStatus == .reachable(.ethernetOrWiFi) }
-
-    /// The current network reachability status.
-    public var networkReachabilityStatus: NetworkReachabilityStatus {
-        guard let flags = self.flags else { return .unknown }
-        return networkReachabilityStatusForFlags(flags)
-    }
-
-    /// The dispatch queue to execute the `listener` closure on.
-    public var listenerQueue: DispatchQueue = DispatchQueue.main
-
-    /// A closure executed when the network reachability status changes.
-    public var listener: Listener?
-
-    private var flags: SCNetworkReachabilityFlags? {
-        var flags = SCNetworkReachabilityFlags()
-
-        if SCNetworkReachabilityGetFlags(reachability, &flags) {
-            return flags
-        }
-
-        return nil
-    }
-
-    private let reachability: SCNetworkReachability
-    private var previousFlags: SCNetworkReachabilityFlags
-
-    // MARK: - Initialization
-
-    /// Creates a `NetworkReachabilityManager` instance with the specified host.
-    ///
-    /// - parameter host: The host used to evaluate network reachability.
-    ///
-    /// - returns: The new `NetworkReachabilityManager` instance.
-    public convenience init?(host: String) {
-        guard let reachability = SCNetworkReachabilityCreateWithName(nil, host) else { return nil }
-        self.init(reachability: reachability)
-    }
-
-    /// Creates a `NetworkReachabilityManager` instance that monitors the address 0.0.0.0.
-    ///
-    /// Reachability treats the 0.0.0.0 address as a special token that causes it to monitor the general routing
-    /// status of the device, both IPv4 and IPv6.
-    ///
-    /// - returns: The new `NetworkReachabilityManager` instance.
-    public convenience init?() {
-        var address = sockaddr_in()
-        address.sin_len = UInt8(MemoryLayout<sockaddr_in>.size)
-        address.sin_family = sa_family_t(AF_INET)
-
-        guard let reachability = withUnsafePointer(to: &address, { pointer in
-            return pointer.withMemoryRebound(to: sockaddr.self, capacity: MemoryLayout<sockaddr>.size) {
-                return SCNetworkReachabilityCreateWithAddress(nil, $0)
-            }
-        }) else { return nil }
-
-        self.init(reachability: reachability)
-    }
-
-    private init(reachability: SCNetworkReachability) {
-        self.reachability = reachability
-        self.previousFlags = SCNetworkReachabilityFlags()
-    }
-
-    deinit {
-        stopListening()
-    }
-
-    // MARK: - Listening
-
-    /// Starts listening for changes in network reachability status.
-    ///
-    /// - returns: `true` if listening was started successfully, `false` otherwise.
-    @discardableResult
-    public func startListening() -> Bool {
-        var context = SCNetworkReachabilityContext(version: 0, info: nil, retain: nil, release: nil, copyDescription: nil)
-        context.info = Unmanaged.passUnretained(self).toOpaque()
-
-        let callbackEnabled = SCNetworkReachabilitySetCallback(
-            reachability,
-            { (_, flags, info) in
-                let reachability = Unmanaged<NetworkReachabilityManager>.fromOpaque(info!).takeUnretainedValue()
-                reachability.notifyListener(flags)
-            },
-            &context
-        )
-
-        let queueEnabled = SCNetworkReachabilitySetDispatchQueue(reachability, listenerQueue)
-
-        listenerQueue.async {
-            self.previousFlags = SCNetworkReachabilityFlags()
-            self.notifyListener(self.flags ?? SCNetworkReachabilityFlags())
-        }
-
-        return callbackEnabled && queueEnabled
-    }
-
-    /// Stops listening for changes in network reachability status.
-    public func stopListening() {
-        SCNetworkReachabilitySetCallback(reachability, nil, nil)
-        SCNetworkReachabilitySetDispatchQueue(reachability, nil)
-    }
-
-    // MARK: - Internal - Listener Notification
-
-    func notifyListener(_ flags: SCNetworkReachabilityFlags) {
-        guard previousFlags != flags else { return }
-        previousFlags = flags
-
-        listener?(networkReachabilityStatusForFlags(flags))
-    }
-
-    // MARK: - Internal - Network Reachability Status
-
-    func networkReachabilityStatusForFlags(_ flags: SCNetworkReachabilityFlags) -> NetworkReachabilityStatus {
-        guard isNetworkReachable(with: flags) else { return .notReachable }
-
-        var networkStatus: NetworkReachabilityStatus = .reachable(.ethernetOrWiFi)
-
-    #if os(iOS)
-        if flags.contains(.isWWAN) { networkStatus = .reachable(.wwan) }
-    #endif
-
-        return networkStatus
-    }
-
-    func isNetworkReachable(with flags: SCNetworkReachabilityFlags) -> Bool {
-        let isReachable = flags.contains(.reachable)
-        let needsConnection = flags.contains(.connectionRequired)
-        let canConnectAutomatically = flags.contains(.connectionOnDemand) || flags.contains(.connectionOnTraffic)
-        let canConnectWithoutUserInteraction = canConnectAutomatically && !flags.contains(.interventionRequired)
-
-        return isReachable && (!needsConnection || canConnectWithoutUserInteraction)
-    }
-}
-
-// MARK: -
-
-extension NetworkReachabilityManager.NetworkReachabilityStatus: Equatable {}
-
-/// Returns whether the two network reachability status values are equal.
-///
-/// - parameter lhs: The left-hand side value to compare.
-/// - parameter rhs: The right-hand side value to compare.
-///
-/// - returns: `true` if the two values are equal, `false` otherwise.
-public func ==(
-    lhs: NetworkReachabilityManager.NetworkReachabilityStatus,
-    rhs: NetworkReachabilityManager.NetworkReachabilityStatus)
-    -> Bool
-{
-    switch (lhs, rhs) {
-    case (.unknown, .unknown):
-        return true
-    case (.notReachable, .notReachable):
-        return true
-    case let (.reachable(lhsConnectionType), .reachable(rhsConnectionType)):
-        return lhsConnectionType == rhsConnectionType
-    default:
-        return false
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
deleted file mode 100644
index 81f6e378c89..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Notifications.swift
+++ /dev/null
@@ -1,52 +0,0 @@
-//
-//  Notifications.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Notification.Name {
-    /// Used as a namespace for all `URLSessionTask` related notifications.
-    public struct Task {
-        /// Posted when a `URLSessionTask` is resumed. The notification `object` contains the resumed `URLSessionTask`.
-        public static let DidResume = Notification.Name(rawValue: "org.alamofire.notification.name.task.didResume")
-
-        /// Posted when a `URLSessionTask` is suspended. The notification `object` contains the suspended `URLSessionTask`.
-        public static let DidSuspend = Notification.Name(rawValue: "org.alamofire.notification.name.task.didSuspend")
-
-        /// Posted when a `URLSessionTask` is cancelled. The notification `object` contains the cancelled `URLSessionTask`.
-        public static let DidCancel = Notification.Name(rawValue: "org.alamofire.notification.name.task.didCancel")
-
-        /// Posted when a `URLSessionTask` is completed. The notification `object` contains the completed `URLSessionTask`.
-        public static let DidComplete = Notification.Name(rawValue: "org.alamofire.notification.name.task.didComplete")
-    }
-}
-
-// MARK: -
-
-extension Notification {
-    /// Used as a namespace for all `Notification` user info dictionary keys.
-    public struct Key {
-        /// User info dictionary key representing the `URLSessionTask` associated with the notification.
-        public static let Task = "org.alamofire.notification.key.task"
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
deleted file mode 100644
index 959af6f9365..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ParameterEncoding.swift
+++ /dev/null
@@ -1,436 +0,0 @@
-//
-//  ParameterEncoding.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// HTTP method definitions.
-///
-/// See https://tools.ietf.org/html/rfc7231#section-4.3
-public enum HTTPMethod: String {
-    case options = "OPTIONS"
-    case get     = "GET"
-    case head    = "HEAD"
-    case post    = "POST"
-    case put     = "PUT"
-    case patch   = "PATCH"
-    case delete  = "DELETE"
-    case trace   = "TRACE"
-    case connect = "CONNECT"
-}
-
-// MARK: -
-
-/// A dictionary of parameters to apply to a `URLRequest`.
-public typealias Parameters = [String: Any]
-
-/// A type used to define how a set of parameters are applied to a `URLRequest`.
-public protocol ParameterEncoding {
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `AFError.parameterEncodingFailed` error if encoding fails.
-    ///
-    /// - returns: The encoded request.
-    func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest
-}
-
-// MARK: -
-
-/// Creates a url-encoded query string to be set as or appended to any existing URL query string or set as the HTTP
-/// body of the URL request. Whether the query string is set or appended to any existing URL query string or set as
-/// the HTTP body depends on the destination of the encoding.
-///
-/// The `Content-Type` HTTP header field of an encoded request with HTTP body is set to
-/// `application/x-www-form-urlencoded; charset=utf-8`. Since there is no published specification for how to encode
-/// collection types, the convention of appending `[]` to the key for array values (`foo[]=1&foo[]=2`), and appending
-/// the key surrounded by square brackets for nested dictionary values (`foo[bar]=baz`).
-public struct URLEncoding: ParameterEncoding {
-
-    // MARK: Helper Types
-
-    /// Defines whether the url-encoded query string is applied to the existing query string or HTTP body of the
-    /// resulting URL request.
-    ///
-    /// - methodDependent: Applies encoded query string result to existing query string for `GET`, `HEAD` and `DELETE`
-    ///                    requests and sets as the HTTP body for requests with any other HTTP method.
-    /// - queryString:     Sets or appends encoded query string result to existing query string.
-    /// - httpBody:        Sets encoded query string result as the HTTP body of the URL request.
-    public enum Destination {
-        case methodDependent, queryString, httpBody
-    }
-
-    // MARK: Properties
-
-    /// Returns a default `URLEncoding` instance.
-    public static var `default`: URLEncoding { return URLEncoding() }
-
-    /// Returns a `URLEncoding` instance with a `.methodDependent` destination.
-    public static var methodDependent: URLEncoding { return URLEncoding() }
-
-    /// Returns a `URLEncoding` instance with a `.queryString` destination.
-    public static var queryString: URLEncoding { return URLEncoding(destination: .queryString) }
-
-    /// Returns a `URLEncoding` instance with an `.httpBody` destination.
-    public static var httpBody: URLEncoding { return URLEncoding(destination: .httpBody) }
-
-    /// The destination defining where the encoded query string is to be applied to the URL request.
-    public let destination: Destination
-
-    // MARK: Initialization
-
-    /// Creates a `URLEncoding` instance using the specified destination.
-    ///
-    /// - parameter destination: The destination defining where the encoded query string is to be applied.
-    ///
-    /// - returns: The new `URLEncoding` instance.
-    public init(destination: Destination = .methodDependent) {
-        self.destination = destination
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        if let method = HTTPMethod(rawValue: urlRequest.httpMethod ?? "GET"), encodesParametersInURL(with: method) {
-            guard let url = urlRequest.url else {
-                throw AFError.parameterEncodingFailed(reason: .missingURL)
-            }
-
-            if var urlComponents = URLComponents(url: url, resolvingAgainstBaseURL: false), !parameters.isEmpty {
-                let percentEncodedQuery = (urlComponents.percentEncodedQuery.map { $0 + "&" } ?? "") + query(parameters)
-                urlComponents.percentEncodedQuery = percentEncodedQuery
-                urlRequest.url = urlComponents.url
-            }
-        } else {
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/x-www-form-urlencoded; charset=utf-8", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = query(parameters).data(using: .utf8, allowLossyConversion: false)
-        }
-
-        return urlRequest
-    }
-
-    /// Creates percent-escaped, URL encoded query string components from the given key-value pair using recursion.
-    ///
-    /// - parameter key:   The key of the query component.
-    /// - parameter value: The value of the query component.
-    ///
-    /// - returns: The percent-escaped, URL encoded query string components.
-    public func queryComponents(fromKey key: String, value: Any) -> [(String, String)] {
-        var components: [(String, String)] = []
-
-        if let dictionary = value as? [String: Any] {
-            for (nestedKey, value) in dictionary {
-                components += queryComponents(fromKey: "\(key)[\(nestedKey)]", value: value)
-            }
-        } else if let array = value as? [Any] {
-            for value in array {
-                components += queryComponents(fromKey: "\(key)[]", value: value)
-            }
-        } else if let value = value as? NSNumber {
-            if value.isBool {
-                components.append((escape(key), escape((value.boolValue ? "1" : "0"))))
-            } else {
-                components.append((escape(key), escape("\(value)")))
-            }
-        } else if let bool = value as? Bool {
-            components.append((escape(key), escape((bool ? "1" : "0"))))
-        } else {
-            components.append((escape(key), escape("\(value)")))
-        }
-
-        return components
-    }
-
-    /// Returns a percent-escaped string following RFC 3986 for a query string key or value.
-    ///
-    /// RFC 3986 states that the following characters are "reserved" characters.
-    ///
-    /// - General Delimiters: ":", "#", "[", "]", "@", "?", "/"
-    /// - Sub-Delimiters: "!", "$", "&", "'", "(", ")", "*", "+", ",", ";", "="
-    ///
-    /// In RFC 3986 - Section 3.4, it states that the "?" and "/" characters should not be escaped to allow
-    /// query strings to include a URL. Therefore, all "reserved" characters with the exception of "?" and "/"
-    /// should be percent-escaped in the query string.
-    ///
-    /// - parameter string: The string to be percent-escaped.
-    ///
-    /// - returns: The percent-escaped string.
-    public func escape(_ string: String) -> String {
-        let generalDelimitersToEncode = ":#[]@" // does not include "?" or "/" due to RFC 3986 - Section 3.4
-        let subDelimitersToEncode = "!$&'()*+,;="
-
-        var allowedCharacterSet = CharacterSet.urlQueryAllowed
-        allowedCharacterSet.remove(charactersIn: "\(generalDelimitersToEncode)\(subDelimitersToEncode)")
-
-        var escaped = ""
-
-        //==========================================================================================================
-        //
-        //  Batching is required for escaping due to an internal bug in iOS 8.1 and 8.2. Encoding more than a few
-        //  hundred Chinese characters causes various malloc error crashes. To avoid this issue until iOS 8 is no
-        //  longer supported, batching MUST be used for encoding. This introduces roughly a 20% overhead. For more
-        //  info, please refer to:
-        //
-        //      - https://github.com/Alamofire/Alamofire/issues/206
-        //
-        //==========================================================================================================
-
-        if #available(iOS 8.3, *) {
-            escaped = string.addingPercentEncoding(withAllowedCharacters: allowedCharacterSet) ?? string
-        } else {
-            let batchSize = 50
-            var index = string.startIndex
-
-            while index != string.endIndex {
-                let startIndex = index
-                let endIndex = string.index(index, offsetBy: batchSize, limitedBy: string.endIndex) ?? string.endIndex
-                let range = startIndex..<endIndex
-
-                let substring = string.substring(with: range)
-
-                escaped += substring.addingPercentEncoding(withAllowedCharacters: allowedCharacterSet) ?? substring
-
-                index = endIndex
-            }
-        }
-
-        return escaped
-    }
-
-    private func query(_ parameters: [String: Any]) -> String {
-        var components: [(String, String)] = []
-
-        for key in parameters.keys.sorted(by: <) {
-            let value = parameters[key]!
-            components += queryComponents(fromKey: key, value: value)
-        }
-    #if swift(>=4.0)
-        return components.map { "\($0.0)=\($0.1)" }.joined(separator: "&")
-    #else
-        return components.map { "\($0)=\($1)" }.joined(separator: "&")
-    #endif
-    }
-
-    private func encodesParametersInURL(with method: HTTPMethod) -> Bool {
-        switch destination {
-        case .queryString:
-            return true
-        case .httpBody:
-            return false
-        default:
-            break
-        }
-
-        switch method {
-        case .get, .head, .delete:
-            return true
-        default:
-            return false
-        }
-    }
-}
-
-// MARK: -
-
-/// Uses `JSONSerialization` to create a JSON representation of the parameters object, which is set as the body of the
-/// request. The `Content-Type` HTTP header field of an encoded request is set to `application/json`.
-public struct JSONEncoding: ParameterEncoding {
-
-    // MARK: Properties
-
-    /// Returns a `JSONEncoding` instance with default writing options.
-    public static var `default`: JSONEncoding { return JSONEncoding() }
-
-    /// Returns a `JSONEncoding` instance with `.prettyPrinted` writing options.
-    public static var prettyPrinted: JSONEncoding { return JSONEncoding(options: .prettyPrinted) }
-
-    /// The options for writing the parameters as JSON data.
-    public let options: JSONSerialization.WritingOptions
-
-    // MARK: Initialization
-
-    /// Creates a `JSONEncoding` instance using the specified options.
-    ///
-    /// - parameter options: The options for writing the parameters as JSON data.
-    ///
-    /// - returns: The new `JSONEncoding` instance.
-    public init(options: JSONSerialization.WritingOptions = []) {
-        self.options = options
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        do {
-            let data = try JSONSerialization.data(withJSONObject: parameters, options: options)
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .jsonEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-
-    /// Creates a URL request by encoding the JSON object and setting the resulting data on the HTTP body.
-    ///
-    /// - parameter urlRequest: The request to apply the JSON object to.
-    /// - parameter jsonObject: The JSON object to apply to the request.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, withJSONObject jsonObject: Any? = nil) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let jsonObject = jsonObject else { return urlRequest }
-
-        do {
-            let data = try JSONSerialization.data(withJSONObject: jsonObject, options: options)
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/json", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .jsonEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-}
-
-// MARK: -
-
-/// Uses `PropertyListSerialization` to create a plist representation of the parameters object, according to the
-/// associated format and write options values, which is set as the body of the request. The `Content-Type` HTTP header
-/// field of an encoded request is set to `application/x-plist`.
-public struct PropertyListEncoding: ParameterEncoding {
-
-    // MARK: Properties
-
-    /// Returns a default `PropertyListEncoding` instance.
-    public static var `default`: PropertyListEncoding { return PropertyListEncoding() }
-
-    /// Returns a `PropertyListEncoding` instance with xml formatting and default writing options.
-    public static var xml: PropertyListEncoding { return PropertyListEncoding(format: .xml) }
-
-    /// Returns a `PropertyListEncoding` instance with binary formatting and default writing options.
-    public static var binary: PropertyListEncoding { return PropertyListEncoding(format: .binary) }
-
-    /// The property list serialization format.
-    public let format: PropertyListSerialization.PropertyListFormat
-
-    /// The options for writing the parameters as plist data.
-    public let options: PropertyListSerialization.WriteOptions
-
-    // MARK: Initialization
-
-    /// Creates a `PropertyListEncoding` instance using the specified format and options.
-    ///
-    /// - parameter format:  The property list serialization format.
-    /// - parameter options: The options for writing the parameters as plist data.
-    ///
-    /// - returns: The new `PropertyListEncoding` instance.
-    public init(
-        format: PropertyListSerialization.PropertyListFormat = .xml,
-        options: PropertyListSerialization.WriteOptions = 0)
-    {
-        self.format = format
-        self.options = options
-    }
-
-    // MARK: Encoding
-
-    /// Creates a URL request by encoding parameters and applying them onto an existing request.
-    ///
-    /// - parameter urlRequest: The request to have parameters applied.
-    /// - parameter parameters: The parameters to apply.
-    ///
-    /// - throws: An `Error` if the encoding process encounters an error.
-    ///
-    /// - returns: The encoded request.
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        var urlRequest = try urlRequest.asURLRequest()
-
-        guard let parameters = parameters else { return urlRequest }
-
-        do {
-            let data = try PropertyListSerialization.data(
-                fromPropertyList: parameters,
-                format: format,
-                options: options
-            )
-
-            if urlRequest.value(forHTTPHeaderField: "Content-Type") == nil {
-                urlRequest.setValue("application/x-plist", forHTTPHeaderField: "Content-Type")
-            }
-
-            urlRequest.httpBody = data
-        } catch {
-            throw AFError.parameterEncodingFailed(reason: .propertyListEncodingFailed(error: error))
-        }
-
-        return urlRequest
-    }
-}
-
-// MARK: -
-
-extension NSNumber {
-    fileprivate var isBool: Bool { return CFBooleanGetTypeID() == CFGetTypeID(self) }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Request.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
deleted file mode 100644
index 4f6350c5bfe..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Request.swift
+++ /dev/null
@@ -1,647 +0,0 @@
-//
-//  Request.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// A type that can inspect and optionally adapt a `URLRequest` in some manner if necessary.
-public protocol RequestAdapter {
-    /// Inspects and adapts the specified `URLRequest` in some manner if necessary and returns the result.
-    ///
-    /// - parameter urlRequest: The URL request to adapt.
-    ///
-    /// - throws: An `Error` if the adaptation encounters an error.
-    ///
-    /// - returns: The adapted `URLRequest`.
-    func adapt(_ urlRequest: URLRequest) throws -> URLRequest
-}
-
-// MARK: -
-
-/// A closure executed when the `RequestRetrier` determines whether a `Request` should be retried or not.
-public typealias RequestRetryCompletion = (_ shouldRetry: Bool, _ timeDelay: TimeInterval) -> Void
-
-/// A type that determines whether a request should be retried after being executed by the specified session manager
-/// and encountering an error.
-public protocol RequestRetrier {
-    /// Determines whether the `Request` should be retried by calling the `completion` closure.
-    ///
-    /// This operation is fully asynchronous. Any amount of time can be taken to determine whether the request needs
-    /// to be retried. The one requirement is that the completion closure is called to ensure the request is properly
-    /// cleaned up after.
-    ///
-    /// - parameter manager:    The session manager the request was executed on.
-    /// - parameter request:    The request that failed due to the encountered error.
-    /// - parameter error:      The error encountered when executing the request.
-    /// - parameter completion: The completion closure to be executed when retry decision has been determined.
-    func should(_ manager: SessionManager, retry request: Request, with error: Error, completion: @escaping RequestRetryCompletion)
-}
-
-// MARK: -
-
-protocol TaskConvertible {
-    func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask
-}
-
-/// A dictionary of headers to apply to a `URLRequest`.
-public typealias HTTPHeaders = [String: String]
-
-// MARK: -
-
-/// Responsible for sending a request and receiving the response and associated data from the server, as well as
-/// managing its underlying `URLSessionTask`.
-open class Request {
-
-    // MARK: Helper Types
-
-    /// A closure executed when monitoring upload or download progress of a request.
-    public typealias ProgressHandler = (Progress) -> Void
-
-    enum RequestTask {
-        case data(TaskConvertible?, URLSessionTask?)
-        case download(TaskConvertible?, URLSessionTask?)
-        case upload(TaskConvertible?, URLSessionTask?)
-        case stream(TaskConvertible?, URLSessionTask?)
-    }
-
-    // MARK: Properties
-
-    /// The delegate for the underlying task.
-    open internal(set) var delegate: TaskDelegate {
-        get {
-            taskDelegateLock.lock() ; defer { taskDelegateLock.unlock() }
-            return taskDelegate
-        }
-        set {
-            taskDelegateLock.lock() ; defer { taskDelegateLock.unlock() }
-            taskDelegate = newValue
-        }
-    }
-
-    /// The underlying task.
-    open var task: URLSessionTask? { return delegate.task }
-
-    /// The session belonging to the underlying task.
-    open let session: URLSession
-
-    /// The request sent or to be sent to the server.
-    open var request: URLRequest? { return task?.originalRequest }
-
-    /// The response received from the server, if any.
-    open var response: HTTPURLResponse? { return task?.response as? HTTPURLResponse }
-
-    /// The number of times the request has been retried.
-    open internal(set) var retryCount: UInt = 0
-
-    let originalTask: TaskConvertible?
-
-    var startTime: CFAbsoluteTime?
-    var endTime: CFAbsoluteTime?
-
-    var validations: [() -> Void] = []
-
-    private var taskDelegate: TaskDelegate
-    private var taskDelegateLock = NSLock()
-
-    // MARK: Lifecycle
-
-    init(session: URLSession, requestTask: RequestTask, error: Error? = nil) {
-        self.session = session
-
-        switch requestTask {
-        case .data(let originalTask, let task):
-            taskDelegate = DataTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .download(let originalTask, let task):
-            taskDelegate = DownloadTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .upload(let originalTask, let task):
-            taskDelegate = UploadTaskDelegate(task: task)
-            self.originalTask = originalTask
-        case .stream(let originalTask, let task):
-            taskDelegate = TaskDelegate(task: task)
-            self.originalTask = originalTask
-        }
-
-        delegate.error = error
-        delegate.queue.addOperation { self.endTime = CFAbsoluteTimeGetCurrent() }
-    }
-
-    // MARK: Authentication
-
-    /// Associates an HTTP Basic credential with the request.
-    ///
-    /// - parameter user:        The user.
-    /// - parameter password:    The password.
-    /// - parameter persistence: The URL credential persistence. `.ForSession` by default.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func authenticate(
-        user: String,
-        password: String,
-        persistence: URLCredential.Persistence = .forSession)
-        -> Self
-    {
-        let credential = URLCredential(user: user, password: password, persistence: persistence)
-        return authenticate(usingCredential: credential)
-    }
-
-    /// Associates a specified credential with the request.
-    ///
-    /// - parameter credential: The credential.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func authenticate(usingCredential credential: URLCredential) -> Self {
-        delegate.credential = credential
-        return self
-    }
-
-    /// Returns a base64 encoded basic authentication credential as an authorization header tuple.
-    ///
-    /// - parameter user:     The user.
-    /// - parameter password: The password.
-    ///
-    /// - returns: A tuple with Authorization header and credential value if encoding succeeds, `nil` otherwise.
-    open static func authorizationHeader(user: String, password: String) -> (key: String, value: String)? {
-        guard let data = "\(user):\(password)".data(using: .utf8) else { return nil }
-
-        let credential = data.base64EncodedString(options: [])
-
-        return (key: "Authorization", value: "Basic \(credential)")
-    }
-
-    // MARK: State
-
-    /// Resumes the request.
-    open func resume() {
-        guard let task = task else { delegate.queue.isSuspended = false ; return }
-
-        if startTime == nil { startTime = CFAbsoluteTimeGetCurrent() }
-
-        task.resume()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidResume,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-
-    /// Suspends the request.
-    open func suspend() {
-        guard let task = task else { return }
-
-        task.suspend()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidSuspend,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-
-    /// Cancels the request.
-    open func cancel() {
-        guard let task = task else { return }
-
-        task.cancel()
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidCancel,
-            object: self,
-            userInfo: [Notification.Key.Task: task]
-        )
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Request: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the HTTP method and URL, as
-    /// well as the response status code if a response has been received.
-    open var description: String {
-        var components: [String] = []
-
-        if let HTTPMethod = request?.httpMethod {
-            components.append(HTTPMethod)
-        }
-
-        if let urlString = request?.url?.absoluteString {
-            components.append(urlString)
-        }
-
-        if let response = response {
-            components.append("(\(response.statusCode))")
-        }
-
-        return components.joined(separator: " ")
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Request: CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, in the form of a cURL command.
-    open var debugDescription: String {
-        return cURLRepresentation()
-    }
-
-    func cURLRepresentation() -> String {
-        var components = ["$ curl -v"]
-
-        guard let request = self.request,
-              let url = request.url,
-              let host = url.host
-        else {
-            return "$ curl command could not be created"
-        }
-
-        if let httpMethod = request.httpMethod, httpMethod != "GET" {
-            components.append("-X \(httpMethod)")
-        }
-
-        if let credentialStorage = self.session.configuration.urlCredentialStorage {
-            let protectionSpace = URLProtectionSpace(
-                host: host,
-                port: url.port ?? 0,
-                protocol: url.scheme,
-                realm: host,
-                authenticationMethod: NSURLAuthenticationMethodHTTPBasic
-            )
-
-            if let credentials = credentialStorage.credentials(for: protectionSpace)?.values {
-                for credential in credentials {
-                    components.append("-u \(credential.user!):\(credential.password!)")
-                }
-            } else {
-                if let credential = delegate.credential {
-                    components.append("-u \(credential.user!):\(credential.password!)")
-                }
-            }
-        }
-
-        if session.configuration.httpShouldSetCookies {
-            if
-                let cookieStorage = session.configuration.httpCookieStorage,
-                let cookies = cookieStorage.cookies(for: url), !cookies.isEmpty
-            {
-                let string = cookies.reduce("") { $0 + "\($1.name)=\($1.value);" }
-                components.append("-b \"\(string.substring(to: string.characters.index(before: string.endIndex)))\"")
-            }
-        }
-
-        var headers: [AnyHashable: Any] = [:]
-
-        if let additionalHeaders = session.configuration.httpAdditionalHeaders {
-            for (field, value) in additionalHeaders where field != AnyHashable("Cookie") {
-                headers[field] = value
-            }
-        }
-
-        if let headerFields = request.allHTTPHeaderFields {
-            for (field, value) in headerFields where field != "Cookie" {
-                headers[field] = value
-            }
-        }
-
-        for (field, value) in headers {
-            components.append("-H \"\(field): \(value)\"")
-        }
-
-        if let httpBodyData = request.httpBody, let httpBody = String(data: httpBodyData, encoding: .utf8) {
-            var escapedBody = httpBody.replacingOccurrences(of: "\\\"", with: "\\\\\"")
-            escapedBody = escapedBody.replacingOccurrences(of: "\"", with: "\\\"")
-
-            components.append("-d \"\(escapedBody)\"")
-        }
-
-        components.append("\"\(url.absoluteString)\"")
-
-        return components.joined(separator: " \\\n\t")
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionDataTask`.
-open class DataRequest: Request {
-
-    // MARK: Helper Types
-
-    struct Requestable: TaskConvertible {
-        let urlRequest: URLRequest
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let urlRequest = try self.urlRequest.adapt(using: adapter)
-                return queue.sync { session.dataTask(with: urlRequest) }
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-        if let requestable = originalTask as? Requestable { return requestable.urlRequest }
-
-        return nil
-    }
-
-    /// The progress of fetching the response data from the server for the request.
-    open var progress: Progress { return dataDelegate.progress }
-
-    var dataDelegate: DataTaskDelegate { return delegate as! DataTaskDelegate }
-
-    // MARK: Stream
-
-    /// Sets a closure to be called periodically during the lifecycle of the request as data is read from the server.
-    ///
-    /// This closure returns the bytes most recently received from the server, not including data from previous calls.
-    /// If this closure is set, data will only be available within this closure, and will not be saved elsewhere. It is
-    /// also important to note that the server data in any `Response` object will be `nil`.
-    ///
-    /// - parameter closure: The code to be executed periodically during the lifecycle of the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func stream(closure: ((Data) -> Void)? = nil) -> Self {
-        dataDelegate.dataStream = closure
-        return self
-    }
-
-    // MARK: Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `Request` as data is read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is read from the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func downloadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        dataDelegate.progressHandler = (closure, queue)
-        return self
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionDownloadTask`.
-open class DownloadRequest: Request {
-
-    // MARK: Helper Types
-
-    /// A collection of options to be executed prior to moving a downloaded file from the temporary URL to the
-    /// destination URL.
-    public struct DownloadOptions: OptionSet {
-        /// Returns the raw bitmask value of the option and satisfies the `RawRepresentable` protocol.
-        public let rawValue: UInt
-
-        /// A `DownloadOptions` flag that creates intermediate directories for the destination URL if specified.
-        public static let createIntermediateDirectories = DownloadOptions(rawValue: 1 << 0)
-
-        /// A `DownloadOptions` flag that removes a previous file from the destination URL if specified.
-        public static let removePreviousFile = DownloadOptions(rawValue: 1 << 1)
-
-        /// Creates a `DownloadFileDestinationOptions` instance with the specified raw value.
-        ///
-        /// - parameter rawValue: The raw bitmask value for the option.
-        ///
-        /// - returns: A new log level instance.
-        public init(rawValue: UInt) {
-            self.rawValue = rawValue
-        }
-    }
-
-    /// A closure executed once a download request has successfully completed in order to determine where to move the
-    /// temporary file written to during the download process. The closure takes two arguments: the temporary file URL
-    /// and the URL response, and returns a two arguments: the file URL where the temporary file should be moved and
-    /// the options defining how the file should be moved.
-    public typealias DownloadFileDestination = (
-        _ temporaryURL: URL,
-        _ response: HTTPURLResponse)
-        -> (destinationURL: URL, options: DownloadOptions)
-
-    enum Downloadable: TaskConvertible {
-        case request(URLRequest)
-        case resumeData(Data)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let task: URLSessionTask
-
-                switch self {
-                case let .request(urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.downloadTask(with: urlRequest) }
-                case let .resumeData(resumeData):
-                    task = queue.sync { session.downloadTask(withResumeData: resumeData) }
-                }
-
-                return task
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-
-        if let downloadable = originalTask as? Downloadable, case let .request(urlRequest) = downloadable {
-            return urlRequest
-        }
-
-        return nil
-    }
-
-    /// The resume data of the underlying download task if available after a failure.
-    open var resumeData: Data? { return downloadDelegate.resumeData }
-
-    /// The progress of downloading the response data from the server for the request.
-    open var progress: Progress { return downloadDelegate.progress }
-
-    var downloadDelegate: DownloadTaskDelegate { return delegate as! DownloadTaskDelegate }
-
-    // MARK: State
-
-    /// Cancels the request.
-    open override func cancel() {
-        downloadDelegate.downloadTask.cancel { self.downloadDelegate.resumeData = $0 }
-
-        NotificationCenter.default.post(
-            name: Notification.Name.Task.DidCancel,
-            object: self,
-            userInfo: [Notification.Key.Task: task as Any]
-        )
-    }
-
-    // MARK: Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `Request` as data is read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is read from the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func downloadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        downloadDelegate.progressHandler = (closure, queue)
-        return self
-    }
-
-    // MARK: Destination
-
-    /// Creates a download file destination closure which uses the default file manager to move the temporary file to a
-    /// file URL in the first available directory with the specified search path directory and search path domain mask.
-    ///
-    /// - parameter directory: The search path directory. `.DocumentDirectory` by default.
-    /// - parameter domain:    The search path domain mask. `.UserDomainMask` by default.
-    ///
-    /// - returns: A download file destination closure.
-    open class func suggestedDownloadDestination(
-        for directory: FileManager.SearchPathDirectory = .documentDirectory,
-        in domain: FileManager.SearchPathDomainMask = .userDomainMask)
-        -> DownloadFileDestination
-    {
-        return { temporaryURL, response in
-            let directoryURLs = FileManager.default.urls(for: directory, in: domain)
-
-            if !directoryURLs.isEmpty {
-                return (directoryURLs[0].appendingPathComponent(response.suggestedFilename!), [])
-            }
-
-            return (temporaryURL, [])
-        }
-    }
-}
-
-// MARK: -
-
-/// Specific type of `Request` that manages an underlying `URLSessionUploadTask`.
-open class UploadRequest: DataRequest {
-
-    // MARK: Helper Types
-
-    enum Uploadable: TaskConvertible {
-        case data(Data, URLRequest)
-        case file(URL, URLRequest)
-        case stream(InputStream, URLRequest)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            do {
-                let task: URLSessionTask
-
-                switch self {
-                case let .data(data, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(with: urlRequest, from: data) }
-                case let .file(url, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(with: urlRequest, fromFile: url) }
-                case let .stream(_, urlRequest):
-                    let urlRequest = try urlRequest.adapt(using: adapter)
-                    task = queue.sync { session.uploadTask(withStreamedRequest: urlRequest) }
-                }
-
-                return task
-            } catch {
-                throw AdaptError(error: error)
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    /// The request sent or to be sent to the server.
-    open override var request: URLRequest? {
-        if let request = super.request { return request }
-
-        guard let uploadable = originalTask as? Uploadable else { return nil }
-
-        switch uploadable {
-        case .data(_, let urlRequest), .file(_, let urlRequest), .stream(_, let urlRequest):
-            return urlRequest
-        }
-    }
-
-    /// The progress of uploading the payload to the server for the upload request.
-    open var uploadProgress: Progress { return uploadDelegate.uploadProgress }
-
-    var uploadDelegate: UploadTaskDelegate { return delegate as! UploadTaskDelegate }
-
-    // MARK: Upload Progress
-
-    /// Sets a closure to be called periodically during the lifecycle of the `UploadRequest` as data is sent to
-    /// the server.
-    ///
-    /// After the data is sent to the server, the `progress(queue:closure:)` APIs can be used to monitor the progress
-    /// of data being read from the server.
-    ///
-    /// - parameter queue:   The dispatch queue to execute the closure on.
-    /// - parameter closure: The code to be executed periodically as data is sent to the server.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    open func uploadProgress(queue: DispatchQueue = DispatchQueue.main, closure: @escaping ProgressHandler) -> Self {
-        uploadDelegate.uploadProgressHandler = (closure, queue)
-        return self
-    }
-}
-
-// MARK: -
-
-#if !os(watchOS)
-
-/// Specific type of `Request` that manages an underlying `URLSessionStreamTask`.
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-open class StreamRequest: Request {
-    enum Streamable: TaskConvertible {
-        case stream(hostName: String, port: Int)
-        case netService(NetService)
-
-        func task(session: URLSession, adapter: RequestAdapter?, queue: DispatchQueue) throws -> URLSessionTask {
-            let task: URLSessionTask
-
-            switch self {
-            case let .stream(hostName, port):
-                task = queue.sync { session.streamTask(withHostName: hostName, port: port) }
-            case let .netService(netService):
-                task = queue.sync { session.streamTask(with: netService) }
-            }
-
-            return task
-        }
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Response.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
deleted file mode 100644
index 5d3b6d2542e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Response.swift
+++ /dev/null
@@ -1,465 +0,0 @@
-//
-//  Response.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Used to store all data associated with an non-serialized response of a data or upload request.
-public struct DefaultDataResponse {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The data returned by the server.
-    public let data: Data?
-
-    /// The error encountered while executing or validating the request.
-    public let error: Error?
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DefaultDataResponse` instance from the specified parameters.
-    ///
-    /// - Parameters:
-    ///   - request:  The URL request sent to the server.
-    ///   - response: The server's response to the URL request.
-    ///   - data:     The data returned by the server.
-    ///   - error:    The error encountered while executing or validating the request.
-    ///   - timeline: The timeline of the complete lifecycle of the request. `Timeline()` by default.
-    ///   - metrics:  The task metrics containing the request / response statistics. `nil` by default.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?,
-        timeline: Timeline = Timeline(),
-        metrics: AnyObject? = nil)
-    {
-        self.request = request
-        self.response = response
-        self.data = data
-        self.error = error
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with a serialized response of a data or upload request.
-public struct DataResponse<Value> {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The data returned by the server.
-    public let data: Data?
-
-    /// The result of response serialization.
-    public let result: Result<Value>
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    /// Returns the associated value of the result if it is a success, `nil` otherwise.
-    public var value: Value? { return result.value }
-
-    /// Returns the associated error value if the result if it is a failure, `nil` otherwise.
-    public var error: Error? { return result.error }
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DataResponse` instance with the specified parameters derived from response serialization.
-    ///
-    /// - parameter request:  The URL request sent to the server.
-    /// - parameter response: The server's response to the URL request.
-    /// - parameter data:     The data returned by the server.
-    /// - parameter result:   The result of response serialization.
-    /// - parameter timeline: The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`.
-    ///
-    /// - returns: The new `DataResponse` instance.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        result: Result<Value>,
-        timeline: Timeline = Timeline())
-    {
-        self.request = request
-        self.response = response
-        self.data = data
-        self.result = result
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-extension DataResponse: CustomStringConvertible, CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        return result.debugDescription
-    }
-
-    /// The debug textual representation used when written to an output stream, which includes the URL request, the URL
-    /// response, the server data, the response serialization result and the timeline.
-    public var debugDescription: String {
-        var output: [String] = []
-
-        output.append(request != nil ? "[Request]: \(request!.httpMethod ?? "GET") \(request!)" : "[Request]: nil")
-        output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil")
-        output.append("[Data]: \(data?.count ?? 0) bytes")
-        output.append("[Result]: \(result.debugDescription)")
-        output.append("[Timeline]: \(timeline.debugDescription)")
-
-        return output.joined(separator: "\n")
-    }
-}
-
-// MARK: -
-
-extension DataResponse {
-    /// Evaluates the specified closure when the result of this `DataResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: DataResponse<Data> = ...
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A `DataResponse` whose result wraps the value returned by the given closure. If this instance's
-    ///            result is a failure, returns a response wrapping the same failure.
-    public func map<T>(_ transform: (Value) -> T) -> DataResponse<T> {
-        var response = DataResponse<T>(
-            request: request,
-            response: self.response,
-            data: data,
-            result: result.map(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-
-    /// Evaluates the given closure when the result of this `DataResponse` is a success, passing the unwrapped result
-    /// value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: DataResponse<Data> = ...
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A success or failure `DataResponse` depending on the result of the given closure. If this instance's
-    ///            result is a failure, returns the same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> DataResponse<T> {
-        var response = DataResponse<T>(
-            request: request,
-            response: self.response,
-            data: data,
-            result: result.flatMap(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with an non-serialized response of a download request.
-public struct DefaultDownloadResponse {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The temporary destination URL of the data returned from the server.
-    public let temporaryURL: URL?
-
-    /// The final destination URL of the data returned from the server if it was moved.
-    public let destinationURL: URL?
-
-    /// The resume data generated if the request was cancelled.
-    public let resumeData: Data?
-
-    /// The error encountered while executing or validating the request.
-    public let error: Error?
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DefaultDownloadResponse` instance from the specified parameters.
-    ///
-    /// - Parameters:
-    ///   - request:        The URL request sent to the server.
-    ///   - response:       The server's response to the URL request.
-    ///   - temporaryURL:   The temporary destination URL of the data returned from the server.
-    ///   - destinationURL: The final destination URL of the data returned from the server if it was moved.
-    ///   - resumeData:     The resume data generated if the request was cancelled.
-    ///   - error:          The error encountered while executing or validating the request.
-    ///   - timeline:       The timeline of the complete lifecycle of the request. `Timeline()` by default.
-    ///   - metrics:        The task metrics containing the request / response statistics. `nil` by default.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        temporaryURL: URL?,
-        destinationURL: URL?,
-        resumeData: Data?,
-        error: Error?,
-        timeline: Timeline = Timeline(),
-        metrics: AnyObject? = nil)
-    {
-        self.request = request
-        self.response = response
-        self.temporaryURL = temporaryURL
-        self.destinationURL = destinationURL
-        self.resumeData = resumeData
-        self.error = error
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-/// Used to store all data associated with a serialized response of a download request.
-public struct DownloadResponse<Value> {
-    /// The URL request sent to the server.
-    public let request: URLRequest?
-
-    /// The server's response to the URL request.
-    public let response: HTTPURLResponse?
-
-    /// The temporary destination URL of the data returned from the server.
-    public let temporaryURL: URL?
-
-    /// The final destination URL of the data returned from the server if it was moved.
-    public let destinationURL: URL?
-
-    /// The resume data generated if the request was cancelled.
-    public let resumeData: Data?
-
-    /// The result of response serialization.
-    public let result: Result<Value>
-
-    /// The timeline of the complete lifecycle of the request.
-    public let timeline: Timeline
-
-    /// Returns the associated value of the result if it is a success, `nil` otherwise.
-    public var value: Value? { return result.value }
-
-    /// Returns the associated error value if the result if it is a failure, `nil` otherwise.
-    public var error: Error? { return result.error }
-
-    var _metrics: AnyObject?
-
-    /// Creates a `DownloadResponse` instance with the specified parameters derived from response serialization.
-    ///
-    /// - parameter request:        The URL request sent to the server.
-    /// - parameter response:       The server's response to the URL request.
-    /// - parameter temporaryURL:   The temporary destination URL of the data returned from the server.
-    /// - parameter destinationURL: The final destination URL of the data returned from the server if it was moved.
-    /// - parameter resumeData:     The resume data generated if the request was cancelled.
-    /// - parameter result:         The result of response serialization.
-    /// - parameter timeline:       The timeline of the complete lifecycle of the `Request`. Defaults to `Timeline()`.
-    ///
-    /// - returns: The new `DownloadResponse` instance.
-    public init(
-        request: URLRequest?,
-        response: HTTPURLResponse?,
-        temporaryURL: URL?,
-        destinationURL: URL?,
-        resumeData: Data?,
-        result: Result<Value>,
-        timeline: Timeline = Timeline())
-    {
-        self.request = request
-        self.response = response
-        self.temporaryURL = temporaryURL
-        self.destinationURL = destinationURL
-        self.resumeData = resumeData
-        self.result = result
-        self.timeline = timeline
-    }
-}
-
-// MARK: -
-
-extension DownloadResponse: CustomStringConvertible, CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        return result.debugDescription
-    }
-
-    /// The debug textual representation used when written to an output stream, which includes the URL request, the URL
-    /// response, the temporary and destination URLs, the resume data, the response serialization result and the
-    /// timeline.
-    public var debugDescription: String {
-        var output: [String] = []
-
-        output.append(request != nil ? "[Request]: \(request!.httpMethod ?? "GET") \(request!)" : "[Request]: nil")
-        output.append(response != nil ? "[Response]: \(response!)" : "[Response]: nil")
-        output.append("[TemporaryURL]: \(temporaryURL?.path ?? "nil")")
-        output.append("[DestinationURL]: \(destinationURL?.path ?? "nil")")
-        output.append("[ResumeData]: \(resumeData?.count ?? 0) bytes")
-        output.append("[Result]: \(result.debugDescription)")
-        output.append("[Timeline]: \(timeline.debugDescription)")
-
-        return output.joined(separator: "\n")
-    }
-}
-
-// MARK: -
-
-extension DownloadResponse {
-    /// Evaluates the given closure when the result of this `DownloadResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: DownloadResponse<Data> = ...
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A `DownloadResponse` whose result wraps the value returned by the given closure. If this instance's
-    ///            result is a failure, returns a response wrapping the same failure.
-    public func map<T>(_ transform: (Value) -> T) -> DownloadResponse<T> {
-        var response = DownloadResponse<T>(
-            request: request,
-            response: self.response,
-            temporaryURL: temporaryURL,
-            destinationURL: destinationURL,
-            resumeData: resumeData,
-            result: result.map(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-
-    /// Evaluates the given closure when the result of this `DownloadResponse` is a success, passing the unwrapped
-    /// result value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: DownloadResponse<Data> = ...
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance's result.
-    ///
-    /// - returns: A success or failure `DownloadResponse` depending on the result of the given closure. If this
-    /// instance's result is a failure, returns the same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> DownloadResponse<T> {
-        var response = DownloadResponse<T>(
-            request: request,
-            response: self.response,
-            temporaryURL: temporaryURL,
-            destinationURL: destinationURL,
-            resumeData: resumeData,
-            result: result.flatMap(transform),
-            timeline: timeline
-        )
-
-        response._metrics = _metrics
-
-        return response
-    }
-}
-
-// MARK: -
-
-protocol Response {
-    /// The task metrics containing the request / response statistics.
-    var _metrics: AnyObject? { get set }
-    mutating func add(_ metrics: AnyObject?)
-}
-
-extension Response {
-    mutating func add(_ metrics: AnyObject?) {
-        #if !os(watchOS)
-            guard #available(iOS 10.0, macOS 10.12, tvOS 10.0, *) else { return }
-            guard let metrics = metrics as? URLSessionTaskMetrics else { return }
-
-            _metrics = metrics
-        #endif
-    }
-}
-
-// MARK: -
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DefaultDataResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DataResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DefaultDownloadResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
-
-@available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-extension DownloadResponse: Response {
-#if !os(watchOS)
-    /// The task metrics containing the request / response statistics.
-    public var metrics: URLSessionTaskMetrics? { return _metrics as? URLSessionTaskMetrics }
-#endif
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
deleted file mode 100644
index 1a59da550a7..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ResponseSerialization.swift
+++ /dev/null
@@ -1,715 +0,0 @@
-//
-//  ResponseSerialization.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// The type in which all data response serializers must conform to in order to serialize a response.
-public protocol DataResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DataResponseSerializerType`.
-    associatedtype SerializedObject
-
-    /// A closure used by response handlers that takes a request, response, data and error and returns a result.
-    var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<SerializedObject> { get }
-}
-
-// MARK: -
-
-/// A generic `DataResponseSerializerType` used to serialize a request, response, and data into a serialized object.
-public struct DataResponseSerializer<Value>: DataResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DataResponseSerializer`.
-    public typealias SerializedObject = Value
-
-    /// A closure used by response handlers that takes a request, response, data and error and returns a result.
-    public var serializeResponse: (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<Value>
-
-    /// Initializes the `ResponseSerializer` instance with the given serialize response closure.
-    ///
-    /// - parameter serializeResponse: The closure used to serialize the response.
-    ///
-    /// - returns: The new generic response serializer instance.
-    public init(serializeResponse: @escaping (URLRequest?, HTTPURLResponse?, Data?, Error?) -> Result<Value>) {
-        self.serializeResponse = serializeResponse
-    }
-}
-
-// MARK: -
-
-/// The type in which all download response serializers must conform to in order to serialize a response.
-public protocol DownloadResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DownloadResponseSerializerType`.
-    associatedtype SerializedObject
-
-    /// A closure used by response handlers that takes a request, response, url and error and returns a result.
-    var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<SerializedObject> { get }
-}
-
-// MARK: -
-
-/// A generic `DownloadResponseSerializerType` used to serialize a request, response, and data into a serialized object.
-public struct DownloadResponseSerializer<Value>: DownloadResponseSerializerProtocol {
-    /// The type of serialized object to be created by this `DownloadResponseSerializer`.
-    public typealias SerializedObject = Value
-
-    /// A closure used by response handlers that takes a request, response, url and error and returns a result.
-    public var serializeResponse: (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<Value>
-
-    /// Initializes the `ResponseSerializer` instance with the given serialize response closure.
-    ///
-    /// - parameter serializeResponse: The closure used to serialize the response.
-    ///
-    /// - returns: The new generic response serializer instance.
-    public init(serializeResponse: @escaping (URLRequest?, HTTPURLResponse?, URL?, Error?) -> Result<Value>) {
-        self.serializeResponse = serializeResponse
-    }
-}
-
-// MARK: - Timeline
-
-extension Request {
-    var timeline: Timeline {
-        let requestStartTime = self.startTime ?? CFAbsoluteTimeGetCurrent()
-        let requestCompletedTime = self.endTime ?? CFAbsoluteTimeGetCurrent()
-        let initialResponseTime = self.delegate.initialResponseTime ?? requestCompletedTime
-
-        return Timeline(
-            requestStartTime: requestStartTime,
-            initialResponseTime: initialResponseTime,
-            requestCompletedTime: requestCompletedTime,
-            serializationCompletedTime: CFAbsoluteTimeGetCurrent()
-        )
-    }
-}
-
-// MARK: - Default
-
-extension DataRequest {
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:             The queue on which the completion handler is dispatched.
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response(queue: DispatchQueue? = nil, completionHandler: @escaping (DefaultDataResponse) -> Void) -> Self {
-        delegate.queue.addOperation {
-            (queue ?? DispatchQueue.main).async {
-                var dataResponse = DefaultDataResponse(
-                    request: self.request,
-                    response: self.response,
-                    data: self.delegate.data,
-                    error: self.delegate.error,
-                    timeline: self.timeline
-                )
-
-                dataResponse.add(self.delegate.metrics)
-
-                completionHandler(dataResponse)
-            }
-        }
-
-        return self
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:              The queue on which the completion handler is dispatched.
-    /// - parameter responseSerializer: The response serializer responsible for serializing the request, response,
-    ///                                 and data.
-    /// - parameter completionHandler:  The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response<T: DataResponseSerializerProtocol>(
-        queue: DispatchQueue? = nil,
-        responseSerializer: T,
-        completionHandler: @escaping (DataResponse<T.SerializedObject>) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            let result = responseSerializer.serializeResponse(
-                self.request,
-                self.response,
-                self.delegate.data,
-                self.delegate.error
-            )
-
-            var dataResponse = DataResponse<T.SerializedObject>(
-                request: self.request,
-                response: self.response,
-                data: self.delegate.data,
-                result: result,
-                timeline: self.timeline
-            )
-
-            dataResponse.add(self.delegate.metrics)
-
-            (queue ?? DispatchQueue.main).async { completionHandler(dataResponse) }
-        }
-
-        return self
-    }
-}
-
-extension DownloadRequest {
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:             The queue on which the completion handler is dispatched.
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DefaultDownloadResponse) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            (queue ?? DispatchQueue.main).async {
-                var downloadResponse = DefaultDownloadResponse(
-                    request: self.request,
-                    response: self.response,
-                    temporaryURL: self.downloadDelegate.temporaryURL,
-                    destinationURL: self.downloadDelegate.destinationURL,
-                    resumeData: self.downloadDelegate.resumeData,
-                    error: self.downloadDelegate.error,
-                    timeline: self.timeline
-                )
-
-                downloadResponse.add(self.delegate.metrics)
-
-                completionHandler(downloadResponse)
-            }
-        }
-
-        return self
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter queue:              The queue on which the completion handler is dispatched.
-    /// - parameter responseSerializer: The response serializer responsible for serializing the request, response,
-    ///                                 and data contained in the destination url.
-    /// - parameter completionHandler:  The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func response<T: DownloadResponseSerializerProtocol>(
-        queue: DispatchQueue? = nil,
-        responseSerializer: T,
-        completionHandler: @escaping (DownloadResponse<T.SerializedObject>) -> Void)
-        -> Self
-    {
-        delegate.queue.addOperation {
-            let result = responseSerializer.serializeResponse(
-                self.request,
-                self.response,
-                self.downloadDelegate.fileURL,
-                self.downloadDelegate.error
-            )
-
-            var downloadResponse = DownloadResponse<T.SerializedObject>(
-                request: self.request,
-                response: self.response,
-                temporaryURL: self.downloadDelegate.temporaryURL,
-                destinationURL: self.downloadDelegate.destinationURL,
-                resumeData: self.downloadDelegate.resumeData,
-                result: result,
-                timeline: self.timeline
-            )
-
-            downloadResponse.add(self.delegate.metrics)
-
-            (queue ?? DispatchQueue.main).async { completionHandler(downloadResponse) }
-        }
-
-        return self
-    }
-}
-
-// MARK: - Data
-
-extension Request {
-    /// Returns a result data type that contains the response data as-is.
-    ///
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseData(response: HTTPURLResponse?, data: Data?, error: Error?) -> Result<Data> {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(Data()) }
-
-        guard let validData = data else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNil))
-        }
-
-        return .success(validData)
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns the associated data as-is.
-    ///
-    /// - returns: A data response serializer.
-    public static func dataResponseSerializer() -> DataResponseSerializer<Data> {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseData(response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseData(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DataResponse<Data>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.dataResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns the associated data as-is.
-    ///
-    /// - returns: A data response serializer.
-    public static func dataResponseSerializer() -> DownloadResponseSerializer<Data> {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseData(response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter completionHandler: The code to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseData(
-        queue: DispatchQueue? = nil,
-        completionHandler: @escaping (DownloadResponse<Data>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.dataResponseSerializer(),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - String
-
-extension Request {
-    /// Returns a result string type initialized from the response data with the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseString(
-        encoding: String.Encoding?,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<String>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success("") }
-
-        guard let validData = data else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNil))
-        }
-
-        var convertedEncoding = encoding
-
-        if let encodingName = response?.textEncodingName as CFString!, convertedEncoding == nil {
-            convertedEncoding = String.Encoding(rawValue: CFStringConvertEncodingToNSStringEncoding(
-                CFStringConvertIANACharSetNameToEncoding(encodingName))
-            )
-        }
-
-        let actualEncoding = convertedEncoding ?? String.Encoding.isoLatin1
-
-        if let string = String(data: validData, encoding: actualEncoding) {
-            return .success(string)
-        } else {
-            return .failure(AFError.responseSerializationFailed(reason: .stringSerializationFailed(encoding: actualEncoding)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns a result string type initialized from the response data with
-    /// the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    ///
-    /// - returns: A string response serializer.
-    public static func stringResponseSerializer(encoding: String.Encoding? = nil) -> DataResponseSerializer<String> {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseString(encoding: encoding, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter encoding:          The string encoding. If `nil`, the string encoding will be determined from the
-    ///                                server response, falling back to the default HTTP default character set,
-    ///                                ISO-8859-1.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseString(
-        queue: DispatchQueue? = nil,
-        encoding: String.Encoding? = nil,
-        completionHandler: @escaping (DataResponse<String>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.stringResponseSerializer(encoding: encoding),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns a result string type initialized from the response data with
-    /// the specified string encoding.
-    ///
-    /// - parameter encoding: The string encoding. If `nil`, the string encoding will be determined from the server
-    ///                       response, falling back to the default HTTP default character set, ISO-8859-1.
-    ///
-    /// - returns: A string response serializer.
-    public static func stringResponseSerializer(encoding: String.Encoding? = nil) -> DownloadResponseSerializer<String> {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseString(encoding: encoding, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter encoding:          The string encoding. If `nil`, the string encoding will be determined from the
-    ///                                server response, falling back to the default HTTP default character set,
-    ///                                ISO-8859-1.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseString(
-        queue: DispatchQueue? = nil,
-        encoding: String.Encoding? = nil,
-        completionHandler: @escaping (DownloadResponse<String>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.stringResponseSerializer(encoding: encoding),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - JSON
-
-extension Request {
-    /// Returns a JSON object contained in a result type constructed from the response data using `JSONSerialization`
-    /// with the specified reading options.
-    ///
-    /// - parameter options:  The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponseJSON(
-        options: JSONSerialization.ReadingOptions,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<Any>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(NSNull()) }
-
-        guard let validData = data, validData.count > 0 else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength))
-        }
-
-        do {
-            let json = try JSONSerialization.jsonObject(with: validData, options: options)
-            return .success(json)
-        } catch {
-            return .failure(AFError.responseSerializationFailed(reason: .jsonSerializationFailed(error: error)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns a JSON object result type constructed from the response data using
-    /// `JSONSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`.
-    ///
-    /// - returns: A JSON object response serializer.
-    public static func jsonResponseSerializer(
-        options: JSONSerialization.ReadingOptions = .allowFragments)
-        -> DataResponseSerializer<Any>
-    {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponseJSON(options: options, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseJSON(
-        queue: DispatchQueue? = nil,
-        options: JSONSerialization.ReadingOptions = .allowFragments,
-        completionHandler: @escaping (DataResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.jsonResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns a JSON object result type constructed from the response data using
-    /// `JSONSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The JSON serialization reading options. Defaults to `.allowFragments`.
-    ///
-    /// - returns: A JSON object response serializer.
-    public static func jsonResponseSerializer(
-        options: JSONSerialization.ReadingOptions = .allowFragments)
-        -> DownloadResponseSerializer<Any>
-    {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponseJSON(options: options, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The JSON serialization reading options. Defaults to `.allowFragments`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responseJSON(
-        queue: DispatchQueue? = nil,
-        options: JSONSerialization.ReadingOptions = .allowFragments,
-        completionHandler: @escaping (DownloadResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.jsonResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-// MARK: - Property List
-
-extension Request {
-    /// Returns a plist object contained in a result type constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options:  The property list reading options. Defaults to `[]`.
-    /// - parameter response: The response from the server.
-    /// - parameter data:     The data returned from the server.
-    /// - parameter error:    The error already encountered if it exists.
-    ///
-    /// - returns: The result data type.
-    public static func serializeResponsePropertyList(
-        options: PropertyListSerialization.ReadOptions,
-        response: HTTPURLResponse?,
-        data: Data?,
-        error: Error?)
-        -> Result<Any>
-    {
-        guard error == nil else { return .failure(error!) }
-
-        if let response = response, emptyDataStatusCodes.contains(response.statusCode) { return .success(NSNull()) }
-
-        guard let validData = data, validData.count > 0 else {
-            return .failure(AFError.responseSerializationFailed(reason: .inputDataNilOrZeroLength))
-        }
-
-        do {
-            let plist = try PropertyListSerialization.propertyList(from: validData, options: options, format: nil)
-            return .success(plist)
-        } catch {
-            return .failure(AFError.responseSerializationFailed(reason: .propertyListSerializationFailed(error: error)))
-        }
-    }
-}
-
-extension DataRequest {
-    /// Creates a response serializer that returns an object constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The property list reading options. Defaults to `[]`.
-    ///
-    /// - returns: A property list object response serializer.
-    public static func propertyListResponseSerializer(
-        options: PropertyListSerialization.ReadOptions = [])
-        -> DataResponseSerializer<Any>
-    {
-        return DataResponseSerializer { _, response, data, error in
-            return Request.serializeResponsePropertyList(options: options, response: response, data: data, error: error)
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The property list reading options. Defaults to `[]`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responsePropertyList(
-        queue: DispatchQueue? = nil,
-        options: PropertyListSerialization.ReadOptions = [],
-        completionHandler: @escaping (DataResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DataRequest.propertyListResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-extension DownloadRequest {
-    /// Creates a response serializer that returns an object constructed from the response data using
-    /// `PropertyListSerialization` with the specified reading options.
-    ///
-    /// - parameter options: The property list reading options. Defaults to `[]`.
-    ///
-    /// - returns: A property list object response serializer.
-    public static func propertyListResponseSerializer(
-        options: PropertyListSerialization.ReadOptions = [])
-        -> DownloadResponseSerializer<Any>
-    {
-        return DownloadResponseSerializer { _, response, fileURL, error in
-            guard error == nil else { return .failure(error!) }
-
-            guard let fileURL = fileURL else {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: fileURL)
-                return Request.serializeResponsePropertyList(options: options, response: response, data: data, error: error)
-            } catch {
-                return .failure(AFError.responseSerializationFailed(reason: .inputFileReadFailed(at: fileURL)))
-            }
-        }
-    }
-
-    /// Adds a handler to be called once the request has finished.
-    ///
-    /// - parameter options:           The property list reading options. Defaults to `[]`.
-    /// - parameter completionHandler: A closure to be executed once the request has finished.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func responsePropertyList(
-        queue: DispatchQueue? = nil,
-        options: PropertyListSerialization.ReadOptions = [],
-        completionHandler: @escaping (DownloadResponse<Any>) -> Void)
-        -> Self
-    {
-        return response(
-            queue: queue,
-            responseSerializer: DownloadRequest.propertyListResponseSerializer(options: options),
-            completionHandler: completionHandler
-        )
-    }
-}
-
-/// A set of HTTP response status code that do not contain response data.
-private let emptyDataStatusCodes: Set<Int> = [204, 205]
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Result.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
deleted file mode 100644
index bf7e70255b7..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Result.swift
+++ /dev/null
@@ -1,300 +0,0 @@
-//
-//  Result.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Used to represent whether a request was successful or encountered an error.
-///
-/// - success: The request and all post processing operations were successful resulting in the serialization of the
-///            provided associated value.
-///
-/// - failure: The request encountered an error resulting in a failure. The associated values are the original data
-///            provided by the server as well as the error that caused the failure.
-public enum Result<Value> {
-    case success(Value)
-    case failure(Error)
-
-    /// Returns `true` if the result is a success, `false` otherwise.
-    public var isSuccess: Bool {
-        switch self {
-        case .success:
-            return true
-        case .failure:
-            return false
-        }
-    }
-
-    /// Returns `true` if the result is a failure, `false` otherwise.
-    public var isFailure: Bool {
-        return !isSuccess
-    }
-
-    /// Returns the associated value if the result is a success, `nil` otherwise.
-    public var value: Value? {
-        switch self {
-        case .success(let value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-
-    /// Returns the associated error value if the result is a failure, `nil` otherwise.
-    public var error: Error? {
-        switch self {
-        case .success:
-            return nil
-        case .failure(let error):
-            return error
-        }
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Result: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure.
-    public var description: String {
-        switch self {
-        case .success:
-            return "SUCCESS"
-        case .failure:
-            return "FAILURE"
-        }
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Result: CustomDebugStringConvertible {
-    /// The debug textual representation used when written to an output stream, which includes whether the result was a
-    /// success or failure in addition to the value or error.
-    public var debugDescription: String {
-        switch self {
-        case .success(let value):
-            return "SUCCESS: \(value)"
-        case .failure(let error):
-            return "FAILURE: \(error)"
-        }
-    }
-}
-
-// MARK: - Functional APIs
-
-extension Result {
-    /// Creates a `Result` instance from the result of a closure.
-    ///
-    /// A failure result is created when the closure throws, and a success result is created when the closure
-    /// succeeds without throwing an error.
-    ///
-    ///     func someString() throws -> String { ... }
-    ///
-    ///     let result = Result(value: {
-    ///         return try someString()
-    ///     })
-    ///
-    ///     // The type of result is Result<String>
-    ///
-    /// The trailing closure syntax is also supported:
-    ///
-    ///     let result = Result { try someString() }
-    ///
-    /// - parameter value: The closure to execute and create the result for.
-    public init(value: () throws -> Value) {
-        do {
-            self = try .success(value())
-        } catch {
-            self = .failure(error)
-        }
-    }
-
-    /// Returns the success value, or throws the failure error.
-    ///
-    ///     let possibleString: Result<String> = .success("success")
-    ///     try print(possibleString.unwrap())
-    ///     // Prints "success"
-    ///
-    ///     let noString: Result<String> = .failure(error)
-    ///     try print(noString.unwrap())
-    ///     // Throws error
-    public func unwrap() throws -> Value {
-        switch self {
-        case .success(let value):
-            return value
-        case .failure(let error):
-            throw error
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `map` method with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data())
-    ///     let possibleInt = possibleData.map { $0.count }
-    ///     try print(possibleInt.unwrap())
-    ///     // Prints "0"
-    ///
-    ///     let noData: Result<Data> = .failure(error)
-    ///     let noInt = noData.map { $0.count }
-    ///     try print(noInt.unwrap())
-    ///     // Throws error
-    ///
-    /// - parameter transform: A closure that takes the success value of the `Result` instance.
-    ///
-    /// - returns: A `Result` containing the result of the given closure. If this instance is a failure, returns the
-    ///            same failure.
-    public func map<T>(_ transform: (Value) -> T) -> Result<T> {
-        switch self {
-        case .success(let value):
-            return .success(transform(value))
-        case .failure(let error):
-            return .failure(error)
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `flatMap` method with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data(...))
-    ///     let possibleObject = possibleData.flatMap {
-    ///         try JSONSerialization.jsonObject(with: $0)
-    ///     }
-    ///
-    /// - parameter transform: A closure that takes the success value of the instance.
-    ///
-    /// - returns: A `Result` containing the result of the given closure. If this instance is a failure, returns the
-    ///            same failure.
-    public func flatMap<T>(_ transform: (Value) throws -> T) -> Result<T> {
-        switch self {
-        case .success(let value):
-            do {
-                return try .success(transform(value))
-            } catch {
-                return .failure(error)
-            }
-        case .failure(let error):
-            return .failure(error)
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `mapError` function with a closure that does not throw. For example:
-    ///
-    ///     let possibleData: Result<Data> = .failure(someError)
-    ///     let withMyError: Result<Data> = possibleData.mapError { MyError.error($0) }
-    ///
-    /// - Parameter transform: A closure that takes the error of the instance.
-    /// - Returns: A `Result` instance containing the result of the transform. If this instance is a success, returns
-    ///            the same instance.
-    public func mapError<T: Error>(_ transform: (Error) -> T) -> Result {
-        switch self {
-        case .failure(let error):
-            return .failure(transform(error))
-        case .success:
-            return self
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `flatMapError` function with a closure that may throw an error. For example:
-    ///
-    ///     let possibleData: Result<Data> = .success(Data(...))
-    ///     let possibleObject = possibleData.flatMapError {
-    ///         try someFailableFunction(taking: $0)
-    ///     }
-    ///
-    /// - Parameter transform: A throwing closure that takes the error of the instance.
-    ///
-    /// - Returns: A `Result` instance containing the result of the transform. If this instance is a success, returns
-    ///            the same instance.
-    public func flatMapError<T: Error>(_ transform: (Error) throws -> T) -> Result {
-        switch self {
-        case .failure(let error):
-            do {
-                return try .failure(transform(error))
-            } catch {
-                return .failure(error)
-            }
-        case .success:
-            return self
-        }
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success, passing the unwrapped value as a parameter.
-    ///
-    /// Use the `withValue` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A closure that takes the success value of this instance.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func withValue(_ closure: (Value) -> Void) -> Result {
-        if case let .success(value) = self { closure(value) }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure, passing the unwrapped error as a parameter.
-    ///
-    /// Use the `withError` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A closure that takes the success value of this instance.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func withError(_ closure: (Error) -> Void) -> Result {
-        if case let .failure(error) = self { closure(error) }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a success.
-    ///
-    /// Use the `ifSuccess` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A `Void` closure.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func ifSuccess(_ closure: () -> Void) -> Result {
-        if isSuccess { closure() }
-
-        return self
-    }
-
-    /// Evaluates the specified closure when the `Result` is a failure.
-    ///
-    /// Use the `ifFailure` function to evaluate the passed closure without modifying the `Result` instance.
-    ///
-    /// - Parameter closure: A `Void` closure.
-    /// - Returns: This `Result` instance, unmodified.
-    @discardableResult
-    public func ifFailure(_ closure: () -> Void) -> Result {
-        if isFailure { closure() }
-
-        return self
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
deleted file mode 100644
index 9c0e7c8d508..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/ServerTrustPolicy.swift
+++ /dev/null
@@ -1,307 +0,0 @@
-//
-//  ServerTrustPolicy.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for managing the mapping of `ServerTrustPolicy` objects to a given host.
-open class ServerTrustPolicyManager {
-    /// The dictionary of policies mapped to a particular host.
-    open let policies: [String: ServerTrustPolicy]
-
-    /// Initializes the `ServerTrustPolicyManager` instance with the given policies.
-    ///
-    /// Since different servers and web services can have different leaf certificates, intermediate and even root
-    /// certficates, it is important to have the flexibility to specify evaluation policies on a per host basis. This
-    /// allows for scenarios such as using default evaluation for host1, certificate pinning for host2, public key
-    /// pinning for host3 and disabling evaluation for host4.
-    ///
-    /// - parameter policies: A dictionary of all policies mapped to a particular host.
-    ///
-    /// - returns: The new `ServerTrustPolicyManager` instance.
-    public init(policies: [String: ServerTrustPolicy]) {
-        self.policies = policies
-    }
-
-    /// Returns the `ServerTrustPolicy` for the given host if applicable.
-    ///
-    /// By default, this method will return the policy that perfectly matches the given host. Subclasses could override
-    /// this method and implement more complex mapping implementations such as wildcards.
-    ///
-    /// - parameter host: The host to use when searching for a matching policy.
-    ///
-    /// - returns: The server trust policy for the given host if found.
-    open func serverTrustPolicy(forHost host: String) -> ServerTrustPolicy? {
-        return policies[host]
-    }
-}
-
-// MARK: -
-
-extension URLSession {
-    private struct AssociatedKeys {
-        static var managerKey = "URLSession.ServerTrustPolicyManager"
-    }
-
-    var serverTrustPolicyManager: ServerTrustPolicyManager? {
-        get {
-            return objc_getAssociatedObject(self, &AssociatedKeys.managerKey) as? ServerTrustPolicyManager
-        }
-        set (manager) {
-            objc_setAssociatedObject(self, &AssociatedKeys.managerKey, manager, .OBJC_ASSOCIATION_RETAIN_NONATOMIC)
-        }
-    }
-}
-
-// MARK: - ServerTrustPolicy
-
-/// The `ServerTrustPolicy` evaluates the server trust generally provided by an `NSURLAuthenticationChallenge` when
-/// connecting to a server over a secure HTTPS connection. The policy configuration then evaluates the server trust
-/// with a given set of criteria to determine whether the server trust is valid and the connection should be made.
-///
-/// Using pinned certificates or public keys for evaluation helps prevent man-in-the-middle (MITM) attacks and other
-/// vulnerabilities. Applications dealing with sensitive customer data or financial information are strongly encouraged
-/// to route all communication over an HTTPS connection with pinning enabled.
-///
-/// - performDefaultEvaluation: Uses the default server trust evaluation while allowing you to control whether to
-///                             validate the host provided by the challenge. Applications are encouraged to always
-///                             validate the host in production environments to guarantee the validity of the server's
-///                             certificate chain.
-///
-/// - performRevokedEvaluation: Uses the default and revoked server trust evaluations allowing you to control whether to
-///                             validate the host provided by the challenge as well as specify the revocation flags for
-///                             testing for revoked certificates. Apple platforms did not start testing for revoked
-///                             certificates automatically until iOS 10.1, macOS 10.12 and tvOS 10.1 which is
-///                             demonstrated in our TLS tests. Applications are encouraged to always validate the host
-///                             in production environments to guarantee the validity of the server's certificate chain.
-///
-/// - pinCertificates:          Uses the pinned certificates to validate the server trust. The server trust is
-///                             considered valid if one of the pinned certificates match one of the server certificates.
-///                             By validating both the certificate chain and host, certificate pinning provides a very
-///                             secure form of server trust validation mitigating most, if not all, MITM attacks.
-///                             Applications are encouraged to always validate the host and require a valid certificate
-///                             chain in production environments.
-///
-/// - pinPublicKeys:            Uses the pinned public keys to validate the server trust. The server trust is considered
-///                             valid if one of the pinned public keys match one of the server certificate public keys.
-///                             By validating both the certificate chain and host, public key pinning provides a very
-///                             secure form of server trust validation mitigating most, if not all, MITM attacks.
-///                             Applications are encouraged to always validate the host and require a valid certificate
-///                             chain in production environments.
-///
-/// - disableEvaluation:        Disables all evaluation which in turn will always consider any server trust as valid.
-///
-/// - customEvaluation:         Uses the associated closure to evaluate the validity of the server trust.
-public enum ServerTrustPolicy {
-    case performDefaultEvaluation(validateHost: Bool)
-    case performRevokedEvaluation(validateHost: Bool, revocationFlags: CFOptionFlags)
-    case pinCertificates(certificates: [SecCertificate], validateCertificateChain: Bool, validateHost: Bool)
-    case pinPublicKeys(publicKeys: [SecKey], validateCertificateChain: Bool, validateHost: Bool)
-    case disableEvaluation
-    case customEvaluation((_ serverTrust: SecTrust, _ host: String) -> Bool)
-
-    // MARK: - Bundle Location
-
-    /// Returns all certificates within the given bundle with a `.cer` file extension.
-    ///
-    /// - parameter bundle: The bundle to search for all `.cer` files.
-    ///
-    /// - returns: All certificates within the given bundle.
-    public static func certificates(in bundle: Bundle = Bundle.main) -> [SecCertificate] {
-        var certificates: [SecCertificate] = []
-
-        let paths = Set([".cer", ".CER", ".crt", ".CRT", ".der", ".DER"].map { fileExtension in
-            bundle.paths(forResourcesOfType: fileExtension, inDirectory: nil)
-        }.joined())
-
-        for path in paths {
-            if
-                let certificateData = try? Data(contentsOf: URL(fileURLWithPath: path)) as CFData,
-                let certificate = SecCertificateCreateWithData(nil, certificateData)
-            {
-                certificates.append(certificate)
-            }
-        }
-
-        return certificates
-    }
-
-    /// Returns all public keys within the given bundle with a `.cer` file extension.
-    ///
-    /// - parameter bundle: The bundle to search for all `*.cer` files.
-    ///
-    /// - returns: All public keys within the given bundle.
-    public static func publicKeys(in bundle: Bundle = Bundle.main) -> [SecKey] {
-        var publicKeys: [SecKey] = []
-
-        for certificate in certificates(in: bundle) {
-            if let publicKey = publicKey(for: certificate) {
-                publicKeys.append(publicKey)
-            }
-        }
-
-        return publicKeys
-    }
-
-    // MARK: - Evaluation
-
-    /// Evaluates whether the server trust is valid for the given host.
-    ///
-    /// - parameter serverTrust: The server trust to evaluate.
-    /// - parameter host:        The host of the challenge protection space.
-    ///
-    /// - returns: Whether the server trust is valid.
-    public func evaluate(_ serverTrust: SecTrust, forHost host: String) -> Bool {
-        var serverTrustIsValid = false
-
-        switch self {
-        case let .performDefaultEvaluation(validateHost):
-            let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-            SecTrustSetPolicies(serverTrust, policy)
-
-            serverTrustIsValid = trustIsValid(serverTrust)
-        case let .performRevokedEvaluation(validateHost, revocationFlags):
-            let defaultPolicy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-            let revokedPolicy = SecPolicyCreateRevocation(revocationFlags)
-            SecTrustSetPolicies(serverTrust, [defaultPolicy, revokedPolicy] as CFTypeRef)
-
-            serverTrustIsValid = trustIsValid(serverTrust)
-        case let .pinCertificates(pinnedCertificates, validateCertificateChain, validateHost):
-            if validateCertificateChain {
-                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-                SecTrustSetPolicies(serverTrust, policy)
-
-                SecTrustSetAnchorCertificates(serverTrust, pinnedCertificates as CFArray)
-                SecTrustSetAnchorCertificatesOnly(serverTrust, true)
-
-                serverTrustIsValid = trustIsValid(serverTrust)
-            } else {
-                let serverCertificatesDataArray = certificateData(for: serverTrust)
-                let pinnedCertificatesDataArray = certificateData(for: pinnedCertificates)
-
-                outerLoop: for serverCertificateData in serverCertificatesDataArray {
-                    for pinnedCertificateData in pinnedCertificatesDataArray {
-                        if serverCertificateData == pinnedCertificateData {
-                            serverTrustIsValid = true
-                            break outerLoop
-                        }
-                    }
-                }
-            }
-        case let .pinPublicKeys(pinnedPublicKeys, validateCertificateChain, validateHost):
-            var certificateChainEvaluationPassed = true
-
-            if validateCertificateChain {
-                let policy = SecPolicyCreateSSL(true, validateHost ? host as CFString : nil)
-                SecTrustSetPolicies(serverTrust, policy)
-
-                certificateChainEvaluationPassed = trustIsValid(serverTrust)
-            }
-
-            if certificateChainEvaluationPassed {
-                outerLoop: for serverPublicKey in ServerTrustPolicy.publicKeys(for: serverTrust) as [AnyObject] {
-                    for pinnedPublicKey in pinnedPublicKeys as [AnyObject] {
-                        if serverPublicKey.isEqual(pinnedPublicKey) {
-                            serverTrustIsValid = true
-                            break outerLoop
-                        }
-                    }
-                }
-            }
-        case .disableEvaluation:
-            serverTrustIsValid = true
-        case let .customEvaluation(closure):
-            serverTrustIsValid = closure(serverTrust, host)
-        }
-
-        return serverTrustIsValid
-    }
-
-    // MARK: - Private - Trust Validation
-
-    private func trustIsValid(_ trust: SecTrust) -> Bool {
-        var isValid = false
-
-        var result = SecTrustResultType.invalid
-        let status = SecTrustEvaluate(trust, &result)
-
-        if status == errSecSuccess {
-            let unspecified = SecTrustResultType.unspecified
-            let proceed = SecTrustResultType.proceed
-
-
-            isValid = result == unspecified || result == proceed
-        }
-
-        return isValid
-    }
-
-    // MARK: - Private - Certificate Data
-
-    private func certificateData(for trust: SecTrust) -> [Data] {
-        var certificates: [SecCertificate] = []
-
-        for index in 0..<SecTrustGetCertificateCount(trust) {
-            if let certificate = SecTrustGetCertificateAtIndex(trust, index) {
-                certificates.append(certificate)
-            }
-        }
-
-        return certificateData(for: certificates)
-    }
-
-    private func certificateData(for certificates: [SecCertificate]) -> [Data] {
-        return certificates.map { SecCertificateCopyData($0) as Data }
-    }
-
-    // MARK: - Private - Public Key Extraction
-
-    private static func publicKeys(for trust: SecTrust) -> [SecKey] {
-        var publicKeys: [SecKey] = []
-
-        for index in 0..<SecTrustGetCertificateCount(trust) {
-            if
-                let certificate = SecTrustGetCertificateAtIndex(trust, index),
-                let publicKey = publicKey(for: certificate)
-            {
-                publicKeys.append(publicKey)
-            }
-        }
-
-        return publicKeys
-    }
-
-    private static func publicKey(for certificate: SecCertificate) -> SecKey? {
-        var publicKey: SecKey?
-
-        let policy = SecPolicyCreateBasicX509()
-        var trust: SecTrust?
-        let trustCreationStatus = SecTrustCreateWithCertificates(certificate, policy, &trust)
-
-        if let trust = trust, trustCreationStatus == errSecSuccess {
-            publicKey = SecTrustCopyPublicKey(trust)
-        }
-
-        return publicKey
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
deleted file mode 100644
index 8edb492b699..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/SessionDelegate.swift
+++ /dev/null
@@ -1,719 +0,0 @@
-//
-//  SessionDelegate.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for handling all delegate callbacks for the underlying session.
-open class SessionDelegate: NSObject {
-
-    // MARK: URLSessionDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSession(_:didBecomeInvalidWithError:)`.
-    open var sessionDidBecomeInvalidWithError: ((URLSession, Error?) -> Void)?
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)`.
-    open var sessionDidReceiveChallenge: ((URLSession, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-    /// Overrides all behavior for URLSessionDelegate method `urlSession(_:didReceive:completionHandler:)` and requires the caller to call the `completionHandler`.
-    open var sessionDidReceiveChallengeWithCompletion: ((URLSession, URLAuthenticationChallenge, @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionDelegate method `urlSessionDidFinishEvents(forBackgroundURLSession:)`.
-    open var sessionDidFinishEventsForBackgroundURLSession: ((URLSession) -> Void)?
-
-    // MARK: URLSessionTaskDelegate Overrides
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)`.
-    open var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskWillPerformHTTPRedirectionWithCompletion: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest, @escaping (URLRequest?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didReceive:completionHandler:)`.
-    open var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:didReceive:completionHandler:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskDidReceiveChallengeWithCompletion: ((URLSession, URLSessionTask, URLAuthenticationChallenge, @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:needNewBodyStream:)`.
-    open var taskNeedNewBodyStream: ((URLSession, URLSessionTask) -> InputStream?)?
-
-    /// Overrides all behavior for URLSessionTaskDelegate method `urlSession(_:task:needNewBodyStream:)` and
-    /// requires the caller to call the `completionHandler`.
-    open var taskNeedNewBodyStreamWithCompletion: ((URLSession, URLSessionTask, @escaping (InputStream?) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didSendBodyData:totalBytesSent:totalBytesExpectedToSend:)`.
-    open var taskDidSendBodyData: ((URLSession, URLSessionTask, Int64, Int64, Int64) -> Void)?
-
-    /// Overrides default behavior for URLSessionTaskDelegate method `urlSession(_:task:didCompleteWithError:)`.
-    open var taskDidComplete: ((URLSession, URLSessionTask, Error?) -> Void)?
-
-    // MARK: URLSessionDataDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:completionHandler:)`.
-    open var dataTaskDidReceiveResponse: ((URLSession, URLSessionDataTask, URLResponse) -> URLSession.ResponseDisposition)?
-
-    /// Overrides all behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:completionHandler:)` and
-    /// requires caller to call the `completionHandler`.
-    open var dataTaskDidReceiveResponseWithCompletion: ((URLSession, URLSessionDataTask, URLResponse, @escaping (URLSession.ResponseDisposition) -> Void) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didBecome:)`.
-    open var dataTaskDidBecomeDownloadTask: ((URLSession, URLSessionDataTask, URLSessionDownloadTask) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:didReceive:)`.
-    open var dataTaskDidReceiveData: ((URLSession, URLSessionDataTask, Data) -> Void)?
-
-    /// Overrides default behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)`.
-    open var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-
-    /// Overrides all behavior for URLSessionDataDelegate method `urlSession(_:dataTask:willCacheResponse:completionHandler:)` and
-    /// requires caller to call the `completionHandler`.
-    open var dataTaskWillCacheResponseWithCompletion: ((URLSession, URLSessionDataTask, CachedURLResponse, @escaping (CachedURLResponse?) -> Void) -> Void)?
-
-    // MARK: URLSessionDownloadDelegate Overrides
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didFinishDownloadingTo:)`.
-    open var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> Void)?
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didWriteData:totalBytesWritten:totalBytesExpectedToWrite:)`.
-    open var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
-
-    /// Overrides default behavior for URLSessionDownloadDelegate method `urlSession(_:downloadTask:didResumeAtOffset:expectedTotalBytes:)`.
-    open var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)?
-
-    // MARK: URLSessionStreamDelegate Overrides
-
-#if !os(watchOS)
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:readClosedFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskReadClosed: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskReadClosed as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskReadClosed = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:writeClosedFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskWriteClosed: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskWriteClosed as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskWriteClosed = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:betterRouteDiscoveredFor:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskBetterRouteDiscovered: ((URLSession, URLSessionStreamTask) -> Void)? {
-        get {
-            return _streamTaskBetterRouteDiscovered as? (URLSession, URLSessionStreamTask) -> Void
-        }
-        set {
-            _streamTaskBetterRouteDiscovered = newValue
-        }
-    }
-
-    /// Overrides default behavior for URLSessionStreamDelegate method `urlSession(_:streamTask:didBecome:outputStream:)`.
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open var streamTaskDidBecomeInputAndOutputStreams: ((URLSession, URLSessionStreamTask, InputStream, OutputStream) -> Void)? {
-        get {
-            return _streamTaskDidBecomeInputStream as? (URLSession, URLSessionStreamTask, InputStream, OutputStream) -> Void
-        }
-        set {
-            _streamTaskDidBecomeInputStream = newValue
-        }
-    }
-
-    var _streamTaskReadClosed: Any?
-    var _streamTaskWriteClosed: Any?
-    var _streamTaskBetterRouteDiscovered: Any?
-    var _streamTaskDidBecomeInputStream: Any?
-
-#endif
-
-    // MARK: Properties
-
-    var retrier: RequestRetrier?
-    weak var sessionManager: SessionManager?
-
-    private var requests: [Int: Request] = [:]
-    private let lock = NSLock()
-
-    /// Access the task delegate for the specified task in a thread-safe manner.
-    open subscript(task: URLSessionTask) -> Request? {
-        get {
-            lock.lock() ; defer { lock.unlock() }
-            return requests[task.taskIdentifier]
-        }
-        set {
-            lock.lock() ; defer { lock.unlock() }
-            requests[task.taskIdentifier] = newValue
-        }
-    }
-
-    // MARK: Lifecycle
-
-    /// Initializes the `SessionDelegate` instance.
-    ///
-    /// - returns: The new `SessionDelegate` instance.
-    public override init() {
-        super.init()
-    }
-
-    // MARK: NSObject Overrides
-
-    /// Returns a `Bool` indicating whether the `SessionDelegate` implements or inherits a method that can respond
-    /// to a specified message.
-    ///
-    /// - parameter selector: A selector that identifies a message.
-    ///
-    /// - returns: `true` if the receiver implements or inherits a method that can respond to selector, otherwise `false`.
-    open override func responds(to selector: Selector) -> Bool {
-        #if !os(macOS)
-            if selector == #selector(URLSessionDelegate.urlSessionDidFinishEvents(forBackgroundURLSession:)) {
-                return sessionDidFinishEventsForBackgroundURLSession != nil
-            }
-        #endif
-
-        #if !os(watchOS)
-            if #available(iOS 9.0, macOS 10.11, tvOS 9.0, *) {
-                switch selector {
-                case #selector(URLSessionStreamDelegate.urlSession(_:readClosedFor:)):
-                    return streamTaskReadClosed != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:writeClosedFor:)):
-                    return streamTaskWriteClosed != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:betterRouteDiscoveredFor:)):
-                    return streamTaskBetterRouteDiscovered != nil
-                case #selector(URLSessionStreamDelegate.urlSession(_:streamTask:didBecome:outputStream:)):
-                    return streamTaskDidBecomeInputAndOutputStreams != nil
-                default:
-                    break
-                }
-            }
-        #endif
-
-        switch selector {
-        case #selector(URLSessionDelegate.urlSession(_:didBecomeInvalidWithError:)):
-            return sessionDidBecomeInvalidWithError != nil
-        case #selector(URLSessionDelegate.urlSession(_:didReceive:completionHandler:)):
-            return (sessionDidReceiveChallenge != nil  || sessionDidReceiveChallengeWithCompletion != nil)
-        case #selector(URLSessionTaskDelegate.urlSession(_:task:willPerformHTTPRedirection:newRequest:completionHandler:)):
-            return (taskWillPerformHTTPRedirection != nil || taskWillPerformHTTPRedirectionWithCompletion != nil)
-        case #selector(URLSessionDataDelegate.urlSession(_:dataTask:didReceive:completionHandler:)):
-            return (dataTaskDidReceiveResponse != nil || dataTaskDidReceiveResponseWithCompletion != nil)
-        default:
-            return type(of: self).instancesRespond(to: selector)
-        }
-    }
-}
-
-// MARK: - URLSessionDelegate
-
-extension SessionDelegate: URLSessionDelegate {
-    /// Tells the delegate that the session has been invalidated.
-    ///
-    /// - parameter session: The session object that was invalidated.
-    /// - parameter error:   The error that caused invalidation, or nil if the invalidation was explicit.
-    open func urlSession(_ session: URLSession, didBecomeInvalidWithError error: Error?) {
-        sessionDidBecomeInvalidWithError?(session, error)
-    }
-
-    /// Requests credentials from the delegate in response to a session-level authentication request from the
-    /// remote server.
-    ///
-    /// - parameter session:           The session containing the task that requested authentication.
-    /// - parameter challenge:         An object that contains the request for authentication.
-    /// - parameter completionHandler: A handler that your delegate method must call providing the disposition
-    ///                                and credential.
-    open func urlSession(
-        _ session: URLSession,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        guard sessionDidReceiveChallengeWithCompletion == nil else {
-            sessionDidReceiveChallengeWithCompletion?(session, challenge, completionHandler)
-            return
-        }
-
-        var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
-        var credential: URLCredential?
-
-        if let sessionDidReceiveChallenge = sessionDidReceiveChallenge {
-            (disposition, credential) = sessionDidReceiveChallenge(session, challenge)
-        } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
-            let host = challenge.protectionSpace.host
-
-            if
-                let serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicy(forHost: host),
-                let serverTrust = challenge.protectionSpace.serverTrust
-            {
-                if serverTrustPolicy.evaluate(serverTrust, forHost: host) {
-                    disposition = .useCredential
-                    credential = URLCredential(trust: serverTrust)
-                } else {
-                    disposition = .cancelAuthenticationChallenge
-                }
-            }
-        }
-
-        completionHandler(disposition, credential)
-    }
-
-#if !os(macOS)
-
-    /// Tells the delegate that all messages enqueued for a session have been delivered.
-    ///
-    /// - parameter session: The session that no longer has any outstanding requests.
-    open func urlSessionDidFinishEvents(forBackgroundURLSession session: URLSession) {
-        sessionDidFinishEventsForBackgroundURLSession?(session)
-    }
-
-#endif
-}
-
-// MARK: - URLSessionTaskDelegate
-
-extension SessionDelegate: URLSessionTaskDelegate {
-    /// Tells the delegate that the remote server requested an HTTP redirect.
-    ///
-    /// - parameter session:           The session containing the task whose request resulted in a redirect.
-    /// - parameter task:              The task whose request resulted in a redirect.
-    /// - parameter response:          An object containing the server’s response to the original request.
-    /// - parameter request:           A URL request object filled out with the new location.
-    /// - parameter completionHandler: A closure that your handler should call with either the value of the request
-    ///                                parameter, a modified URL request object, or NULL to refuse the redirect and
-    ///                                return the body of the redirect response.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        guard taskWillPerformHTTPRedirectionWithCompletion == nil else {
-            taskWillPerformHTTPRedirectionWithCompletion?(session, task, response, request, completionHandler)
-            return
-        }
-
-        var redirectRequest: URLRequest? = request
-
-        if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
-            redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
-        }
-
-        completionHandler(redirectRequest)
-    }
-
-    /// Requests credentials from the delegate in response to an authentication request from the remote server.
-    ///
-    /// - parameter session:           The session containing the task whose request requires authentication.
-    /// - parameter task:              The task whose request requires authentication.
-    /// - parameter challenge:         An object that contains the request for authentication.
-    /// - parameter completionHandler: A handler that your delegate method must call providing the disposition
-    ///                                and credential.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        guard taskDidReceiveChallengeWithCompletion == nil else {
-            taskDidReceiveChallengeWithCompletion?(session, task, challenge, completionHandler)
-            return
-        }
-
-        if let taskDidReceiveChallenge = taskDidReceiveChallenge {
-            let result = taskDidReceiveChallenge(session, task, challenge)
-            completionHandler(result.0, result.1)
-        } else if let delegate = self[task]?.delegate {
-            delegate.urlSession(
-                session,
-                task: task,
-                didReceive: challenge,
-                completionHandler: completionHandler
-            )
-        } else {
-            urlSession(session, didReceive: challenge, completionHandler: completionHandler)
-        }
-    }
-
-    /// Tells the delegate when a task requires a new request body stream to send to the remote server.
-    ///
-    /// - parameter session:           The session containing the task that needs a new body stream.
-    /// - parameter task:              The task that needs a new body stream.
-    /// - parameter completionHandler: A completion handler that your delegate method should call with the new body stream.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void)
-    {
-        guard taskNeedNewBodyStreamWithCompletion == nil else {
-            taskNeedNewBodyStreamWithCompletion?(session, task, completionHandler)
-            return
-        }
-
-        if let taskNeedNewBodyStream = taskNeedNewBodyStream {
-            completionHandler(taskNeedNewBodyStream(session, task))
-        } else if let delegate = self[task]?.delegate {
-            delegate.urlSession(session, task: task, needNewBodyStream: completionHandler)
-        }
-    }
-
-    /// Periodically informs the delegate of the progress of sending body content to the server.
-    ///
-    /// - parameter session:                  The session containing the data task.
-    /// - parameter task:                     The data task.
-    /// - parameter bytesSent:                The number of bytes sent since the last time this delegate method was called.
-    /// - parameter totalBytesSent:           The total number of bytes sent so far.
-    /// - parameter totalBytesExpectedToSend: The expected length of the body data.
-    open func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didSendBodyData bytesSent: Int64,
-        totalBytesSent: Int64,
-        totalBytesExpectedToSend: Int64)
-    {
-        if let taskDidSendBodyData = taskDidSendBodyData {
-            taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
-        } else if let delegate = self[task]?.delegate as? UploadTaskDelegate {
-            delegate.URLSession(
-                session,
-                task: task,
-                didSendBodyData: bytesSent,
-                totalBytesSent: totalBytesSent,
-                totalBytesExpectedToSend: totalBytesExpectedToSend
-            )
-        }
-    }
-
-#if !os(watchOS)
-
-    /// Tells the delegate that the session finished collecting metrics for the task.
-    ///
-    /// - parameter session: The session collecting the metrics.
-    /// - parameter task:    The task whose metrics have been collected.
-    /// - parameter metrics: The collected metrics.
-    @available(iOS 10.0, macOS 10.12, tvOS 10.0, *)
-    @objc(URLSession:task:didFinishCollectingMetrics:)
-    open func urlSession(_ session: URLSession, task: URLSessionTask, didFinishCollecting metrics: URLSessionTaskMetrics) {
-        self[task]?.delegate.metrics = metrics
-    }
-
-#endif
-
-    /// Tells the delegate that the task finished transferring data.
-    ///
-    /// - parameter session: The session containing the task whose request finished transferring data.
-    /// - parameter task:    The task whose request finished transferring data.
-    /// - parameter error:   If an error occurred, an error object indicating how the transfer failed, otherwise nil.
-    open func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
-        /// Executed after it is determined that the request is not going to be retried
-        let completeTask: (URLSession, URLSessionTask, Error?) -> Void = { [weak self] session, task, error in
-            guard let strongSelf = self else { return }
-
-            strongSelf.taskDidComplete?(session, task, error)
-
-            strongSelf[task]?.delegate.urlSession(session, task: task, didCompleteWithError: error)
-
-            NotificationCenter.default.post(
-                name: Notification.Name.Task.DidComplete,
-                object: strongSelf,
-                userInfo: [Notification.Key.Task: task]
-            )
-
-            strongSelf[task] = nil
-        }
-
-        guard let request = self[task], let sessionManager = sessionManager else {
-            completeTask(session, task, error)
-            return
-        }
-
-        // Run all validations on the request before checking if an error occurred
-        request.validations.forEach { $0() }
-
-        // Determine whether an error has occurred
-        var error: Error? = error
-
-        if request.delegate.error != nil {
-            error = request.delegate.error
-        }
-
-        /// If an error occurred and the retrier is set, asynchronously ask the retrier if the request
-        /// should be retried. Otherwise, complete the task by notifying the task delegate.
-        if let retrier = retrier, let error = error {
-            retrier.should(sessionManager, retry: request, with: error) { [weak self] shouldRetry, timeDelay in
-                guard shouldRetry else { completeTask(session, task, error) ; return }
-
-                DispatchQueue.utility.after(timeDelay) { [weak self] in
-                    guard let strongSelf = self else { return }
-
-                    let retrySucceeded = strongSelf.sessionManager?.retry(request) ?? false
-
-                    if retrySucceeded, let task = request.task {
-                        strongSelf[task] = request
-                        return
-                    } else {
-                        completeTask(session, task, error)
-                    }
-                }
-            }
-        } else {
-            completeTask(session, task, error)
-        }
-    }
-}
-
-// MARK: - URLSessionDataDelegate
-
-extension SessionDelegate: URLSessionDataDelegate {
-    /// Tells the delegate that the data task received the initial reply (headers) from the server.
-    ///
-    /// - parameter session:           The session containing the data task that received an initial reply.
-    /// - parameter dataTask:          The data task that received an initial reply.
-    /// - parameter response:          A URL response object populated with headers.
-    /// - parameter completionHandler: A completion handler that your code calls to continue the transfer, passing a
-    ///                                constant to indicate whether the transfer should continue as a data task or
-    ///                                should become a download task.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didReceive response: URLResponse,
-        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
-    {
-        guard dataTaskDidReceiveResponseWithCompletion == nil else {
-            dataTaskDidReceiveResponseWithCompletion?(session, dataTask, response, completionHandler)
-            return
-        }
-
-        var disposition: URLSession.ResponseDisposition = .allow
-
-        if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
-            disposition = dataTaskDidReceiveResponse(session, dataTask, response)
-        }
-
-        completionHandler(disposition)
-    }
-
-    /// Tells the delegate that the data task was changed to a download task.
-    ///
-    /// - parameter session:      The session containing the task that was replaced by a download task.
-    /// - parameter dataTask:     The data task that was replaced by a download task.
-    /// - parameter downloadTask: The new download task that replaced the data task.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didBecome downloadTask: URLSessionDownloadTask)
-    {
-        if let dataTaskDidBecomeDownloadTask = dataTaskDidBecomeDownloadTask {
-            dataTaskDidBecomeDownloadTask(session, dataTask, downloadTask)
-        } else {
-            self[downloadTask]?.delegate = DownloadTaskDelegate(task: downloadTask)
-        }
-    }
-
-    /// Tells the delegate that the data task has received some of the expected data.
-    ///
-    /// - parameter session:  The session containing the data task that provided data.
-    /// - parameter dataTask: The data task that provided data.
-    /// - parameter data:     A data object containing the transferred data.
-    open func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
-        if let dataTaskDidReceiveData = dataTaskDidReceiveData {
-            dataTaskDidReceiveData(session, dataTask, data)
-        } else if let delegate = self[dataTask]?.delegate as? DataTaskDelegate {
-            delegate.urlSession(session, dataTask: dataTask, didReceive: data)
-        }
-    }
-
-    /// Asks the delegate whether the data (or upload) task should store the response in the cache.
-    ///
-    /// - parameter session:           The session containing the data (or upload) task.
-    /// - parameter dataTask:          The data (or upload) task.
-    /// - parameter proposedResponse:  The default caching behavior. This behavior is determined based on the current
-    ///                                caching policy and the values of certain received headers, such as the Pragma
-    ///                                and Cache-Control headers.
-    /// - parameter completionHandler: A block that your handler must call, providing either the original proposed
-    ///                                response, a modified version of that response, or NULL to prevent caching the
-    ///                                response. If your delegate implements this method, it must call this completion
-    ///                                handler; otherwise, your app leaks memory.
-    open func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        willCacheResponse proposedResponse: CachedURLResponse,
-        completionHandler: @escaping (CachedURLResponse?) -> Void)
-    {
-        guard dataTaskWillCacheResponseWithCompletion == nil else {
-            dataTaskWillCacheResponseWithCompletion?(session, dataTask, proposedResponse, completionHandler)
-            return
-        }
-
-        if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
-            completionHandler(dataTaskWillCacheResponse(session, dataTask, proposedResponse))
-        } else if let delegate = self[dataTask]?.delegate as? DataTaskDelegate {
-            delegate.urlSession(
-                session,
-                dataTask: dataTask,
-                willCacheResponse: proposedResponse,
-                completionHandler: completionHandler
-            )
-        } else {
-            completionHandler(proposedResponse)
-        }
-    }
-}
-
-// MARK: - URLSessionDownloadDelegate
-
-extension SessionDelegate: URLSessionDownloadDelegate {
-    /// Tells the delegate that a download task has finished downloading.
-    ///
-    /// - parameter session:      The session containing the download task that finished.
-    /// - parameter downloadTask: The download task that finished.
-    /// - parameter location:     A file URL for the temporary file. Because the file is temporary, you must either
-    ///                           open the file for reading or move it to a permanent location in your app’s sandbox
-    ///                           container directory before returning from this delegate method.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didFinishDownloadingTo location: URL)
-    {
-        if let downloadTaskDidFinishDownloadingToURL = downloadTaskDidFinishDownloadingToURL {
-            downloadTaskDidFinishDownloadingToURL(session, downloadTask, location)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(session, downloadTask: downloadTask, didFinishDownloadingTo: location)
-        }
-    }
-
-    /// Periodically informs the delegate about the download’s progress.
-    ///
-    /// - parameter session:                   The session containing the download task.
-    /// - parameter downloadTask:              The download task.
-    /// - parameter bytesWritten:              The number of bytes transferred since the last time this delegate
-    ///                                        method was called.
-    /// - parameter totalBytesWritten:         The total number of bytes transferred so far.
-    /// - parameter totalBytesExpectedToWrite: The expected length of the file, as provided by the Content-Length
-    ///                                        header. If this header was not provided, the value is
-    ///                                        `NSURLSessionTransferSizeUnknown`.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didWriteData bytesWritten: Int64,
-        totalBytesWritten: Int64,
-        totalBytesExpectedToWrite: Int64)
-    {
-        if let downloadTaskDidWriteData = downloadTaskDidWriteData {
-            downloadTaskDidWriteData(session, downloadTask, bytesWritten, totalBytesWritten, totalBytesExpectedToWrite)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(
-                session,
-                downloadTask: downloadTask,
-                didWriteData: bytesWritten,
-                totalBytesWritten: totalBytesWritten,
-                totalBytesExpectedToWrite: totalBytesExpectedToWrite
-            )
-        }
-    }
-
-    /// Tells the delegate that the download task has resumed downloading.
-    ///
-    /// - parameter session:            The session containing the download task that finished.
-    /// - parameter downloadTask:       The download task that resumed. See explanation in the discussion.
-    /// - parameter fileOffset:         If the file's cache policy or last modified date prevents reuse of the
-    ///                                 existing content, then this value is zero. Otherwise, this value is an
-    ///                                 integer representing the number of bytes on disk that do not need to be
-    ///                                 retrieved again.
-    /// - parameter expectedTotalBytes: The expected length of the file, as provided by the Content-Length header.
-    ///                                 If this header was not provided, the value is NSURLSessionTransferSizeUnknown.
-    open func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didResumeAtOffset fileOffset: Int64,
-        expectedTotalBytes: Int64)
-    {
-        if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
-            downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
-        } else if let delegate = self[downloadTask]?.delegate as? DownloadTaskDelegate {
-            delegate.urlSession(
-                session,
-                downloadTask: downloadTask,
-                didResumeAtOffset: fileOffset,
-                expectedTotalBytes: expectedTotalBytes
-            )
-        }
-    }
-}
-
-// MARK: - URLSessionStreamDelegate
-
-#if !os(watchOS)
-
-@available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-extension SessionDelegate: URLSessionStreamDelegate {
-    /// Tells the delegate that the read side of the connection has been closed.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, readClosedFor streamTask: URLSessionStreamTask) {
-        streamTaskReadClosed?(session, streamTask)
-    }
-
-    /// Tells the delegate that the write side of the connection has been closed.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, writeClosedFor streamTask: URLSessionStreamTask) {
-        streamTaskWriteClosed?(session, streamTask)
-    }
-
-    /// Tells the delegate that the system has determined that a better route to the host is available.
-    ///
-    /// - parameter session:    The session.
-    /// - parameter streamTask: The stream task.
-    open func urlSession(_ session: URLSession, betterRouteDiscoveredFor streamTask: URLSessionStreamTask) {
-        streamTaskBetterRouteDiscovered?(session, streamTask)
-    }
-
-    /// Tells the delegate that the stream task has been completed and provides the unopened stream objects.
-    ///
-    /// - parameter session:      The session.
-    /// - parameter streamTask:   The stream task.
-    /// - parameter inputStream:  The new input stream.
-    /// - parameter outputStream: The new output stream.
-    open func urlSession(
-        _ session: URLSession,
-        streamTask: URLSessionStreamTask,
-        didBecome inputStream: InputStream,
-        outputStream: OutputStream)
-    {
-        streamTaskDidBecomeInputAndOutputStreams?(session, streamTask, inputStream, outputStream)
-    }
-}
-
-#endif
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
deleted file mode 100644
index 493ce29cb4e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/SessionManager.swift
+++ /dev/null
@@ -1,899 +0,0 @@
-//
-//  SessionManager.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for creating and managing `Request` objects, as well as their underlying `NSURLSession`.
-open class SessionManager {
-
-    // MARK: - Helper Types
-
-    /// Defines whether the `MultipartFormData` encoding was successful and contains result of the encoding as
-    /// associated values.
-    ///
-    /// - Success: Represents a successful `MultipartFormData` encoding and contains the new `UploadRequest` along with
-    ///            streaming information.
-    /// - Failure: Used to represent a failure in the `MultipartFormData` encoding and also contains the encoding
-    ///            error.
-    public enum MultipartFormDataEncodingResult {
-        case success(request: UploadRequest, streamingFromDisk: Bool, streamFileURL: URL?)
-        case failure(Error)
-    }
-
-    // MARK: - Properties
-
-    /// A default instance of `SessionManager`, used by top-level Alamofire request methods, and suitable for use
-    /// directly for any ad hoc requests.
-    open static let `default`: SessionManager = {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = SessionManager.defaultHTTPHeaders
-
-        return SessionManager(configuration: configuration)
-    }()
-
-    /// Creates default values for the "Accept-Encoding", "Accept-Language" and "User-Agent" headers.
-    open static let defaultHTTPHeaders: HTTPHeaders = {
-        // Accept-Encoding HTTP Header; see https://tools.ietf.org/html/rfc7230#section-4.2.3
-        let acceptEncoding: String = "gzip;q=1.0, compress;q=0.5"
-
-        // Accept-Language HTTP Header; see https://tools.ietf.org/html/rfc7231#section-5.3.5
-    #if swift(>=4.0)
-        let acceptLanguage = Locale.preferredLanguages.prefix(6).enumerated().map { enumeratedLanguage in
-            let (index, languageCode) = enumeratedLanguage
-            let quality = 1.0 - (Double(index) * 0.1)
-            return "\(languageCode);q=\(quality)"
-        }.joined(separator: ", ")
-    #else
-        let acceptLanguage = Locale.preferredLanguages.prefix(6).enumerated().map { index, languageCode in
-            let quality = 1.0 - (Double(index) * 0.1)
-            return "\(languageCode);q=\(quality)"
-        }.joined(separator: ", ")
-    #endif
-
-        // User-Agent Header; see https://tools.ietf.org/html/rfc7231#section-5.5.3
-        // Example: `iOS Example/1.0 (org.alamofire.iOS-Example; build:1; iOS 10.0.0) Alamofire/4.0.0`
-        let userAgent: String = {
-            if let info = Bundle.main.infoDictionary {
-                let executable = info[kCFBundleExecutableKey as String] as? String ?? "Unknown"
-                let bundle = info[kCFBundleIdentifierKey as String] as? String ?? "Unknown"
-                let appVersion = info["CFBundleShortVersionString"] as? String ?? "Unknown"
-                let appBuild = info[kCFBundleVersionKey as String] as? String ?? "Unknown"
-
-                let osNameVersion: String = {
-                    let version = ProcessInfo.processInfo.operatingSystemVersion
-                    let versionString = "\(version.majorVersion).\(version.minorVersion).\(version.patchVersion)"
-
-                    let osName: String = {
-                        #if os(iOS)
-                            return "iOS"
-                        #elseif os(watchOS)
-                            return "watchOS"
-                        #elseif os(tvOS)
-                            return "tvOS"
-                        #elseif os(macOS)
-                            return "OS X"
-                        #elseif os(Linux)
-                            return "Linux"
-                        #else
-                            return "Unknown"
-                        #endif
-                    }()
-
-                    return "\(osName) \(versionString)"
-                }()
-
-                let alamofireVersion: String = {
-                    guard
-                        let afInfo = Bundle(for: SessionManager.self).infoDictionary,
-                        let build = afInfo["CFBundleShortVersionString"]
-                    else { return "Unknown" }
-
-                    return "Alamofire/\(build)"
-                }()
-
-                return "\(executable)/\(appVersion) (\(bundle); build:\(appBuild); \(osNameVersion)) \(alamofireVersion)"
-            }
-
-            return "Alamofire"
-        }()
-
-        return [
-            "Accept-Encoding": acceptEncoding,
-            "Accept-Language": acceptLanguage,
-            "User-Agent": userAgent
-        ]
-    }()
-
-    /// Default memory threshold used when encoding `MultipartFormData` in bytes.
-    open static let multipartFormDataEncodingMemoryThreshold: UInt64 = 10_000_000
-
-    /// The underlying session.
-    open let session: URLSession
-
-    /// The session delegate handling all the task and session delegate callbacks.
-    open let delegate: SessionDelegate
-
-    /// Whether to start requests immediately after being constructed. `true` by default.
-    open var startRequestsImmediately: Bool = true
-
-    /// The request adapter called each time a new request is created.
-    open var adapter: RequestAdapter?
-
-    /// The request retrier called each time a request encounters an error to determine whether to retry the request.
-    open var retrier: RequestRetrier? {
-        get { return delegate.retrier }
-        set { delegate.retrier = newValue }
-    }
-
-    /// The background completion handler closure provided by the UIApplicationDelegate
-    /// `application:handleEventsForBackgroundURLSession:completionHandler:` method. By setting the background
-    /// completion handler, the SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` closure implementation
-    /// will automatically call the handler.
-    ///
-    /// If you need to handle your own events before the handler is called, then you need to override the
-    /// SessionDelegate `sessionDidFinishEventsForBackgroundURLSession` and manually call the handler when finished.
-    ///
-    /// `nil` by default.
-    open var backgroundCompletionHandler: (() -> Void)?
-
-    let queue = DispatchQueue(label: "org.alamofire.session-manager." + UUID().uuidString)
-
-    // MARK: - Lifecycle
-
-    /// Creates an instance with the specified `configuration`, `delegate` and `serverTrustPolicyManager`.
-    ///
-    /// - parameter configuration:            The configuration used to construct the managed session.
-    ///                                       `URLSessionConfiguration.default` by default.
-    /// - parameter delegate:                 The delegate used when initializing the session. `SessionDelegate()` by
-    ///                                       default.
-    /// - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
-    ///                                       challenges. `nil` by default.
-    ///
-    /// - returns: The new `SessionManager` instance.
-    public init(
-        configuration: URLSessionConfiguration = URLSessionConfiguration.default,
-        delegate: SessionDelegate = SessionDelegate(),
-        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
-    {
-        self.delegate = delegate
-        self.session = URLSession(configuration: configuration, delegate: delegate, delegateQueue: nil)
-
-        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
-    }
-
-    /// Creates an instance with the specified `session`, `delegate` and `serverTrustPolicyManager`.
-    ///
-    /// - parameter session:                  The URL session.
-    /// - parameter delegate:                 The delegate of the URL session. Must equal the URL session's delegate.
-    /// - parameter serverTrustPolicyManager: The server trust policy manager to use for evaluating all server trust
-    ///                                       challenges. `nil` by default.
-    ///
-    /// - returns: The new `SessionManager` instance if the URL session's delegate matches; `nil` otherwise.
-    public init?(
-        session: URLSession,
-        delegate: SessionDelegate,
-        serverTrustPolicyManager: ServerTrustPolicyManager? = nil)
-    {
-        guard delegate === session.delegate else { return nil }
-
-        self.delegate = delegate
-        self.session = session
-
-        commonInit(serverTrustPolicyManager: serverTrustPolicyManager)
-    }
-
-    private func commonInit(serverTrustPolicyManager: ServerTrustPolicyManager?) {
-        session.serverTrustPolicyManager = serverTrustPolicyManager
-
-        delegate.sessionManager = self
-
-        delegate.sessionDidFinishEventsForBackgroundURLSession = { [weak self] session in
-            guard let strongSelf = self else { return }
-            DispatchQueue.main.async { strongSelf.backgroundCompletionHandler?() }
-        }
-    }
-
-    deinit {
-        session.invalidateAndCancel()
-    }
-
-    // MARK: - Data Request
-
-    /// Creates a `DataRequest` to retrieve the contents of the specified `url`, `method`, `parameters`, `encoding`
-    /// and `headers`.
-    ///
-    /// - parameter url:        The URL.
-    /// - parameter method:     The HTTP method. `.get` by default.
-    /// - parameter parameters: The parameters. `nil` by default.
-    /// - parameter encoding:   The parameter encoding. `URLEncoding.default` by default.
-    /// - parameter headers:    The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `DataRequest`.
-    @discardableResult
-    open func request(
-        _ url: URLConvertible,
-        method: HTTPMethod = .get,
-        parameters: Parameters? = nil,
-        encoding: ParameterEncoding = URLEncoding.default,
-        headers: HTTPHeaders? = nil)
-        -> DataRequest
-    {
-        var originalRequest: URLRequest?
-
-        do {
-            originalRequest = try URLRequest(url: url, method: method, headers: headers)
-            let encodedURLRequest = try encoding.encode(originalRequest!, with: parameters)
-            return request(encodedURLRequest)
-        } catch {
-            return request(originalRequest, failedWith: error)
-        }
-    }
-
-    /// Creates a `DataRequest` to retrieve the contents of a URL based on the specified `urlRequest`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `DataRequest`.
-    open func request(_ urlRequest: URLRequestConvertible) -> DataRequest {
-        var originalRequest: URLRequest?
-
-        do {
-            originalRequest = try urlRequest.asURLRequest()
-            let originalTask = DataRequest.Requestable(urlRequest: originalRequest!)
-
-            let task = try originalTask.task(session: session, adapter: adapter, queue: queue)
-            let request = DataRequest(session: session, requestTask: .data(originalTask, task))
-
-            delegate[task] = request
-
-            if startRequestsImmediately { request.resume() }
-
-            return request
-        } catch {
-            return request(originalRequest, failedWith: error)
-        }
-    }
-
-    // MARK: Private - Request Implementation
-
-    private func request(_ urlRequest: URLRequest?, failedWith error: Error) -> DataRequest {
-        var requestTask: Request.RequestTask = .data(nil, nil)
-
-        if let urlRequest = urlRequest {
-            let originalTask = DataRequest.Requestable(urlRequest: urlRequest)
-            requestTask = .data(originalTask, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-        let request = DataRequest(session: session, requestTask: requestTask, error: underlyingError)
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: request, with: underlyingError)
-        } else {
-            if startRequestsImmediately { request.resume() }
-        }
-
-        return request
-    }
-
-    // MARK: - Download Request
-
-    // MARK: URL Request
-
-    /// Creates a `DownloadRequest` to retrieve the contents the specified `url`, `method`, `parameters`, `encoding`,
-    /// `headers` and save them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter url:         The URL.
-    /// - parameter method:      The HTTP method. `.get` by default.
-    /// - parameter parameters:  The parameters. `nil` by default.
-    /// - parameter encoding:    The parameter encoding. `URLEncoding.default` by default.
-    /// - parameter headers:     The HTTP headers. `nil` by default.
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        _ url: URLConvertible,
-        method: HTTPMethod = .get,
-        parameters: Parameters? = nil,
-        encoding: ParameterEncoding = URLEncoding.default,
-        headers: HTTPHeaders? = nil,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            let encodedURLRequest = try encoding.encode(urlRequest, with: parameters)
-            return download(encodedURLRequest, to: destination)
-        } catch {
-            return download(nil, to: destination, failedWith: error)
-        }
-    }
-
-    /// Creates a `DownloadRequest` to retrieve the contents of a URL based on the specified `urlRequest` and save
-    /// them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter urlRequest:  The URL request
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        _ urlRequest: URLRequestConvertible,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return download(.request(urlRequest), to: destination)
-        } catch {
-            return download(nil, to: destination, failedWith: error)
-        }
-    }
-
-    // MARK: Resume Data
-
-    /// Creates a `DownloadRequest` from the `resumeData` produced from a previous request cancellation to retrieve
-    /// the contents of the original request and save them to the `destination`.
-    ///
-    /// If `destination` is not specified, the contents will remain in the temporary location determined by the
-    /// underlying URL session.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// On the latest release of all the Apple platforms (iOS 10, macOS 10.12, tvOS 10, watchOS 3), `resumeData` is broken
-    /// on background URL session configurations. There's an underlying bug in the `resumeData` generation logic where the
-    /// data is written incorrectly and will always fail to resume the download. For more information about the bug and
-    /// possible workarounds, please refer to the following Stack Overflow post:
-    ///
-    ///    - http://stackoverflow.com/a/39347461/1342462
-    ///
-    /// - parameter resumeData:  The resume data. This is an opaque data blob produced by `URLSessionDownloadTask`
-    ///                          when a task is cancelled. See `URLSession -downloadTask(withResumeData:)` for
-    ///                          additional information.
-    /// - parameter destination: The closure used to determine the destination of the downloaded file. `nil` by default.
-    ///
-    /// - returns: The created `DownloadRequest`.
-    @discardableResult
-    open func download(
-        resumingWith resumeData: Data,
-        to destination: DownloadRequest.DownloadFileDestination? = nil)
-        -> DownloadRequest
-    {
-        return download(.resumeData(resumeData), to: destination)
-    }
-
-    // MARK: Private - Download Implementation
-
-    private func download(
-        _ downloadable: DownloadRequest.Downloadable,
-        to destination: DownloadRequest.DownloadFileDestination?)
-        -> DownloadRequest
-    {
-        do {
-            let task = try downloadable.task(session: session, adapter: adapter, queue: queue)
-            let download = DownloadRequest(session: session, requestTask: .download(downloadable, task))
-
-            download.downloadDelegate.destination = destination
-
-            delegate[task] = download
-
-            if startRequestsImmediately { download.resume() }
-
-            return download
-        } catch {
-            return download(downloadable, to: destination, failedWith: error)
-        }
-    }
-
-    private func download(
-        _ downloadable: DownloadRequest.Downloadable?,
-        to destination: DownloadRequest.DownloadFileDestination?,
-        failedWith error: Error)
-        -> DownloadRequest
-    {
-        var downloadTask: Request.RequestTask = .download(nil, nil)
-
-        if let downloadable = downloadable {
-            downloadTask = .download(downloadable, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-
-        let download = DownloadRequest(session: session, requestTask: downloadTask, error: underlyingError)
-        download.downloadDelegate.destination = destination
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: download, with: underlyingError)
-        } else {
-            if startRequestsImmediately { download.resume() }
-        }
-
-        return download
-    }
-
-    // MARK: - Upload Request
-
-    // MARK: File
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `file`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter file:    The file to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ fileURL: URL,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(fileURL, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates a `UploadRequest` from the specified `urlRequest` for uploading the `file`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter file:       The file to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ fileURL: URL, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.file(fileURL, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: Data
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `data`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter data:    The data to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ data: Data,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(data, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates an `UploadRequest` from the specified `urlRequest` for uploading the `data`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter data:       The data to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ data: Data, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.data(data, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: InputStream
-
-    /// Creates an `UploadRequest` from the specified `url`, `method` and `headers` for uploading the `stream`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter stream:  The stream to upload.
-    /// - parameter url:     The URL.
-    /// - parameter method:  The HTTP method. `.post` by default.
-    /// - parameter headers: The HTTP headers. `nil` by default.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(
-        _ stream: InputStream,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil)
-        -> UploadRequest
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-            return upload(stream, with: urlRequest)
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    /// Creates an `UploadRequest` from the specified `urlRequest` for uploading the `stream`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter stream:     The stream to upload.
-    /// - parameter urlRequest: The URL request.
-    ///
-    /// - returns: The created `UploadRequest`.
-    @discardableResult
-    open func upload(_ stream: InputStream, with urlRequest: URLRequestConvertible) -> UploadRequest {
-        do {
-            let urlRequest = try urlRequest.asURLRequest()
-            return upload(.stream(stream, urlRequest))
-        } catch {
-            return upload(nil, failedWith: error)
-        }
-    }
-
-    // MARK: MultipartFormData
-
-    /// Encodes `multipartFormData` using `encodingMemoryThreshold` and calls `encodingCompletion` with new
-    /// `UploadRequest` using the `url`, `method` and `headers`.
-    ///
-    /// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-    /// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-    /// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-    /// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-    /// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-    /// used for larger payloads such as video content.
-    ///
-    /// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-    /// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-    /// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-    /// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-    /// technique was used.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-    /// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-    ///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-    /// - parameter url:                     The URL.
-    /// - parameter method:                  The HTTP method. `.post` by default.
-    /// - parameter headers:                 The HTTP headers. `nil` by default.
-    /// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-    open func upload(
-        multipartFormData: @escaping (MultipartFormData) -> Void,
-        usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-        to url: URLConvertible,
-        method: HTTPMethod = .post,
-        headers: HTTPHeaders? = nil,
-        encodingCompletion: ((MultipartFormDataEncodingResult) -> Void)?)
-    {
-        do {
-            let urlRequest = try URLRequest(url: url, method: method, headers: headers)
-
-            return upload(
-                multipartFormData: multipartFormData,
-                usingThreshold: encodingMemoryThreshold,
-                with: urlRequest,
-                encodingCompletion: encodingCompletion
-            )
-        } catch {
-            DispatchQueue.main.async { encodingCompletion?(.failure(error)) }
-        }
-    }
-
-    /// Encodes `multipartFormData` using `encodingMemoryThreshold` and calls `encodingCompletion` with new
-    /// `UploadRequest` using the `urlRequest`.
-    ///
-    /// It is important to understand the memory implications of uploading `MultipartFormData`. If the cummulative
-    /// payload is small, encoding the data in-memory and directly uploading to a server is the by far the most
-    /// efficient approach. However, if the payload is too large, encoding the data in-memory could cause your app to
-    /// be terminated. Larger payloads must first be written to disk using input and output streams to keep the memory
-    /// footprint low, then the data can be uploaded as a stream from the resulting file. Streaming from disk MUST be
-    /// used for larger payloads such as video content.
-    ///
-    /// The `encodingMemoryThreshold` parameter allows Alamofire to automatically determine whether to encode in-memory
-    /// or stream from disk. If the content length of the `MultipartFormData` is below the `encodingMemoryThreshold`,
-    /// encoding takes place in-memory. If the content length exceeds the threshold, the data is streamed to disk
-    /// during the encoding process. Then the result is uploaded as data or as a stream depending on which encoding
-    /// technique was used.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter multipartFormData:       The closure used to append body parts to the `MultipartFormData`.
-    /// - parameter encodingMemoryThreshold: The encoding memory threshold in bytes.
-    ///                                      `multipartFormDataEncodingMemoryThreshold` by default.
-    /// - parameter urlRequest:              The URL request.
-    /// - parameter encodingCompletion:      The closure called when the `MultipartFormData` encoding is complete.
-    open func upload(
-        multipartFormData: @escaping (MultipartFormData) -> Void,
-        usingThreshold encodingMemoryThreshold: UInt64 = SessionManager.multipartFormDataEncodingMemoryThreshold,
-        with urlRequest: URLRequestConvertible,
-        encodingCompletion: ((MultipartFormDataEncodingResult) -> Void)?)
-    {
-        DispatchQueue.global(qos: .utility).async {
-            let formData = MultipartFormData()
-            multipartFormData(formData)
-
-            var tempFileURL: URL?
-
-            do {
-                var urlRequestWithContentType = try urlRequest.asURLRequest()
-                urlRequestWithContentType.setValue(formData.contentType, forHTTPHeaderField: "Content-Type")
-
-                let isBackgroundSession = self.session.configuration.identifier != nil
-
-                if formData.contentLength < encodingMemoryThreshold && !isBackgroundSession {
-                    let data = try formData.encode()
-
-                    let encodingResult = MultipartFormDataEncodingResult.success(
-                        request: self.upload(data, with: urlRequestWithContentType),
-                        streamingFromDisk: false,
-                        streamFileURL: nil
-                    )
-
-                    DispatchQueue.main.async { encodingCompletion?(encodingResult) }
-                } else {
-                    let fileManager = FileManager.default
-                    let tempDirectoryURL = URL(fileURLWithPath: NSTemporaryDirectory())
-                    let directoryURL = tempDirectoryURL.appendingPathComponent("org.alamofire.manager/multipart.form.data")
-                    let fileName = UUID().uuidString
-                    let fileURL = directoryURL.appendingPathComponent(fileName)
-
-                    tempFileURL = fileURL
-
-                    var directoryError: Error?
-
-                    // Create directory inside serial queue to ensure two threads don't do this in parallel
-                    self.queue.sync {
-                        do {
-                            try fileManager.createDirectory(at: directoryURL, withIntermediateDirectories: true, attributes: nil)
-                        } catch {
-                            directoryError = error
-                        }
-                    }
-
-                    if let directoryError = directoryError { throw directoryError }
-
-                    try formData.writeEncodedData(to: fileURL)
-
-                    let upload = self.upload(fileURL, with: urlRequestWithContentType)
-
-                    // Cleanup the temp file once the upload is complete
-                    upload.delegate.queue.addOperation {
-                        do {
-                            try FileManager.default.removeItem(at: fileURL)
-                        } catch {
-                            // No-op
-                        }
-                    }
-
-                    DispatchQueue.main.async {
-                        let encodingResult = MultipartFormDataEncodingResult.success(
-                            request: upload,
-                            streamingFromDisk: true,
-                            streamFileURL: fileURL
-                        )
-
-                        encodingCompletion?(encodingResult)
-                    }
-                }
-            } catch {
-                // Cleanup the temp file in the event that the multipart form data encoding failed
-                if let tempFileURL = tempFileURL {
-                    do {
-                        try FileManager.default.removeItem(at: tempFileURL)
-                    } catch {
-                        // No-op
-                    }
-                }
-
-                DispatchQueue.main.async { encodingCompletion?(.failure(error)) }
-            }
-        }
-    }
-
-    // MARK: Private - Upload Implementation
-
-    private func upload(_ uploadable: UploadRequest.Uploadable) -> UploadRequest {
-        do {
-            let task = try uploadable.task(session: session, adapter: adapter, queue: queue)
-            let upload = UploadRequest(session: session, requestTask: .upload(uploadable, task))
-
-            if case let .stream(inputStream, _) = uploadable {
-                upload.delegate.taskNeedNewBodyStream = { _, _ in inputStream }
-            }
-
-            delegate[task] = upload
-
-            if startRequestsImmediately { upload.resume() }
-
-            return upload
-        } catch {
-            return upload(uploadable, failedWith: error)
-        }
-    }
-
-    private func upload(_ uploadable: UploadRequest.Uploadable?, failedWith error: Error) -> UploadRequest {
-        var uploadTask: Request.RequestTask = .upload(nil, nil)
-
-        if let uploadable = uploadable {
-            uploadTask = .upload(uploadable, nil)
-        }
-
-        let underlyingError = error.underlyingAdaptError ?? error
-        let upload = UploadRequest(session: session, requestTask: uploadTask, error: underlyingError)
-
-        if let retrier = retrier, error is AdaptError {
-            allowRetrier(retrier, toRetry: upload, with: underlyingError)
-        } else {
-            if startRequestsImmediately { upload.resume() }
-        }
-
-        return upload
-    }
-
-#if !os(watchOS)
-
-    // MARK: - Stream Request
-
-    // MARK: Hostname and Port
-
-    /// Creates a `StreamRequest` for bidirectional streaming using the `hostname` and `port`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter hostName: The hostname of the server to connect to.
-    /// - parameter port:     The port of the server to connect to.
-    ///
-    /// - returns: The created `StreamRequest`.
-    @discardableResult
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open func stream(withHostName hostName: String, port: Int) -> StreamRequest {
-        return stream(.stream(hostName: hostName, port: port))
-    }
-
-    // MARK: NetService
-
-    /// Creates a `StreamRequest` for bidirectional streaming using the `netService`.
-    ///
-    /// If `startRequestsImmediately` is `true`, the request will have `resume()` called before being returned.
-    ///
-    /// - parameter netService: The net service used to identify the endpoint.
-    ///
-    /// - returns: The created `StreamRequest`.
-    @discardableResult
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    open func stream(with netService: NetService) -> StreamRequest {
-        return stream(.netService(netService))
-    }
-
-    // MARK: Private - Stream Implementation
-
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    private func stream(_ streamable: StreamRequest.Streamable) -> StreamRequest {
-        do {
-            let task = try streamable.task(session: session, adapter: adapter, queue: queue)
-            let request = StreamRequest(session: session, requestTask: .stream(streamable, task))
-
-            delegate[task] = request
-
-            if startRequestsImmediately { request.resume() }
-
-            return request
-        } catch {
-            return stream(failedWith: error)
-        }
-    }
-
-    @available(iOS 9.0, macOS 10.11, tvOS 9.0, *)
-    private func stream(failedWith error: Error) -> StreamRequest {
-        let stream = StreamRequest(session: session, requestTask: .stream(nil, nil), error: error)
-        if startRequestsImmediately { stream.resume() }
-        return stream
-    }
-
-#endif
-
-    // MARK: - Internal - Retry Request
-
-    func retry(_ request: Request) -> Bool {
-        guard let originalTask = request.originalTask else { return false }
-
-        do {
-            let task = try originalTask.task(session: session, adapter: adapter, queue: queue)
-
-            request.delegate.task = task // resets all task delegate data
-
-            request.retryCount += 1
-            request.startTime = CFAbsoluteTimeGetCurrent()
-            request.endTime = nil
-
-            task.resume()
-
-            return true
-        } catch {
-            request.delegate.error = error.underlyingAdaptError ?? error
-            return false
-        }
-    }
-
-    private func allowRetrier(_ retrier: RequestRetrier, toRetry request: Request, with error: Error) {
-        DispatchQueue.utility.async { [weak self] in
-            guard let strongSelf = self else { return }
-
-            retrier.should(strongSelf, retry: request, with: error) { shouldRetry, timeDelay in
-                guard let strongSelf = self else { return }
-
-                guard shouldRetry else {
-                    if strongSelf.startRequestsImmediately { request.resume() }
-                    return
-                }
-
-                DispatchQueue.utility.after(timeDelay) {
-                    guard let strongSelf = self else { return }
-
-                    let retrySucceeded = strongSelf.retry(request)
-
-                    if retrySucceeded, let task = request.task {
-                        strongSelf.delegate[task] = request
-                    } else {
-                        if strongSelf.startRequestsImmediately { request.resume() }
-                    }
-                }
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
deleted file mode 100644
index d4fd2163c10..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/TaskDelegate.swift
+++ /dev/null
@@ -1,453 +0,0 @@
-//
-//  TaskDelegate.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// The task delegate is responsible for handling all delegate callbacks for the underlying task as well as
-/// executing all operations attached to the serial operation queue upon task completion.
-open class TaskDelegate: NSObject {
-
-    // MARK: Properties
-
-    /// The serial operation queue used to execute all operations after the task completes.
-    open let queue: OperationQueue
-
-    /// The data returned by the server.
-    public var data: Data? { return nil }
-
-    /// The error generated throughout the lifecyle of the task.
-    public var error: Error?
-
-    var task: URLSessionTask? {
-        didSet { reset() }
-    }
-
-    var initialResponseTime: CFAbsoluteTime?
-    var credential: URLCredential?
-    var metrics: AnyObject? // URLSessionTaskMetrics
-
-    // MARK: Lifecycle
-
-    init(task: URLSessionTask?) {
-        self.task = task
-
-        self.queue = {
-            let operationQueue = OperationQueue()
-
-            operationQueue.maxConcurrentOperationCount = 1
-            operationQueue.isSuspended = true
-            operationQueue.qualityOfService = .utility
-
-            return operationQueue
-        }()
-    }
-
-    func reset() {
-        error = nil
-        initialResponseTime = nil
-    }
-
-    // MARK: URLSessionTaskDelegate
-
-    var taskWillPerformHTTPRedirection: ((URLSession, URLSessionTask, HTTPURLResponse, URLRequest) -> URLRequest?)?
-    var taskDidReceiveChallenge: ((URLSession, URLSessionTask, URLAuthenticationChallenge) -> (URLSession.AuthChallengeDisposition, URLCredential?))?
-    var taskNeedNewBodyStream: ((URLSession, URLSessionTask) -> InputStream?)?
-    var taskDidCompleteWithError: ((URLSession, URLSessionTask, Error?) -> Void)?
-
-    @objc(URLSession:task:willPerformHTTPRedirection:newRequest:completionHandler:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        willPerformHTTPRedirection response: HTTPURLResponse,
-        newRequest request: URLRequest,
-        completionHandler: @escaping (URLRequest?) -> Void)
-    {
-        var redirectRequest: URLRequest? = request
-
-        if let taskWillPerformHTTPRedirection = taskWillPerformHTTPRedirection {
-            redirectRequest = taskWillPerformHTTPRedirection(session, task, response, request)
-        }
-
-        completionHandler(redirectRequest)
-    }
-
-    @objc(URLSession:task:didReceiveChallenge:completionHandler:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didReceive challenge: URLAuthenticationChallenge,
-        completionHandler: @escaping (URLSession.AuthChallengeDisposition, URLCredential?) -> Void)
-    {
-        var disposition: URLSession.AuthChallengeDisposition = .performDefaultHandling
-        var credential: URLCredential?
-
-        if let taskDidReceiveChallenge = taskDidReceiveChallenge {
-            (disposition, credential) = taskDidReceiveChallenge(session, task, challenge)
-        } else if challenge.protectionSpace.authenticationMethod == NSURLAuthenticationMethodServerTrust {
-            let host = challenge.protectionSpace.host
-
-            if
-                let serverTrustPolicy = session.serverTrustPolicyManager?.serverTrustPolicy(forHost: host),
-                let serverTrust = challenge.protectionSpace.serverTrust
-            {
-                if serverTrustPolicy.evaluate(serverTrust, forHost: host) {
-                    disposition = .useCredential
-                    credential = URLCredential(trust: serverTrust)
-                } else {
-                    disposition = .cancelAuthenticationChallenge
-                }
-            }
-        } else {
-            if challenge.previousFailureCount > 0 {
-                disposition = .rejectProtectionSpace
-            } else {
-                credential = self.credential ?? session.configuration.urlCredentialStorage?.defaultCredential(for: challenge.protectionSpace)
-
-                if credential != nil {
-                    disposition = .useCredential
-                }
-            }
-        }
-
-        completionHandler(disposition, credential)
-    }
-
-    @objc(URLSession:task:needNewBodyStream:)
-    func urlSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        needNewBodyStream completionHandler: @escaping (InputStream?) -> Void)
-    {
-        var bodyStream: InputStream?
-
-        if let taskNeedNewBodyStream = taskNeedNewBodyStream {
-            bodyStream = taskNeedNewBodyStream(session, task)
-        }
-
-        completionHandler(bodyStream)
-    }
-
-    @objc(URLSession:task:didCompleteWithError:)
-    func urlSession(_ session: URLSession, task: URLSessionTask, didCompleteWithError error: Error?) {
-        if let taskDidCompleteWithError = taskDidCompleteWithError {
-            taskDidCompleteWithError(session, task, error)
-        } else {
-            if let error = error {
-                if self.error == nil { self.error = error }
-
-                if
-                    let downloadDelegate = self as? DownloadTaskDelegate,
-                    let resumeData = (error as NSError).userInfo[NSURLSessionDownloadTaskResumeData] as? Data
-                {
-                    downloadDelegate.resumeData = resumeData
-                }
-            }
-
-            queue.isSuspended = false
-        }
-    }
-}
-
-// MARK: -
-
-class DataTaskDelegate: TaskDelegate, URLSessionDataDelegate {
-
-    // MARK: Properties
-
-    var dataTask: URLSessionDataTask { return task as! URLSessionDataTask }
-
-    override var data: Data? {
-        if dataStream != nil {
-            return nil
-        } else {
-            return mutableData
-        }
-    }
-
-    var progress: Progress
-    var progressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    var dataStream: ((_ data: Data) -> Void)?
-
-    private var totalBytesReceived: Int64 = 0
-    private var mutableData: Data
-
-    private var expectedContentLength: Int64?
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        mutableData = Data()
-        progress = Progress(totalUnitCount: 0)
-
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-
-        progress = Progress(totalUnitCount: 0)
-        totalBytesReceived = 0
-        mutableData = Data()
-        expectedContentLength = nil
-    }
-
-    // MARK: URLSessionDataDelegate
-
-    var dataTaskDidReceiveResponse: ((URLSession, URLSessionDataTask, URLResponse) -> URLSession.ResponseDisposition)?
-    var dataTaskDidBecomeDownloadTask: ((URLSession, URLSessionDataTask, URLSessionDownloadTask) -> Void)?
-    var dataTaskDidReceiveData: ((URLSession, URLSessionDataTask, Data) -> Void)?
-    var dataTaskWillCacheResponse: ((URLSession, URLSessionDataTask, CachedURLResponse) -> CachedURLResponse?)?
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didReceive response: URLResponse,
-        completionHandler: @escaping (URLSession.ResponseDisposition) -> Void)
-    {
-        var disposition: URLSession.ResponseDisposition = .allow
-
-        expectedContentLength = response.expectedContentLength
-
-        if let dataTaskDidReceiveResponse = dataTaskDidReceiveResponse {
-            disposition = dataTaskDidReceiveResponse(session, dataTask, response)
-        }
-
-        completionHandler(disposition)
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        didBecome downloadTask: URLSessionDownloadTask)
-    {
-        dataTaskDidBecomeDownloadTask?(session, dataTask, downloadTask)
-    }
-
-    func urlSession(_ session: URLSession, dataTask: URLSessionDataTask, didReceive data: Data) {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let dataTaskDidReceiveData = dataTaskDidReceiveData {
-            dataTaskDidReceiveData(session, dataTask, data)
-        } else {
-            if let dataStream = dataStream {
-                dataStream(data)
-            } else {
-                mutableData.append(data)
-            }
-
-            let bytesReceived = Int64(data.count)
-            totalBytesReceived += bytesReceived
-            let totalBytesExpected = dataTask.response?.expectedContentLength ?? NSURLSessionTransferSizeUnknown
-
-            progress.totalUnitCount = totalBytesExpected
-            progress.completedUnitCount = totalBytesReceived
-
-            if let progressHandler = progressHandler {
-                progressHandler.queue.async { progressHandler.closure(self.progress) }
-            }
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        dataTask: URLSessionDataTask,
-        willCacheResponse proposedResponse: CachedURLResponse,
-        completionHandler: @escaping (CachedURLResponse?) -> Void)
-    {
-        var cachedResponse: CachedURLResponse? = proposedResponse
-
-        if let dataTaskWillCacheResponse = dataTaskWillCacheResponse {
-            cachedResponse = dataTaskWillCacheResponse(session, dataTask, proposedResponse)
-        }
-
-        completionHandler(cachedResponse)
-    }
-}
-
-// MARK: -
-
-class DownloadTaskDelegate: TaskDelegate, URLSessionDownloadDelegate {
-
-    // MARK: Properties
-
-    var downloadTask: URLSessionDownloadTask { return task as! URLSessionDownloadTask }
-
-    var progress: Progress
-    var progressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    var resumeData: Data?
-    override var data: Data? { return resumeData }
-
-    var destination: DownloadRequest.DownloadFileDestination?
-
-    var temporaryURL: URL?
-    var destinationURL: URL?
-
-    var fileURL: URL? { return destination != nil ? destinationURL : temporaryURL }
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        progress = Progress(totalUnitCount: 0)
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-
-        progress = Progress(totalUnitCount: 0)
-        resumeData = nil
-    }
-
-    // MARK: URLSessionDownloadDelegate
-
-    var downloadTaskDidFinishDownloadingToURL: ((URLSession, URLSessionDownloadTask, URL) -> URL)?
-    var downloadTaskDidWriteData: ((URLSession, URLSessionDownloadTask, Int64, Int64, Int64) -> Void)?
-    var downloadTaskDidResumeAtOffset: ((URLSession, URLSessionDownloadTask, Int64, Int64) -> Void)?
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didFinishDownloadingTo location: URL)
-    {
-        temporaryURL = location
-
-        guard
-            let destination = destination,
-            let response = downloadTask.response as? HTTPURLResponse
-        else { return }
-
-        let result = destination(location, response)
-        let destinationURL = result.destinationURL
-        let options = result.options
-
-        self.destinationURL = destinationURL
-
-        do {
-            if options.contains(.removePreviousFile), FileManager.default.fileExists(atPath: destinationURL.path) {
-                try FileManager.default.removeItem(at: destinationURL)
-            }
-
-            if options.contains(.createIntermediateDirectories) {
-                let directory = destinationURL.deletingLastPathComponent()
-                try FileManager.default.createDirectory(at: directory, withIntermediateDirectories: true)
-            }
-
-            try FileManager.default.moveItem(at: location, to: destinationURL)
-        } catch {
-            self.error = error
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didWriteData bytesWritten: Int64,
-        totalBytesWritten: Int64,
-        totalBytesExpectedToWrite: Int64)
-    {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let downloadTaskDidWriteData = downloadTaskDidWriteData {
-            downloadTaskDidWriteData(
-                session,
-                downloadTask,
-                bytesWritten,
-                totalBytesWritten,
-                totalBytesExpectedToWrite
-            )
-        } else {
-            progress.totalUnitCount = totalBytesExpectedToWrite
-            progress.completedUnitCount = totalBytesWritten
-
-            if let progressHandler = progressHandler {
-                progressHandler.queue.async { progressHandler.closure(self.progress) }
-            }
-        }
-    }
-
-    func urlSession(
-        _ session: URLSession,
-        downloadTask: URLSessionDownloadTask,
-        didResumeAtOffset fileOffset: Int64,
-        expectedTotalBytes: Int64)
-    {
-        if let downloadTaskDidResumeAtOffset = downloadTaskDidResumeAtOffset {
-            downloadTaskDidResumeAtOffset(session, downloadTask, fileOffset, expectedTotalBytes)
-        } else {
-            progress.totalUnitCount = expectedTotalBytes
-            progress.completedUnitCount = fileOffset
-        }
-    }
-}
-
-// MARK: -
-
-class UploadTaskDelegate: DataTaskDelegate {
-
-    // MARK: Properties
-
-    var uploadTask: URLSessionUploadTask { return task as! URLSessionUploadTask }
-
-    var uploadProgress: Progress
-    var uploadProgressHandler: (closure: Request.ProgressHandler, queue: DispatchQueue)?
-
-    // MARK: Lifecycle
-
-    override init(task: URLSessionTask?) {
-        uploadProgress = Progress(totalUnitCount: 0)
-        super.init(task: task)
-    }
-
-    override func reset() {
-        super.reset()
-        uploadProgress = Progress(totalUnitCount: 0)
-    }
-
-    // MARK: URLSessionTaskDelegate
-
-    var taskDidSendBodyData: ((URLSession, URLSessionTask, Int64, Int64, Int64) -> Void)?
-
-    func URLSession(
-        _ session: URLSession,
-        task: URLSessionTask,
-        didSendBodyData bytesSent: Int64,
-        totalBytesSent: Int64,
-        totalBytesExpectedToSend: Int64)
-    {
-        if initialResponseTime == nil { initialResponseTime = CFAbsoluteTimeGetCurrent() }
-
-        if let taskDidSendBodyData = taskDidSendBodyData {
-            taskDidSendBodyData(session, task, bytesSent, totalBytesSent, totalBytesExpectedToSend)
-        } else {
-            uploadProgress.totalUnitCount = totalBytesExpectedToSend
-            uploadProgress.completedUnitCount = totalBytesSent
-
-            if let uploadProgressHandler = uploadProgressHandler {
-                uploadProgressHandler.queue.async { uploadProgressHandler.closure(self.uploadProgress) }
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
deleted file mode 100644
index 1440989d5f1..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Timeline.swift
+++ /dev/null
@@ -1,136 +0,0 @@
-//
-//  Timeline.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-/// Responsible for computing the timing metrics for the complete lifecycle of a `Request`.
-public struct Timeline {
-    /// The time the request was initialized.
-    public let requestStartTime: CFAbsoluteTime
-
-    /// The time the first bytes were received from or sent to the server.
-    public let initialResponseTime: CFAbsoluteTime
-
-    /// The time when the request was completed.
-    public let requestCompletedTime: CFAbsoluteTime
-
-    /// The time when the response serialization was completed.
-    public let serializationCompletedTime: CFAbsoluteTime
-
-    /// The time interval in seconds from the time the request started to the initial response from the server.
-    public let latency: TimeInterval
-
-    /// The time interval in seconds from the time the request started to the time the request completed.
-    public let requestDuration: TimeInterval
-
-    /// The time interval in seconds from the time the request completed to the time response serialization completed.
-    public let serializationDuration: TimeInterval
-
-    /// The time interval in seconds from the time the request started to the time response serialization completed.
-    public let totalDuration: TimeInterval
-
-    /// Creates a new `Timeline` instance with the specified request times.
-    ///
-    /// - parameter requestStartTime:           The time the request was initialized. Defaults to `0.0`.
-    /// - parameter initialResponseTime:        The time the first bytes were received from or sent to the server.
-    ///                                         Defaults to `0.0`.
-    /// - parameter requestCompletedTime:       The time when the request was completed. Defaults to `0.0`.
-    /// - parameter serializationCompletedTime: The time when the response serialization was completed. Defaults
-    ///                                         to `0.0`.
-    ///
-    /// - returns: The new `Timeline` instance.
-    public init(
-        requestStartTime: CFAbsoluteTime = 0.0,
-        initialResponseTime: CFAbsoluteTime = 0.0,
-        requestCompletedTime: CFAbsoluteTime = 0.0,
-        serializationCompletedTime: CFAbsoluteTime = 0.0)
-    {
-        self.requestStartTime = requestStartTime
-        self.initialResponseTime = initialResponseTime
-        self.requestCompletedTime = requestCompletedTime
-        self.serializationCompletedTime = serializationCompletedTime
-
-        self.latency = initialResponseTime - requestStartTime
-        self.requestDuration = requestCompletedTime - requestStartTime
-        self.serializationDuration = serializationCompletedTime - requestCompletedTime
-        self.totalDuration = serializationCompletedTime - requestStartTime
-    }
-}
-
-// MARK: - CustomStringConvertible
-
-extension Timeline: CustomStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the latency, the request
-    /// duration and the total duration.
-    public var description: String {
-        let latency = String(format: "%.3f", self.latency)
-        let requestDuration = String(format: "%.3f", self.requestDuration)
-        let serializationDuration = String(format: "%.3f", self.serializationDuration)
-        let totalDuration = String(format: "%.3f", self.totalDuration)
-
-        // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is
-        // fixed, we should move back to string interpolation by reverting commit 7d4a43b1.
-        let timings = [
-            "\"Latency\": " + latency + " secs",
-            "\"Request Duration\": " + requestDuration + " secs",
-            "\"Serialization Duration\": " + serializationDuration + " secs",
-            "\"Total Duration\": " + totalDuration + " secs"
-        ]
-
-        return "Timeline: { " + timings.joined(separator: ", ") + " }"
-    }
-}
-
-// MARK: - CustomDebugStringConvertible
-
-extension Timeline: CustomDebugStringConvertible {
-    /// The textual representation used when written to an output stream, which includes the request start time, the
-    /// initial response time, the request completed time, the serialization completed time, the latency, the request
-    /// duration and the total duration.
-    public var debugDescription: String {
-        let requestStartTime = String(format: "%.3f", self.requestStartTime)
-        let initialResponseTime = String(format: "%.3f", self.initialResponseTime)
-        let requestCompletedTime = String(format: "%.3f", self.requestCompletedTime)
-        let serializationCompletedTime = String(format: "%.3f", self.serializationCompletedTime)
-        let latency = String(format: "%.3f", self.latency)
-        let requestDuration = String(format: "%.3f", self.requestDuration)
-        let serializationDuration = String(format: "%.3f", self.serializationDuration)
-        let totalDuration = String(format: "%.3f", self.totalDuration)
-
-        // NOTE: Had to move to string concatenation due to memory leak filed as rdar://26761490. Once memory leak is
-        // fixed, we should move back to string interpolation by reverting commit 7d4a43b1.
-        let timings = [
-            "\"Request Start Time\": " + requestStartTime,
-            "\"Initial Response Time\": " + initialResponseTime,
-            "\"Request Completed Time\": " + requestCompletedTime,
-            "\"Serialization Completed Time\": " + serializationCompletedTime,
-            "\"Latency\": " + latency + " secs",
-            "\"Request Duration\": " + requestDuration + " secs",
-            "\"Serialization Duration\": " + serializationDuration + " secs",
-            "\"Total Duration\": " + totalDuration + " secs"
-        ]
-
-        return "Timeline: { " + timings.joined(separator: ", ") + " }"
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
deleted file mode 100644
index c405d02af10..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Alamofire/Source/Validation.swift
+++ /dev/null
@@ -1,309 +0,0 @@
-//
-//  Validation.swift
-//
-//  Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-//
-//  Permission is hereby granted, free of charge, to any person obtaining a copy
-//  of this software and associated documentation files (the "Software"), to deal
-//  in the Software without restriction, including without limitation the rights
-//  to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-//  copies of the Software, and to permit persons to whom the Software is
-//  furnished to do so, subject to the following conditions:
-//
-//  The above copyright notice and this permission notice shall be included in
-//  all copies or substantial portions of the Software.
-//
-//  THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-//  IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-//  FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-//  AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-//  LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-//  OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-//  THE SOFTWARE.
-//
-
-import Foundation
-
-extension Request {
-
-    // MARK: Helper Types
-
-    fileprivate typealias ErrorReason = AFError.ResponseValidationFailureReason
-
-    /// Used to represent whether validation was successful or encountered an error resulting in a failure.
-    ///
-    /// - success: The validation was successful.
-    /// - failure: The validation failed encountering the provided error.
-    public enum ValidationResult {
-        case success
-        case failure(Error)
-    }
-
-    fileprivate struct MIMEType {
-        let type: String
-        let subtype: String
-
-        var isWildcard: Bool { return type == "*" && subtype == "*" }
-
-        init?(_ string: String) {
-            let components: [String] = {
-                let stripped = string.trimmingCharacters(in: .whitespacesAndNewlines)
-                let split = stripped.substring(to: stripped.range(of: ";")?.lowerBound ?? stripped.endIndex)
-                return split.components(separatedBy: "/")
-            }()
-
-            if let type = components.first, let subtype = components.last {
-                self.type = type
-                self.subtype = subtype
-            } else {
-                return nil
-            }
-        }
-
-        func matches(_ mime: MIMEType) -> Bool {
-            switch (type, subtype) {
-            case (mime.type, mime.subtype), (mime.type, "*"), ("*", mime.subtype), ("*", "*"):
-                return true
-            default:
-                return false
-            }
-        }
-    }
-
-    // MARK: Properties
-
-    fileprivate var acceptableStatusCodes: [Int] { return Array(200..<300) }
-
-    fileprivate var acceptableContentTypes: [String] {
-        if let accept = request?.value(forHTTPHeaderField: "Accept") {
-            return accept.components(separatedBy: ",")
-        }
-
-        return ["*/*"]
-    }
-
-    // MARK: Status Code
-
-    fileprivate func validate<S: Sequence>(
-        statusCode acceptableStatusCodes: S,
-        response: HTTPURLResponse)
-        -> ValidationResult
-        where S.Iterator.Element == Int
-    {
-        if acceptableStatusCodes.contains(response.statusCode) {
-            return .success
-        } else {
-            let reason: ErrorReason = .unacceptableStatusCode(code: response.statusCode)
-            return .failure(AFError.responseValidationFailed(reason: reason))
-        }
-    }
-
-    // MARK: Content Type
-
-    fileprivate func validate<S: Sequence>(
-        contentType acceptableContentTypes: S,
-        response: HTTPURLResponse,
-        data: Data?)
-        -> ValidationResult
-        where S.Iterator.Element == String
-    {
-        guard let data = data, data.count > 0 else { return .success }
-
-        guard
-            let responseContentType = response.mimeType,
-            let responseMIMEType = MIMEType(responseContentType)
-        else {
-            for contentType in acceptableContentTypes {
-                if let mimeType = MIMEType(contentType), mimeType.isWildcard {
-                    return .success
-                }
-            }
-
-            let error: AFError = {
-                let reason: ErrorReason = .missingContentType(acceptableContentTypes: Array(acceptableContentTypes))
-                return AFError.responseValidationFailed(reason: reason)
-            }()
-
-            return .failure(error)
-        }
-
-        for contentType in acceptableContentTypes {
-            if let acceptableMIMEType = MIMEType(contentType), acceptableMIMEType.matches(responseMIMEType) {
-                return .success
-            }
-        }
-
-        let error: AFError = {
-            let reason: ErrorReason = .unacceptableContentType(
-                acceptableContentTypes: Array(acceptableContentTypes),
-                responseContentType: responseContentType
-            )
-
-            return AFError.responseValidationFailed(reason: reason)
-        }()
-
-        return .failure(error)
-    }
-}
-
-// MARK: -
-
-extension DataRequest {
-    /// A closure used to validate a request that takes a URL request, a URL response and data, and returns whether the
-    /// request was valid.
-    public typealias Validation = (URLRequest?, HTTPURLResponse, Data?) -> ValidationResult
-
-    /// Validates the request, using the specified closure.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter validation: A closure to validate the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate(_ validation: @escaping Validation) -> Self {
-        let validationExecution: () -> Void = { [unowned self] in
-            if
-                let response = self.response,
-                self.delegate.error == nil,
-                case let .failure(error) = validation(self.request, response, self.delegate.data)
-            {
-                self.delegate.error = error
-            }
-        }
-
-        validations.append(validationExecution)
-
-        return self
-    }
-
-    /// Validates that the response has a status code in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter range: The range of acceptable status codes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
-        return validate { [unowned self] _, response, _ in
-            return self.validate(statusCode: acceptableStatusCodes, response: response)
-        }
-    }
-
-    /// Validates that the response has a content type in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(contentType acceptableContentTypes: S) -> Self where S.Iterator.Element == String {
-        return validate { [unowned self] _, response, data in
-            return self.validate(contentType: acceptableContentTypes, response: response, data: data)
-        }
-    }
-
-    /// Validates that the response has a status code in the default acceptable range of 200...299, and that the content
-    /// type matches any specified in the Accept HTTP header field.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate() -> Self {
-        return validate(statusCode: self.acceptableStatusCodes).validate(contentType: self.acceptableContentTypes)
-    }
-}
-
-// MARK: -
-
-extension DownloadRequest {
-    /// A closure used to validate a request that takes a URL request, a URL response, a temporary URL and a
-    /// destination URL, and returns whether the request was valid.
-    public typealias Validation = (
-        _ request: URLRequest?,
-        _ response: HTTPURLResponse,
-        _ temporaryURL: URL?,
-        _ destinationURL: URL?)
-        -> ValidationResult
-
-    /// Validates the request, using the specified closure.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter validation: A closure to validate the request.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate(_ validation: @escaping Validation) -> Self {
-        let validationExecution: () -> Void = { [unowned self] in
-            let request = self.request
-            let temporaryURL = self.downloadDelegate.temporaryURL
-            let destinationURL = self.downloadDelegate.destinationURL
-
-            if
-                let response = self.response,
-                self.delegate.error == nil,
-                case let .failure(error) = validation(request, response, temporaryURL, destinationURL)
-            {
-                self.delegate.error = error
-            }
-        }
-
-        validations.append(validationExecution)
-
-        return self
-    }
-
-    /// Validates that the response has a status code in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter range: The range of acceptable status codes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(statusCode acceptableStatusCodes: S) -> Self where S.Iterator.Element == Int {
-        return validate { [unowned self] _, response, _, _ in
-            return self.validate(statusCode: acceptableStatusCodes, response: response)
-        }
-    }
-
-    /// Validates that the response has a content type in the specified sequence.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - parameter contentType: The acceptable content types, which may specify wildcard types and/or subtypes.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate<S: Sequence>(contentType acceptableContentTypes: S) -> Self where S.Iterator.Element == String {
-        return validate { [unowned self] _, response, _, _ in
-            let fileURL = self.downloadDelegate.fileURL
-
-            guard let validFileURL = fileURL else {
-                return .failure(AFError.responseValidationFailed(reason: .dataFileNil))
-            }
-
-            do {
-                let data = try Data(contentsOf: validFileURL)
-                return self.validate(contentType: acceptableContentTypes, response: response, data: data)
-            } catch {
-                return .failure(AFError.responseValidationFailed(reason: .dataFileReadFailed(at: validFileURL)))
-            }
-        }
-    }
-
-    /// Validates that the response has a status code in the default acceptable range of 200...299, and that the content
-    /// type matches any specified in the Accept HTTP header field.
-    ///
-    /// If validation fails, subsequent calls to response handlers will have an associated error.
-    ///
-    /// - returns: The request.
-    @discardableResult
-    public func validate() -> Self {
-        return validate(statusCode: self.acceptableStatusCodes).validate(contentType: self.acceptableContentTypes)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json
deleted file mode 100644
index ffa5ba95584..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Local Podspecs/PetstoreClient.podspec.json	
+++ /dev/null
@@ -1,26 +0,0 @@
-{
-  "name": "PetstoreClient",
-  "platforms": {
-    "ios": "9.0",
-    "osx": "10.11",
-    "tvos": "9.0"
-  },
-  "version": "0.0.1",
-  "source": {
-    "git": "git@github.com:openapitools/openapi-generator.git",
-    "tag": "v1.0.0"
-  },
-  "authors": "",
-  "license": "Proprietary",
-  "homepage": "https://github.com/openapitools/openapi-generator",
-  "summary": "PetstoreClient",
-  "source_files": "PetstoreClient/Classes/**/*.swift",
-  "dependencies": {
-    "RxSwift": [
-      "3.6.1"
-    ],
-    "Alamofire": [
-      "~> 4.5.0"
-    ]
-  }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Manifest.lock b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Manifest.lock
deleted file mode 100644
index e999e49e506..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Manifest.lock
+++ /dev/null
@@ -1,27 +0,0 @@
-PODS:
-  - Alamofire (4.5.0)
-  - PetstoreClient (0.0.1):
-    - Alamofire (~> 4.5.0)
-    - RxSwift (= 3.6.1)
-  - RxSwift (3.6.1)
-
-DEPENDENCIES:
-  - PetstoreClient (from `../`)
-
-SPEC REPOS:
-  https://github.com/cocoapods/specs.git:
-    - Alamofire
-    - RxSwift
-
-EXTERNAL SOURCES:
-  PetstoreClient:
-    :path: "../"
-
-SPEC CHECKSUMS:
-  Alamofire: f28cdffd29de33a7bfa022cbd63ae95a27fae140
-  PetstoreClient: 8c4d20911bfd9f88418b64c1f141c8a47ab85e60
-  RxSwift: f9de85ea20cd2f7716ee5409fc13523dc638e4e4
-
-PODFILE CHECKSUM: 417049e9ed0e4680602b34d838294778389bd418
-
-COCOAPODS: 1.5.3
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
deleted file mode 100644
index 5b49e36396a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Pods.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,1966 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		00DF0F7239A239F6EF9E06E68864C12C /* Concat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8872875BE1C248970BE0C0E6A4F54B2E /* Concat.swift */; };
-		02FD9B892BE5971F34F1F33B48259152 /* DisposeBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = A2454112DD5AEE5186A4664E9A126BED /* DisposeBase.swift */; };
-		0701E374B489C0ABFE501E3E203BA4D2 /* AnonymousInvocable.swift in Sources */ = {isa = PBXBuildFile; fileRef = D68F6F9541A2714DA6125FB3E9BB9727 /* AnonymousInvocable.swift */; };
-		07646291B1A70D36C21FA0B73C43A86C /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C7B6B4C3E8F676A457C5FF16CEE7682 /* Foundation.framework */; };
-		078B39669CAE5CAA0B4F881A1D953831 /* Name.swift in Sources */ = {isa = PBXBuildFile; fileRef = D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */; };
-		0A53E3607BFAD28B3BDBEBD4060AF4AD /* ConnectableObservableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 95ABE9C8F7D6635646F6C100B2B637B5 /* ConnectableObservableType.swift */; };
-		0D59BBE92D161E0C5D65B3D72E32B445 /* ObservableConvertibleType.swift in Sources */ = {isa = PBXBuildFile; fileRef = A7ABE12F4F77E42B352D072ACD9946AC /* ObservableConvertibleType.swift */; };
-		0DA16962ECAE07F74660E01B8596405D /* Take.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48AC41077AE8968D02C47F5F8FEB91EF /* Take.swift */; };
-		0FEF1C28FD87288A71D6CB36C7E834F8 /* PrimitiveSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 281B6953B58178760E6D8AE7FDA3CCFB /* PrimitiveSequence.swift */; };
-		10EB23E9ECC4B33E16933BB1EA560B6A /* Timeline.swift in Sources */ = {isa = PBXBuildFile; fileRef = 31EE482CF21D19C54B33E17B7A4E43F3 /* Timeline.swift */; };
-		11BF530A4D0362FF7255073E1A86FCC4 /* ImmediateScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 295257ADE79CBF71EDDB457361B2E80E /* ImmediateScheduler.swift */; };
-		13CBC288264AB845A079CF354481902F /* EnumArrays.swift in Sources */ = {isa = PBXBuildFile; fileRef = BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */; };
-		13E8EF2C11EACF9F667BFA33DB4BE1F6 /* SynchronizedDisposeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = D71252188831E0A81462FE21E33B84CE /* SynchronizedDisposeType.swift */; };
-		18EA6C3EB4F28FABE7EAC20145C371EF /* NopDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 184A223909D425D6876C780724E7B2DA /* NopDisposable.swift */; };
-		1A39147EC345B333F96135FEAA1EA162 /* Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79E124948BC6C0A5B04B02009B037987 /* Zip+arity.swift */; };
-		1B9EDEDC964E6B08F78920B4F4B9DB84 /* Alamofire-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 5C879BF6973F64B5E2A20498F1411169 /* Alamofire-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		1C9DFCC78A774BFC20D854D2876F1A55 /* SubjectType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 139BFBACE8A3AD8B5733AD2B94C930C3 /* SubjectType.swift */; };
-		1CDF8860135719D9B67BDC6453A1DB07 /* InfiniteSequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6D9C76F23B7D6E1FAEFE7F3EA079003 /* InfiniteSequence.swift */; };
-		1CEB283CB5C6161FD3079564C416F582 /* OuterComposite.swift in Sources */ = {isa = PBXBuildFile; fileRef = 59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */; };
-		1F0573234DBE02637E714764DD6FF78E /* ObserverType.swift in Sources */ = {isa = PBXBuildFile; fileRef = F5101A83B512E74F49467146FE96350A /* ObserverType.swift */; };
-		1F51E8FA18E73CDD1753B47BACDE8B56 /* SerialDispatchQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = D2F8A7D1F3AA17C12A89128D163EFDF5 /* SerialDispatchQueueScheduler.swift */; };
-		206834A2D53A2C0E3ECE945C768B8EB8 /* Pet.swift in Sources */ = {isa = PBXBuildFile; fileRef = 14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */; };
-		236550E146C48E5FCAB68D8C6368D92B /* ReadOnlyFirst.swift in Sources */ = {isa = PBXBuildFile; fileRef = B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */; };
-		265B9DA59211B0B5FFF987E408A0AA9C /* Pods-SwaggerClientTests-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		273CC6F689134C1BFA35BBA3F024FA1A /* SchedulerServices+Emulation.swift in Sources */ = {isa = PBXBuildFile; fileRef = CD087C1A176984F7F186AFBC444C6DF9 /* SchedulerServices+Emulation.swift */; };
-		27E65DDC557373A5BCA8ECE76305B022 /* AsyncLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 149DE31C5C5A1FF69EA3FE40F9791130 /* AsyncLock.swift */; };
-		281AFAEA94C9F83ACC6296BBD7A0D2E4 /* Pods-SwaggerClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		28295BE414CF6415C641D10EEF4E144C /* Filter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 949911686773B44C613A58E025C223BA /* Filter.swift */; };
-		288CF8B3281E9A8E196EAD966DCCCF3F /* ConcurrentMainScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = ACE351254D9CADACBCE214EB425A2B43 /* ConcurrentMainScheduler.swift */; };
-		2A9EC7B938356D259F37E64466AED071 /* DisposeBag.swift in Sources */ = {isa = PBXBuildFile; fileRef = DF09AC4A7016BDFDF5D4642172938A90 /* DisposeBag.swift */; };
-		2AE82A559BEB897CB1C17DC3F8A2D67D /* AsSingle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 683556396167E2BC804256F1F9B46794 /* AsSingle.swift */; };
-		2B22029126CD2DB4CE15A3EE200431CD /* Debounce.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0408C4724C6E604F4F4EEE2856302250 /* Debounce.swift */; };
-		2BCF537D3707AE25F5CE467E30423CCE /* FormatTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */; };
-		2C684BE18659784FA9D5C18B8E2F56C4 /* BehaviorSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6D7F52145D6986DDC613D7FB6DF4F3D /* BehaviorSubject.swift */; };
-		2CB87E8301D75048872CC80AF0F39191 /* EnumTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */; };
-		2E35FF49479CD266D11B201C4F425D88 /* ReplaySubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = B6DF9E242A80EC5685B3D5731E9176BB /* ReplaySubject.swift */; };
-		2E4E7221D236CDDCA9936FF409668157 /* ClassModel.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */; };
-		2E6C2FC6A7E76480C639AC51CC0894C2 /* Do.swift in Sources */ = {isa = PBXBuildFile; fileRef = 535CA1EA937AD886FAD4EC1309B331DD /* Do.swift */; };
-		3016477B301E7E1F2237A46F4D040562 /* Sink.swift in Sources */ = {isa = PBXBuildFile; fileRef = 82310F12B492F60A13F62CF52702755C /* Sink.swift */; };
-		30DDFCEDA0032F625237387B44E122D3 /* StoreAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */; };
-		30EE6C005A481E34141B3B582370CB49 /* SubscriptionDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4BCB5AA92F6DEDE2AC3F479C60C7212C /* SubscriptionDisposable.swift */; };
-		31886B413F1EE6BD11B1720F62E09EB8 /* Queue.swift in Sources */ = {isa = PBXBuildFile; fileRef = CA911BA97CC3081E2363ED0B4580209F /* Queue.swift */; };
-		32FACB02BE3AE41039792DB80AC20FB1 /* Map.swift in Sources */ = {isa = PBXBuildFile; fileRef = 888D25A758FE1CF355E7A48F6D418E36 /* Map.swift */; };
-		354836898B12CDD0AC0F178607EC60F3 /* Amb.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5E28232337E7C27CF55A409886C712B8 /* Amb.swift */; };
-		35F53DFB2143E85E802BD2598B01FD42 /* ObserverBase.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2265FC97FA4169ED188CF2E34F23DACF /* ObserverBase.swift */; };
-		3626B94094672CB1C9DEA32B9F9502E1 /* TaskDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8A12A7ADC5FD1C8C9DFC3B65FF135191 /* TaskDelegate.swift */; };
-		36C597BA9BB747DA51B85ED0CC4C5380 /* Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */; };
-		378DF713B6DCEE98B1121E1C82AA528A /* Catch.swift in Sources */ = {isa = PBXBuildFile; fileRef = B47AE62054C888B75C48419EBF7EF1A7 /* Catch.swift */; };
-		3B009A721464098ABBAB99943C15E8E3 /* ObservableType+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B17A77CECF7B4996B33CC78A683AFEC /* ObservableType+Extensions.swift */; };
-		3B5E8842032A0EC5BB4BD5F99E5C633F /* Merge.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D19299E0C5CBA41113508BC57DA9395 /* Merge.swift */; };
-		3B78236E5721DF44006119A96CB2297A /* Multicast.swift in Sources */ = {isa = PBXBuildFile; fileRef = DD55BB66B76757868058C24E16A79BEC /* Multicast.swift */; };
-		3CFC78E889B5B01E41D07FA8B7D3F20F /* ArrayTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */; };
-		3DD6224508DDC3BBF8A184D20DBD6318 /* InvocableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 20E32B939BDA9B05C26957643F21B95E /* InvocableType.swift */; };
-		40BE340D2D8DBAC30CCB5647E07DF9B1 /* ImmediateSchedulerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = BF980894DB7449C53D44D590F6197C88 /* ImmediateSchedulerType.swift */; };
-		42D3883B0296558083DFBE5375552905 /* Event.swift in Sources */ = {isa = PBXBuildFile; fileRef = EA4A73DFC5EC70ADEC8DB5A65A07196B /* Event.swift */; };
-		45B2FF4DAF9FBAB97D814EC9B3D6E1A8 /* Using.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92BD912F8B8ED40C37699519197E61C6 /* Using.swift */; };
-		469B15AD1F6DA1B495CC2AA54B5D78B6 /* String+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = D3EE8437BC7F2156A710F1EEA545EBC2 /* String+Rx.swift */; };
-		490FC3C33AC45753F2B8295D46C6C93A /* SingleAssignmentDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0132F153B6C6244F3078E6A5F7D98CA9 /* SingleAssignmentDisposable.swift */; };
-		4C85A4DF1FE85A71264C1235490B4CB8 /* EnumClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */; };
-		4D4420A3806244A28021BAC382499B98 /* PetAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */; };
-		4EBFA027A211DFDD7736AD31C9B28BB6 /* Range.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC76461A77281664DFA98D53498ECD13 /* Range.swift */; };
-		4EC9D9884B0E59836149DE74E86ED32C /* Configuration.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */; };
-		52944493AAD6238E0C4D4473C09F9697 /* AnimalFarm.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */; };
-		5387216E723A3C68E851CA15573CDD71 /* Request.swift in Sources */ = {isa = PBXBuildFile; fileRef = 64E2FC7F6A4850DCB9BBCB9D83E40C34 /* Request.swift */; };
-		53CE54C6169C04A9EC42AEFA26DBF4E7 /* AsyncSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4F1000F4487C2C0150A606F30D92AFAF /* AsyncSubject.swift */; };
-		54A23EABA7C6CA3C2761E55C832212CD /* RecursiveLock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 486092B50FE0BFF30D503E7DE4A5E634 /* RecursiveLock.swift */; };
-		559E3223631967618E57D02F9A692AAC /* Delay.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A83AF1902D8C6A7D243C1EB1B632FD4 /* Delay.swift */; };
-		55A0ADE7B16EF10C76A139DF785498C3 /* CombineLatest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4322C1C10B70D563B5B508A53CD5704B /* CombineLatest.swift */; };
-		586CD484DFDF8D1ABED25DF0BA1D6A90 /* AlamofireImplementations.swift in Sources */ = {isa = PBXBuildFile; fileRef = BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */; };
-		59C6B968D13835981B5EDABB8BE4852A /* User.swift in Sources */ = {isa = PBXBuildFile; fileRef = DA5F47130C28C4C5652E69E59A0902BD /* User.swift */; };
-		5E28EE8AD40978238703E0A9D9BAC23C /* Skip.swift in Sources */ = {isa = PBXBuildFile; fileRef = 37451A8A1EDFE1BFB039614775982399 /* Skip.swift */; };
-		61200D01A1855D7920CEF835C8BE00B0 /* DispatchQueue+Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = CFA2BB0A87B62F067FBD44D8EFB93058 /* DispatchQueue+Alamofire.swift */; };
-		613618A88EE02862BCE84869AA89E4AE /* Empty.swift in Sources */ = {isa = PBXBuildFile; fileRef = A625DF4508148061AAB7EBC23E067525 /* Empty.swift */; };
-		62F65AD8DC4F0F9610F4B8B4738EC094 /* ServerTrustPolicy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6F0CC5EE4C8B956EA02B0CD91AE32394 /* ServerTrustPolicy.swift */; };
-		63FB5F594F411D8D6BDC157C854EEE8E /* DelaySubscription.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1072258F1D85C96C8DE0D43A4D17535E /* DelaySubscription.swift */; };
-		65DB637553156629C46FC1F02E624D9E /* CombineLatest+Collection.swift in Sources */ = {isa = PBXBuildFile; fileRef = BFA86CCB6DD23509D8E393B3EBB39E7C /* CombineLatest+Collection.swift */; };
-		65ECA0FE8FA1DB003A1C4E2F6F5068ED /* SkipUntil.swift in Sources */ = {isa = PBXBuildFile; fileRef = EDA64805F9AEB3535908A7D984AB5BE8 /* SkipUntil.swift */; };
-		66390F82F9F5412C64A7C24D8016A73F /* SpecialModelName.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */; };
-		675BA3879823193A505ADA24E26A640C /* Lock.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38DC7C1C0A0A337E524268345E748CA3 /* Lock.swift */; };
-		6E170ABE9ACD8548EAC55656F97F4907 /* TakeWhile.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2EC31C3AF1A745A2E941C3B1884E2FA3 /* TakeWhile.swift */; };
-		7018CC80523C7192A8C6F535499F9663 /* GroupedObservable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0EB2E37D73483B20FFF4A5A9CC687985 /* GroupedObservable.swift */; };
-		701AFF28B13BC1B54B2EC0E7139296A6 /* BinaryDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 893081A9D1C037310A86F3182BF38098 /* BinaryDisposable.swift */; };
-		728056B28FF21ADB01C3D4E76685D2CA /* Sample.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8796EDFC02FDC2F169BA74667BB3E3CA /* Sample.swift */; };
-		73B9C996AED49ED7CF8EC2A6F1738059 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C7B6B4C3E8F676A457C5FF16CEE7682 /* Foundation.framework */; };
-		780DC70EC33DBE792680FF224C6B3189 /* LockOwnerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0697E081BC2A5EEB6F014A72AA1FA6FE /* LockOwnerType.swift */; };
-		7A484927B5885C32681B9C0F981164E2 /* Reduce.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6C26DF960562568F8AAA198AB9D0ADE9 /* Reduce.swift */; };
-		7B1D784EEEE456BA1599F4EF2B0DEEC9 /* SynchronizedUnsubscribeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = CE668A71E275DF34C1ACD8E01FAA0F47 /* SynchronizedUnsubscribeType.swift */; };
-		7B5FE28C7EA4122B0598738E54DBEBD8 /* SessionDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = DCFE6D738B9A72C55748A3EE0D669FFC /* SessionDelegate.swift */; };
-		7CDFFB7F904FAA05F2549B97F83C208B /* SchedulerType.swift in Sources */ = {isa = PBXBuildFile; fileRef = FBCF44963E46D2655B43F77741342C5D /* SchedulerType.swift */; };
-		7D3FE25E621C0B5DF33BE49EC44285B6 /* AnyObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = D21B67854DF0875502A22FE967BB22A4 /* AnyObserver.swift */; };
-		7D8CC01E8C9EFFF9F4D65406CDE0AB66 /* Result.swift in Sources */ = {isa = PBXBuildFile; fileRef = 68968F00A741CAAE57D479C8747F4248 /* Result.swift */; };
-		7E58FC0F8CEA885D0978B978C1AFDA39 /* ArrayOfArrayOfNumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */; };
-		7E8943764477D589A4D425FEA758249A /* WithLatestFrom.swift in Sources */ = {isa = PBXBuildFile; fileRef = A47F43BE5B9D458EBB11F65DF3012B31 /* WithLatestFrom.swift */; };
-		7F6C06307179982AFA169539C59878A6 /* Observable.swift in Sources */ = {isa = PBXBuildFile; fileRef = C33C30173D8DC512E4B32B8D4DB6D422 /* Observable.swift */; };
-		80A14AE8567A89125CDA2D1E9E3C9EA5 /* Bag+Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38DB1B1AED2692F4747813CAC4965A06 /* Bag+Rx.swift */; };
-		80C3B52F0D2A4EFBCFFB4F3581FA3598 /* Pods-SwaggerClientTests-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */; };
-		814CCE747E50503E645AB6A4BEA9C3B9 /* CombineLatest+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05B19EE7BB7CFC2E18ADF610F26BD9F7 /* CombineLatest+arity.swift */; };
-		81E833CC467CE9A868C4992EED22E90B /* SubscribeOn.swift in Sources */ = {isa = PBXBuildFile; fileRef = 33F225BF47E139D7C104629809615ED8 /* SubscribeOn.swift */; };
-		82DCAB1B03B1FF4922EEAA7284CD8891 /* Optional.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45F5E5F79EBFF05F9B7B392CEBEBE03B /* Optional.swift */; };
-		832A38EA2BEF84AED0C1232AF683E14E /* ObserveOn.swift in Sources */ = {isa = PBXBuildFile; fileRef = F80B940734051003693AB8C9396B9A95 /* ObserveOn.swift */; };
-		83A278FC1771188BF654862D87A79497 /* Debug.swift in Sources */ = {isa = PBXBuildFile; fileRef = 30A47B1C8E00C3410BA35859590AFBB3 /* Debug.swift */; };
-		83ADD423F64E3EA0A04827FEDB4551F5 /* Generate.swift in Sources */ = {isa = PBXBuildFile; fileRef = 22AF3598D1B586D34A9092DD1A51FA03 /* Generate.swift */; };
-		8409E8357E6E556D947C0883002F14DA /* Window.swift in Sources */ = {isa = PBXBuildFile; fileRef = AC25882FB329122EF59BC09D5C5B42B9 /* Window.swift */; };
-		85CFCEF4B3B5D9B5782E002EBC964C07 /* TailRecursiveSink.swift in Sources */ = {isa = PBXBuildFile; fileRef = ED2A996D8F9E9BFA159AF4333CEAB7E2 /* TailRecursiveSink.swift */; };
-		87561C5525FF161AC0D9BE8E4878B012 /* SingleAsync.swift in Sources */ = {isa = PBXBuildFile; fileRef = 49E417E77B6316B84A6E574BA392BCDF /* SingleAsync.swift */; };
-		881DF840D562167EA8BECCD4F3DE44A5 /* Bag.swift in Sources */ = {isa = PBXBuildFile; fileRef = 51FE85DA2956A05DBEC69727C4E8FD99 /* Bag.swift */; };
-		883AF2FA5F21ECEFA5AA052EA2AA52D1 /* ShareReplayScope.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7413D0DEA3FCB4E2B6B61AA738939609 /* ShareReplayScope.swift */; };
-		8A7DA1410CC7793A911EFF7961D871A7 /* HistoricalSchedulerTimeConverter.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4077DE55AEFACC6E0237454995C93E57 /* HistoricalSchedulerTimeConverter.swift */; };
-		8C391D10E5780A3AD69F0B48D81873C2 /* BooleanDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = F85F748990FBD91519A91098D6BA6366 /* BooleanDisposable.swift */; };
-		8D139181B7F153687292979FA042AD3B /* ElementAt.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7FEC3DCD86C07B65B23ABB64AD5CDA68 /* ElementAt.swift */; };
-		8EE6CAA016BB77D98A94C6A8A6035B5C /* HasOnlyReadOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */; };
-		91BCA631F516CB40742B0D2B1A211246 /* Pods-SwaggerClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */; };
-		92202E005A3283B86D2FD8C13A7B6984 /* ObservableType.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB5F32B59881971A1405610DC089DD57 /* ObservableType.swift */; };
-		92C33C8F9615FAC4C1FCE4F44F7AC373 /* Deprecated.swift in Sources */ = {isa = PBXBuildFile; fileRef = 998EC6F6A2EE477EE6F698F57FFC3750 /* Deprecated.swift */; };
-		94A76A58C03383E6AEF5954B048EA943 /* PublishSubject.swift in Sources */ = {isa = PBXBuildFile; fileRef = 538A32CCEDC18E4888E6C1A766DF1F02 /* PublishSubject.swift */; };
-		94EBC7DB7F9E78474473121B58017231 /* ScheduledItemType.swift in Sources */ = {isa = PBXBuildFile; fileRef = CB599C6476D3B5ADBA90BD6EAFB4C115 /* ScheduledItemType.swift */; };
-		95319323AA47177F07DC434862E8786B /* Cancelable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 695B2C5AEB6FE1A766CC26F3BE48BC1C /* Cancelable.swift */; };
-		95F38402EDA23648E2E9643BF23B0A99 /* Just.swift in Sources */ = {isa = PBXBuildFile; fileRef = E172658949F5AACBFEFB9F2A7A45121B /* Just.swift */; };
-		98ABF68A5893A05770B62C70FF2D9B39 /* InvocableScheduledItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 6AA6FF029E25846278724FECC2B0CD33 /* InvocableScheduledItem.swift */; };
-		9CBA62F0AFF0A5826B59553CFA6547E9 /* AddRef.swift in Sources */ = {isa = PBXBuildFile; fileRef = B232F9C4224779F256F29E0CF4EF3322 /* AddRef.swift */; };
-		9DAD079E8BFA8BB8C6270BD59F12B75A /* ConcurrentDispatchQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 631DEA4DC6C852A962E761306DC8E5AF /* ConcurrentDispatchQueueScheduler.swift */; };
-		9ED2BB2981896E0A39EFA365503F58CE /* AFError.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5D48DC023BF473789CEF045FB00121FA /* AFError.swift */; };
-		9FB30BA094639E9D209E7E46ECB04873 /* Repeat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5EA12B9820292EF94959B987736473C9 /* Repeat.swift */; };
-		A1156AAA078DA49A2F84A73498ACFFA8 /* SwitchIfEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2A04930FB5D53B406D0E4B419625FF1B /* SwitchIfEmpty.swift */; };
-		A1888B4C68923F294CC00FA69C2D3FA0 /* Dematerialize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 424053B5F8188A5A9D86378ECF17AF7F /* Dematerialize.swift */; };
-		A2A6F71B727312BD45CC7A4AAD7B0AB7 /* NetworkReachabilityManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = EBD2925843939637E459525857FA3FA8 /* NetworkReachabilityManager.swift */; };
-		A461BFEA1D55600A0C20FEE62B2AC808 /* Create.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0BED44127AD26D0B00F9FD2ECB9CEDA4 /* Create.swift */; };
-		A4D75955E70AE28814436BFD3A667877 /* FakeClassnameTags123API.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */; };
-		A4F3B4D94EEFE3A4C297F7D2254720A7 /* StartWith.swift in Sources */ = {isa = PBXBuildFile; fileRef = 15CBB9F5E4043A504EE8F7320CDF3F41 /* StartWith.swift */; };
-		A66D6FDA68BE83B5082CE656909F78D6 /* PriorityQueue.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3EA0BC99D27861517EF33E4AFD427CE3 /* PriorityQueue.swift */; };
-		A75F3F8315F50D4FAAD79784972AEE3E /* Disposables.swift in Sources */ = {isa = PBXBuildFile; fileRef = FC5C19FAC757DF61EE5B83BA514D8F78 /* Disposables.swift */; };
-		A7C5CF056E08D8CF885F5A923F8A7655 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C7B6B4C3E8F676A457C5FF16CEE7682 /* Foundation.framework */; };
-		A88687F0D5C7B8F17FE6E8C560FF27C2 /* Dog.swift in Sources */ = {isa = PBXBuildFile; fileRef = 08583885463D1EDB2F8023584348659C /* Dog.swift */; };
-		A8907D8BB13490C6BDDEB718A825ED3B /* CurrentThreadScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = D7E51BBDAB04A3D67CADD9C9DF54CC05 /* CurrentThreadScheduler.swift */; };
-		A8F07D61BA5B044BCF2528FE814802F8 /* SynchronizedOnType.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0E80F14B05E38C811C7DB2355F884967 /* SynchronizedOnType.swift */; };
-		A9EEEA7477981DEEBC72432DE9990A4B /* Alamofire-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 5BB023BDD73FF5AAC5686C18261C2E59 /* Alamofire-dummy.m */; };
-		AA00DE5B6E4CEB7619A109AEE765E899 /* Zip+Collection.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7388ECAD6E93F2CDDA035F993F552D87 /* Zip+Collection.swift */; };
-		AA5924E7A2767173A488CD67448A344F /* PrimitiveSequence+Zip+arity.swift in Sources */ = {isa = PBXBuildFile; fileRef = 18F255791BA4F8E78F887B201CEB9A70 /* PrimitiveSequence+Zip+arity.swift */; };
-		AAA4BB328D5B9974CAE7079EADCB55F3 /* AdditionalPropertiesClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */; };
-		AAAFD62D4E1F93C4EC939BDE9AE36B40 /* Return.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */; };
-		AAC833250183E5D26197A6A7FBDDBE31 /* PetstoreClient-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = 7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */; };
-		AAD5D545A27D3235B11AB5F312D4F9CC /* AsMaybe.swift in Sources */ = {isa = PBXBuildFile; fileRef = 248FA48ED4232A749B19E8326B107390 /* AsMaybe.swift */; };
-		AC84DFF4BBABCF4F8DA619E8E0A71770 /* List.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */; };
-		AD3D283352C4C58D37373ACEAAD21CCA /* Category.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1C103637D74EC198CF949454436D3616 /* Category.swift */; };
-		AD72FC77B132100856099D6BE08BA946 /* VirtualTimeConverterType.swift in Sources */ = {isa = PBXBuildFile; fileRef = C45CF1E9C72669473CD2D3E71DBD63E9 /* VirtualTimeConverterType.swift */; };
-		AE1EF48399533730D0066E04B22CA2D6 /* SessionManager.swift in Sources */ = {isa = PBXBuildFile; fileRef = 75D98F114B4846AE45CE5B90B57DBA35 /* SessionManager.swift */; };
-		AE91B9C7676BED08DD29D919667641EF /* SynchronizedSubscribeType.swift in Sources */ = {isa = PBXBuildFile; fileRef = FAF3CD60CC66BB642D72FD7DD9FA47EA /* SynchronizedSubscribeType.swift */; };
-		AF8F5FE11B128B96067030DD9FC7B9C3 /* Models.swift in Sources */ = {isa = PBXBuildFile; fileRef = B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */; };
-		B1D90A96F361927E2C864B8B2E0C6998 /* ArrayOfNumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */; };
-		B2167A447DC5D9CC8B3194F650D3F766 /* RxSwift-dummy.m in Sources */ = {isa = PBXBuildFile; fileRef = EFA925A9B9BFE80C3EDB17F2F0BF4A11 /* RxSwift-dummy.m */; };
-		B3900C161CAD5762104495FFD825D417 /* Deferred.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7416EC69ECF5772C560109A5ED8D588E /* Deferred.swift */; };
-		B570FDBFFB6C8319B1822F6D1CA57618 /* RefCountDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = BC59FD558680F110C9CF1E09C4B30234 /* RefCountDisposable.swift */; };
-		B65FCF589DA398C3EFE0128064E510EC /* MultipartFormData.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9C7D11F28E762B650DCE249F9231AFF6 /* MultipartFormData.swift */; };
-		B71E8D1BA38979387FB07B2DE375CC78 /* VirtualTimeScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 47CCDEE642D802F7DE9D54E99B029D94 /* VirtualTimeScheduler.swift */; };
-		B7DCE8A53F3C2E56E4CC1EBFC51CFBBB /* APIHelper.swift in Sources */ = {isa = PBXBuildFile; fileRef = 1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */; };
-		B80E85AD2BA24EF11F641050D4306011 /* ApiResponse.swift in Sources */ = {isa = PBXBuildFile; fileRef = F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */; };
-		B8216658C16040E40C3121638EB83BB7 /* Sequence.swift in Sources */ = {isa = PBXBuildFile; fileRef = 8B8FD648A2922AEAC6DD6AB816E2592B /* Sequence.swift */; };
-		BA90CC03E356EC0CB00EE000FE8ED8FF /* Materialize.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0C2D5B54A93C8D77EF18876416B0DB27 /* Materialize.swift */; };
-		BB2ADF1D564AC603088379085CBB5E00 /* Variable.swift in Sources */ = {isa = PBXBuildFile; fileRef = DB6697B7A5CC377C3AC35303B0D0487D /* Variable.swift */; };
-		BBEFE2F9CEB73DC7BD97FFA66A0D9D4F /* Validation.swift in Sources */ = {isa = PBXBuildFile; fileRef = 852FA37D9D05B1C1C334C97888ED40D3 /* Validation.swift */; };
-		BC6FE7B95D4381C14034EA0158A27943 /* MainScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = F7CDE3DF48D0BD49F53158F547F2F814 /* MainScheduler.swift */; };
-		BD13F16DB254433B71AE9E50D25BAFB3 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C7B6B4C3E8F676A457C5FF16CEE7682 /* Foundation.framework */; };
-		BE5C67A07E289FE1F9BE27335B159997 /* ParameterEncoding.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93893E6B21291795613092CE89A054B9 /* ParameterEncoding.swift */; };
-		BE84A0438BB1CAC7F8B734D0071F6B5B /* Timer.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9744CAC1B97675B5C8BDFE1483E34D21 /* Timer.swift */; };
-		C02152ADEC441FFA411DE0BFB5574C6E /* Animal.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */; };
-		C04E4412EE56D42C6E6E3A4A35E74916 /* Producer.swift in Sources */ = {isa = PBXBuildFile; fileRef = D651D943838D79481E5485342F6E37DA /* Producer.swift */; };
-		C06FFF2DCFC2E38F7183A390DB548039 /* SerialDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = F85C44B8250F6BDF2F4746605665C079 /* SerialDisposable.swift */; };
-		C0E8935F39D43182341F9237E14FEB48 /* GroupBy.swift in Sources */ = {isa = PBXBuildFile; fileRef = 99662E82007C3712D4A6C84D9442D945 /* GroupBy.swift */; };
-		C30834A9E888DC5752BB464AA4C6B583 /* Platform.Darwin.swift in Sources */ = {isa = PBXBuildFile; fileRef = B10682A3553F0BC32058B81F6157D67B /* Platform.Darwin.swift */; };
-		C5C72F359C98A639D16BEBC44D45AD58 /* Never.swift in Sources */ = {isa = PBXBuildFile; fileRef = 05EB6180D204793B411E78063D728D37 /* Never.swift */; };
-		C614A64F12B85A30B4E179111161A4F2 /* Tag.swift in Sources */ = {isa = PBXBuildFile; fileRef = AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */; };
-		C6B6E0537CACAD67C6C53CB52D3AF430 /* ScheduledItem.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3BB5ADF1D60C58E7C212E5AC4A17E03D /* ScheduledItem.swift */; };
-		C88A07F5CBEECD3C3287EF230542E9BA /* DistinctUntilChanged.swift in Sources */ = {isa = PBXBuildFile; fileRef = 2AAFE2F8BED3AD876496367E70110B27 /* DistinctUntilChanged.swift */; };
-		C9FEFA9F181D03BC5A33843BA80BA501 /* RecursiveScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 38AB52055ABAC52DC0BB0AB8FBF07F23 /* RecursiveScheduler.swift */; };
-		CB6D60925223897FFA2662667DF83E8A /* Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = BA0348E245661C3C2ECB814A85A081A5 /* Response.swift */; };
-		CC3D6772A375C8384DEAF649FB2E799B /* Cat.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */; };
-		CD72FF21E244B422BAA707396ADD5F84 /* SkipWhile.swift in Sources */ = {isa = PBXBuildFile; fileRef = 52D6457286A14A38BBD82D8C6099798B /* SkipWhile.swift */; };
-		CD7F8A63D0F72B0A4F515C63433BC805 /* MixedPropertiesAndAdditionalPropertiesClass.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */; };
-		CFE18A460774777238539B6816CA0865 /* HistoricalScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00130C4D6737A3B01F28CBD7BA4EEDD3 /* HistoricalScheduler.swift */; };
-		D210B9E8D1B698A92D285845C09C9960 /* Foundation.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 2C7B6B4C3E8F676A457C5FF16CEE7682 /* Foundation.framework */; };
-		D2D8098C55A83C6090F0FED29B4CAC6A /* TakeUntil.swift in Sources */ = {isa = PBXBuildFile; fileRef = 229212B9293B7746DAE74AF7ED2EF8BD /* TakeUntil.swift */; };
-		D36500BA67AB18E64F4743796274C7F6 /* Rx.swift in Sources */ = {isa = PBXBuildFile; fileRef = 651788C4235096156C06C2938F64FDC0 /* Rx.swift */; };
-		D49D0B2348D2A35E9A39124C979DFDE0 /* DispatchQueue+Extensions.swift in Sources */ = {isa = PBXBuildFile; fileRef = F95B56C2C53C700F09ACF424C9C68CFC /* DispatchQueue+Extensions.swift */; };
-		D5F12C5EFF4CA158297A1BDE3788B931 /* Order.swift in Sources */ = {isa = PBXBuildFile; fileRef = E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */; };
-		D95808D482B2CCE0A57E617BBE1C24CF /* CompositeDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = C1C89F468280F8359E898DC2281CAC89 /* CompositeDisposable.swift */; };
-		DD7EA78A0E20276FBEA92A47B29D675B /* Switch.swift in Sources */ = {isa = PBXBuildFile; fileRef = 93EC0AF4A1BE4FA92D40CE454B203C73 /* Switch.swift */; };
-		DDFBECD67E5A6A9645A66D7919513F64 /* Reactive.swift in Sources */ = {isa = PBXBuildFile; fileRef = DDD1FBFAF29C8BB9FEF76A9F3F5B0061 /* Reactive.swift */; };
-		DE983659BDB585F117E8D5A6035691EC /* Model200Response.swift in Sources */ = {isa = PBXBuildFile; fileRef = 57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */; };
-		DFE3AC8FE52397BB76BEF114A0825E26 /* Disposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 516D52E4A92E72BFCD8998DBA0BE9B03 /* Disposable.swift */; };
-		E0C3813806F9C243364888B92E3F6A58 /* TakeLast.swift in Sources */ = {isa = PBXBuildFile; fileRef = E65642813E0667C81374DA8D6C4D7C96 /* TakeLast.swift */; };
-		E20117C8508C1E21BF6F96D5A67430A5 /* AnonymousDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 74201A6B694096DAEAC939BF5A23C46D /* AnonymousDisposable.swift */; };
-		E25F484C36B0BD9B3AF5F671766A362E /* UserAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */; };
-		E2FCA242C2D21DEF5CF64A4948B303E5 /* Capitalization.swift in Sources */ = {isa = PBXBuildFile; fileRef = F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */; };
-		E3983118B0AEF9B702F6513C8C4630B5 /* Errors.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0DC50E863EDEB9C0996B2B6DAA0B99AD /* Errors.swift */; };
-		E4B4E729EF665FA241A3CAAB77622D12 /* MapTest.swift in Sources */ = {isa = PBXBuildFile; fileRef = 00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */; };
-		E615C98E97CFD31CDC08C103E8C9AFCC /* Platform.Linux.swift in Sources */ = {isa = PBXBuildFile; fileRef = 514D99EB5CB7550B570526741912C8C6 /* Platform.Linux.swift */; };
-		E646989B1C390802DE99BC11A99A6195 /* Buffer.swift in Sources */ = {isa = PBXBuildFile; fileRef = A915BB8C0650173C2558895A4B43A73B /* Buffer.swift */; };
-		E7CFD93574F6D9FFC1E20C79933BF9B7 /* DefaultIfEmpty.swift in Sources */ = {isa = PBXBuildFile; fileRef = B3BE266C827C7427D0C31408FE919905 /* DefaultIfEmpty.swift */; };
-		E8E275B7A3686605EDE9844688758CF2 /* Alamofire.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = AA9C5856BEAE5090A7D1EB450A10C04F /* Alamofire.framework */; };
-		E8FB135391A3DB1932525FA4C7B868D9 /* Throttle.swift in Sources */ = {isa = PBXBuildFile; fileRef = 92278B77A7357596D58AB0C075D0948C /* Throttle.swift */; };
-		E90B654B54B4E686AABC7E1346FC99DA /* Zip.swift in Sources */ = {isa = PBXBuildFile; fileRef = 4B79E9399FA4CC143E00DD4B8CEA0D33 /* Zip.swift */; };
-		EAE0C66CFAA8E970D961796CA9E3B6A3 /* AnonymousObserver.swift in Sources */ = {isa = PBXBuildFile; fileRef = 28B85FF3973524921D29C28D32B60939 /* AnonymousObserver.swift */; };
-		EB02B86DAE80B2F604DFF745291CD97E /* FakeAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */; };
-		EEE78DB914769229A6F7D18F1AFDD1E1 /* PetstoreClient-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = 0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		EF3864ECC6F81AA9290D334DD8958829 /* Scan.swift in Sources */ = {isa = PBXBuildFile; fileRef = A6DAD9E105266B1758339618389747E4 /* Scan.swift */; };
-		EFAE4DCFFA55CB5C8FAF4092224E67CF /* Timeout.swift in Sources */ = {isa = PBXBuildFile; fileRef = 69138EC14ACB61D4A4FE4CEF74B2D278 /* Timeout.swift */; };
-		EFD264FC408EBF3BA2528E70B08DDD94 /* Notifications.swift in Sources */ = {isa = PBXBuildFile; fileRef = 0F6B1DF26896BB3C53B013DCB6CAC2A2 /* Notifications.swift */; };
-		F041E9FD775EEFE794AB22C632050442 /* AnotherFakeAPI.swift in Sources */ = {isa = PBXBuildFile; fileRef = 45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */; };
-		F0724B08BA9C030769B8B071407FA875 /* RetryWhen.swift in Sources */ = {isa = PBXBuildFile; fileRef = 647B15E397B92CD0E6B089800A79E32D /* RetryWhen.swift */; };
-		F0773FB51871142573829B798A320088 /* RxSwift.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 19296A8C5E948345E5744A748B1CC720 /* RxSwift.framework */; };
-		F374C9C0BBD2E98835074F1117D19025 /* Completable+AndThen.swift in Sources */ = {isa = PBXBuildFile; fileRef = CC1DDBA7954D27380AA9FE905490F925 /* Completable+AndThen.swift */; };
-		F4EDA8CB7455BCABFFD6992BE4D7E53A /* DispatchQueueConfiguration.swift in Sources */ = {isa = PBXBuildFile; fileRef = FEA375D4493914B5629827903F168466 /* DispatchQueueConfiguration.swift */; };
-		F5267C956BA9631B2CBDB207340F3C31 /* OuterEnum.swift in Sources */ = {isa = PBXBuildFile; fileRef = 7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */; };
-		F5A2918BDB2BA50E47C84F9CA95ABC89 /* ToArray.swift in Sources */ = {isa = PBXBuildFile; fileRef = A21868904DAD64FC72F911E44FE2429E /* ToArray.swift */; };
-		F5D7352A8D14A89B873F35F23953495F /* NumberOnly.swift in Sources */ = {isa = PBXBuildFile; fileRef = 5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */; };
-		F6BECD98B97CBFEBE2C96F0E9E72A6C0 /* ResponseSerialization.swift in Sources */ = {isa = PBXBuildFile; fileRef = 9A677D3D79730410F53DE1DB6D509BF6 /* ResponseSerialization.swift */; };
-		F8B3D3092ED0417E8CDF32033F6122F5 /* Alamofire.swift in Sources */ = {isa = PBXBuildFile; fileRef = 777A63E817CA5F873A73B02928A334CE /* Alamofire.swift */; };
-		FADAE4698562DB2F08EEE38B2838D7C3 /* RxMutableBox.swift in Sources */ = {isa = PBXBuildFile; fileRef = B7B793869715E1AEF65DF4D148BD88E0 /* RxMutableBox.swift */; };
-		FC2BA04F51DF605708177391FC5CBEB1 /* Client.swift in Sources */ = {isa = PBXBuildFile; fileRef = B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */; };
-		FC5F971819DF37E080DD24B4659D292D /* APIs.swift in Sources */ = {isa = PBXBuildFile; fileRef = DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */; };
-		FCFB16CA31EE1C1E0FA859C0779D4BE6 /* RxSwift-umbrella.h in Headers */ = {isa = PBXBuildFile; fileRef = C87B58E988280B4B9A04835B9570BAAB /* RxSwift-umbrella.h */; settings = {ATTRIBUTES = (Public, ); }; };
-		FF735B76D45E1208C767A7C01B9FEB6B /* Error.swift in Sources */ = {isa = PBXBuildFile; fileRef = 72AE8E25B88FDA8DCA0CE1D1C785AE2D /* Error.swift */; };
-		FF8E2A66A632AE79D440E2492242AD5A /* ScheduledDisposable.swift in Sources */ = {isa = PBXBuildFile; fileRef = 48D0E94099FF7A758F7C5B102623B302 /* ScheduledDisposable.swift */; };
-		FFCEFEACA09A0AB1E772939BEE1251D0 /* OperationQueueScheduler.swift in Sources */ = {isa = PBXBuildFile; fileRef = 024D11AC8314E034F9EE51129F3D2460 /* OperationQueueScheduler.swift */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		00C0A2B6414C2055A4C6AAB9D0425884 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = E4538CBB68117C90F63369F02EAEEE96;
-			remoteInfo = RxSwift;
-		};
-		0B2AA791B256C6F1530511EEF7AB4A24 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 88E9EC28B8B46C3631E6B242B50F4442;
-			remoteInfo = Alamofire;
-		};
-		2B4A36E763D78D2BA39A638AF167D81A /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 9D0BAE1F914D3BCB466ABD23C347B5CF;
-			remoteInfo = PetstoreClient;
-		};
-		39BC36C8D9E651B0E90400DB5CB4450E /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 136F0A318F13DF38351AC0F2E6934563;
-			remoteInfo = "Pods-SwaggerClient";
-		};
-		75C5BB87F29EE0C4D5C19FF05D2AEF02 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = 88E9EC28B8B46C3631E6B242B50F4442;
-			remoteInfo = Alamofire;
-		};
-		A50F0C9B9BA00FA72637B7EE5F05D32C /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = E4538CBB68117C90F63369F02EAEEE96;
-			remoteInfo = RxSwift;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		00130C4D6737A3B01F28CBD7BA4EEDD3 /* HistoricalScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HistoricalScheduler.swift; path = RxSwift/Schedulers/HistoricalScheduler.swift; sourceTree = "<group>"; };
-		00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MapTest.swift; sourceTree = "<group>"; };
-		0132F153B6C6244F3078E6A5F7D98CA9 /* SingleAssignmentDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SingleAssignmentDisposable.swift; path = RxSwift/Disposables/SingleAssignmentDisposable.swift; sourceTree = "<group>"; };
-		024D11AC8314E034F9EE51129F3D2460 /* OperationQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = OperationQueueScheduler.swift; path = RxSwift/Schedulers/OperationQueueScheduler.swift; sourceTree = "<group>"; };
-		0408C4724C6E604F4F4EEE2856302250 /* Debounce.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debounce.swift; path = RxSwift/Observables/Debounce.swift; sourceTree = "<group>"; };
-		057FC3E5DE19EA8F4DD600557D771032 /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SwaggerClient.framework; path = "Pods-SwaggerClient.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
-		05B19EE7BB7CFC2E18ADF610F26BD9F7 /* CombineLatest+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CombineLatest+arity.swift"; path = "RxSwift/Observables/CombineLatest+arity.swift"; sourceTree = "<group>"; };
-		05EB6180D204793B411E78063D728D37 /* Never.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Never.swift; path = RxSwift/Observables/Never.swift; sourceTree = "<group>"; };
-		0697E081BC2A5EEB6F014A72AA1FA6FE /* LockOwnerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = LockOwnerType.swift; path = RxSwift/Concurrency/LockOwnerType.swift; sourceTree = "<group>"; };
-		08583885463D1EDB2F8023584348659C /* Dog.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Dog.swift; sourceTree = "<group>"; };
-		08BDFE9C9E9365771FF2D47928E3E79A /* Pods-SwaggerClient-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwaggerClient-acknowledgements.plist"; sourceTree = "<group>"; };
-		0AD61F8554C909A3AFA66AD9ECCB5F23 /* Pods-SwaggerClient-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClient-frameworks.sh"; sourceTree = "<group>"; };
-		0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PetstoreClient-umbrella.h"; sourceTree = "<group>"; };
-		0BED44127AD26D0B00F9FD2ECB9CEDA4 /* Create.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Create.swift; path = RxSwift/Observables/Create.swift; sourceTree = "<group>"; };
-		0C2D5B54A93C8D77EF18876416B0DB27 /* Materialize.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Materialize.swift; path = RxSwift/Observables/Materialize.swift; sourceTree = "<group>"; };
-		0DC50E863EDEB9C0996B2B6DAA0B99AD /* Errors.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Errors.swift; path = RxSwift/Errors.swift; sourceTree = "<group>"; };
-		0E80F14B05E38C811C7DB2355F884967 /* SynchronizedOnType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedOnType.swift; path = RxSwift/Concurrency/SynchronizedOnType.swift; sourceTree = "<group>"; };
-		0EB2E37D73483B20FFF4A5A9CC687985 /* GroupedObservable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GroupedObservable.swift; path = RxSwift/GroupedObservable.swift; sourceTree = "<group>"; };
-		0F6B1DF26896BB3C53B013DCB6CAC2A2 /* Notifications.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Notifications.swift; path = Source/Notifications.swift; sourceTree = "<group>"; };
-		1072258F1D85C96C8DE0D43A4D17535E /* DelaySubscription.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DelaySubscription.swift; path = RxSwift/Observables/DelaySubscription.swift; sourceTree = "<group>"; };
-		139BFBACE8A3AD8B5733AD2B94C930C3 /* SubjectType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubjectType.swift; path = RxSwift/Subjects/SubjectType.swift; sourceTree = "<group>"; };
-		149DE31C5C5A1FF69EA3FE40F9791130 /* AsyncLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncLock.swift; path = RxSwift/Concurrency/AsyncLock.swift; sourceTree = "<group>"; };
-		14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Pet.swift; sourceTree = "<group>"; };
-		15CBB9F5E4043A504EE8F7320CDF3F41 /* StartWith.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = StartWith.swift; path = RxSwift/Observables/StartWith.swift; sourceTree = "<group>"; };
-		15EC3D8D715BC3F25A366C403ED02060 /* PetstoreClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = PetstoreClient.modulemap; sourceTree = "<group>"; };
-		184A223909D425D6876C780724E7B2DA /* NopDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NopDisposable.swift; path = RxSwift/Disposables/NopDisposable.swift; sourceTree = "<group>"; };
-		18F255791BA4F8E78F887B201CEB9A70 /* PrimitiveSequence+Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "PrimitiveSequence+Zip+arity.swift"; path = "RxSwift/Traits/PrimitiveSequence+Zip+arity.swift"; sourceTree = "<group>"; };
-		19296A8C5E948345E5744A748B1CC720 /* RxSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = RxSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Return.swift; sourceTree = "<group>"; };
-		1C103637D74EC198CF949454436D3616 /* Category.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Category.swift; sourceTree = "<group>"; };
-		1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = APIHelper.swift; path = PetstoreClient/Classes/OpenAPIs/APIHelper.swift; sourceTree = "<group>"; };
-		1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumClass.swift; sourceTree = "<group>"; };
-		20E32B939BDA9B05C26957643F21B95E /* InvocableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InvocableType.swift; path = RxSwift/Schedulers/Internal/InvocableType.swift; sourceTree = "<group>"; };
-		2265FC97FA4169ED188CF2E34F23DACF /* ObserverBase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserverBase.swift; path = RxSwift/Observers/ObserverBase.swift; sourceTree = "<group>"; };
-		2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Animal.swift; sourceTree = "<group>"; };
-		229212B9293B7746DAE74AF7ED2EF8BD /* TakeUntil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeUntil.swift; path = RxSwift/Observables/TakeUntil.swift; sourceTree = "<group>"; };
-		22AF3598D1B586D34A9092DD1A51FA03 /* Generate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Generate.swift; path = RxSwift/Observables/Generate.swift; sourceTree = "<group>"; };
-		248FA48ED4232A749B19E8326B107390 /* AsMaybe.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsMaybe.swift; path = RxSwift/Observables/AsMaybe.swift; sourceTree = "<group>"; };
-		281B6953B58178760E6D8AE7FDA3CCFB /* PrimitiveSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PrimitiveSequence.swift; path = RxSwift/Traits/PrimitiveSequence.swift; sourceTree = "<group>"; };
-		28B85FF3973524921D29C28D32B60939 /* AnonymousObserver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousObserver.swift; path = RxSwift/Observers/AnonymousObserver.swift; sourceTree = "<group>"; };
-		295257ADE79CBF71EDDB457361B2E80E /* ImmediateScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImmediateScheduler.swift; path = RxSwift/Schedulers/ImmediateScheduler.swift; sourceTree = "<group>"; };
-		2A04930FB5D53B406D0E4B419625FF1B /* SwitchIfEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SwitchIfEmpty.swift; path = RxSwift/Observables/SwitchIfEmpty.swift; sourceTree = "<group>"; };
-		2A83AF1902D8C6A7D243C1EB1B632FD4 /* Delay.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Delay.swift; path = RxSwift/Observables/Delay.swift; sourceTree = "<group>"; };
-		2AAFE2F8BED3AD876496367E70110B27 /* DistinctUntilChanged.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DistinctUntilChanged.swift; path = RxSwift/Observables/DistinctUntilChanged.swift; sourceTree = "<group>"; };
-		2C7B6B4C3E8F676A457C5FF16CEE7682 /* Foundation.framework */ = {isa = PBXFileReference; lastKnownFileType = wrapper.framework; name = Foundation.framework; path = Platforms/iPhoneOS.platform/Developer/SDKs/iPhoneOS10.3.sdk/System/Library/Frameworks/Foundation.framework; sourceTree = DEVELOPER_DIR; };
-		2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumTest.swift; sourceTree = "<group>"; };
-		2EC31C3AF1A745A2E941C3B1884E2FA3 /* TakeWhile.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeWhile.swift; path = RxSwift/Observables/TakeWhile.swift; sourceTree = "<group>"; };
-		2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ClassModel.swift; sourceTree = "<group>"; };
-		30A47B1C8E00C3410BA35859590AFBB3 /* Debug.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Debug.swift; path = RxSwift/Observables/Debug.swift; sourceTree = "<group>"; };
-		31EE482CF21D19C54B33E17B7A4E43F3 /* Timeline.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeline.swift; path = Source/Timeline.swift; sourceTree = "<group>"; };
-		32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwaggerClient-umbrella.h"; sourceTree = "<group>"; };
-		32CAA23B558D5641EE6320708FECD03E /* Alamofire.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = Alamofire.xcconfig; sourceTree = "<group>"; };
-		33F225BF47E139D7C104629809615ED8 /* SubscribeOn.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubscribeOn.swift; path = RxSwift/Observables/SubscribeOn.swift; sourceTree = "<group>"; };
-		37451A8A1EDFE1BFB039614775982399 /* Skip.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Skip.swift; path = RxSwift/Observables/Skip.swift; sourceTree = "<group>"; };
-		38AB52055ABAC52DC0BB0AB8FBF07F23 /* RecursiveScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveScheduler.swift; path = RxSwift/Schedulers/RecursiveScheduler.swift; sourceTree = "<group>"; };
-		38DB1B1AED2692F4747813CAC4965A06 /* Bag+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Bag+Rx.swift"; path = "RxSwift/Extensions/Bag+Rx.swift"; sourceTree = "<group>"; };
-		38DC7C1C0A0A337E524268345E748CA3 /* Lock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Lock.swift; path = RxSwift/Concurrency/Lock.swift; sourceTree = "<group>"; };
-		3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = PetAPI.swift; sourceTree = "<group>"; };
-		3BB5ADF1D60C58E7C212E5AC4A17E03D /* ScheduledItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledItem.swift; path = RxSwift/Schedulers/Internal/ScheduledItem.swift; sourceTree = "<group>"; };
-		3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = UserAPI.swift; sourceTree = "<group>"; };
-		3EA0BC99D27861517EF33E4AFD427CE3 /* PriorityQueue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PriorityQueue.swift; path = Platform/DataStructures/PriorityQueue.swift; sourceTree = "<group>"; };
-		3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Cat.swift; sourceTree = "<group>"; };
-		4050C78B3A61270CDB69C80EFEB9BF4B /* PetstoreClient-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "PetstoreClient-prefix.pch"; sourceTree = "<group>"; };
-		4077DE55AEFACC6E0237454995C93E57 /* HistoricalSchedulerTimeConverter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = HistoricalSchedulerTimeConverter.swift; path = RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift; sourceTree = "<group>"; };
-		419496CDDD7E7536CBEA02BAEE2C7C21 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		424053B5F8188A5A9D86378ECF17AF7F /* Dematerialize.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Dematerialize.swift; path = RxSwift/Observables/Dematerialize.swift; sourceTree = "<group>"; };
-		4244ABA189342D2269E1D874A6A8F286 /* RxSwift.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = RxSwift.xcconfig; sourceTree = "<group>"; };
-		4322C1C10B70D563B5B508A53CD5704B /* CombineLatest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CombineLatest.swift; path = RxSwift/Observables/CombineLatest.swift; sourceTree = "<group>"; };
-		45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AnotherFakeAPI.swift; sourceTree = "<group>"; };
-		45F5E5F79EBFF05F9B7B392CEBEBE03B /* Optional.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Optional.swift; path = RxSwift/Observables/Optional.swift; sourceTree = "<group>"; };
-		47CCDEE642D802F7DE9D54E99B029D94 /* VirtualTimeScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = VirtualTimeScheduler.swift; path = RxSwift/Schedulers/VirtualTimeScheduler.swift; sourceTree = "<group>"; };
-		486092B50FE0BFF30D503E7DE4A5E634 /* RecursiveLock.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RecursiveLock.swift; path = Platform/RecursiveLock.swift; sourceTree = "<group>"; };
-		48AC41077AE8968D02C47F5F8FEB91EF /* Take.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Take.swift; path = RxSwift/Observables/Take.swift; sourceTree = "<group>"; };
-		48D0E94099FF7A758F7C5B102623B302 /* ScheduledDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledDisposable.swift; path = RxSwift/Disposables/ScheduledDisposable.swift; sourceTree = "<group>"; };
-		49E417E77B6316B84A6E574BA392BCDF /* SingleAsync.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SingleAsync.swift; path = RxSwift/Observables/SingleAsync.swift; sourceTree = "<group>"; };
-		4B17A77CECF7B4996B33CC78A683AFEC /* ObservableType+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "ObservableType+Extensions.swift"; path = "RxSwift/ObservableType+Extensions.swift"; sourceTree = "<group>"; };
-		4B79E9399FA4CC143E00DD4B8CEA0D33 /* Zip.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Zip.swift; path = RxSwift/Observables/Zip.swift; sourceTree = "<group>"; };
-		4BCB5AA92F6DEDE2AC3F479C60C7212C /* SubscriptionDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SubscriptionDisposable.swift; path = RxSwift/Disposables/SubscriptionDisposable.swift; sourceTree = "<group>"; };
-		4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayOfArrayOfNumberOnly.swift; sourceTree = "<group>"; };
-		4F1000F4487C2C0150A606F30D92AFAF /* AsyncSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsyncSubject.swift; path = RxSwift/Subjects/AsyncSubject.swift; sourceTree = "<group>"; };
-		514D99EB5CB7550B570526741912C8C6 /* Platform.Linux.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Linux.swift; path = Platform/Platform.Linux.swift; sourceTree = "<group>"; };
-		516D52E4A92E72BFCD8998DBA0BE9B03 /* Disposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Disposable.swift; path = RxSwift/Disposable.swift; sourceTree = "<group>"; };
-		51FE85DA2956A05DBEC69727C4E8FD99 /* Bag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Bag.swift; path = Platform/DataStructures/Bag.swift; sourceTree = "<group>"; };
-		52D6457286A14A38BBD82D8C6099798B /* SkipWhile.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SkipWhile.swift; path = RxSwift/Observables/SkipWhile.swift; sourceTree = "<group>"; };
-		535CA1EA937AD886FAD4EC1309B331DD /* Do.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Do.swift; path = RxSwift/Observables/Do.swift; sourceTree = "<group>"; };
-		536A8BDFB104F4132169F2B758A6AA0C /* PetstoreClient.podspec */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; path = PetstoreClient.podspec; sourceTree = "<group>"; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
-		538A32CCEDC18E4888E6C1A766DF1F02 /* PublishSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = PublishSubject.swift; path = RxSwift/Subjects/PublishSubject.swift; sourceTree = "<group>"; };
-		57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Model200Response.swift; sourceTree = "<group>"; };
-		59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OuterComposite.swift; sourceTree = "<group>"; };
-		5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = NumberOnly.swift; sourceTree = "<group>"; };
-		5B598E168B47485DC60F9DBBCBEEF5BB /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Alamofire.framework; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		5BB023BDD73FF5AAC5686C18261C2E59 /* Alamofire-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Alamofire-dummy.m"; sourceTree = "<group>"; };
-		5C879BF6973F64B5E2A20498F1411169 /* Alamofire-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-umbrella.h"; sourceTree = "<group>"; };
-		5D19299E0C5CBA41113508BC57DA9395 /* Merge.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Merge.swift; path = RxSwift/Observables/Merge.swift; sourceTree = "<group>"; };
-		5D48DC023BF473789CEF045FB00121FA /* AFError.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AFError.swift; path = Source/AFError.swift; sourceTree = "<group>"; };
-		5E28232337E7C27CF55A409886C712B8 /* Amb.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Amb.swift; path = RxSwift/Observables/Amb.swift; sourceTree = "<group>"; };
-		5EA12B9820292EF94959B987736473C9 /* Repeat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Repeat.swift; path = RxSwift/Observables/Repeat.swift; sourceTree = "<group>"; };
-		631DEA4DC6C852A962E761306DC8E5AF /* ConcurrentDispatchQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConcurrentDispatchQueueScheduler.swift; path = RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift; sourceTree = "<group>"; };
-		647B15E397B92CD0E6B089800A79E32D /* RetryWhen.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RetryWhen.swift; path = RxSwift/Observables/RetryWhen.swift; sourceTree = "<group>"; };
-		64E2FC7F6A4850DCB9BBCB9D83E40C34 /* Request.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Request.swift; path = Source/Request.swift; sourceTree = "<group>"; };
-		651788C4235096156C06C2938F64FDC0 /* Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Rx.swift; path = RxSwift/Rx.swift; sourceTree = "<group>"; };
-		65291C76071A7F24B8CD055721199A73 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		683556396167E2BC804256F1F9B46794 /* AsSingle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AsSingle.swift; path = RxSwift/Observables/AsSingle.swift; sourceTree = "<group>"; };
-		68968F00A741CAAE57D479C8747F4248 /* Result.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Result.swift; path = Source/Result.swift; sourceTree = "<group>"; };
-		68D91ADF79F3222DA753503175249139 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		69138EC14ACB61D4A4FE4CEF74B2D278 /* Timeout.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timeout.swift; path = RxSwift/Observables/Timeout.swift; sourceTree = "<group>"; };
-		695B2C5AEB6FE1A766CC26F3BE48BC1C /* Cancelable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Cancelable.swift; path = RxSwift/Cancelable.swift; sourceTree = "<group>"; };
-		6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AnimalFarm.swift; sourceTree = "<group>"; };
-		6AA6FF029E25846278724FECC2B0CD33 /* InvocableScheduledItem.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InvocableScheduledItem.swift; path = RxSwift/Schedulers/Internal/InvocableScheduledItem.swift; sourceTree = "<group>"; };
-		6C26DF960562568F8AAA198AB9D0ADE9 /* Reduce.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reduce.swift; path = RxSwift/Observables/Reduce.swift; sourceTree = "<group>"; };
-		6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Extensions.swift; path = PetstoreClient/Classes/OpenAPIs/Extensions.swift; sourceTree = "<group>"; };
-		6F0CC5EE4C8B956EA02B0CD91AE32394 /* ServerTrustPolicy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ServerTrustPolicy.swift; path = Source/ServerTrustPolicy.swift; sourceTree = "<group>"; };
-		721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwaggerClientTests-dummy.m"; sourceTree = "<group>"; };
-		72AE8E25B88FDA8DCA0CE1D1C785AE2D /* Error.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Error.swift; path = RxSwift/Observables/Error.swift; sourceTree = "<group>"; };
-		7388ECAD6E93F2CDDA035F993F552D87 /* Zip+Collection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Zip+Collection.swift"; path = "RxSwift/Observables/Zip+Collection.swift"; sourceTree = "<group>"; };
-		7413D0DEA3FCB4E2B6B61AA738939609 /* ShareReplayScope.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ShareReplayScope.swift; path = RxSwift/Observables/ShareReplayScope.swift; sourceTree = "<group>"; };
-		7416EC69ECF5772C560109A5ED8D588E /* Deferred.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Deferred.swift; path = RxSwift/Observables/Deferred.swift; sourceTree = "<group>"; };
-		74201A6B694096DAEAC939BF5A23C46D /* AnonymousDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousDisposable.swift; path = RxSwift/Disposables/AnonymousDisposable.swift; sourceTree = "<group>"; };
-		749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayTest.swift; sourceTree = "<group>"; };
-		75D98F114B4846AE45CE5B90B57DBA35 /* SessionManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionManager.swift; path = Source/SessionManager.swift; sourceTree = "<group>"; };
-		76645699475D3AB6EB5242AC4D0CEFAE /* Pods-SwaggerClient-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwaggerClient-acknowledgements.markdown"; sourceTree = "<group>"; };
-		777A63E817CA5F873A73B02928A334CE /* Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Alamofire.swift; path = Source/Alamofire.swift; sourceTree = "<group>"; };
-		79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FakeAPI.swift; sourceTree = "<group>"; };
-		79E124948BC6C0A5B04B02009B037987 /* Zip+arity.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Zip+arity.swift"; path = "RxSwift/Observables/Zip+arity.swift"; sourceTree = "<group>"; };
-		7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = StoreAPI.swift; sourceTree = "<group>"; };
-		7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Configuration.swift; path = PetstoreClient/Classes/OpenAPIs/Configuration.swift; sourceTree = "<group>"; };
-		7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = OuterEnum.swift; sourceTree = "<group>"; };
-		7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "PetstoreClient-dummy.m"; sourceTree = "<group>"; };
-		7FEC3DCD86C07B65B23ABB64AD5CDA68 /* ElementAt.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ElementAt.swift; path = RxSwift/Observables/ElementAt.swift; sourceTree = "<group>"; };
-		814471C0F27B39D751143F0CD53670BD /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		82310F12B492F60A13F62CF52702755C /* Sink.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sink.swift; path = RxSwift/Observables/Sink.swift; sourceTree = "<group>"; };
-		8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FormatTest.swift; sourceTree = "<group>"; };
-		84A09D760BA2EA13D5BE269086BAD34C /* RxSwift.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = RxSwift.framework; path = RxSwift.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		852FA37D9D05B1C1C334C97888ED40D3 /* Validation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Validation.swift; path = Source/Validation.swift; sourceTree = "<group>"; };
-		8796EDFC02FDC2F169BA74667BB3E3CA /* Sample.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sample.swift; path = RxSwift/Observables/Sample.swift; sourceTree = "<group>"; };
-		8872875BE1C248970BE0C0E6A4F54B2E /* Concat.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Concat.swift; path = RxSwift/Observables/Concat.swift; sourceTree = "<group>"; };
-		888D25A758FE1CF355E7A48F6D418E36 /* Map.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Map.swift; path = RxSwift/Observables/Map.swift; sourceTree = "<group>"; };
-		893081A9D1C037310A86F3182BF38098 /* BinaryDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BinaryDisposable.swift; path = RxSwift/Disposables/BinaryDisposable.swift; sourceTree = "<group>"; };
-		899C7116CD1C1652D453B63AA281232B /* RxSwift-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxSwift-prefix.pch"; sourceTree = "<group>"; };
-		8A12A7ADC5FD1C8C9DFC3B65FF135191 /* TaskDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TaskDelegate.swift; path = Source/TaskDelegate.swift; sourceTree = "<group>"; };
-		8B8FD648A2922AEAC6DD6AB816E2592B /* Sequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Sequence.swift; path = RxSwift/Observables/Sequence.swift; sourceTree = "<group>"; };
-		92278B77A7357596D58AB0C075D0948C /* Throttle.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Throttle.swift; path = RxSwift/Observables/Throttle.swift; sourceTree = "<group>"; };
-		92BD912F8B8ED40C37699519197E61C6 /* Using.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Using.swift; path = RxSwift/Observables/Using.swift; sourceTree = "<group>"; };
-		93893E6B21291795613092CE89A054B9 /* ParameterEncoding.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ParameterEncoding.swift; path = Source/ParameterEncoding.swift; sourceTree = "<group>"; };
-		93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */ = {isa = PBXFileReference; explicitFileType = text.script.ruby; includeInIndex = 1; lastKnownFileType = text; name = Podfile; path = ../Podfile; sourceTree = SOURCE_ROOT; xcLanguageSpecificationIdentifier = xcode.lang.ruby; };
-		93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = FakeClassnameTags123API.swift; sourceTree = "<group>"; };
-		93EC0AF4A1BE4FA92D40CE454B203C73 /* Switch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Switch.swift; path = RxSwift/Observables/Switch.swift; sourceTree = "<group>"; };
-		949911686773B44C613A58E025C223BA /* Filter.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Filter.swift; path = RxSwift/Observables/Filter.swift; sourceTree = "<group>"; };
-		95ABE9C8F7D6635646F6C100B2B637B5 /* ConnectableObservableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConnectableObservableType.swift; path = RxSwift/ConnectableObservableType.swift; sourceTree = "<group>"; };
-		9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = SpecialModelName.swift; sourceTree = "<group>"; };
-		9744CAC1B97675B5C8BDFE1483E34D21 /* Timer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Timer.swift; path = RxSwift/Observables/Timer.swift; sourceTree = "<group>"; };
-		99662E82007C3712D4A6C84D9442D945 /* GroupBy.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = GroupBy.swift; path = RxSwift/Observables/GroupBy.swift; sourceTree = "<group>"; };
-		998EC6F6A2EE477EE6F698F57FFC3750 /* Deprecated.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Deprecated.swift; path = RxSwift/Deprecated.swift; sourceTree = "<group>"; };
-		9A677D3D79730410F53DE1DB6D509BF6 /* ResponseSerialization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ResponseSerialization.swift; path = Source/ResponseSerialization.swift; sourceTree = "<group>"; };
-		9C7D11F28E762B650DCE249F9231AFF6 /* MultipartFormData.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MultipartFormData.swift; path = Source/MultipartFormData.swift; sourceTree = "<group>"; };
-		9D08EC9B39FEBA43A5B55DAF97AAEBE9 /* Pods-SwaggerClientTests.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwaggerClientTests.modulemap"; sourceTree = "<group>"; };
-		9D780FDAD16A03CC25F4D6F3317B9423 /* Pods-SwaggerClientTests-acknowledgements.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = "Pods-SwaggerClientTests-acknowledgements.plist"; sourceTree = "<group>"; };
-		A21868904DAD64FC72F911E44FE2429E /* ToArray.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ToArray.swift; path = RxSwift/Observables/ToArray.swift; sourceTree = "<group>"; };
-		A2454112DD5AEE5186A4664E9A126BED /* DisposeBase.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DisposeBase.swift; path = RxSwift/Disposables/DisposeBase.swift; sourceTree = "<group>"; };
-		A47F43BE5B9D458EBB11F65DF3012B31 /* WithLatestFrom.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = WithLatestFrom.swift; path = RxSwift/Observables/WithLatestFrom.swift; sourceTree = "<group>"; };
-		A625DF4508148061AAB7EBC23E067525 /* Empty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Empty.swift; path = RxSwift/Observables/Empty.swift; sourceTree = "<group>"; };
-		A6D9C76F23B7D6E1FAEFE7F3EA079003 /* InfiniteSequence.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = InfiniteSequence.swift; path = Platform/DataStructures/InfiniteSequence.swift; sourceTree = "<group>"; };
-		A6DAD9E105266B1758339618389747E4 /* Scan.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Scan.swift; path = RxSwift/Observables/Scan.swift; sourceTree = "<group>"; };
-		A7ABE12F4F77E42B352D072ACD9946AC /* ObservableConvertibleType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObservableConvertibleType.swift; path = RxSwift/ObservableConvertibleType.swift; sourceTree = "<group>"; };
-		A915BB8C0650173C2558895A4B43A73B /* Buffer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Buffer.swift; path = RxSwift/Observables/Buffer.swift; sourceTree = "<group>"; };
-		AA9C5856BEAE5090A7D1EB450A10C04F /* Alamofire.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Alamofire.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Tag.swift; sourceTree = "<group>"; };
-		AC25882FB329122EF59BC09D5C5B42B9 /* Window.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Window.swift; path = RxSwift/Observables/Window.swift; sourceTree = "<group>"; };
-		AC76461A77281664DFA98D53498ECD13 /* Range.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Range.swift; path = RxSwift/Observables/Range.swift; sourceTree = "<group>"; };
-		ACE351254D9CADACBCE214EB425A2B43 /* ConcurrentMainScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ConcurrentMainScheduler.swift; path = RxSwift/Schedulers/ConcurrentMainScheduler.swift; sourceTree = "<group>"; };
-		AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = PetstoreClient.xcconfig; sourceTree = "<group>"; };
-		B10682A3553F0BC32058B81F6157D67B /* Platform.Darwin.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Platform.Darwin.swift; path = Platform/Platform.Darwin.swift; sourceTree = "<group>"; };
-		B232F9C4224779F256F29E0CF4EF3322 /* AddRef.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AddRef.swift; path = RxSwift/Observables/AddRef.swift; sourceTree = "<group>"; };
-		B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = List.swift; sourceTree = "<group>"; };
-		B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Client.swift; sourceTree = "<group>"; };
-		B3BE266C827C7427D0C31408FE919905 /* DefaultIfEmpty.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DefaultIfEmpty.swift; path = RxSwift/Observables/DefaultIfEmpty.swift; sourceTree = "<group>"; };
-		B47AE62054C888B75C48419EBF7EF1A7 /* Catch.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Catch.swift; path = RxSwift/Observables/Catch.swift; sourceTree = "<group>"; };
-		B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ReadOnlyFirst.swift; sourceTree = "<group>"; };
-		B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Models.swift; path = PetstoreClient/Classes/OpenAPIs/Models.swift; sourceTree = "<group>"; };
-		B6D7F52145D6986DDC613D7FB6DF4F3D /* BehaviorSubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BehaviorSubject.swift; path = RxSwift/Subjects/BehaviorSubject.swift; sourceTree = "<group>"; };
-		B6DF9E242A80EC5685B3D5731E9176BB /* ReplaySubject.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ReplaySubject.swift; path = RxSwift/Subjects/ReplaySubject.swift; sourceTree = "<group>"; };
-		B7B793869715E1AEF65DF4D148BD88E0 /* RxMutableBox.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RxMutableBox.swift; path = RxSwift/RxMutableBox.swift; sourceTree = "<group>"; };
-		BA0348E245661C3C2ECB814A85A081A5 /* Response.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Response.swift; path = Source/Response.swift; sourceTree = "<group>"; };
-		BC59FD558680F110C9CF1E09C4B30234 /* RefCountDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = RefCountDisposable.swift; path = RxSwift/Disposables/RefCountDisposable.swift; sourceTree = "<group>"; };
-		BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AlamofireImplementations.swift; path = PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift; sourceTree = "<group>"; };
-		BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = EnumArrays.swift; sourceTree = "<group>"; };
-		BF980894DB7449C53D44D590F6197C88 /* ImmediateSchedulerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ImmediateSchedulerType.swift; path = RxSwift/ImmediateSchedulerType.swift; sourceTree = "<group>"; };
-		BFA86CCB6DD23509D8E393B3EBB39E7C /* CombineLatest+Collection.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "CombineLatest+Collection.swift"; path = "RxSwift/Observables/CombineLatest+Collection.swift"; sourceTree = "<group>"; };
-		C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = HasOnlyReadOnly.swift; sourceTree = "<group>"; };
-		C1C89F468280F8359E898DC2281CAC89 /* CompositeDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CompositeDisposable.swift; path = RxSwift/Disposables/CompositeDisposable.swift; sourceTree = "<group>"; };
-		C33C30173D8DC512E4B32B8D4DB6D422 /* Observable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Observable.swift; path = RxSwift/Observable.swift; sourceTree = "<group>"; };
-		C45CF1E9C72669473CD2D3E71DBD63E9 /* VirtualTimeConverterType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = VirtualTimeConverterType.swift; path = RxSwift/Schedulers/VirtualTimeConverterType.swift; sourceTree = "<group>"; };
-		C4B474BD9070828C0F786071EEF46CD0 /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = Pods_SwaggerClientTests.framework; path = "Pods-SwaggerClientTests.framework"; sourceTree = BUILT_PRODUCTS_DIR; };
-		C87B58E988280B4B9A04835B9570BAAB /* RxSwift-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "RxSwift-umbrella.h"; sourceTree = "<group>"; };
-		CA911BA97CC3081E2363ED0B4580209F /* Queue.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Queue.swift; path = Platform/DataStructures/Queue.swift; sourceTree = "<group>"; };
-		CAF6F32F117197F6F08B477687F09728 /* Pods-SwaggerClientTests-frameworks.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClientTests-frameworks.sh"; sourceTree = "<group>"; };
-		CB599C6476D3B5ADBA90BD6EAFB4C115 /* ScheduledItemType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ScheduledItemType.swift; path = RxSwift/Schedulers/Internal/ScheduledItemType.swift; sourceTree = "<group>"; };
-		CB5F32B59881971A1405610DC089DD57 /* ObservableType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObservableType.swift; path = RxSwift/ObservableType.swift; sourceTree = "<group>"; };
-		CC1DDBA7954D27380AA9FE905490F925 /* Completable+AndThen.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "Completable+AndThen.swift"; path = "RxSwift/Traits/Completable+AndThen.swift"; sourceTree = "<group>"; };
-		CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = MixedPropertiesAndAdditionalPropertiesClass.swift; sourceTree = "<group>"; };
-		CD087C1A176984F7F186AFBC444C6DF9 /* SchedulerServices+Emulation.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "SchedulerServices+Emulation.swift"; path = "RxSwift/Schedulers/SchedulerServices+Emulation.swift"; sourceTree = "<group>"; };
-		CE668A71E275DF34C1ACD8E01FAA0F47 /* SynchronizedUnsubscribeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedUnsubscribeType.swift; path = RxSwift/Concurrency/SynchronizedUnsubscribeType.swift; sourceTree = "<group>"; };
-		CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Pods-SwaggerClientTests-umbrella.h"; sourceTree = "<group>"; };
-		CFA2BB0A87B62F067FBD44D8EFB93058 /* DispatchQueue+Alamofire.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Alamofire.swift"; path = "Source/DispatchQueue+Alamofire.swift"; sourceTree = "<group>"; };
-		CFA4F581E074596AB5C3DAF3D9C39F17 /* Pods-SwaggerClient.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = "Pods-SwaggerClient.modulemap"; sourceTree = "<group>"; };
-		D21B67854DF0875502A22FE967BB22A4 /* AnyObserver.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnyObserver.swift; path = RxSwift/AnyObserver.swift; sourceTree = "<group>"; };
-		D2F8A7D1F3AA17C12A89128D163EFDF5 /* SerialDispatchQueueScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SerialDispatchQueueScheduler.swift; path = RxSwift/Schedulers/SerialDispatchQueueScheduler.swift; sourceTree = "<group>"; };
-		D3EE8437BC7F2156A710F1EEA545EBC2 /* String+Rx.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "String+Rx.swift"; path = "RxSwift/Extensions/String+Rx.swift"; sourceTree = "<group>"; };
-		D47B812D78D0AE64D85D16A96840F8C4 /* Pods-SwaggerClientTests-acknowledgements.markdown */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text; path = "Pods-SwaggerClientTests-acknowledgements.markdown"; sourceTree = "<group>"; };
-		D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Name.swift; sourceTree = "<group>"; };
-		D651D943838D79481E5485342F6E37DA /* Producer.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Producer.swift; path = RxSwift/Observables/Producer.swift; sourceTree = "<group>"; };
-		D68F6F9541A2714DA6125FB3E9BB9727 /* AnonymousInvocable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = AnonymousInvocable.swift; path = RxSwift/Schedulers/Internal/AnonymousInvocable.swift; sourceTree = "<group>"; };
-		D71252188831E0A81462FE21E33B84CE /* SynchronizedDisposeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedDisposeType.swift; path = RxSwift/Concurrency/SynchronizedDisposeType.swift; sourceTree = "<group>"; };
-		D7E51BBDAB04A3D67CADD9C9DF54CC05 /* CurrentThreadScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = CurrentThreadScheduler.swift; path = RxSwift/Schedulers/CurrentThreadScheduler.swift; sourceTree = "<group>"; };
-		D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ArrayOfNumberOnly.swift; sourceTree = "<group>"; };
-		D9E14BF8171AF0A150A30FD6EC85B4DF /* Alamofire-prefix.pch */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.h; path = "Alamofire-prefix.pch"; sourceTree = "<group>"; };
-		DA5F47130C28C4C5652E69E59A0902BD /* User.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = User.swift; sourceTree = "<group>"; };
-		DB6697B7A5CC377C3AC35303B0D0487D /* Variable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Variable.swift; path = RxSwift/Subjects/Variable.swift; sourceTree = "<group>"; };
-		DCFE6D738B9A72C55748A3EE0D669FFC /* SessionDelegate.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SessionDelegate.swift; path = Source/SessionDelegate.swift; sourceTree = "<group>"; };
-		DD55BB66B76757868058C24E16A79BEC /* Multicast.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Multicast.swift; path = RxSwift/Observables/Multicast.swift; sourceTree = "<group>"; };
-		DDD1FBFAF29C8BB9FEF76A9F3F5B0061 /* Reactive.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Reactive.swift; path = RxSwift/Reactive.swift; sourceTree = "<group>"; };
-		DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = APIs.swift; path = PetstoreClient/Classes/OpenAPIs/APIs.swift; sourceTree = "<group>"; };
-		DF09AC4A7016BDFDF5D4642172938A90 /* DisposeBag.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DisposeBag.swift; path = RxSwift/Disposables/DisposeBag.swift; sourceTree = "<group>"; };
-		E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Order.swift; sourceTree = "<group>"; };
-		E172658949F5AACBFEFB9F2A7A45121B /* Just.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Just.swift; path = RxSwift/Observables/Just.swift; sourceTree = "<group>"; };
-		E19AF5866D261DB5B6AEC5D575086EA2 /* Info.plist */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		E65642813E0667C81374DA8D6C4D7C96 /* TakeLast.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TakeLast.swift; path = RxSwift/Observables/TakeLast.swift; sourceTree = "<group>"; };
-		E9CBBB398E7A62950FA8BC091CBE0359 /* PetstoreClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; name = PetstoreClient.framework; path = PetstoreClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		EA4A73DFC5EC70ADEC8DB5A65A07196B /* Event.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Event.swift; path = RxSwift/Event.swift; sourceTree = "<group>"; };
-		EBD2925843939637E459525857FA3FA8 /* NetworkReachabilityManager.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = NetworkReachabilityManager.swift; path = Source/NetworkReachabilityManager.swift; sourceTree = "<group>"; };
-		ED2A996D8F9E9BFA159AF4333CEAB7E2 /* TailRecursiveSink.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = TailRecursiveSink.swift; path = RxSwift/Observers/TailRecursiveSink.swift; sourceTree = "<group>"; };
-		EDA64805F9AEB3535908A7D984AB5BE8 /* SkipUntil.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SkipUntil.swift; path = RxSwift/Observables/SkipUntil.swift; sourceTree = "<group>"; };
-		EFA925A9B9BFE80C3EDB17F2F0BF4A11 /* RxSwift-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "RxSwift-dummy.m"; sourceTree = "<group>"; };
-		F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = ApiResponse.swift; sourceTree = "<group>"; };
-		F1A93A80FFDD8930597E5AF4351E9F40 /* RxSwift.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = RxSwift.modulemap; sourceTree = "<group>"; };
-		F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = Capitalization.swift; sourceTree = "<group>"; };
-		F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-		F3E1116FA9F9F3AFD9332B7236F6E711 /* Pods-SwaggerClientTests-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClientTests-resources.sh"; sourceTree = "<group>"; };
-		F4A824D76F7E64069335E887FBD40B79 /* Alamofire.modulemap */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.module; path = Alamofire.modulemap; sourceTree = "<group>"; };
-		F4BB3B2146310CA18C30F145BFF15BD9 /* Pods-SwaggerClient-resources.sh */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.script.sh; path = "Pods-SwaggerClient-resources.sh"; sourceTree = "<group>"; };
-		F5101A83B512E74F49467146FE96350A /* ObserverType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserverType.swift; path = RxSwift/ObserverType.swift; sourceTree = "<group>"; };
-		F7CDE3DF48D0BD49F53158F547F2F814 /* MainScheduler.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = MainScheduler.swift; path = RxSwift/Schedulers/MainScheduler.swift; sourceTree = "<group>"; };
-		F80B940734051003693AB8C9396B9A95 /* ObserveOn.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = ObserveOn.swift; path = RxSwift/Observables/ObserveOn.swift; sourceTree = "<group>"; };
-		F85C44B8250F6BDF2F4746605665C079 /* SerialDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SerialDisposable.swift; path = RxSwift/Disposables/SerialDisposable.swift; sourceTree = "<group>"; };
-		F85F748990FBD91519A91098D6BA6366 /* BooleanDisposable.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = BooleanDisposable.swift; path = RxSwift/Disposables/BooleanDisposable.swift; sourceTree = "<group>"; };
-		F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.c.objc; path = "Pods-SwaggerClient-dummy.m"; sourceTree = "<group>"; };
-		F95B56C2C53C700F09ACF424C9C68CFC /* DispatchQueue+Extensions.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = "DispatchQueue+Extensions.swift"; path = "Platform/DispatchQueue+Extensions.swift"; sourceTree = "<group>"; };
-		FAF3CD60CC66BB642D72FD7DD9FA47EA /* SynchronizedSubscribeType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SynchronizedSubscribeType.swift; path = RxSwift/Concurrency/SynchronizedSubscribeType.swift; sourceTree = "<group>"; };
-		FBCF44963E46D2655B43F77741342C5D /* SchedulerType.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = SchedulerType.swift; path = RxSwift/SchedulerType.swift; sourceTree = "<group>"; };
-		FC5C19FAC757DF61EE5B83BA514D8F78 /* Disposables.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = Disposables.swift; path = RxSwift/Disposables/Disposables.swift; sourceTree = "<group>"; };
-		FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; path = AdditionalPropertiesClass.swift; sourceTree = "<group>"; };
-		FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; path = "Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-		FEA375D4493914B5629827903F168466 /* DispatchQueueConfiguration.swift */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = sourcecode.swift; name = DispatchQueueConfiguration.swift; path = RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		7139BF778844E2A9E420524D8146ECD8 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				D210B9E8D1B698A92D285845C09C9960 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		99195E4207764744AEC07ECCBCD550EB /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				73B9C996AED49ED7CF8EC2A6F1738059 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		B61347E4B942D85FB700CD798AEC3A6D /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				A7C5CF056E08D8CF885F5A923F8A7655 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		C3BBC13F5A99F913D7BF55BAE90FCE86 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				E8E275B7A3686605EDE9844688758CF2 /* Alamofire.framework in Frameworks */,
-				07646291B1A70D36C21FA0B73C43A86C /* Foundation.framework in Frameworks */,
-				F0773FB51871142573829B798A320088 /* RxSwift.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		C6FBD0205779A1AC7CD0ADD758A3BF95 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				BD13F16DB254433B71AE9E50D25BAFB3 /* Foundation.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		115E81F744E172774E1536D7094D3F87 /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				F4A824D76F7E64069335E887FBD40B79 /* Alamofire.modulemap */,
-				32CAA23B558D5641EE6320708FECD03E /* Alamofire.xcconfig */,
-				5BB023BDD73FF5AAC5686C18261C2E59 /* Alamofire-dummy.m */,
-				D9E14BF8171AF0A150A30FD6EC85B4DF /* Alamofire-prefix.pch */,
-				5C879BF6973F64B5E2A20498F1411169 /* Alamofire-umbrella.h */,
-				68D91ADF79F3222DA753503175249139 /* Info.plist */,
-			);
-			name = "Support Files";
-			path = "../Target Support Files/Alamofire";
-			sourceTree = "<group>";
-		};
-		278550D14ED46E76A8C3F458B5E6177F /* iOS */ = {
-			isa = PBXGroup;
-			children = (
-				2C7B6B4C3E8F676A457C5FF16CEE7682 /* Foundation.framework */,
-			);
-			name = iOS;
-			sourceTree = "<group>";
-		};
-		38BCEE2B62E7F17FC1A6B47F74A915B1 /* PetstoreClient */ = {
-			isa = PBXGroup;
-			children = (
-				BCD2D0F8C81B81BFB4306011CAC48A20 /* AlamofireImplementations.swift */,
-				1E982F66B9CB4E2C2083F9B02EF41011 /* APIHelper.swift */,
-				DE05BA43EDFECD3CB825712216F42CE9 /* APIs.swift */,
-				7A1AE5E1B215E1D53DCB6AB501CB0DAE /* Configuration.swift */,
-				6CAA626D85FBD1FF53F144A14B3A3230 /* Extensions.swift */,
-				B64104A4C68341D80F2DB4CF5DE7779F /* Models.swift */,
-				71EF1D86BA306C7F68FA92ABA15B0633 /* APIs */,
-				5540224464BBA954BAFB3FC559814D13 /* Models */,
-				758ACCF640B62D96565B035F4A4931A6 /* Pod */,
-				FC9FD763F0BBF138A397EE0401BEA7BE /* Support Files */,
-			);
-			name = PetstoreClient;
-			path = ../..;
-			sourceTree = "<group>";
-		};
-		5540224464BBA954BAFB3FC559814D13 /* Models */ = {
-			isa = PBXGroup;
-			children = (
-				FD481458DC0F63AEFBD495121305D6D8 /* AdditionalPropertiesClass.swift */,
-				2274608F6E89920A7FBADABEF6A20A1F /* Animal.swift */,
-				6A0B504F5FC1B5E5369C2AD8ABA9482A /* AnimalFarm.swift */,
-				F0E62A4CE2C6F59AE92D9D02B41649D5 /* ApiResponse.swift */,
-				4DD46253330346E885D5966DBB25FE8B /* ArrayOfArrayOfNumberOnly.swift */,
-				D931C41179C1EA52307316C7F51D1245 /* ArrayOfNumberOnly.swift */,
-				749EFF1B930D930529640C8004714C51 /* ArrayTest.swift */,
-				F2A82E1B6CEC50F002C59C255C26B381 /* Capitalization.swift */,
-				3ED78F1E81F4EF6FE5B0E77CA5BFB40C /* Cat.swift */,
-				1C103637D74EC198CF949454436D3616 /* Category.swift */,
-				2F3B836F14594A6EF1923CC07B61E893 /* ClassModel.swift */,
-				B2CEC365CFACB91EC9E750D659D5ED10 /* Client.swift */,
-				08583885463D1EDB2F8023584348659C /* Dog.swift */,
-				BDE4AF9A5A88886D7B60AF0F0996D9FA /* EnumArrays.swift */,
-				1FCF0B9190C58BD7493583E8133B3E56 /* EnumClass.swift */,
-				2EB881F0C1B1D1F90FAB084334D6C13D /* EnumTest.swift */,
-				8261F606FFC7AA4F9C45CA8016E8B1C7 /* FormatTest.swift */,
-				C049305B9A26A2FD2A88D0394DD37678 /* HasOnlyReadOnly.swift */,
-				B2AAC6F82FCBCF2CE32522143CBF59D6 /* List.swift */,
-				00FC3821A8BFCD6F05D00696BF175619 /* MapTest.swift */,
-				CC890DE67452A9F63BD12B30135E3BD6 /* MixedPropertiesAndAdditionalPropertiesClass.swift */,
-				57299EE6209AFEBA56C717433863E136 /* Model200Response.swift */,
-				D4C9F81DD3B2DAC61C014790FAFD205E /* Name.swift */,
-				5921D679A4009B3F216FEF671EB69158 /* NumberOnly.swift */,
-				E0644BE2FFAA5C8FE7F15E3BF2557AFC /* Order.swift */,
-				59022FD592AB91A0B2EDA3A2EA5EC8D9 /* OuterComposite.swift */,
-				7B11E91D22910944308DE39CB8CBF3AE /* OuterEnum.swift */,
-				14FE73E27209DA05667C0D3E1B601734 /* Pet.swift */,
-				B4FB407CB8C792BFB02EADD91D6A4DFA /* ReadOnlyFirst.swift */,
-				1BAEE07194E1BFA72B1110849C7B348A /* Return.swift */,
-				9623461D845F7EE6E2BBDBC44B8FE867 /* SpecialModelName.swift */,
-				AB9FB7676C53BD9BE06337BB539478B1 /* Tag.swift */,
-				DA5F47130C28C4C5652E69E59A0902BD /* User.swift */,
-			);
-			name = Models;
-			path = PetstoreClient/Classes/OpenAPIs/Models;
-			sourceTree = "<group>";
-		};
-		69750F9014CEFA9B29584C65B2491D2E /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				AA9C5856BEAE5090A7D1EB450A10C04F /* Alamofire.framework */,
-				19296A8C5E948345E5744A748B1CC720 /* RxSwift.framework */,
-				278550D14ED46E76A8C3F458B5E6177F /* iOS */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		71EF1D86BA306C7F68FA92ABA15B0633 /* APIs */ = {
-			isa = PBXGroup;
-			children = (
-				45ED3A5E50AA60588D6ADA19ACBF0C66 /* AnotherFakeAPI.swift */,
-				79DD8EF004C7534401577C1694D823F3 /* FakeAPI.swift */,
-				93D9DA1CB883DC1FCCF639FECF14930D /* FakeClassnameTags123API.swift */,
-				3911B66DC4AC99DD29F10D115CF4555A /* PetAPI.swift */,
-				7A15B50BA886EAD6427ADC7E68BBD4FE /* StoreAPI.swift */,
-				3BFA1723A93AA1DB0952B2F750421B32 /* UserAPI.swift */,
-			);
-			name = APIs;
-			path = PetstoreClient/Classes/OpenAPIs/APIs;
-			sourceTree = "<group>";
-		};
-		758ACCF640B62D96565B035F4A4931A6 /* Pod */ = {
-			isa = PBXGroup;
-			children = (
-				536A8BDFB104F4132169F2B758A6AA0C /* PetstoreClient.podspec */,
-			);
-			name = Pod;
-			sourceTree = "<group>";
-		};
-		7778267A888101208ECFC73C1D2F5ABD /* Alamofire */ = {
-			isa = PBXGroup;
-			children = (
-				5D48DC023BF473789CEF045FB00121FA /* AFError.swift */,
-				777A63E817CA5F873A73B02928A334CE /* Alamofire.swift */,
-				CFA2BB0A87B62F067FBD44D8EFB93058 /* DispatchQueue+Alamofire.swift */,
-				9C7D11F28E762B650DCE249F9231AFF6 /* MultipartFormData.swift */,
-				EBD2925843939637E459525857FA3FA8 /* NetworkReachabilityManager.swift */,
-				0F6B1DF26896BB3C53B013DCB6CAC2A2 /* Notifications.swift */,
-				93893E6B21291795613092CE89A054B9 /* ParameterEncoding.swift */,
-				64E2FC7F6A4850DCB9BBCB9D83E40C34 /* Request.swift */,
-				BA0348E245661C3C2ECB814A85A081A5 /* Response.swift */,
-				9A677D3D79730410F53DE1DB6D509BF6 /* ResponseSerialization.swift */,
-				68968F00A741CAAE57D479C8747F4248 /* Result.swift */,
-				6F0CC5EE4C8B956EA02B0CD91AE32394 /* ServerTrustPolicy.swift */,
-				DCFE6D738B9A72C55748A3EE0D669FFC /* SessionDelegate.swift */,
-				75D98F114B4846AE45CE5B90B57DBA35 /* SessionManager.swift */,
-				8A12A7ADC5FD1C8C9DFC3B65FF135191 /* TaskDelegate.swift */,
-				31EE482CF21D19C54B33E17B7A4E43F3 /* Timeline.swift */,
-				852FA37D9D05B1C1C334C97888ED40D3 /* Validation.swift */,
-				115E81F744E172774E1536D7094D3F87 /* Support Files */,
-			);
-			name = Alamofire;
-			path = Alamofire;
-			sourceTree = "<group>";
-		};
-		7DB346D0F39D3F0E887471402A8071AB = {
-			isa = PBXGroup;
-			children = (
-				93A4A3777CF96A4AAC1D13BA6DCCEA73 /* Podfile */,
-				8F0C005305764051BE9B8E1DEE8C7E64 /* Development Pods */,
-				69750F9014CEFA9B29584C65B2491D2E /* Frameworks */,
-				F425AE79AF3C820F618BDE97C5F5DC44 /* Pods */,
-				C1398CE2D296EEBAA178C160CA6E6AD6 /* Products */,
-				C1A60D10CED0E61146591438999C7502 /* Targets Support Files */,
-			);
-			sourceTree = "<group>";
-		};
-		8F0C005305764051BE9B8E1DEE8C7E64 /* Development Pods */ = {
-			isa = PBXGroup;
-			children = (
-				38BCEE2B62E7F17FC1A6B47F74A915B1 /* PetstoreClient */,
-			);
-			name = "Development Pods";
-			sourceTree = "<group>";
-		};
-		92B5379E461BA80E1DEDB7DA0C44716F /* RxSwift */ = {
-			isa = PBXGroup;
-			children = (
-				B232F9C4224779F256F29E0CF4EF3322 /* AddRef.swift */,
-				5E28232337E7C27CF55A409886C712B8 /* Amb.swift */,
-				74201A6B694096DAEAC939BF5A23C46D /* AnonymousDisposable.swift */,
-				D68F6F9541A2714DA6125FB3E9BB9727 /* AnonymousInvocable.swift */,
-				28B85FF3973524921D29C28D32B60939 /* AnonymousObserver.swift */,
-				D21B67854DF0875502A22FE967BB22A4 /* AnyObserver.swift */,
-				248FA48ED4232A749B19E8326B107390 /* AsMaybe.swift */,
-				683556396167E2BC804256F1F9B46794 /* AsSingle.swift */,
-				149DE31C5C5A1FF69EA3FE40F9791130 /* AsyncLock.swift */,
-				4F1000F4487C2C0150A606F30D92AFAF /* AsyncSubject.swift */,
-				51FE85DA2956A05DBEC69727C4E8FD99 /* Bag.swift */,
-				38DB1B1AED2692F4747813CAC4965A06 /* Bag+Rx.swift */,
-				B6D7F52145D6986DDC613D7FB6DF4F3D /* BehaviorSubject.swift */,
-				893081A9D1C037310A86F3182BF38098 /* BinaryDisposable.swift */,
-				F85F748990FBD91519A91098D6BA6366 /* BooleanDisposable.swift */,
-				A915BB8C0650173C2558895A4B43A73B /* Buffer.swift */,
-				695B2C5AEB6FE1A766CC26F3BE48BC1C /* Cancelable.swift */,
-				B47AE62054C888B75C48419EBF7EF1A7 /* Catch.swift */,
-				4322C1C10B70D563B5B508A53CD5704B /* CombineLatest.swift */,
-				05B19EE7BB7CFC2E18ADF610F26BD9F7 /* CombineLatest+arity.swift */,
-				BFA86CCB6DD23509D8E393B3EBB39E7C /* CombineLatest+Collection.swift */,
-				CC1DDBA7954D27380AA9FE905490F925 /* Completable+AndThen.swift */,
-				C1C89F468280F8359E898DC2281CAC89 /* CompositeDisposable.swift */,
-				8872875BE1C248970BE0C0E6A4F54B2E /* Concat.swift */,
-				631DEA4DC6C852A962E761306DC8E5AF /* ConcurrentDispatchQueueScheduler.swift */,
-				ACE351254D9CADACBCE214EB425A2B43 /* ConcurrentMainScheduler.swift */,
-				95ABE9C8F7D6635646F6C100B2B637B5 /* ConnectableObservableType.swift */,
-				0BED44127AD26D0B00F9FD2ECB9CEDA4 /* Create.swift */,
-				D7E51BBDAB04A3D67CADD9C9DF54CC05 /* CurrentThreadScheduler.swift */,
-				0408C4724C6E604F4F4EEE2856302250 /* Debounce.swift */,
-				30A47B1C8E00C3410BA35859590AFBB3 /* Debug.swift */,
-				B3BE266C827C7427D0C31408FE919905 /* DefaultIfEmpty.swift */,
-				7416EC69ECF5772C560109A5ED8D588E /* Deferred.swift */,
-				2A83AF1902D8C6A7D243C1EB1B632FD4 /* Delay.swift */,
-				1072258F1D85C96C8DE0D43A4D17535E /* DelaySubscription.swift */,
-				424053B5F8188A5A9D86378ECF17AF7F /* Dematerialize.swift */,
-				998EC6F6A2EE477EE6F698F57FFC3750 /* Deprecated.swift */,
-				F95B56C2C53C700F09ACF424C9C68CFC /* DispatchQueue+Extensions.swift */,
-				FEA375D4493914B5629827903F168466 /* DispatchQueueConfiguration.swift */,
-				516D52E4A92E72BFCD8998DBA0BE9B03 /* Disposable.swift */,
-				FC5C19FAC757DF61EE5B83BA514D8F78 /* Disposables.swift */,
-				DF09AC4A7016BDFDF5D4642172938A90 /* DisposeBag.swift */,
-				A2454112DD5AEE5186A4664E9A126BED /* DisposeBase.swift */,
-				2AAFE2F8BED3AD876496367E70110B27 /* DistinctUntilChanged.swift */,
-				535CA1EA937AD886FAD4EC1309B331DD /* Do.swift */,
-				7FEC3DCD86C07B65B23ABB64AD5CDA68 /* ElementAt.swift */,
-				A625DF4508148061AAB7EBC23E067525 /* Empty.swift */,
-				72AE8E25B88FDA8DCA0CE1D1C785AE2D /* Error.swift */,
-				0DC50E863EDEB9C0996B2B6DAA0B99AD /* Errors.swift */,
-				EA4A73DFC5EC70ADEC8DB5A65A07196B /* Event.swift */,
-				949911686773B44C613A58E025C223BA /* Filter.swift */,
-				22AF3598D1B586D34A9092DD1A51FA03 /* Generate.swift */,
-				99662E82007C3712D4A6C84D9442D945 /* GroupBy.swift */,
-				0EB2E37D73483B20FFF4A5A9CC687985 /* GroupedObservable.swift */,
-				00130C4D6737A3B01F28CBD7BA4EEDD3 /* HistoricalScheduler.swift */,
-				4077DE55AEFACC6E0237454995C93E57 /* HistoricalSchedulerTimeConverter.swift */,
-				295257ADE79CBF71EDDB457361B2E80E /* ImmediateScheduler.swift */,
-				BF980894DB7449C53D44D590F6197C88 /* ImmediateSchedulerType.swift */,
-				A6D9C76F23B7D6E1FAEFE7F3EA079003 /* InfiniteSequence.swift */,
-				6AA6FF029E25846278724FECC2B0CD33 /* InvocableScheduledItem.swift */,
-				20E32B939BDA9B05C26957643F21B95E /* InvocableType.swift */,
-				E172658949F5AACBFEFB9F2A7A45121B /* Just.swift */,
-				38DC7C1C0A0A337E524268345E748CA3 /* Lock.swift */,
-				0697E081BC2A5EEB6F014A72AA1FA6FE /* LockOwnerType.swift */,
-				F7CDE3DF48D0BD49F53158F547F2F814 /* MainScheduler.swift */,
-				888D25A758FE1CF355E7A48F6D418E36 /* Map.swift */,
-				0C2D5B54A93C8D77EF18876416B0DB27 /* Materialize.swift */,
-				5D19299E0C5CBA41113508BC57DA9395 /* Merge.swift */,
-				DD55BB66B76757868058C24E16A79BEC /* Multicast.swift */,
-				05EB6180D204793B411E78063D728D37 /* Never.swift */,
-				184A223909D425D6876C780724E7B2DA /* NopDisposable.swift */,
-				C33C30173D8DC512E4B32B8D4DB6D422 /* Observable.swift */,
-				A7ABE12F4F77E42B352D072ACD9946AC /* ObservableConvertibleType.swift */,
-				CB5F32B59881971A1405610DC089DD57 /* ObservableType.swift */,
-				4B17A77CECF7B4996B33CC78A683AFEC /* ObservableType+Extensions.swift */,
-				F80B940734051003693AB8C9396B9A95 /* ObserveOn.swift */,
-				2265FC97FA4169ED188CF2E34F23DACF /* ObserverBase.swift */,
-				F5101A83B512E74F49467146FE96350A /* ObserverType.swift */,
-				024D11AC8314E034F9EE51129F3D2460 /* OperationQueueScheduler.swift */,
-				45F5E5F79EBFF05F9B7B392CEBEBE03B /* Optional.swift */,
-				B10682A3553F0BC32058B81F6157D67B /* Platform.Darwin.swift */,
-				514D99EB5CB7550B570526741912C8C6 /* Platform.Linux.swift */,
-				281B6953B58178760E6D8AE7FDA3CCFB /* PrimitiveSequence.swift */,
-				18F255791BA4F8E78F887B201CEB9A70 /* PrimitiveSequence+Zip+arity.swift */,
-				3EA0BC99D27861517EF33E4AFD427CE3 /* PriorityQueue.swift */,
-				D651D943838D79481E5485342F6E37DA /* Producer.swift */,
-				538A32CCEDC18E4888E6C1A766DF1F02 /* PublishSubject.swift */,
-				CA911BA97CC3081E2363ED0B4580209F /* Queue.swift */,
-				AC76461A77281664DFA98D53498ECD13 /* Range.swift */,
-				DDD1FBFAF29C8BB9FEF76A9F3F5B0061 /* Reactive.swift */,
-				486092B50FE0BFF30D503E7DE4A5E634 /* RecursiveLock.swift */,
-				38AB52055ABAC52DC0BB0AB8FBF07F23 /* RecursiveScheduler.swift */,
-				6C26DF960562568F8AAA198AB9D0ADE9 /* Reduce.swift */,
-				BC59FD558680F110C9CF1E09C4B30234 /* RefCountDisposable.swift */,
-				5EA12B9820292EF94959B987736473C9 /* Repeat.swift */,
-				B6DF9E242A80EC5685B3D5731E9176BB /* ReplaySubject.swift */,
-				647B15E397B92CD0E6B089800A79E32D /* RetryWhen.swift */,
-				651788C4235096156C06C2938F64FDC0 /* Rx.swift */,
-				B7B793869715E1AEF65DF4D148BD88E0 /* RxMutableBox.swift */,
-				8796EDFC02FDC2F169BA74667BB3E3CA /* Sample.swift */,
-				A6DAD9E105266B1758339618389747E4 /* Scan.swift */,
-				48D0E94099FF7A758F7C5B102623B302 /* ScheduledDisposable.swift */,
-				3BB5ADF1D60C58E7C212E5AC4A17E03D /* ScheduledItem.swift */,
-				CB599C6476D3B5ADBA90BD6EAFB4C115 /* ScheduledItemType.swift */,
-				CD087C1A176984F7F186AFBC444C6DF9 /* SchedulerServices+Emulation.swift */,
-				FBCF44963E46D2655B43F77741342C5D /* SchedulerType.swift */,
-				8B8FD648A2922AEAC6DD6AB816E2592B /* Sequence.swift */,
-				D2F8A7D1F3AA17C12A89128D163EFDF5 /* SerialDispatchQueueScheduler.swift */,
-				F85C44B8250F6BDF2F4746605665C079 /* SerialDisposable.swift */,
-				7413D0DEA3FCB4E2B6B61AA738939609 /* ShareReplayScope.swift */,
-				0132F153B6C6244F3078E6A5F7D98CA9 /* SingleAssignmentDisposable.swift */,
-				49E417E77B6316B84A6E574BA392BCDF /* SingleAsync.swift */,
-				82310F12B492F60A13F62CF52702755C /* Sink.swift */,
-				37451A8A1EDFE1BFB039614775982399 /* Skip.swift */,
-				EDA64805F9AEB3535908A7D984AB5BE8 /* SkipUntil.swift */,
-				52D6457286A14A38BBD82D8C6099798B /* SkipWhile.swift */,
-				15CBB9F5E4043A504EE8F7320CDF3F41 /* StartWith.swift */,
-				D3EE8437BC7F2156A710F1EEA545EBC2 /* String+Rx.swift */,
-				139BFBACE8A3AD8B5733AD2B94C930C3 /* SubjectType.swift */,
-				33F225BF47E139D7C104629809615ED8 /* SubscribeOn.swift */,
-				4BCB5AA92F6DEDE2AC3F479C60C7212C /* SubscriptionDisposable.swift */,
-				93EC0AF4A1BE4FA92D40CE454B203C73 /* Switch.swift */,
-				2A04930FB5D53B406D0E4B419625FF1B /* SwitchIfEmpty.swift */,
-				D71252188831E0A81462FE21E33B84CE /* SynchronizedDisposeType.swift */,
-				0E80F14B05E38C811C7DB2355F884967 /* SynchronizedOnType.swift */,
-				FAF3CD60CC66BB642D72FD7DD9FA47EA /* SynchronizedSubscribeType.swift */,
-				CE668A71E275DF34C1ACD8E01FAA0F47 /* SynchronizedUnsubscribeType.swift */,
-				ED2A996D8F9E9BFA159AF4333CEAB7E2 /* TailRecursiveSink.swift */,
-				48AC41077AE8968D02C47F5F8FEB91EF /* Take.swift */,
-				E65642813E0667C81374DA8D6C4D7C96 /* TakeLast.swift */,
-				229212B9293B7746DAE74AF7ED2EF8BD /* TakeUntil.swift */,
-				2EC31C3AF1A745A2E941C3B1884E2FA3 /* TakeWhile.swift */,
-				92278B77A7357596D58AB0C075D0948C /* Throttle.swift */,
-				69138EC14ACB61D4A4FE4CEF74B2D278 /* Timeout.swift */,
-				9744CAC1B97675B5C8BDFE1483E34D21 /* Timer.swift */,
-				A21868904DAD64FC72F911E44FE2429E /* ToArray.swift */,
-				92BD912F8B8ED40C37699519197E61C6 /* Using.swift */,
-				DB6697B7A5CC377C3AC35303B0D0487D /* Variable.swift */,
-				C45CF1E9C72669473CD2D3E71DBD63E9 /* VirtualTimeConverterType.swift */,
-				47CCDEE642D802F7DE9D54E99B029D94 /* VirtualTimeScheduler.swift */,
-				AC25882FB329122EF59BC09D5C5B42B9 /* Window.swift */,
-				A47F43BE5B9D458EBB11F65DF3012B31 /* WithLatestFrom.swift */,
-				4B79E9399FA4CC143E00DD4B8CEA0D33 /* Zip.swift */,
-				79E124948BC6C0A5B04B02009B037987 /* Zip+arity.swift */,
-				7388ECAD6E93F2CDDA035F993F552D87 /* Zip+Collection.swift */,
-				9647DCCDFF9E87508F3EAD2C72DE100B /* Support Files */,
-			);
-			name = RxSwift;
-			path = RxSwift;
-			sourceTree = "<group>";
-		};
-		9647DCCDFF9E87508F3EAD2C72DE100B /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				65291C76071A7F24B8CD055721199A73 /* Info.plist */,
-				F1A93A80FFDD8930597E5AF4351E9F40 /* RxSwift.modulemap */,
-				4244ABA189342D2269E1D874A6A8F286 /* RxSwift.xcconfig */,
-				EFA925A9B9BFE80C3EDB17F2F0BF4A11 /* RxSwift-dummy.m */,
-				899C7116CD1C1652D453B63AA281232B /* RxSwift-prefix.pch */,
-				C87B58E988280B4B9A04835B9570BAAB /* RxSwift-umbrella.h */,
-			);
-			name = "Support Files";
-			path = "../Target Support Files/RxSwift";
-			sourceTree = "<group>";
-		};
-		C1398CE2D296EEBAA178C160CA6E6AD6 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				5B598E168B47485DC60F9DBBCBEEF5BB /* Alamofire.framework */,
-				E9CBBB398E7A62950FA8BC091CBE0359 /* PetstoreClient.framework */,
-				057FC3E5DE19EA8F4DD600557D771032 /* Pods_SwaggerClient.framework */,
-				C4B474BD9070828C0F786071EEF46CD0 /* Pods_SwaggerClientTests.framework */,
-				84A09D760BA2EA13D5BE269086BAD34C /* RxSwift.framework */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		C1A60D10CED0E61146591438999C7502 /* Targets Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				DE503BFFEBBF78BDC743C8A6A50DFF47 /* Pods-SwaggerClient */,
-				E9EDF70990CC7A4463ED5FC2E3719BD0 /* Pods-SwaggerClientTests */,
-			);
-			name = "Targets Support Files";
-			sourceTree = "<group>";
-		};
-		DE503BFFEBBF78BDC743C8A6A50DFF47 /* Pods-SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				814471C0F27B39D751143F0CD53670BD /* Info.plist */,
-				CFA4F581E074596AB5C3DAF3D9C39F17 /* Pods-SwaggerClient.modulemap */,
-				76645699475D3AB6EB5242AC4D0CEFAE /* Pods-SwaggerClient-acknowledgements.markdown */,
-				08BDFE9C9E9365771FF2D47928E3E79A /* Pods-SwaggerClient-acknowledgements.plist */,
-				F8FCC3BC0A0823C3FF68C4E1EF67B2FD /* Pods-SwaggerClient-dummy.m */,
-				0AD61F8554C909A3AFA66AD9ECCB5F23 /* Pods-SwaggerClient-frameworks.sh */,
-				F4BB3B2146310CA18C30F145BFF15BD9 /* Pods-SwaggerClient-resources.sh */,
-				32432BEBC9EDBC5E269C9AA0E570F464 /* Pods-SwaggerClient-umbrella.h */,
-				AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */,
-				F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */,
-			);
-			name = "Pods-SwaggerClient";
-			path = "Target Support Files/Pods-SwaggerClient";
-			sourceTree = "<group>";
-		};
-		E9EDF70990CC7A4463ED5FC2E3719BD0 /* Pods-SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				419496CDDD7E7536CBEA02BAEE2C7C21 /* Info.plist */,
-				9D08EC9B39FEBA43A5B55DAF97AAEBE9 /* Pods-SwaggerClientTests.modulemap */,
-				D47B812D78D0AE64D85D16A96840F8C4 /* Pods-SwaggerClientTests-acknowledgements.markdown */,
-				9D780FDAD16A03CC25F4D6F3317B9423 /* Pods-SwaggerClientTests-acknowledgements.plist */,
-				721957E37E3EE5DB5F8DBF20A032B42A /* Pods-SwaggerClientTests-dummy.m */,
-				CAF6F32F117197F6F08B477687F09728 /* Pods-SwaggerClientTests-frameworks.sh */,
-				F3E1116FA9F9F3AFD9332B7236F6E711 /* Pods-SwaggerClientTests-resources.sh */,
-				CF1ECC5499BE9BF36F0AE0CE47ABB673 /* Pods-SwaggerClientTests-umbrella.h */,
-				1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = "Pods-SwaggerClientTests";
-			path = "Target Support Files/Pods-SwaggerClientTests";
-			sourceTree = "<group>";
-		};
-		F425AE79AF3C820F618BDE97C5F5DC44 /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				7778267A888101208ECFC73C1D2F5ABD /* Alamofire */,
-				92B5379E461BA80E1DEDB7DA0C44716F /* RxSwift */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		FC9FD763F0BBF138A397EE0401BEA7BE /* Support Files */ = {
-			isa = PBXGroup;
-			children = (
-				E19AF5866D261DB5B6AEC5D575086EA2 /* Info.plist */,
-				15EC3D8D715BC3F25A366C403ED02060 /* PetstoreClient.modulemap */,
-				AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */,
-				7E3D0C745CE3A020C8BC5C96CAFB616F /* PetstoreClient-dummy.m */,
-				4050C78B3A61270CDB69C80EFEB9BF4B /* PetstoreClient-prefix.pch */,
-				0BCC6F35A8BC2A442A13DE66D59CAC87 /* PetstoreClient-umbrella.h */,
-			);
-			name = "Support Files";
-			path = "SwaggerClientTests/Pods/Target Support Files/PetstoreClient";
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXHeadersBuildPhase section */
-		411A88E43D5D9D797C82EAD090B6B7C3 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				281AFAEA94C9F83ACC6296BBD7A0D2E4 /* Pods-SwaggerClient-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		471B30B26227EFA841DFB8C1908F33E2 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				FCFB16CA31EE1C1E0FA859C0779D4BE6 /* RxSwift-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		5663D37173550E1C99124B9D28AF2295 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				EEE78DB914769229A6F7D18F1AFDD1E1 /* PetstoreClient-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		B4002B6E97835FDCCAA5963EFE09A3E0 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				1B9EDEDC964E6B08F78920B4F4B9DB84 /* Alamofire-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		C19E54C800095CFA2457EC19C7C2E974 /* Headers */ = {
-			isa = PBXHeadersBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				265B9DA59211B0B5FFF987E408A0AA9C /* Pods-SwaggerClientTests-umbrella.h in Headers */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXHeadersBuildPhase section */
-
-/* Begin PBXNativeTarget section */
-		136F0A318F13DF38351AC0F2E6934563 /* Pods-SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = F74B56615E0AC0F998019998CF3D73B7 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClient" */;
-			buildPhases = (
-				CAA04C85A4D103374E9D4360A031FE9B /* Sources */,
-				B61347E4B942D85FB700CD798AEC3A6D /* Frameworks */,
-				411A88E43D5D9D797C82EAD090B6B7C3 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				AF4FFAE64524D9270D895911B9A3ABB3 /* PBXTargetDependency */,
-				9188E15F2308611275AADD534748A210 /* PBXTargetDependency */,
-				4DAA97CFDA7F8099D3A7AFC561A555B9 /* PBXTargetDependency */,
-			);
-			name = "Pods-SwaggerClient";
-			productName = "Pods-SwaggerClient";
-			productReference = 057FC3E5DE19EA8F4DD600557D771032 /* Pods_SwaggerClient.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 419E5D95491847CD79841B971A8A3277 /* Build configuration list for PBXNativeTarget "Alamofire" */;
-			buildPhases = (
-				32B9974868188C4803318E36329C87FE /* Sources */,
-				99195E4207764744AEC07ECCBCD550EB /* Frameworks */,
-				B4002B6E97835FDCCAA5963EFE09A3E0 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = Alamofire;
-			productName = Alamofire;
-			productReference = 5B598E168B47485DC60F9DBBCBEEF5BB /* Alamofire.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		9D0BAE1F914D3BCB466ABD23C347B5CF /* PetstoreClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = C3A6EBAD4C0AFB16D6AAA10AADD98D05 /* Build configuration list for PBXNativeTarget "PetstoreClient" */;
-			buildPhases = (
-				833629681F82DA1B06D389A5835555B6 /* Sources */,
-				C3BBC13F5A99F913D7BF55BAE90FCE86 /* Frameworks */,
-				5663D37173550E1C99124B9D28AF2295 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				376A429C878F8646399C6B23BCE58F2F /* PBXTargetDependency */,
-				5B0F04B9B75692629053A2F9356FF2EF /* PBXTargetDependency */,
-			);
-			name = PetstoreClient;
-			productName = PetstoreClient;
-			productReference = E9CBBB398E7A62950FA8BC091CBE0359 /* PetstoreClient.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		BCF05B222D1CA50E84618B500CB18541 /* Pods-SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = 6038DB15B6014EE0617ADC32733FC361 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClientTests" */;
-			buildPhases = (
-				61868F2FE74A9422171483DBABE7C61F /* Sources */,
-				7139BF778844E2A9E420524D8146ECD8 /* Frameworks */,
-				C19E54C800095CFA2457EC19C7C2E974 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				CAD6237EE98BEB14DA0AE88C1F89DF12 /* PBXTargetDependency */,
-			);
-			name = "Pods-SwaggerClientTests";
-			productName = "Pods-SwaggerClientTests";
-			productReference = C4B474BD9070828C0F786071EEF46CD0 /* Pods_SwaggerClientTests.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-		E4538CBB68117C90F63369F02EAEEE96 /* RxSwift */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = D3C420C0DF364B7B39CC6B7B86AF9FEA /* Build configuration list for PBXNativeTarget "RxSwift" */;
-			buildPhases = (
-				50B11722F298EA98745B8D3A0017BE1F /* Sources */,
-				C6FBD0205779A1AC7CD0ADD758A3BF95 /* Frameworks */,
-				471B30B26227EFA841DFB8C1908F33E2 /* Headers */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = RxSwift;
-			productName = RxSwift;
-			productReference = 84A09D760BA2EA13D5BE269086BAD34C /* RxSwift.framework */;
-			productType = "com.apple.product-type.framework";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		D41D8CD98F00B204E9800998ECF8427E /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0930;
-				LastUpgradeCheck = 0930;
-			};
-			buildConfigurationList = 2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-			);
-			mainGroup = 7DB346D0F39D3F0E887471402A8071AB;
-			productRefGroup = C1398CE2D296EEBAA178C160CA6E6AD6 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */,
-				9D0BAE1F914D3BCB466ABD23C347B5CF /* PetstoreClient */,
-				136F0A318F13DF38351AC0F2E6934563 /* Pods-SwaggerClient */,
-				BCF05B222D1CA50E84618B500CB18541 /* Pods-SwaggerClientTests */,
-				E4538CBB68117C90F63369F02EAEEE96 /* RxSwift */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXSourcesBuildPhase section */
-		32B9974868188C4803318E36329C87FE /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				9ED2BB2981896E0A39EFA365503F58CE /* AFError.swift in Sources */,
-				A9EEEA7477981DEEBC72432DE9990A4B /* Alamofire-dummy.m in Sources */,
-				F8B3D3092ED0417E8CDF32033F6122F5 /* Alamofire.swift in Sources */,
-				61200D01A1855D7920CEF835C8BE00B0 /* DispatchQueue+Alamofire.swift in Sources */,
-				B65FCF589DA398C3EFE0128064E510EC /* MultipartFormData.swift in Sources */,
-				A2A6F71B727312BD45CC7A4AAD7B0AB7 /* NetworkReachabilityManager.swift in Sources */,
-				EFD264FC408EBF3BA2528E70B08DDD94 /* Notifications.swift in Sources */,
-				BE5C67A07E289FE1F9BE27335B159997 /* ParameterEncoding.swift in Sources */,
-				5387216E723A3C68E851CA15573CDD71 /* Request.swift in Sources */,
-				CB6D60925223897FFA2662667DF83E8A /* Response.swift in Sources */,
-				F6BECD98B97CBFEBE2C96F0E9E72A6C0 /* ResponseSerialization.swift in Sources */,
-				7D8CC01E8C9EFFF9F4D65406CDE0AB66 /* Result.swift in Sources */,
-				62F65AD8DC4F0F9610F4B8B4738EC094 /* ServerTrustPolicy.swift in Sources */,
-				7B5FE28C7EA4122B0598738E54DBEBD8 /* SessionDelegate.swift in Sources */,
-				AE1EF48399533730D0066E04B22CA2D6 /* SessionManager.swift in Sources */,
-				3626B94094672CB1C9DEA32B9F9502E1 /* TaskDelegate.swift in Sources */,
-				10EB23E9ECC4B33E16933BB1EA560B6A /* Timeline.swift in Sources */,
-				BBEFE2F9CEB73DC7BD97FFA66A0D9D4F /* Validation.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		50B11722F298EA98745B8D3A0017BE1F /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				9CBA62F0AFF0A5826B59553CFA6547E9 /* AddRef.swift in Sources */,
-				354836898B12CDD0AC0F178607EC60F3 /* Amb.swift in Sources */,
-				E20117C8508C1E21BF6F96D5A67430A5 /* AnonymousDisposable.swift in Sources */,
-				0701E374B489C0ABFE501E3E203BA4D2 /* AnonymousInvocable.swift in Sources */,
-				EAE0C66CFAA8E970D961796CA9E3B6A3 /* AnonymousObserver.swift in Sources */,
-				7D3FE25E621C0B5DF33BE49EC44285B6 /* AnyObserver.swift in Sources */,
-				AAD5D545A27D3235B11AB5F312D4F9CC /* AsMaybe.swift in Sources */,
-				2AE82A559BEB897CB1C17DC3F8A2D67D /* AsSingle.swift in Sources */,
-				27E65DDC557373A5BCA8ECE76305B022 /* AsyncLock.swift in Sources */,
-				53CE54C6169C04A9EC42AEFA26DBF4E7 /* AsyncSubject.swift in Sources */,
-				80A14AE8567A89125CDA2D1E9E3C9EA5 /* Bag+Rx.swift in Sources */,
-				881DF840D562167EA8BECCD4F3DE44A5 /* Bag.swift in Sources */,
-				2C684BE18659784FA9D5C18B8E2F56C4 /* BehaviorSubject.swift in Sources */,
-				701AFF28B13BC1B54B2EC0E7139296A6 /* BinaryDisposable.swift in Sources */,
-				8C391D10E5780A3AD69F0B48D81873C2 /* BooleanDisposable.swift in Sources */,
-				E646989B1C390802DE99BC11A99A6195 /* Buffer.swift in Sources */,
-				95319323AA47177F07DC434862E8786B /* Cancelable.swift in Sources */,
-				378DF713B6DCEE98B1121E1C82AA528A /* Catch.swift in Sources */,
-				814CCE747E50503E645AB6A4BEA9C3B9 /* CombineLatest+arity.swift in Sources */,
-				65DB637553156629C46FC1F02E624D9E /* CombineLatest+Collection.swift in Sources */,
-				55A0ADE7B16EF10C76A139DF785498C3 /* CombineLatest.swift in Sources */,
-				F374C9C0BBD2E98835074F1117D19025 /* Completable+AndThen.swift in Sources */,
-				D95808D482B2CCE0A57E617BBE1C24CF /* CompositeDisposable.swift in Sources */,
-				00DF0F7239A239F6EF9E06E68864C12C /* Concat.swift in Sources */,
-				9DAD079E8BFA8BB8C6270BD59F12B75A /* ConcurrentDispatchQueueScheduler.swift in Sources */,
-				288CF8B3281E9A8E196EAD966DCCCF3F /* ConcurrentMainScheduler.swift in Sources */,
-				0A53E3607BFAD28B3BDBEBD4060AF4AD /* ConnectableObservableType.swift in Sources */,
-				A461BFEA1D55600A0C20FEE62B2AC808 /* Create.swift in Sources */,
-				A8907D8BB13490C6BDDEB718A825ED3B /* CurrentThreadScheduler.swift in Sources */,
-				2B22029126CD2DB4CE15A3EE200431CD /* Debounce.swift in Sources */,
-				83A278FC1771188BF654862D87A79497 /* Debug.swift in Sources */,
-				E7CFD93574F6D9FFC1E20C79933BF9B7 /* DefaultIfEmpty.swift in Sources */,
-				B3900C161CAD5762104495FFD825D417 /* Deferred.swift in Sources */,
-				559E3223631967618E57D02F9A692AAC /* Delay.swift in Sources */,
-				63FB5F594F411D8D6BDC157C854EEE8E /* DelaySubscription.swift in Sources */,
-				A1888B4C68923F294CC00FA69C2D3FA0 /* Dematerialize.swift in Sources */,
-				92C33C8F9615FAC4C1FCE4F44F7AC373 /* Deprecated.swift in Sources */,
-				D49D0B2348D2A35E9A39124C979DFDE0 /* DispatchQueue+Extensions.swift in Sources */,
-				F4EDA8CB7455BCABFFD6992BE4D7E53A /* DispatchQueueConfiguration.swift in Sources */,
-				DFE3AC8FE52397BB76BEF114A0825E26 /* Disposable.swift in Sources */,
-				A75F3F8315F50D4FAAD79784972AEE3E /* Disposables.swift in Sources */,
-				2A9EC7B938356D259F37E64466AED071 /* DisposeBag.swift in Sources */,
-				02FD9B892BE5971F34F1F33B48259152 /* DisposeBase.swift in Sources */,
-				C88A07F5CBEECD3C3287EF230542E9BA /* DistinctUntilChanged.swift in Sources */,
-				2E6C2FC6A7E76480C639AC51CC0894C2 /* Do.swift in Sources */,
-				8D139181B7F153687292979FA042AD3B /* ElementAt.swift in Sources */,
-				613618A88EE02862BCE84869AA89E4AE /* Empty.swift in Sources */,
-				FF735B76D45E1208C767A7C01B9FEB6B /* Error.swift in Sources */,
-				E3983118B0AEF9B702F6513C8C4630B5 /* Errors.swift in Sources */,
-				42D3883B0296558083DFBE5375552905 /* Event.swift in Sources */,
-				28295BE414CF6415C641D10EEF4E144C /* Filter.swift in Sources */,
-				83ADD423F64E3EA0A04827FEDB4551F5 /* Generate.swift in Sources */,
-				C0E8935F39D43182341F9237E14FEB48 /* GroupBy.swift in Sources */,
-				7018CC80523C7192A8C6F535499F9663 /* GroupedObservable.swift in Sources */,
-				CFE18A460774777238539B6816CA0865 /* HistoricalScheduler.swift in Sources */,
-				8A7DA1410CC7793A911EFF7961D871A7 /* HistoricalSchedulerTimeConverter.swift in Sources */,
-				11BF530A4D0362FF7255073E1A86FCC4 /* ImmediateScheduler.swift in Sources */,
-				40BE340D2D8DBAC30CCB5647E07DF9B1 /* ImmediateSchedulerType.swift in Sources */,
-				1CDF8860135719D9B67BDC6453A1DB07 /* InfiniteSequence.swift in Sources */,
-				98ABF68A5893A05770B62C70FF2D9B39 /* InvocableScheduledItem.swift in Sources */,
-				3DD6224508DDC3BBF8A184D20DBD6318 /* InvocableType.swift in Sources */,
-				95F38402EDA23648E2E9643BF23B0A99 /* Just.swift in Sources */,
-				675BA3879823193A505ADA24E26A640C /* Lock.swift in Sources */,
-				780DC70EC33DBE792680FF224C6B3189 /* LockOwnerType.swift in Sources */,
-				BC6FE7B95D4381C14034EA0158A27943 /* MainScheduler.swift in Sources */,
-				32FACB02BE3AE41039792DB80AC20FB1 /* Map.swift in Sources */,
-				BA90CC03E356EC0CB00EE000FE8ED8FF /* Materialize.swift in Sources */,
-				3B5E8842032A0EC5BB4BD5F99E5C633F /* Merge.swift in Sources */,
-				3B78236E5721DF44006119A96CB2297A /* Multicast.swift in Sources */,
-				C5C72F359C98A639D16BEBC44D45AD58 /* Never.swift in Sources */,
-				18EA6C3EB4F28FABE7EAC20145C371EF /* NopDisposable.swift in Sources */,
-				7F6C06307179982AFA169539C59878A6 /* Observable.swift in Sources */,
-				0D59BBE92D161E0C5D65B3D72E32B445 /* ObservableConvertibleType.swift in Sources */,
-				3B009A721464098ABBAB99943C15E8E3 /* ObservableType+Extensions.swift in Sources */,
-				92202E005A3283B86D2FD8C13A7B6984 /* ObservableType.swift in Sources */,
-				832A38EA2BEF84AED0C1232AF683E14E /* ObserveOn.swift in Sources */,
-				35F53DFB2143E85E802BD2598B01FD42 /* ObserverBase.swift in Sources */,
-				1F0573234DBE02637E714764DD6FF78E /* ObserverType.swift in Sources */,
-				FFCEFEACA09A0AB1E772939BEE1251D0 /* OperationQueueScheduler.swift in Sources */,
-				82DCAB1B03B1FF4922EEAA7284CD8891 /* Optional.swift in Sources */,
-				C30834A9E888DC5752BB464AA4C6B583 /* Platform.Darwin.swift in Sources */,
-				E615C98E97CFD31CDC08C103E8C9AFCC /* Platform.Linux.swift in Sources */,
-				AA5924E7A2767173A488CD67448A344F /* PrimitiveSequence+Zip+arity.swift in Sources */,
-				0FEF1C28FD87288A71D6CB36C7E834F8 /* PrimitiveSequence.swift in Sources */,
-				A66D6FDA68BE83B5082CE656909F78D6 /* PriorityQueue.swift in Sources */,
-				C04E4412EE56D42C6E6E3A4A35E74916 /* Producer.swift in Sources */,
-				94A76A58C03383E6AEF5954B048EA943 /* PublishSubject.swift in Sources */,
-				31886B413F1EE6BD11B1720F62E09EB8 /* Queue.swift in Sources */,
-				4EBFA027A211DFDD7736AD31C9B28BB6 /* Range.swift in Sources */,
-				DDFBECD67E5A6A9645A66D7919513F64 /* Reactive.swift in Sources */,
-				54A23EABA7C6CA3C2761E55C832212CD /* RecursiveLock.swift in Sources */,
-				C9FEFA9F181D03BC5A33843BA80BA501 /* RecursiveScheduler.swift in Sources */,
-				7A484927B5885C32681B9C0F981164E2 /* Reduce.swift in Sources */,
-				B570FDBFFB6C8319B1822F6D1CA57618 /* RefCountDisposable.swift in Sources */,
-				9FB30BA094639E9D209E7E46ECB04873 /* Repeat.swift in Sources */,
-				2E35FF49479CD266D11B201C4F425D88 /* ReplaySubject.swift in Sources */,
-				F0724B08BA9C030769B8B071407FA875 /* RetryWhen.swift in Sources */,
-				D36500BA67AB18E64F4743796274C7F6 /* Rx.swift in Sources */,
-				FADAE4698562DB2F08EEE38B2838D7C3 /* RxMutableBox.swift in Sources */,
-				B2167A447DC5D9CC8B3194F650D3F766 /* RxSwift-dummy.m in Sources */,
-				728056B28FF21ADB01C3D4E76685D2CA /* Sample.swift in Sources */,
-				EF3864ECC6F81AA9290D334DD8958829 /* Scan.swift in Sources */,
-				FF8E2A66A632AE79D440E2492242AD5A /* ScheduledDisposable.swift in Sources */,
-				C6B6E0537CACAD67C6C53CB52D3AF430 /* ScheduledItem.swift in Sources */,
-				94EBC7DB7F9E78474473121B58017231 /* ScheduledItemType.swift in Sources */,
-				273CC6F689134C1BFA35BBA3F024FA1A /* SchedulerServices+Emulation.swift in Sources */,
-				7CDFFB7F904FAA05F2549B97F83C208B /* SchedulerType.swift in Sources */,
-				B8216658C16040E40C3121638EB83BB7 /* Sequence.swift in Sources */,
-				1F51E8FA18E73CDD1753B47BACDE8B56 /* SerialDispatchQueueScheduler.swift in Sources */,
-				C06FFF2DCFC2E38F7183A390DB548039 /* SerialDisposable.swift in Sources */,
-				883AF2FA5F21ECEFA5AA052EA2AA52D1 /* ShareReplayScope.swift in Sources */,
-				490FC3C33AC45753F2B8295D46C6C93A /* SingleAssignmentDisposable.swift in Sources */,
-				87561C5525FF161AC0D9BE8E4878B012 /* SingleAsync.swift in Sources */,
-				3016477B301E7E1F2237A46F4D040562 /* Sink.swift in Sources */,
-				5E28EE8AD40978238703E0A9D9BAC23C /* Skip.swift in Sources */,
-				65ECA0FE8FA1DB003A1C4E2F6F5068ED /* SkipUntil.swift in Sources */,
-				CD72FF21E244B422BAA707396ADD5F84 /* SkipWhile.swift in Sources */,
-				A4F3B4D94EEFE3A4C297F7D2254720A7 /* StartWith.swift in Sources */,
-				469B15AD1F6DA1B495CC2AA54B5D78B6 /* String+Rx.swift in Sources */,
-				1C9DFCC78A774BFC20D854D2876F1A55 /* SubjectType.swift in Sources */,
-				81E833CC467CE9A868C4992EED22E90B /* SubscribeOn.swift in Sources */,
-				30EE6C005A481E34141B3B582370CB49 /* SubscriptionDisposable.swift in Sources */,
-				DD7EA78A0E20276FBEA92A47B29D675B /* Switch.swift in Sources */,
-				A1156AAA078DA49A2F84A73498ACFFA8 /* SwitchIfEmpty.swift in Sources */,
-				13E8EF2C11EACF9F667BFA33DB4BE1F6 /* SynchronizedDisposeType.swift in Sources */,
-				A8F07D61BA5B044BCF2528FE814802F8 /* SynchronizedOnType.swift in Sources */,
-				AE91B9C7676BED08DD29D919667641EF /* SynchronizedSubscribeType.swift in Sources */,
-				7B1D784EEEE456BA1599F4EF2B0DEEC9 /* SynchronizedUnsubscribeType.swift in Sources */,
-				85CFCEF4B3B5D9B5782E002EBC964C07 /* TailRecursiveSink.swift in Sources */,
-				0DA16962ECAE07F74660E01B8596405D /* Take.swift in Sources */,
-				E0C3813806F9C243364888B92E3F6A58 /* TakeLast.swift in Sources */,
-				D2D8098C55A83C6090F0FED29B4CAC6A /* TakeUntil.swift in Sources */,
-				6E170ABE9ACD8548EAC55656F97F4907 /* TakeWhile.swift in Sources */,
-				E8FB135391A3DB1932525FA4C7B868D9 /* Throttle.swift in Sources */,
-				EFAE4DCFFA55CB5C8FAF4092224E67CF /* Timeout.swift in Sources */,
-				BE84A0438BB1CAC7F8B734D0071F6B5B /* Timer.swift in Sources */,
-				F5A2918BDB2BA50E47C84F9CA95ABC89 /* ToArray.swift in Sources */,
-				45B2FF4DAF9FBAB97D814EC9B3D6E1A8 /* Using.swift in Sources */,
-				BB2ADF1D564AC603088379085CBB5E00 /* Variable.swift in Sources */,
-				AD72FC77B132100856099D6BE08BA946 /* VirtualTimeConverterType.swift in Sources */,
-				B71E8D1BA38979387FB07B2DE375CC78 /* VirtualTimeScheduler.swift in Sources */,
-				8409E8357E6E556D947C0883002F14DA /* Window.swift in Sources */,
-				7E8943764477D589A4D425FEA758249A /* WithLatestFrom.swift in Sources */,
-				1A39147EC345B333F96135FEAA1EA162 /* Zip+arity.swift in Sources */,
-				AA00DE5B6E4CEB7619A109AEE765E899 /* Zip+Collection.swift in Sources */,
-				E90B654B54B4E686AABC7E1346FC99DA /* Zip.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		61868F2FE74A9422171483DBABE7C61F /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				80C3B52F0D2A4EFBCFFB4F3581FA3598 /* Pods-SwaggerClientTests-dummy.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		833629681F82DA1B06D389A5835555B6 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				AAA4BB328D5B9974CAE7079EADCB55F3 /* AdditionalPropertiesClass.swift in Sources */,
-				586CD484DFDF8D1ABED25DF0BA1D6A90 /* AlamofireImplementations.swift in Sources */,
-				C02152ADEC441FFA411DE0BFB5574C6E /* Animal.swift in Sources */,
-				52944493AAD6238E0C4D4473C09F9697 /* AnimalFarm.swift in Sources */,
-				F041E9FD775EEFE794AB22C632050442 /* AnotherFakeAPI.swift in Sources */,
-				B7DCE8A53F3C2E56E4CC1EBFC51CFBBB /* APIHelper.swift in Sources */,
-				B80E85AD2BA24EF11F641050D4306011 /* ApiResponse.swift in Sources */,
-				FC5F971819DF37E080DD24B4659D292D /* APIs.swift in Sources */,
-				7E58FC0F8CEA885D0978B978C1AFDA39 /* ArrayOfArrayOfNumberOnly.swift in Sources */,
-				B1D90A96F361927E2C864B8B2E0C6998 /* ArrayOfNumberOnly.swift in Sources */,
-				3CFC78E889B5B01E41D07FA8B7D3F20F /* ArrayTest.swift in Sources */,
-				E2FCA242C2D21DEF5CF64A4948B303E5 /* Capitalization.swift in Sources */,
-				CC3D6772A375C8384DEAF649FB2E799B /* Cat.swift in Sources */,
-				AD3D283352C4C58D37373ACEAAD21CCA /* Category.swift in Sources */,
-				2E4E7221D236CDDCA9936FF409668157 /* ClassModel.swift in Sources */,
-				FC2BA04F51DF605708177391FC5CBEB1 /* Client.swift in Sources */,
-				4EC9D9884B0E59836149DE74E86ED32C /* Configuration.swift in Sources */,
-				A88687F0D5C7B8F17FE6E8C560FF27C2 /* Dog.swift in Sources */,
-				13CBC288264AB845A079CF354481902F /* EnumArrays.swift in Sources */,
-				4C85A4DF1FE85A71264C1235490B4CB8 /* EnumClass.swift in Sources */,
-				2CB87E8301D75048872CC80AF0F39191 /* EnumTest.swift in Sources */,
-				36C597BA9BB747DA51B85ED0CC4C5380 /* Extensions.swift in Sources */,
-				EB02B86DAE80B2F604DFF745291CD97E /* FakeAPI.swift in Sources */,
-				A4D75955E70AE28814436BFD3A667877 /* FakeClassnameTags123API.swift in Sources */,
-				2BCF537D3707AE25F5CE467E30423CCE /* FormatTest.swift in Sources */,
-				8EE6CAA016BB77D98A94C6A8A6035B5C /* HasOnlyReadOnly.swift in Sources */,
-				AC84DFF4BBABCF4F8DA619E8E0A71770 /* List.swift in Sources */,
-				E4B4E729EF665FA241A3CAAB77622D12 /* MapTest.swift in Sources */,
-				CD7F8A63D0F72B0A4F515C63433BC805 /* MixedPropertiesAndAdditionalPropertiesClass.swift in Sources */,
-				DE983659BDB585F117E8D5A6035691EC /* Model200Response.swift in Sources */,
-				AF8F5FE11B128B96067030DD9FC7B9C3 /* Models.swift in Sources */,
-				078B39669CAE5CAA0B4F881A1D953831 /* Name.swift in Sources */,
-				F5D7352A8D14A89B873F35F23953495F /* NumberOnly.swift in Sources */,
-				D5F12C5EFF4CA158297A1BDE3788B931 /* Order.swift in Sources */,
-				1CEB283CB5C6161FD3079564C416F582 /* OuterComposite.swift in Sources */,
-				F5267C956BA9631B2CBDB207340F3C31 /* OuterEnum.swift in Sources */,
-				206834A2D53A2C0E3ECE945C768B8EB8 /* Pet.swift in Sources */,
-				4D4420A3806244A28021BAC382499B98 /* PetAPI.swift in Sources */,
-				AAC833250183E5D26197A6A7FBDDBE31 /* PetstoreClient-dummy.m in Sources */,
-				236550E146C48E5FCAB68D8C6368D92B /* ReadOnlyFirst.swift in Sources */,
-				AAAFD62D4E1F93C4EC939BDE9AE36B40 /* Return.swift in Sources */,
-				66390F82F9F5412C64A7C24D8016A73F /* SpecialModelName.swift in Sources */,
-				30DDFCEDA0032F625237387B44E122D3 /* StoreAPI.swift in Sources */,
-				C614A64F12B85A30B4E179111161A4F2 /* Tag.swift in Sources */,
-				59C6B968D13835981B5EDABB8BE4852A /* User.swift in Sources */,
-				E25F484C36B0BD9B3AF5F671766A362E /* UserAPI.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		CAA04C85A4D103374E9D4360A031FE9B /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				91BCA631F516CB40742B0D2B1A211246 /* Pods-SwaggerClient-dummy.m in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		376A429C878F8646399C6B23BCE58F2F /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = Alamofire;
-			target = 88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */;
-			targetProxy = 75C5BB87F29EE0C4D5C19FF05D2AEF02 /* PBXContainerItemProxy */;
-		};
-		4DAA97CFDA7F8099D3A7AFC561A555B9 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = RxSwift;
-			target = E4538CBB68117C90F63369F02EAEEE96 /* RxSwift */;
-			targetProxy = A50F0C9B9BA00FA72637B7EE5F05D32C /* PBXContainerItemProxy */;
-		};
-		5B0F04B9B75692629053A2F9356FF2EF /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = RxSwift;
-			target = E4538CBB68117C90F63369F02EAEEE96 /* RxSwift */;
-			targetProxy = 00C0A2B6414C2055A4C6AAB9D0425884 /* PBXContainerItemProxy */;
-		};
-		9188E15F2308611275AADD534748A210 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = PetstoreClient;
-			target = 9D0BAE1F914D3BCB466ABD23C347B5CF /* PetstoreClient */;
-			targetProxy = 2B4A36E763D78D2BA39A638AF167D81A /* PBXContainerItemProxy */;
-		};
-		AF4FFAE64524D9270D895911B9A3ABB3 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = Alamofire;
-			target = 88E9EC28B8B46C3631E6B242B50F4442 /* Alamofire */;
-			targetProxy = 0B2AA791B256C6F1530511EEF7AB4A24 /* PBXContainerItemProxy */;
-		};
-		CAD6237EE98BEB14DA0AE88C1F89DF12 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			name = "Pods-SwaggerClient";
-			target = 136F0A318F13DF38351AC0F2E6934563 /* Pods-SwaggerClient */;
-			targetProxy = 39BC36C8D9E651B0E90400DB5CB4450E /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin XCBuildConfiguration section */
-		11BD519A449A78231BB165A846BE1EFA /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = F388A1ADD212030D9542E86628F22BD6 /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		2F11B524CBA83FDA4505AFC60245EBDC /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 1ACCB3378E1513AEAADC85C4036257E4 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClientTests/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		4E42BE31906A6664C5897CACAD3CE7B9 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = FDBB687EF1CAF131DB3DDD99AAE54AB6 /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClientTests/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		5FC364C7697C3765B8268B5EED1F6263 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 4244ABA189342D2269E1D874A6A8F286 /* RxSwift.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/RxSwift/RxSwift-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/RxSwift/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/RxSwift/RxSwift.modulemap";
-				PRODUCT_MODULE_NAME = RxSwift;
-				PRODUCT_NAME = RxSwift;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		624A19756388ECE410F22C4B5DFF991E /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/PetstoreClient/PetstoreClient-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PetstoreClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PetstoreClient/PetstoreClient.modulemap";
-				PRODUCT_MODULE_NAME = PetstoreClient;
-				PRODUCT_NAME = PetstoreClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		7B0415700290D1DEBAB6B173951CC0C7 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 32CAA23B558D5641EE6320708FECD03E /* Alamofire.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap";
-				PRODUCT_MODULE_NAME = Alamofire;
-				PRODUCT_NAME = Alamofire;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		8B33C5230DE4A9DFA6D8F46505DD7AF7 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_ENABLE_OBJC_WEAK = YES;
-				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_COMMA = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
-				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
-				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				CODE_SIGNING_ALLOWED = NO;
-				CODE_SIGNING_REQUIRED = NO;
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu11;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"POD_CONFIGURATION_DEBUG=1",
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				STRIP_INSTALLED_PRODUCT = NO;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
-				SYMROOT = "${SRCROOT}/../build";
-			};
-			name = Debug;
-		};
-		95DBEF0AB0B74932A7CEF4BB6099470D /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 32CAA23B558D5641EE6320708FECD03E /* Alamofire.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/Alamofire/Alamofire-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/Alamofire/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/Alamofire/Alamofire.modulemap";
-				PRODUCT_MODULE_NAME = Alamofire;
-				PRODUCT_NAME = Alamofire;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-		B42B54097A876E8A982CBF5DAA91B1AB /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_ANALYZER_NUMBER_OBJECT_CONVERSION = YES_AGGRESSIVE;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++14";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_ENABLE_OBJC_WEAK = YES;
-				CLANG_WARN_BLOCK_CAPTURE_AUTORELEASING = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_COMMA = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DEPRECATED_OBJC_IMPLEMENTATIONS = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_DOCUMENTATION_COMMENTS = YES;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_NON_LITERAL_NULL_CONVERSION = YES;
-				CLANG_WARN_OBJC_IMPLICIT_RETAIN_SELF = YES;
-				CLANG_WARN_OBJC_LITERAL_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_RANGE_LOOP_ANALYSIS = YES;
-				CLANG_WARN_STRICT_PROTOTYPES = YES;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNGUARDED_AVAILABILITY = YES_AGGRESSIVE;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				CODE_SIGNING_ALLOWED = NO;
-				CODE_SIGNING_REQUIRED = NO;
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu11;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"POD_CONFIGURATION_RELEASE=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				STRIP_INSTALLED_PRODUCT = NO;
-				SYMROOT = "${SRCROOT}/../build";
-			};
-			name = Release;
-		};
-		C84E1756C3377D7B88CC2826853F5568 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 4244ABA189342D2269E1D874A6A8F286 /* RxSwift.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/RxSwift/RxSwift-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/RxSwift/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 8.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/RxSwift/RxSwift.modulemap";
-				PRODUCT_MODULE_NAME = RxSwift;
-				PRODUCT_NAME = RxSwift;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		DD78D13A72BF1F11E565676C842BA56B /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AE8315D9D127E9BAC2C7256DB40D1D6D /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = NO;
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				INFOPLIST_FILE = "Target Support Files/Pods-SwaggerClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MACH_O_TYPE = staticlib;
-				MODULEMAP_FILE = "Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.modulemap";
-				OTHER_LDFLAGS = "";
-				OTHER_LIBTOOLFLAGS = "";
-				PODS_ROOT = "$(SRCROOT)";
-				PRODUCT_BUNDLE_IDENTIFIER = "org.cocoapods.${PRODUCT_NAME:rfc1034identifier}";
-				PRODUCT_NAME = "$(TARGET_NAME:c99extidentifier)";
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = DEBUG;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Debug;
-		};
-		E3DA782422BB1CD900FA13060729E250 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = AF7F50D7DC87ED26D982E8316A24852B /* PetstoreClient.xcconfig */;
-			buildSettings = {
-				CODE_SIGN_IDENTITY = "";
-				"CODE_SIGN_IDENTITY[sdk=appletvos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "";
-				"CODE_SIGN_IDENTITY[sdk=watchos*]" = "";
-				CURRENT_PROJECT_VERSION = 1;
-				DEFINES_MODULE = YES;
-				DYLIB_COMPATIBILITY_VERSION = 1;
-				DYLIB_CURRENT_VERSION = 1;
-				DYLIB_INSTALL_NAME_BASE = "@rpath";
-				GCC_PREFIX_HEADER = "Target Support Files/PetstoreClient/PetstoreClient-prefix.pch";
-				INFOPLIST_FILE = "Target Support Files/PetstoreClient/Info.plist";
-				INSTALL_PATH = "$(LOCAL_LIBRARY_DIR)/Frameworks";
-				IPHONEOS_DEPLOYMENT_TARGET = 9.0;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				MODULEMAP_FILE = "Target Support Files/PetstoreClient/PetstoreClient.modulemap";
-				PRODUCT_MODULE_NAME = PetstoreClient;
-				PRODUCT_NAME = PetstoreClient;
-				SDKROOT = iphoneos;
-				SKIP_INSTALL = YES;
-				SWIFT_ACTIVE_COMPILATION_CONDITIONS = "$(inherited) ";
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-				VALIDATE_PRODUCT = YES;
-				VERSIONING_SYSTEM = "apple-generic";
-				VERSION_INFO_PREFIX = "";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		2D8E8EC45A3A1A1D94AE762CB5028504 /* Build configuration list for PBXProject "Pods" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				8B33C5230DE4A9DFA6D8F46505DD7AF7 /* Debug */,
-				B42B54097A876E8A982CBF5DAA91B1AB /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		419E5D95491847CD79841B971A8A3277 /* Build configuration list for PBXNativeTarget "Alamofire" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				7B0415700290D1DEBAB6B173951CC0C7 /* Debug */,
-				95DBEF0AB0B74932A7CEF4BB6099470D /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		6038DB15B6014EE0617ADC32733FC361 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				2F11B524CBA83FDA4505AFC60245EBDC /* Debug */,
-				4E42BE31906A6664C5897CACAD3CE7B9 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		C3A6EBAD4C0AFB16D6AAA10AADD98D05 /* Build configuration list for PBXNativeTarget "PetstoreClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				624A19756388ECE410F22C4B5DFF991E /* Debug */,
-				E3DA782422BB1CD900FA13060729E250 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		D3C420C0DF364B7B39CC6B7B86AF9FEA /* Build configuration list for PBXNativeTarget "RxSwift" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				C84E1756C3377D7B88CC2826853F5568 /* Debug */,
-				5FC364C7697C3765B8268B5EED1F6263 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		F74B56615E0AC0F998019998CF3D73B7 /* Build configuration list for PBXNativeTarget "Pods-SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				DD78D13A72BF1F11E565676C842BA56B /* Debug */,
-				11BD519A449A78231BB165A846BE1EFA /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = D41D8CD98F00B204E9800998ECF8427E /* Project object */;
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/Bag.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/Bag.swift
deleted file mode 100644
index 897cdadf58d..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/Bag.swift
+++ /dev/null
@@ -1,187 +0,0 @@
-//
-//  Bag.swift
-//  Platform
-//
-//  Created by Krunoslav Zaher on 2/28/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import Swift
-
-let arrayDictionaryMaxSize = 30
-
-struct BagKey {
-    /**
-    Unique identifier for object added to `Bag`.
-     
-    It's underlying type is UInt64. If we assume there in an idealized CPU that works at 4GHz,
-     it would take ~150 years of continuous running time for it to overflow.
-    */
-    fileprivate let rawValue: UInt64
-}
-
-/**
-Data structure that represents a bag of elements typed `T`.
-
-Single element can be stored multiple times.
-
-Time and space complexity of insertion an deletion is O(n). 
-
-It is suitable for storing small number of elements.
-*/
-struct Bag<T> : CustomDebugStringConvertible {
-    /// Type of identifier for inserted elements.
-    typealias KeyType = BagKey
-    
-    typealias Entry = (key: BagKey, value: T)
- 
-    fileprivate var _nextKey: BagKey = BagKey(rawValue: 0)
-
-    // data
-
-    // first fill inline variables
-    var _key0: BagKey? = nil
-    var _value0: T? = nil
-
-    // then fill "array dictionary"
-    var _pairs = ContiguousArray<Entry>()
-
-    // last is sparse dictionary
-    var _dictionary: [BagKey : T]? = nil
-
-    var _onlyFastPath = true
-
-    /// Creates new empty `Bag`.
-    init() {
-    }
-    
-    /**
-    Inserts `value` into bag.
-    
-    - parameter element: Element to insert.
-    - returns: Key that can be used to remove element from bag.
-    */
-    mutating func insert(_ element: T) -> BagKey {
-        let key = _nextKey
-
-        _nextKey = BagKey(rawValue: _nextKey.rawValue &+ 1)
-
-        if _key0 == nil {
-            _key0 = key
-            _value0 = element
-            return key
-        }
-
-        _onlyFastPath = false
-
-        if _dictionary != nil {
-            _dictionary![key] = element
-            return key
-        }
-
-        if _pairs.count < arrayDictionaryMaxSize {
-            _pairs.append(key: key, value: element)
-            return key
-        }
-
-        if _dictionary == nil {
-            _dictionary = [:]
-        }
-
-        _dictionary![key] = element
-        
-        return key
-    }
-    
-    /// - returns: Number of elements in bag.
-    var count: Int {
-        let dictionaryCount: Int = _dictionary?.count ?? 0
-        return (_value0 != nil ? 1 : 0) + _pairs.count + dictionaryCount
-    }
-    
-    /// Removes all elements from bag and clears capacity.
-    mutating func removeAll() {
-        _key0 = nil
-        _value0 = nil
-
-        _pairs.removeAll(keepingCapacity: false)
-        _dictionary?.removeAll(keepingCapacity: false)
-    }
-    
-    /**
-    Removes element with a specific `key` from bag.
-    
-    - parameter key: Key that identifies element to remove from bag.
-    - returns: Element that bag contained, or nil in case element was already removed.
-    */
-    mutating func removeKey(_ key: BagKey) -> T? {
-        if _key0 == key {
-            _key0 = nil
-            let value = _value0!
-            _value0 = nil
-            return value
-        }
-
-        if let existingObject = _dictionary?.removeValue(forKey: key) {
-            return existingObject
-        }
-
-        for i in 0 ..< _pairs.count {
-            if _pairs[i].key == key {
-                let value = _pairs[i].value
-                _pairs.remove(at: i)
-                return value
-            }
-        }
-
-        return nil
-    }
-}
-
-extension Bag {
-    /// A textual representation of `self`, suitable for debugging.
-    var debugDescription : String {
-        return "\(self.count) elements in Bag"
-    }
-}
-
-extension Bag {
-    /// Enumerates elements inside the bag.
-    ///
-    /// - parameter action: Enumeration closure.
-    func forEach(_ action: (T) -> Void) {
-        if _onlyFastPath {
-            if let value0 = _value0 {
-                action(value0)
-            }
-            return
-        }
-
-        let value0 = _value0
-        let dictionary = _dictionary
-
-        if let value0 = value0 {
-            action(value0)
-        }
-
-        for i in 0 ..< _pairs.count {
-            action(_pairs[i].value)
-        }
-
-        if dictionary?.count ?? 0 > 0 {
-            for element in dictionary!.values {
-                action(element)
-            }
-        }
-    }
-}
-
-extension BagKey: Hashable {
-    var hashValue: Int {
-        return rawValue.hashValue
-    }
-}
-
-func ==(lhs: BagKey, rhs: BagKey) -> Bool {
-    return lhs.rawValue == rhs.rawValue
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift
deleted file mode 100644
index 1307febd8ec..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/InfiniteSequence.swift
+++ /dev/null
@@ -1,26 +0,0 @@
-//
-//  InfiniteSequence.swift
-//  Platform
-//
-//  Created by Krunoslav Zaher on 6/13/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Sequence that repeats `repeatedValue` infinite number of times.
-struct InfiniteSequence<E>: Sequence {
-    typealias Element = E
-    typealias Iterator = AnyIterator<E>
-
-    private let _repeatedValue: E
-
-    init(repeatedValue: E) {
-        _repeatedValue = repeatedValue
-    }
-
-    func makeIterator() -> Iterator {
-        let repeatedValue = _repeatedValue
-        return AnyIterator {
-            return repeatedValue
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift
deleted file mode 100644
index fae70a05394..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/PriorityQueue.swift
+++ /dev/null
@@ -1,112 +0,0 @@
-//
-//  PriorityQueue.swift
-//  Platform
-//
-//  Created by Krunoslav Zaher on 12/27/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-struct PriorityQueue<Element> {
-    private let _hasHigherPriority: (Element, Element) -> Bool
-    private let _isEqual: (Element, Element) -> Bool
-
-    fileprivate var _elements = [Element]()
-
-    init(hasHigherPriority: @escaping (Element, Element) -> Bool, isEqual: @escaping (Element, Element) -> Bool) {
-        _hasHigherPriority = hasHigherPriority
-        _isEqual = isEqual
-    }
-
-    mutating func enqueue(_ element: Element) {
-        _elements.append(element)
-        bubbleToHigherPriority(_elements.count - 1)
-    }
-
-    func peek() -> Element? {
-        return _elements.first
-    }
-
-    var isEmpty: Bool {
-        return _elements.count == 0
-    }
-
-    mutating func dequeue() -> Element? {
-        guard let front = peek() else {
-            return nil
-        }
-
-        removeAt(0)
-
-        return front
-    }
-
-    mutating func remove(_ element: Element) {
-        for i in 0 ..< _elements.count {
-            if _isEqual(_elements[i], element) {
-                removeAt(i)
-                return
-            }
-        }
-    }
-
-    private mutating func removeAt(_ index: Int) {
-        let removingLast = index == _elements.count - 1
-        if !removingLast {
-            swap(&_elements[index], &_elements[_elements.count - 1])
-        }
-
-        _ = _elements.popLast()
-
-        if !removingLast {
-            bubbleToHigherPriority(index)
-            bubbleToLowerPriority(index)
-        }
-    }
-
-    private mutating func bubbleToHigherPriority(_ initialUnbalancedIndex: Int) {
-        precondition(initialUnbalancedIndex >= 0)
-        precondition(initialUnbalancedIndex < _elements.count)
-
-        var unbalancedIndex = initialUnbalancedIndex
-
-        while unbalancedIndex > 0 {
-            let parentIndex = (unbalancedIndex - 1) / 2
-            guard _hasHigherPriority(_elements[unbalancedIndex], _elements[parentIndex]) else { break }
-            
-            swap(&_elements[unbalancedIndex], &_elements[parentIndex])
-            unbalancedIndex = parentIndex
-        }
-    }
-
-    private mutating func bubbleToLowerPriority(_ initialUnbalancedIndex: Int) {
-        precondition(initialUnbalancedIndex >= 0)
-        precondition(initialUnbalancedIndex < _elements.count)
-
-        var unbalancedIndex = initialUnbalancedIndex
-        while true {
-            let leftChildIndex = unbalancedIndex * 2 + 1
-            let rightChildIndex = unbalancedIndex * 2 + 2
-
-            var highestPriorityIndex = unbalancedIndex
-
-            if leftChildIndex < _elements.count && _hasHigherPriority(_elements[leftChildIndex], _elements[highestPriorityIndex]) {
-                highestPriorityIndex = leftChildIndex
-            }
-
-            if rightChildIndex < _elements.count && _hasHigherPriority(_elements[rightChildIndex], _elements[highestPriorityIndex]) {
-                highestPriorityIndex = rightChildIndex
-            }
-
-            guard highestPriorityIndex != unbalancedIndex else { break }
-
-            swap(&_elements[highestPriorityIndex], &_elements[unbalancedIndex])
-            unbalancedIndex = highestPriorityIndex
-        }
-    }
-}
-
-extension PriorityQueue : CustomDebugStringConvertible {
-    var debugDescription: String {
-        return _elements.debugDescription
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/Queue.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/Queue.swift
deleted file mode 100644
index b9b3ae2e8b8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/DataStructures/Queue.swift
+++ /dev/null
@@ -1,152 +0,0 @@
-//
-//  Queue.swift
-//  Platform
-//
-//  Created by Krunoslav Zaher on 3/21/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/**
-Data structure that represents queue.
-
-Complexity of `enqueue`, `dequeue` is O(1) when number of operations is
-averaged over N operations.
-
-Complexity of `peek` is O(1).
-*/
-struct Queue<T>: Sequence {
-    /// Type of generator.
-    typealias Generator = AnyIterator<T>
-
-    private let _resizeFactor = 2
-
-    private var _storage: ContiguousArray<T?>
-    private var _count = 0
-    private var _pushNextIndex = 0
-    private let _initialCapacity: Int
-
-    /**
-    Creates new queue.
-    
-    - parameter capacity: Capacity of newly created queue.
-    */
-    init(capacity: Int) {
-        _initialCapacity = capacity
-
-        _storage = ContiguousArray<T?>(repeating: nil, count: capacity)
-    }
-
-    private var dequeueIndex: Int {
-        let index = _pushNextIndex - count
-        return index < 0 ? index + _storage.count : index
-    }
-
-    /// - returns: Is queue empty.
-    var isEmpty: Bool {
-        return count == 0
-    }
-
-    /// - returns: Number of elements inside queue.
-    var count: Int {
-        return _count
-    }
-
-    /// - returns: Element in front of a list of elements to `dequeue`.
-    func peek() -> T {
-        precondition(count > 0)
-
-        return _storage[dequeueIndex]!
-    }
-
-    mutating private func resizeTo(_ size: Int) {
-        var newStorage = ContiguousArray<T?>(repeating: nil, count: size)
-
-        let count = _count
-
-        let dequeueIndex = self.dequeueIndex
-        let spaceToEndOfQueue = _storage.count - dequeueIndex
-
-        // first batch is from dequeue index to end of array
-        let countElementsInFirstBatch = Swift.min(count, spaceToEndOfQueue)
-        // second batch is wrapped from start of array to end of queue
-        let numberOfElementsInSecondBatch = count - countElementsInFirstBatch
-
-        newStorage[0 ..< countElementsInFirstBatch] = _storage[dequeueIndex ..< (dequeueIndex + countElementsInFirstBatch)]
-        newStorage[countElementsInFirstBatch ..< (countElementsInFirstBatch + numberOfElementsInSecondBatch)] = _storage[0 ..< numberOfElementsInSecondBatch]
-
-        _count = count
-        _pushNextIndex = count
-        _storage = newStorage
-    }
-
-    /// Enqueues `element`.
-    ///
-    /// - parameter element: Element to enqueue.
-    mutating func enqueue(_ element: T) {
-        if count == _storage.count {
-            resizeTo(Swift.max(_storage.count, 1) * _resizeFactor)
-        }
-
-        _storage[_pushNextIndex] = element
-        _pushNextIndex += 1
-        _count += 1
-
-        if _pushNextIndex >= _storage.count {
-            _pushNextIndex -= _storage.count
-        }
-    }
-
-    private mutating func dequeueElementOnly() -> T {
-        precondition(count > 0)
-
-        let index = dequeueIndex
-
-        defer {
-            _storage[index] = nil
-            _count -= 1
-        }
-
-        return _storage[index]!
-    }
-
-    /// Dequeues element or throws an exception in case queue is empty.
-    ///
-    /// - returns: Dequeued element.
-    mutating func dequeue() -> T? {
-        if self.count == 0 {
-            return nil
-        }
-
-        defer {
-            let downsizeLimit = _storage.count / (_resizeFactor * _resizeFactor)
-            if _count < downsizeLimit && downsizeLimit >= _initialCapacity {
-                resizeTo(_storage.count / _resizeFactor)
-            }
-        }
-
-        return dequeueElementOnly()
-    }
-
-    /// - returns: Generator of contained elements.
-    func makeIterator() -> AnyIterator<T> {
-        var i = dequeueIndex
-        var count = _count
-
-        return AnyIterator {
-            if count == 0 {
-                return nil
-            }
-
-            defer {
-                count -= 1
-                i += 1
-            }
-
-            if i >= self._storage.count {
-                i -= self._storage.count
-            }
-
-            return self._storage[i]
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/Platform.Darwin.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/Platform.Darwin.swift
deleted file mode 100644
index d9e744fe72f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/Platform.Darwin.swift
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-//  Platform.Darwin.swift
-//  Platform
-//
-//  Created by Krunoslav Zaher on 12/29/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-#if os(macOS) || os(iOS) || os(tvOS) || os(watchOS)
-
-    import Darwin
-    import class Foundation.Thread
-    import func Foundation.OSAtomicCompareAndSwap32Barrier
-    import func Foundation.OSAtomicIncrement32Barrier
-    import func Foundation.OSAtomicDecrement32Barrier
-    import protocol Foundation.NSCopying
-
-    typealias AtomicInt = Int32
-
-    fileprivate func castToUInt32Pointer(_ pointer: UnsafeMutablePointer<Int32>) -> UnsafeMutablePointer<UInt32> {
-        let raw = UnsafeMutableRawPointer(pointer)
-        return raw.assumingMemoryBound(to: UInt32.self)
-    }
-
-    let AtomicCompareAndSwap = OSAtomicCompareAndSwap32Barrier
-    let AtomicIncrement = OSAtomicIncrement32Barrier
-    let AtomicDecrement = OSAtomicDecrement32Barrier
-    func AtomicOr(_ mask: UInt32, _ theValue : UnsafeMutablePointer<Int32>) -> Int32 {
-        return OSAtomicOr32OrigBarrier(mask, castToUInt32Pointer(theValue))
-    }
-    func AtomicFlagSet(_ mask: UInt32, _ theValue : UnsafeMutablePointer<Int32>) -> Bool {
-        // just used to create a barrier
-        OSAtomicXor32OrigBarrier(0, castToUInt32Pointer(theValue))
-        return (theValue.pointee & Int32(mask)) != 0
-    }
-
-    extension Thread {
-
-        static func setThreadLocalStorageValue<T: AnyObject>(_ value: T?, forKey key: NSCopying
-            ) {
-            let currentThread = Thread.current
-            let threadDictionary = currentThread.threadDictionary
-
-            if let newValue = value {
-                threadDictionary[key] = newValue
-            }
-            else {
-                threadDictionary[key] = nil
-            }
-
-        }
-        static func getThreadLocalStorageValueForKey<T>(_ key: NSCopying) -> T? {
-            let currentThread = Thread.current
-            let threadDictionary = currentThread.threadDictionary
-            
-            return threadDictionary[key] as? T
-        }
-    }
-
-    extension AtomicInt {
-        func valueSnapshot() -> Int32 {
-            return self
-        }
-    }
-    
-#endif
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/Platform.Linux.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/Platform.Linux.swift
deleted file mode 100644
index 5cd07e2c046..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/Platform/Platform.Linux.swift
+++ /dev/null
@@ -1,105 +0,0 @@
-//
-//  Platform.Linux.swift
-//  Platform
-//
-//  Created by Krunoslav Zaher on 12/29/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-#if os(Linux)
-
-    import XCTest
-    import Glibc
-    import SwiftShims
-    import class Foundation.Thread
-
-    final class AtomicInt {
-        typealias IntegerLiteralType = Int
-        fileprivate var value: Int32 = 0
-        fileprivate var _lock = RecursiveLock()
-
-        func lock() {
-          _lock.lock()
-        }
-        func unlock() {
-          _lock.unlock()
-        }
-
-        func valueSnapshot() -> Int32 {
-            return value
-        }
-    }
-
-    extension AtomicInt: ExpressibleByIntegerLiteral {
-        convenience init(integerLiteral value: Int) {
-            self.init()
-            self.value = Int32(value)
-        }
-    }
-    
-    func >(lhs: AtomicInt, rhs: Int32) -> Bool {
-        return lhs.value > rhs
-    }
-    func ==(lhs: AtomicInt, rhs: Int32) -> Bool {
-        return lhs.value == rhs
-    }
-
-    func AtomicFlagSet(_ mask: UInt32, _ atomic: inout AtomicInt) -> Bool {
-        atomic.lock(); defer { atomic.unlock() }
-        return (atomic.value & Int32(mask)) != 0
-    }
-
-    func AtomicOr(_ mask: UInt32, _ atomic: inout AtomicInt) -> Int32 {
-        atomic.lock(); defer { atomic.unlock() }
-        let value = atomic.value
-        atomic.value |= Int32(mask)
-        return value
-    }
-
-    func AtomicIncrement(_ atomic: inout AtomicInt) -> Int32 {
-        atomic.lock(); defer { atomic.unlock() }
-        atomic.value += 1
-        return atomic.value
-    }
-
-    func AtomicDecrement(_ atomic: inout AtomicInt) -> Int32 {
-        atomic.lock(); defer { atomic.unlock() }
-        atomic.value -= 1
-        return atomic.value
-    }
-
-    func AtomicCompareAndSwap(_ l: Int32, _ r: Int32, _ atomic: inout AtomicInt) -> Bool {
-        atomic.lock(); defer { atomic.unlock() }
-        if atomic.value == l {
-            atomic.value = r
-            return true
-        }
-
-        return false
-    }
-
-    extension Thread {
-
-        static func setThreadLocalStorageValue<T: AnyObject>(_ value: T?, forKey key: String) {
-            let currentThread = Thread.current
-            var threadDictionary = currentThread.threadDictionary
-
-            if let newValue = value {
-                threadDictionary[key] = newValue
-            }
-            else {
-                threadDictionary[key] = nil
-            }
-
-            currentThread.threadDictionary = threadDictionary
-        }
-
-        static func getThreadLocalStorageValueForKey<T: AnyObject>(_ key: String) -> T? {
-            let currentThread = Thread.current
-            let threadDictionary = currentThread.threadDictionary
-
-            return threadDictionary[key] as? T
-        }
-    }
-
-#endif
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/README.md b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/README.md
deleted file mode 100644
index bdf8a2ba3c8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/README.md
+++ /dev/null
@@ -1,210 +0,0 @@
-<img src="assets/Rx_Logo_M.png" alt="Miss Electric Eel 2016" width="36" height="36"> RxSwift: ReactiveX for Swift
-======================================
-
-[![Travis CI](https://travis-ci.org/ReactiveX/RxSwift.svg?branch=master)](https://travis-ci.org/ReactiveX/RxSwift) ![platforms](https://img.shields.io/badge/platforms-iOS%20%7C%20macOS%20%7C%20tvOS%20%7C%20watchOS%20%7C%20Linux-333333.svg) ![pod](https://img.shields.io/cocoapods/v/RxSwift.svg) [![Carthage compatible](https://img.shields.io/badge/Carthage-compatible-4BC51D.svg?style=flat)](https://github.com/Carthage/Carthage) [![Swift Package Manager compatible](https://img.shields.io/badge/Swift%20Package%20Manager-compatible-brightgreen.svg)](https://github.com/apple/swift-package-manager)
-
-Rx is a [generic abstraction of computation](https://youtu.be/looJcaeboBY) expressed through `Observable<Element>` interface.
-
-This is a Swift version of [Rx](https://github.com/Reactive-Extensions/Rx.NET).
-
-It tries to port as many concepts from the original version as possible, but some concepts were adapted for more pleasant and performant integration with iOS/macOS environment.
-
-Cross platform documentation can be found on [ReactiveX.io](http://reactivex.io/).
-
-Like the original Rx, its intention is to enable easy composition of asynchronous operations and event/data streams.
-
-KVO observing, async operations and streams are all unified under [abstraction of sequence](Documentation/GettingStarted.md#observables-aka-sequences). This is the reason why Rx is so simple, elegant and powerful.
-
-## I came here because I want to ...
-
-###### ... understand
-
-* [why use rx?](Documentation/Why.md)
-* [the basics, getting started with RxSwift](Documentation/GettingStarted.md)
-* [traits](Documentation/Traits.md) - what are `Single`, `Completable`, `Maybe`, `Driver`, `ControlProperty`, and `Variable` ... and why do they exist?
-* [testing](Documentation/UnitTests.md)
-* [tips and common errors](Documentation/Tips.md)
-* [debugging](Documentation/GettingStarted.md#debugging)
-* [the math behind Rx](Documentation/MathBehindRx.md)
-* [what are hot and cold observable sequences?](Documentation/HotAndColdObservables.md)
-
-###### ... install
-
-* Integrate RxSwift/RxCocoa with my app. [Installation Guide](#installation)
-
-###### ... hack around
-
-* with the example app. [Running Example App](Documentation/ExampleApp.md)
-* with operators in playgrounds. [Playgrounds](Documentation/Playgrounds.md)
-
-###### ... interact
-
-* All of this is great, but it would be nice to talk with other people using RxSwift and exchange experiences. <br />[![Slack channel](http://rxswift-slack.herokuapp.com/badge.svg)](http://rxswift-slack.herokuapp.com/) [Join Slack Channel](http://rxswift-slack.herokuapp.com)
-* Report a problem using the library. [Open an Issue With Bug Template](.github/ISSUE_TEMPLATE.md)
-* Request a new feature. [Open an Issue With Feature Request Template](Documentation/NewFeatureRequestTemplate.md)
-
-
-###### ... compare
-
-* [with other libraries](Documentation/ComparisonWithOtherLibraries.md).
-
-
-###### ... find compatible
-
-* libraries from [RxSwiftCommunity](https://github.com/RxSwiftCommunity).
-* [Pods using RxSwift](https://cocoapods.org/?q=uses%3Arxswift).
-
-###### ... see the broader vision
-
-* Does this exist for Android? [RxJava](https://github.com/ReactiveX/RxJava)
-* Where is all of this going, what is the future, what about reactive architectures, how do you design entire apps this way? [Cycle.js](https://github.com/cyclejs/cycle-core) - this is javascript, but [RxJS](https://github.com/Reactive-Extensions/RxJS) is javascript version of Rx.
-
-## Usage
-
-<table>
-  <tr>
-    <th width="30%">Here's an example</th>
-    <th width="30%">In Action</th>
-  </tr>
-  <tr>
-    <td>Define search for GitHub repositories ...</td>
-    <th rowspan="9"><img src="https://raw.githubusercontent.com/kzaher/rxswiftcontent/master/GithubSearch.gif"></th>
-  </tr>
-  <tr>
-    <td><div class="highlight highlight-source-swift"><pre>
-let searchResults = searchBar.rx.text.orEmpty
-    .throttle(0.3, scheduler: MainScheduler.instance)
-    .distinctUntilChanged()
-    .flatMapLatest { query -> Observable&lt;[Repository]&gt; in
-        if query.isEmpty {
-            return .just([])
-        }
-        return searchGitHub(query)
-            .catchErrorJustReturn([])
-    }
-    .observeOn(MainScheduler.instance)</pre></div></td>
-  </tr>
-  <tr>
-    <td>... then bind the results to your tableview</td>
-  </tr>
-  <tr>
-    <td width="30%"><div class="highlight highlight-source-swift"><pre>
-searchResults
-    .bind(to: tableView.rx.items(cellIdentifier: "Cell")) {
-        (index, repository: Repository, cell) in
-        cell.textLabel?.text = repository.name
-        cell.detailTextLabel?.text = repository.url
-    }
-    .disposed(by: disposeBag)</pre></div></td>
-  </tr>
-</table>
-
-
-## Requirements
-
-* Xcode 8.0
-* Swift 3.0
-* Swift 2.3 ([use `rxswift-2.0` branch](https://github.com/ReactiveX/RxSwift/tree/rxswift-2.0) instead)
-
-## Installation
-
-Rx doesn't contain any external dependencies.
-
-These are currently the supported options:
-
-### Manual
-
-Open Rx.xcworkspace, choose `RxExample` and hit run. This method will build everything and run the sample app
-
-### [CocoaPods](https://guides.cocoapods.org/using/using-cocoapods.html)
-
-**Tested with `pod --version`: `1.1.1`**
-
-```ruby
-# Podfile
-use_frameworks!
-
-target 'YOUR_TARGET_NAME' do
-    pod 'RxSwift',    '~> 3.0'
-    pod 'RxCocoa',    '~> 3.0'
-end
-
-# RxTests and RxBlocking make the most sense in the context of unit/integration tests
-target 'YOUR_TESTING_TARGET' do
-    pod 'RxBlocking', '~> 3.0'
-    pod 'RxTest',     '~> 3.0'
-end
-```
-
-Replace `YOUR_TARGET_NAME` and then, in the `Podfile` directory, type:
-
-```bash
-$ pod install
-```
-
-### [Carthage](https://github.com/Carthage/Carthage)
-
-**Tested with `carthage version`: `0.18.1`**
-
-Add this to `Cartfile`
-
-```
-github "ReactiveX/RxSwift" ~> 3.0
-```
-
-```bash
-$ carthage update
-```
-
-### [Swift Package Manager](https://github.com/apple/swift-package-manager)
-
-**Tested with `swift build --version`: `3.0.0 (swiftpm-19)`**
-
-Create a `Package.swift` file.
-
-```swift
-import PackageDescription
-
-let package = Package(
-    name: "RxTestProject",
-    targets: [],
-    dependencies: [
-        .Package(url: "https://github.com/ReactiveX/RxSwift.git", majorVersion: 3)
-    ]
-)
-```
-
-```bash
-$ swift build
-```
-
-To build or test a module with RxTest dependency, set `TEST=1`. ([RxSwift >= 3.4.2](https://github.com/ReactiveX/RxSwift/releases/tag/3.4.2))
-
-```bash
-$ TEST=1 swift test
-```
-
-### Manually using git submodules
-
-* Add RxSwift as a submodule
-
-```bash
-$ git submodule add git@github.com:ReactiveX/RxSwift.git
-```
-
-* Drag `Rx.xcodeproj` into Project Navigator
-* Go to `Project > Targets > Build Phases > Link Binary With Libraries`, click `+` and select `RxSwift-[Platform]` and `RxCocoa-[Platform]` targets
-
-
-## References
-
-* [http://reactivex.io/](http://reactivex.io/)
-* [Reactive Extensions GitHub (GitHub)](https://github.com/Reactive-Extensions)
-* [RxSwift RayWenderlich.com Book](https://store.raywenderlich.com/products/rxswift)
-* [Boxue.io RxSwift Online Course](https://boxueio.com/series/rxswift-101) (Chinese 🇨🇳)
-* [Erik Meijer (Wikipedia)](http://en.wikipedia.org/wiki/Erik_Meijer_%28computer_scientist%29)
-* [Expert to Expert: Brian Beckman and Erik Meijer - Inside the .NET Reactive Framework (Rx) (video)](https://youtu.be/looJcaeboBY)
-* [Reactive Programming Overview (Jafar Husain from Netflix)](https://www.youtube.com/watch?v=dwP1TNXE6fc)
-* [Subject/Observer is Dual to Iterator (paper)](http://csl.stanford.edu/~christos/pldi2010.fit/meijer.duality.pdf)
-* [Rx standard sequence operators visualized (visualization tool)](http://rxmarbles.com/)
-* [Haskell](https://www.haskell.org/)
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/AnyObserver.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/AnyObserver.swift
deleted file mode 100644
index dd4f9c4086c..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/AnyObserver.swift
+++ /dev/null
@@ -1,72 +0,0 @@
-//
-//  AnyObserver.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/28/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// A type-erased `ObserverType`.
-///
-/// Forwards operations to an arbitrary underlying observer with the same `Element` type, hiding the specifics of the underlying observer type.
-public struct AnyObserver<Element> : ObserverType {
-    /// The type of elements in sequence that observer can observe.
-    public typealias E = Element
-    
-    /// Anonymous event handler type.
-    public typealias EventHandler = (Event<Element>) -> Void
-
-    private let observer: EventHandler
-
-    /// Construct an instance whose `on(event)` calls `eventHandler(event)`
-    ///
-    /// - parameter eventHandler: Event handler that observes sequences events.
-    public init(eventHandler: @escaping EventHandler) {
-        self.observer = eventHandler
-    }
-    
-    /// Construct an instance whose `on(event)` calls `observer.on(event)`
-    ///
-    /// - parameter observer: Observer that receives sequence events.
-    public init<O : ObserverType>(_ observer: O) where O.E == Element {
-        self.observer = observer.on
-    }
-    
-    /// Send `event` to this observer.
-    ///
-    /// - parameter event: Event instance.
-    public func on(_ event: Event<Element>) {
-        return self.observer(event)
-    }
-
-    /// Erases type of observer and returns canonical observer.
-    ///
-    /// - returns: type erased observer.
-    public func asObserver() -> AnyObserver<E> {
-        return self
-    }
-}
-
-extension AnyObserver {
-    /// Collection of `AnyObserver`s
-    typealias s = Bag<(Event<Element>) -> ()>
-}
-
-extension ObserverType {
-    /// Erases type of observer and returns canonical observer.
-    ///
-    /// - returns: type erased observer.
-    public func asObserver() -> AnyObserver<E> {
-        return AnyObserver(self)
-    }
-
-    /// Transforms observer of type R to type E using custom transform method.
-    /// Each event sent to result observer is transformed and sent to `self`.
-    ///
-    /// - returns: observer that transforms events.
-    public func mapObserver<R>(_ transform: @escaping (R) throws -> E) -> AnyObserver<R> {
-        return AnyObserver { e in
-            self.on(e.map(transform))
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Cancelable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Cancelable.swift
deleted file mode 100644
index 341807c18cb..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Cancelable.swift
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-//  Cancelable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/12/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents disposable resource with state tracking.
-public protocol Cancelable: Disposable {
-    /// Was resource disposed.
-    var isDisposed: Bool { get }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift
deleted file mode 100644
index 259707818a4..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/AsyncLock.swift
+++ /dev/null
@@ -1,102 +0,0 @@
-//
-//  AsyncLock.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/21/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/**
-In case nobody holds this lock, the work will be queued and executed immediately
-on thread that is requesting lock.
-
-In case there is somebody currently holding that lock, action will be enqueued.
-When owned of the lock finishes with it's processing, it will also execute
-and pending work.
-
-That means that enqueued work could possibly be executed later on a different thread.
-*/
-final class AsyncLock<I: InvocableType>
-    : Disposable
-    , Lock
-    , SynchronizedDisposeType {
-    typealias Action = () -> Void
-    
-    var _lock = SpinLock()
-    
-    private var _queue: Queue<I> = Queue(capacity: 0)
-
-    private var _isExecuting: Bool = false
-    private var _hasFaulted: Bool = false
-
-    // lock {
-    func lock() {
-        _lock.lock()
-    }
-
-    func unlock() {
-        _lock.unlock()
-    }
-    // }
-
-    private func enqueue(_ action: I) -> I? {
-        _lock.lock(); defer { _lock.unlock() } // {
-            if _hasFaulted {
-                return nil
-            }
-
-            if _isExecuting {
-                _queue.enqueue(action)
-                return nil
-            }
-
-            _isExecuting = true
-
-            return action
-        // }
-    }
-
-    private func dequeue() -> I? {
-        _lock.lock(); defer { _lock.unlock() } // {
-            if _queue.count > 0 {
-                return _queue.dequeue()
-            }
-            else {
-                _isExecuting = false
-                return nil
-            }
-        // }
-    }
-
-    func invoke(_ action: I) {
-        let firstEnqueuedAction = enqueue(action)
-        
-        if let firstEnqueuedAction = firstEnqueuedAction {
-            firstEnqueuedAction.invoke()
-        }
-        else {
-            // action is enqueued, it's somebody else's concern now
-            return
-        }
-        
-        while true {
-            let nextAction = dequeue()
-
-            if let nextAction = nextAction {
-                nextAction.invoke()
-            }
-            else {
-                return
-            }
-        }
-    }
-    
-    func dispose() {
-        synchronizedDispose()
-    }
-
-    func _synchronized_dispose() {
-        _queue = Queue(capacity: 0)
-        _hasFaulted = true
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/Lock.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/Lock.swift
deleted file mode 100644
index 52afc1cb87e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/Lock.swift
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-//  Lock.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/31/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol Lock {
-    func lock()
-    func unlock()
-}
-
-// https://lists.swift.org/pipermail/swift-dev/Week-of-Mon-20151214/000321.html
-typealias SpinLock = RecursiveLock
-
-extension RecursiveLock : Lock {
-    @inline(__always)
-    final func performLocked(_ action: () -> Void) {
-        lock(); defer { unlock() }
-        action()
-    }
-
-    @inline(__always)
-    final func calculateLocked<T>(_ action: () -> T) -> T {
-        lock(); defer { unlock() }
-        return action()
-    }
-
-    @inline(__always)
-    final func calculateLockedOrFail<T>(_ action: () throws -> T) throws -> T {
-        lock(); defer { unlock() }
-        let result = try action()
-        return result
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift
deleted file mode 100644
index eca8d8e120b..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/LockOwnerType.swift
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-//  LockOwnerType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol LockOwnerType : class, Lock {
-    var _lock: RecursiveLock { get }
-}
-
-extension LockOwnerType {
-    func lock() {
-        _lock.lock()
-    }
-
-    func unlock() {
-        _lock.unlock()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift
deleted file mode 100644
index af9548f6edf..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedDisposeType.swift
+++ /dev/null
@@ -1,18 +0,0 @@
-//
-//  SynchronizedDisposeType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol SynchronizedDisposeType : class, Disposable, Lock {
-    func _synchronized_dispose()
-}
-
-extension SynchronizedDisposeType {
-    func synchronizedDispose() {
-        lock(); defer { unlock() }
-        _synchronized_dispose()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift
deleted file mode 100644
index 8dfc5568413..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedOnType.swift
+++ /dev/null
@@ -1,18 +0,0 @@
-//
-//  SynchronizedOnType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol SynchronizedOnType : class, ObserverType, Lock {
-    func _synchronized_on(_ event: Event<E>)
-}
-
-extension SynchronizedOnType {
-    func synchronizedOn(_ event: Event<E>) {
-        lock(); defer { unlock() }
-        _synchronized_on(event)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift
deleted file mode 100644
index e6f1d73e92f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedSubscribeType.swift
+++ /dev/null
@@ -1,18 +0,0 @@
-//
-//  SynchronizedSubscribeType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol SynchronizedSubscribeType : class, ObservableType, Lock {
-    func _synchronized_subscribe<O: ObserverType>(_ observer: O) -> Disposable where O.E == E
-}
-
-extension SynchronizedSubscribeType {
-    func synchronizedSubscribe<O: ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        lock(); defer { unlock() }
-        return _synchronized_subscribe(observer)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift
deleted file mode 100644
index 29897d4bdb8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Concurrency/SynchronizedUnsubscribeType.swift
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-//  SynchronizedUnsubscribeType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol SynchronizedUnsubscribeType: class {
-    associatedtype DisposeKey
-
-    func synchronizedUnsubscribe(_ disposeKey: DisposeKey)
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ConnectableObservableType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ConnectableObservableType.swift
deleted file mode 100644
index 239455a0f96..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ConnectableObservableType.swift
+++ /dev/null
@@ -1,19 +0,0 @@
-//
-//  ConnectableObservableType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/1/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/**
-Represents an observable sequence wrapper that can be connected and disconnected from its underlying observable sequence.
-*/
-public protocol ConnectableObservableType: ObservableType {
-    /**
-    Connects the observable wrapper to its source. All subscribed observers will receive values from the underlying observable sequence as long as the connection is established.
-    
-    - returns: Disposable used to disconnect the observable wrapper from its source, causing subscribed observer to stop receiving values from the underlying observable sequence.
-    */
-    func connect() -> Disposable
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Deprecated.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Deprecated.swift
deleted file mode 100644
index 8ebfb0a66b5..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Deprecated.swift
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-//  Deprecated.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/5/17.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Converts a optional to an observable sequence.
-     
-     - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html)
-     
-     - parameter optional: Optional element in the resulting observable sequence.
-     - returns: An observable sequence containing the wrapped value or not from given optional.
-     */
-    @available(*, deprecated, message: "Implicit conversions from any type to optional type are allowed and that is causing issues with `from` operator overloading.", renamed: "from(optional:)")
-    public static func from(_ optional: E?) -> Observable<E> {
-        return Observable.from(optional: optional)
-    }
-
-    /**
-     Converts a optional to an observable sequence.
-
-     - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html)
-
-     - parameter optional: Optional element in the resulting observable sequence.
-     - parameter: Scheduler to send the optional element on.
-     - returns: An observable sequence containing the wrapped value or not from given optional.
-     */
-    @available(*, deprecated, message: "Implicit conversions from any type to optional type are allowed and that is causing issues with `from` operator overloading.", renamed: "from(optional:scheduler:)")
-    public static func from(_ optional: E?, scheduler: ImmediateSchedulerType) -> Observable<E> {
-        return Observable.from(optional: optional, scheduler: scheduler)
-    }
-}
-
-extension Disposable {
-    /// Deprecated in favor of `disposed(by:)`
-    ///
-    /// **@available(\*, deprecated, message="use disposed(by:) instead")**
-    ///
-    /// Adds `self` to `bag`.
-    ///
-    /// - parameter bag: `DisposeBag` to add `self` to.
-    public func addDisposableTo(_ bag: DisposeBag) {
-        disposed(by: bag)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposable.swift
deleted file mode 100644
index 0ff067cf5c8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposable.swift
+++ /dev/null
@@ -1,13 +0,0 @@
-//
-//  Disposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Respresents a disposable resource.
-public protocol Disposable {
-    /// Dispose resource.
-    func dispose()
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift
deleted file mode 100644
index e54532b973b..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/AnonymousDisposable.swift
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-//  AnonymousDisposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/15/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents an Action-based disposable.
-///
-/// When dispose method is called, disposal action will be dereferenced.
-fileprivate final class AnonymousDisposable : DisposeBase, Cancelable {
-    public typealias DisposeAction = () -> Void
-
-    private var _isDisposed: AtomicInt = 0
-    private var _disposeAction: DisposeAction?
-
-    /// - returns: Was resource disposed.
-    public var isDisposed: Bool {
-        return _isDisposed == 1
-    }
-
-    /// Constructs a new disposable with the given action used for disposal.
-    ///
-    /// - parameter disposeAction: Disposal action which will be run upon calling `dispose`.
-    fileprivate init(_ disposeAction: @escaping DisposeAction) {
-        _disposeAction = disposeAction
-        super.init()
-    }
-    
-    // Non-deprecated version of the constructor, used by `Disposables.create(with:)`
-    fileprivate init(disposeAction: @escaping DisposeAction) {
-        _disposeAction = disposeAction
-        super.init()
-    }
-    
-    /// Calls the disposal action if and only if the current instance hasn't been disposed yet.
-    ///
-    /// After invoking disposal action, disposal action will be dereferenced.
-    fileprivate func dispose() {
-        if AtomicCompareAndSwap(0, 1, &_isDisposed) {
-            assert(_isDisposed == 1)
-
-            if let action = _disposeAction {
-                _disposeAction = nil
-                action()
-            }
-        }
-    }
-}
-
-extension Disposables {
-    
-    /// Constructs a new disposable with the given action used for disposal.
-    ///
-    /// - parameter dispose: Disposal action which will be run upon calling `dispose`.
-    public static func create(with dispose: @escaping () -> ()) -> Cancelable {
-        return AnonymousDisposable(disposeAction: dispose)
-    }
-    
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift
deleted file mode 100644
index 8a518f00eae..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/BinaryDisposable.swift
+++ /dev/null
@@ -1,53 +0,0 @@
-//
-//  BinaryDisposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/12/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents two disposable resources that are disposed together.
-private final class BinaryDisposable : DisposeBase, Cancelable {
-
-    private var _isDisposed: AtomicInt = 0
-
-    // state
-    private var _disposable1: Disposable?
-    private var _disposable2: Disposable?
-
-    /// - returns: Was resource disposed.
-    var isDisposed: Bool {
-        return _isDisposed > 0
-    }
-
-    /// Constructs new binary disposable from two disposables.
-    ///
-    /// - parameter disposable1: First disposable
-    /// - parameter disposable2: Second disposable
-    init(_ disposable1: Disposable, _ disposable2: Disposable) {
-        _disposable1 = disposable1
-        _disposable2 = disposable2
-        super.init()
-    }
-
-    /// Calls the disposal action if and only if the current instance hasn't been disposed yet.
-    ///
-    /// After invoking disposal action, disposal action will be dereferenced.
-    func dispose() {
-        if AtomicCompareAndSwap(0, 1, &_isDisposed) {
-            _disposable1?.dispose()
-            _disposable2?.dispose()
-            _disposable1 = nil
-            _disposable2 = nil
-        }
-    }
-}
-
-extension Disposables {
-    
-    /// Creates a disposable with the given disposables.
-    public static func create(_ disposable1: Disposable, _ disposable2: Disposable) -> Cancelable {
-        return BinaryDisposable(disposable1, disposable2)
-    }
-    
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift
deleted file mode 100644
index efae55e410b..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/BooleanDisposable.swift
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-//  BooleanDisposable.swift
-//  RxSwift
-//
-//  Created by Junior B. on 10/29/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents a disposable resource that can be checked for disposal status.
-public final class BooleanDisposable : Cancelable {
-
-    internal static let BooleanDisposableTrue = BooleanDisposable(isDisposed: true)
-    private var _isDisposed = false
-    
-    /// Initializes a new instance of the `BooleanDisposable` class
-    public init() {
-    }
-    
-    /// Initializes a new instance of the `BooleanDisposable` class with given value
-    public init(isDisposed: Bool) {
-        self._isDisposed = isDisposed
-    }
-    
-    /// - returns: Was resource disposed.
-    public var isDisposed: Bool {
-        return _isDisposed
-    }
-    
-    /// Sets the status to disposed, which can be observer through the `isDisposed` property.
-    public func dispose() {
-        _isDisposed = true
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift
deleted file mode 100644
index b0578172382..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/CompositeDisposable.swift
+++ /dev/null
@@ -1,151 +0,0 @@
-//
-//  CompositeDisposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/20/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents a group of disposable resources that are disposed together.
-public final class CompositeDisposable : DisposeBase, Cancelable {
-    /// Key used to remove disposable from composite disposable
-    public struct DisposeKey {
-        fileprivate let key: BagKey
-        fileprivate init(key: BagKey) {
-            self.key = key
-        }
-    }
-
-    private var _lock = SpinLock()
-    
-    // state
-    private var _disposables: Bag<Disposable>? = Bag()
-
-    public var isDisposed: Bool {
-        _lock.lock(); defer { _lock.unlock() }
-        return _disposables == nil
-    }
-    
-    public override init() {
-    }
-    
-    /// Initializes a new instance of composite disposable with the specified number of disposables.
-    public init(_ disposable1: Disposable, _ disposable2: Disposable) {
-        // This overload is here to make sure we are using optimized version up to 4 arguments.
-        let _ = _disposables!.insert(disposable1)
-        let _ = _disposables!.insert(disposable2)
-    }
-    
-    /// Initializes a new instance of composite disposable with the specified number of disposables.
-    public init(_ disposable1: Disposable, _ disposable2: Disposable, _ disposable3: Disposable) {
-        // This overload is here to make sure we are using optimized version up to 4 arguments.
-        let _ = _disposables!.insert(disposable1)
-        let _ = _disposables!.insert(disposable2)
-        let _ = _disposables!.insert(disposable3)
-    }
-    
-    /// Initializes a new instance of composite disposable with the specified number of disposables.
-    public init(_ disposable1: Disposable, _ disposable2: Disposable, _ disposable3: Disposable, _ disposable4: Disposable, _ disposables: Disposable...) {
-        // This overload is here to make sure we are using optimized version up to 4 arguments.
-        let _ = _disposables!.insert(disposable1)
-        let _ = _disposables!.insert(disposable2)
-        let _ = _disposables!.insert(disposable3)
-        let _ = _disposables!.insert(disposable4)
-        
-        for disposable in disposables {
-            let _ = _disposables!.insert(disposable)
-        }
-    }
-    
-    /// Initializes a new instance of composite disposable with the specified number of disposables.
-    public init(disposables: [Disposable]) {
-        for disposable in disposables {
-            let _ = _disposables!.insert(disposable)
-        }
-    }
-
-    /**
-     Adds a disposable to the CompositeDisposable or disposes the disposable if the CompositeDisposable is disposed.
-     
-     - parameter disposable: Disposable to add.
-     - returns: Key that can be used to remove disposable from composite disposable. In case dispose bag was already
-     disposed `nil` will be returned.
-     */
-    public func insert(_ disposable: Disposable) -> DisposeKey? {
-        let key = _insert(disposable)
-        
-        if key == nil {
-            disposable.dispose()
-        }
-        
-        return key
-    }
-    
-    private func _insert(_ disposable: Disposable) -> DisposeKey? {
-        _lock.lock(); defer { _lock.unlock() }
-
-        let bagKey = _disposables?.insert(disposable)
-        return bagKey.map(DisposeKey.init)
-    }
-    
-    /// - returns: Gets the number of disposables contained in the `CompositeDisposable`.
-    public var count: Int {
-        _lock.lock(); defer { _lock.unlock() }
-        return _disposables?.count ?? 0
-    }
-    
-    /// Removes and disposes the disposable identified by `disposeKey` from the CompositeDisposable.
-    ///
-    /// - parameter disposeKey: Key used to identify disposable to be removed.
-    public func remove(for disposeKey: DisposeKey) {
-        _remove(for: disposeKey)?.dispose()
-    }
-    
-    private func _remove(for disposeKey: DisposeKey) -> Disposable? {
-        _lock.lock(); defer { _lock.unlock() }
-        return _disposables?.removeKey(disposeKey.key)
-    }
-    
-    /// Disposes all disposables in the group and removes them from the group.
-    public func dispose() {
-        if let disposables = _dispose() {
-            disposeAll(in: disposables)
-        }
-    }
-
-    private func _dispose() -> Bag<Disposable>? {
-        _lock.lock(); defer { _lock.unlock() }
-
-        let disposeBag = _disposables
-        _disposables = nil
-
-        return disposeBag
-    }
-}
-
-extension Disposables {
-
-    /// Creates a disposable with the given disposables.
-    public static func create(_ disposable1: Disposable, _ disposable2: Disposable, _ disposable3: Disposable) -> Cancelable {
-        return CompositeDisposable(disposable1, disposable2, disposable3)
-    }
-    
-    /// Creates a disposable with the given disposables.
-    public static func create(_ disposable1: Disposable, _ disposable2: Disposable, _ disposable3: Disposable, _ disposables: Disposable ...) -> Cancelable {
-        var disposables = disposables
-        disposables.append(disposable1)
-        disposables.append(disposable2)
-        disposables.append(disposable3)
-        return CompositeDisposable(disposables: disposables)
-    }
-    
-    /// Creates a disposable with the given disposables.
-    public static func create(_ disposables: [Disposable]) -> Cancelable {
-        switch disposables.count {
-        case 2:
-            return Disposables.create(disposables[0], disposables[1])
-        default:
-            return CompositeDisposable(disposables: disposables)
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/Disposables.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/Disposables.swift
deleted file mode 100644
index fbee0bc5b8e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/Disposables.swift
+++ /dev/null
@@ -1,12 +0,0 @@
-//
-//  Disposables.swift
-//  RxSwift
-//
-//  Created by Mohsen Ramezanpoor on 01/08/2016.
-//  Copyright © 2016 Krunoslav Zaher. All rights reserved.
-//
-
-/// A collection of utility methods for common disposable operations.
-public struct Disposables {
-    private init() {}
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift
deleted file mode 100644
index d5e3b029877..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/DisposeBag.swift
+++ /dev/null
@@ -1,84 +0,0 @@
-//
-//  DisposeBag.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Disposable {
-    /// Adds `self` to `bag`
-    ///
-    /// - parameter bag: `DisposeBag` to add `self` to.
-    public func disposed(by bag: DisposeBag) {
-        bag.insert(self)
-    }
-}
-
-/**
-Thread safe bag that disposes added disposables on `deinit`.
-
-This returns ARC (RAII) like resource management to `RxSwift`.
-
-In case contained disposables need to be disposed, just put a different dispose bag
-or create a new one in its place.
-
-    self.existingDisposeBag = DisposeBag()
-
-In case explicit disposal is necessary, there is also `CompositeDisposable`.
-*/
-public final class DisposeBag: DisposeBase {
-    
-    private var _lock = SpinLock()
-    
-    // state
-    private var _disposables = [Disposable]()
-    private var _isDisposed = false
-    
-    /// Constructs new empty dispose bag.
-    public override init() {
-        super.init()
-    }
-    
-    /// Adds `disposable` to be disposed when dispose bag is being deinited.
-    ///
-    /// - parameter disposable: Disposable to add.
-    public func insert(_ disposable: Disposable) {
-        _insert(disposable)?.dispose()
-    }
-    
-    private func _insert(_ disposable: Disposable) -> Disposable? {
-        _lock.lock(); defer { _lock.unlock() }
-        if _isDisposed {
-            return disposable
-        }
-
-        _disposables.append(disposable)
-
-        return nil
-    }
-
-    /// This is internal on purpose, take a look at `CompositeDisposable` instead.
-    private func dispose() {
-        let oldDisposables = _dispose()
-
-        for disposable in oldDisposables {
-            disposable.dispose()
-        }
-    }
-
-    private func _dispose() -> [Disposable] {
-        _lock.lock(); defer { _lock.unlock() }
-
-        let disposables = _disposables
-        
-        _disposables.removeAll(keepingCapacity: false)
-        _isDisposed = true
-        
-        return disposables
-    }
-    
-    deinit {
-        dispose()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift
deleted file mode 100644
index 8c6a44f0b8f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/DisposeBase.swift
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-//  DisposeBase.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 4/4/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Base class for all disposables.
-public class DisposeBase {
-    init() {
-#if TRACE_RESOURCES
-    let _ = Resources.incrementTotal()
-#endif
-    }
-    
-    deinit {
-#if TRACE_RESOURCES
-    let _ = Resources.decrementTotal()
-#endif
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift
deleted file mode 100644
index 24fb5acc61f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/NopDisposable.swift
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-//  NopDisposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/15/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents a disposable that does nothing on disposal.
-///
-/// Nop = No Operation
-private struct NopDisposable: Disposable {
-
-    fileprivate static let noOp: Disposable = NopDisposable()
-
-    fileprivate init() {
-
-    }
-
-    /// Does nothing.
-    public func dispose() {
-    }
-}
-
-extension Disposables {
-    /**
-     Creates a disposable that does nothing on disposal.
-     */
-    static public func create() -> Disposable {
-        return NopDisposable.noOp
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift
deleted file mode 100644
index a21662ab46a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/RefCountDisposable.swift
+++ /dev/null
@@ -1,117 +0,0 @@
-//
-//  RefCountDisposable.swift
-//  RxSwift
-//
-//  Created by Junior B. on 10/29/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents a disposable resource that only disposes its underlying disposable resource when all dependent disposable objects have been disposed.
-public final class RefCountDisposable : DisposeBase, Cancelable {
-    private var _lock = SpinLock()
-    private var _disposable = nil as Disposable?
-    private var _primaryDisposed = false
-    private var _count = 0
-
-    /// - returns: Was resource disposed.
-    public var isDisposed: Bool {
-        _lock.lock(); defer { _lock.unlock() }
-        return _disposable == nil
-    }
-
-    /// Initializes a new instance of the `RefCountDisposable`.
-    public init(disposable: Disposable) {
-        _disposable = disposable
-        super.init()
-    }
-
-    /**
-     Holds a dependent disposable that when disposed decreases the refcount on the underlying disposable.
-
-     When getter is called, a dependent disposable contributing to the reference count that manages the underlying disposable's lifetime is returned.
-     */
-    public func retain() -> Disposable {
-        return _lock.calculateLocked {
-            if let _ = _disposable {
-
-                do {
-                    let _ = try incrementChecked(&_count)
-                } catch (_) {
-                    rxFatalError("RefCountDisposable increment failed")
-                }
-
-                return RefCountInnerDisposable(self)
-            } else {
-                return Disposables.create()
-            }
-        }
-    }
-
-    /// Disposes the underlying disposable only when all dependent disposables have been disposed.
-    public func dispose() {
-        let oldDisposable: Disposable? = _lock.calculateLocked {
-            if let oldDisposable = _disposable, !_primaryDisposed
-            {
-                _primaryDisposed = true
-
-                if (_count == 0)
-                {
-                    _disposable = nil
-                    return oldDisposable
-                }
-            }
-
-            return nil
-        }
-
-        if let disposable = oldDisposable {
-            disposable.dispose()
-        }
-    }
-
-    fileprivate func release() {
-        let oldDisposable: Disposable? = _lock.calculateLocked {
-            if let oldDisposable = _disposable {
-                do {
-                    let _ = try decrementChecked(&_count)
-                } catch (_) {
-                    rxFatalError("RefCountDisposable decrement on release failed")
-                }
-
-                guard _count >= 0 else {
-                    rxFatalError("RefCountDisposable counter is lower than 0")
-                }
-
-                if _primaryDisposed && _count == 0 {
-                    _disposable = nil
-                    return oldDisposable
-                }
-            }
-
-            return nil
-        }
-
-        if let disposable = oldDisposable {
-            disposable.dispose()
-        }
-    }
-}
-
-internal final class RefCountInnerDisposable: DisposeBase, Disposable
-{
-    private let _parent: RefCountDisposable
-    private var _isDisposed: AtomicInt = 0
-
-    init(_ parent: RefCountDisposable)
-    {
-        _parent = parent
-        super.init()
-    }
-
-    internal func dispose()
-    {
-        if AtomicCompareAndSwap(0, 1, &_isDisposed) {
-            _parent.release()
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift
deleted file mode 100644
index 92c220df20e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/ScheduledDisposable.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-//  ScheduledDisposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/13/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-private let disposeScheduledDisposable: (ScheduledDisposable) -> Disposable = { sd in
-    sd.disposeInner()
-    return Disposables.create()
-}
-
-/// Represents a disposable resource whose disposal invocation will be scheduled on the specified scheduler.
-public final class ScheduledDisposable : Cancelable {
-    public let scheduler: ImmediateSchedulerType
-
-    private var _isDisposed: AtomicInt = 0
-
-    // state
-    private var _disposable: Disposable?
-
-    /// - returns: Was resource disposed.
-    public var isDisposed: Bool {
-        return _isDisposed == 1
-    }
-
-    /**
-    Initializes a new instance of the `ScheduledDisposable` that uses a `scheduler` on which to dispose the `disposable`.
-
-    - parameter scheduler: Scheduler where the disposable resource will be disposed on.
-    - parameter disposable: Disposable resource to dispose on the given scheduler.
-    */
-    public init(scheduler: ImmediateSchedulerType, disposable: Disposable) {
-        self.scheduler = scheduler
-        _disposable = disposable
-    }
-
-    /// Disposes the wrapped disposable on the provided scheduler.
-    public func dispose() {
-        let _ = scheduler.schedule(self, action: disposeScheduledDisposable)
-    }
-
-    func disposeInner() {
-        if AtomicCompareAndSwap(0, 1, &_isDisposed) {
-            _disposable!.dispose()
-            _disposable = nil
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift
deleted file mode 100644
index 4f34bdbe0c7..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SerialDisposable.swift
+++ /dev/null
@@ -1,75 +0,0 @@
-//
-//  SerialDisposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/12/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents a disposable resource whose underlying disposable resource can be replaced by another disposable resource, causing automatic disposal of the previous underlying disposable resource.
-public final class SerialDisposable : DisposeBase, Cancelable {
-    private var _lock = SpinLock()
-    
-    // state
-    private var _current = nil as Disposable?
-    private var _isDisposed = false
-    
-    /// - returns: Was resource disposed.
-    public var isDisposed: Bool {
-        return _isDisposed
-    }
-    
-    /// Initializes a new instance of the `SerialDisposable`.
-    override public init() {
-        super.init()
-    }
-    
-    /**
-    Gets or sets the underlying disposable.
-    
-    Assigning this property disposes the previous disposable object.
-    
-    If the `SerialDisposable` has already been disposed, assignment to this property causes immediate disposal of the given disposable object.
-    */
-    public var disposable: Disposable {
-        get {
-            return _lock.calculateLocked {
-                return self.disposable
-            }
-        }
-        set (newDisposable) {
-            let disposable: Disposable? = _lock.calculateLocked {
-                if _isDisposed {
-                    return newDisposable
-                }
-                else {
-                    let toDispose = _current
-                    _current = newDisposable
-                    return toDispose
-                }
-            }
-            
-            if let disposable = disposable {
-                disposable.dispose()
-            }
-        }
-    }
-    
-    /// Disposes the underlying disposable as well as all future replacements.
-    public func dispose() {
-        _dispose()?.dispose()
-    }
-
-    private func _dispose() -> Disposable? {
-        _lock.lock(); defer { _lock.unlock() }
-        if _isDisposed {
-            return nil
-        }
-        else {
-            _isDisposed = true
-            let current = _current
-            _current = nil
-            return current
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift
deleted file mode 100644
index e8ef67dc129..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SingleAssignmentDisposable.swift
+++ /dev/null
@@ -1,76 +0,0 @@
-//
-//  SingleAssignmentDisposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/15/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/**
-Represents a disposable resource which only allows a single assignment of its underlying disposable resource.
-
-If an underlying disposable resource has already been set, future attempts to set the underlying disposable resource will throw an exception.
-*/
-public final class SingleAssignmentDisposable : DisposeBase, Cancelable {
-
-    fileprivate enum DisposeState: UInt32 {
-        case disposed = 1
-        case disposableSet = 2
-    }
-
-    // Jeej, swift API consistency rules
-    fileprivate enum DisposeStateInt32: Int32 {
-        case disposed = 1
-        case disposableSet = 2
-    }
-
-    // state
-    private var _state: AtomicInt = 0
-    private var _disposable = nil as Disposable?
-
-    /// - returns: A value that indicates whether the object is disposed.
-    public var isDisposed: Bool {
-        return AtomicFlagSet(DisposeState.disposed.rawValue, &_state)
-    }
-
-    /// Initializes a new instance of the `SingleAssignmentDisposable`.
-    public override init() {
-        super.init()
-    }
-
-    /// Gets or sets the underlying disposable. After disposal, the result of getting this property is undefined.
-    ///
-    /// **Throws exception if the `SingleAssignmentDisposable` has already been assigned to.**
-    public func setDisposable(_ disposable: Disposable) {
-        _disposable = disposable
-
-        let previousState = AtomicOr(DisposeState.disposableSet.rawValue, &_state)
-        
-        if (previousState & DisposeStateInt32.disposableSet.rawValue) != 0 {
-            rxFatalError("oldState.disposable != nil")
-        }
-
-        if (previousState & DisposeStateInt32.disposed.rawValue) != 0 {
-            disposable.dispose()
-            _disposable = nil
-        }
-    }
-
-    /// Disposes the underlying disposable.
-    public func dispose() {
-        let previousState = AtomicOr(DisposeState.disposed.rawValue, &_state)
-
-        if (previousState & DisposeStateInt32.disposed.rawValue) != 0 {
-            return
-        }
-
-        if (previousState & DisposeStateInt32.disposableSet.rawValue) != 0 {
-            guard let disposable = _disposable else {
-                rxFatalError("Disposable not set")
-            }
-            disposable.dispose()
-            _disposable = nil
-        }
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift
deleted file mode 100644
index 3ae138a8b31..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Disposables/SubscriptionDisposable.swift
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-//  SubscriptionDisposable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-struct SubscriptionDisposable<T: SynchronizedUnsubscribeType> : Disposable {
-    private let _key: T.DisposeKey
-    private weak var _owner: T?
-
-    init(owner: T, key: T.DisposeKey) {
-        _owner = owner
-        _key = key
-    }
-
-    func dispose() {
-        _owner?.synchronizedUnsubscribe(_key)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Errors.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Errors.swift
deleted file mode 100644
index 648918e16fe..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Errors.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-//  Errors.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/28/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-let RxErrorDomain       = "RxErrorDomain"
-let RxCompositeFailures = "RxCompositeFailures"
-
-/// Generic Rx error codes.
-public enum RxError: Swift.Error, CustomDebugStringConvertible {
-    /// Unknown error occurred.
-    case unknown
-    /// Performing an action on disposed object.
-    case disposed(object: AnyObject)
-    /// Aritmetic overflow error.
-    case overflow
-    /// Argument out of range error.
-    case argumentOutOfRange
-    /// Sequence doesn't contain any elements.
-    case noElements
-    /// Sequence contains more than one element.
-    case moreThanOneElement
-    /// Timeout error.
-    case timeout
-}
-
-extension RxError {
-    /// A textual representation of `self`, suitable for debugging.
-    public var debugDescription: String {
-        switch self {
-        case .unknown:
-            return "Unknown error occurred."
-        case .disposed(let object):
-            return "Object `\(object)` was already disposed."
-        case .overflow:
-            return "Arithmetic overflow occurred."
-        case .argumentOutOfRange:
-            return "Argument out of range."
-        case .noElements:
-            return "Sequence doesn't contain any elements."
-        case .moreThanOneElement:
-            return "Sequence contains more than one element."
-        case .timeout:
-            return "Sequence timeout."
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Event.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Event.swift
deleted file mode 100644
index 377877b6142..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Event.swift
+++ /dev/null
@@ -1,106 +0,0 @@
-//
-//  Event.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents a sequence event.
-///
-/// Sequence grammar: 
-/// **next\* (error | completed)**
-public enum Event<Element> {
-    /// Next element is produced.
-    case next(Element)
-
-    /// Sequence terminated with an error.
-    case error(Swift.Error)
-
-    /// Sequence completed successfully.
-    case completed
-}
-
-extension Event : CustomDebugStringConvertible {
-    /// - returns: Description of event.
-    public var debugDescription: String {
-        switch self {
-        case .next(let value):
-            return "next(\(value))"
-        case .error(let error):
-            return "error(\(error))"
-        case .completed:
-            return "completed"
-        }
-    }
-}
-
-extension Event {
-    /// Is `completed` or `error` event.
-    public var isStopEvent: Bool {
-        switch self {
-        case .next: return false
-        case .error, .completed: return true
-        }
-    }
-
-    /// If `next` event, returns element value.
-    public var element: Element? {
-        if case .next(let value) = self {
-            return value
-        }
-        return nil
-    }
-
-    /// If `error` event, returns error.
-    public var error: Swift.Error? {
-        if case .error(let error) = self {
-            return error
-        }
-        return nil
-    }
-
-    /// If `completed` event, returns true.
-    public var isCompleted: Bool {
-        if case .completed = self {
-            return true
-        }
-        return false
-    }
-}
-
-extension Event {
-    /// Maps sequence elements using transform. If error happens during the transform .error
-    /// will be returned as value
-    public func map<Result>(_ transform: (Element) throws -> Result) -> Event<Result> {
-        do {
-            switch self {
-            case let .next(element):
-                return .next(try transform(element))
-            case let .error(error):
-                return .error(error)
-            case .completed:
-                return .completed
-            }
-        }
-        catch let e {
-            return .error(e)
-        }
-    }
-}
-
-/// A type that can be converted to `Event<Element>`.
-public protocol EventConvertible {
-    /// Type of element in event
-    associatedtype ElementType
-
-    /// Event representation of this instance
-    var event: Event<ElementType> { get }
-}
-
-extension Event : EventConvertible {
-    /// Event representation of this instance
-    public var event: Event<Element> {
-        return self
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift
deleted file mode 100644
index 895333cdebe..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Extensions/Bag+Rx.swift
+++ /dev/null
@@ -1,62 +0,0 @@
-//
-//  Bag+Rx.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/19/16.
-//  Copyright © 2016 Krunoslav Zaher. All rights reserved.
-//
-
-
-// MARK: forEach
-
-@inline(__always)
-func dispatch<E>(_ bag: Bag<(Event<E>) -> ()>, _ event: Event<E>) {
-    if bag._onlyFastPath {
-        bag._value0?(event)
-        return
-    }
-
-    let value0 = bag._value0
-    let dictionary = bag._dictionary
-
-    if let value0 = value0 {
-        value0(event)
-    }
-
-    let pairs = bag._pairs
-    for i in 0 ..< pairs.count {
-        pairs[i].value(event)
-    }
-
-    if let dictionary = dictionary {
-        for element in dictionary.values {
-            element(event)
-        }
-    }
-}
-
-/// Dispatches `dispose` to all disposables contained inside bag.
-func disposeAll(in bag: Bag<Disposable>) {
-    if bag._onlyFastPath {
-        bag._value0?.dispose()
-        return
-    }
-
-    let value0 = bag._value0
-    let dictionary = bag._dictionary
-
-    if let value0 = value0 {
-        value0.dispose()
-    }
-
-    let pairs = bag._pairs
-    for i in 0 ..< pairs.count {
-        pairs[i].value.dispose()
-    }
-
-    if let dictionary = dictionary {
-        for element in dictionary.values {
-            element.dispose()
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift
deleted file mode 100644
index 42ef636ca68..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Extensions/String+Rx.swift
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-//  String+Rx.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 12/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension String {
-    /// This is needed because on Linux Swift doesn't have `rangeOfString(..., options: .BackwardsSearch)`
-    func lastIndexOf(_ character: Character) -> Index? {
-        var index = endIndex
-        while index > startIndex {
-            index = self.index(before: index)
-            if self[index] == character {
-                return index
-            }
-        }
-
-        return nil
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/GroupedObservable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/GroupedObservable.swift
deleted file mode 100644
index d87e0bad029..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/GroupedObservable.swift
+++ /dev/null
@@ -1,37 +0,0 @@
-//
-//  GroupedObservable.swift
-//  RxSwift
-//
-//  Created by Tomi Koskinen on 01/12/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents an observable sequence of elements that have a common key.
-public struct GroupedObservable<Key, Element> : ObservableType {
-    public typealias E = Element
-
-    /// Gets the common key.
-    public let key: Key
-
-    private let source: Observable<Element>
-
-    /// Initializes grouped observable sequence with key and source observable sequence.
-    ///
-    /// - parameter key: Grouped observable sequence key
-    /// - parameter source: Observable sequence that represents sequence of elements for the key
-    /// - returns: Grouped observable sequence of elements for the specific key
-    public init(key: Key, source: Observable<Element>) {
-        self.key = key
-        self.source = source
-    }
-
-    /// Subscribes `observer` to receive events for this sequence.
-    public func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        return self.source.subscribe(observer)
-    }
-
-    /// Converts `self` to `Observable` sequence. 
-    public func asObservable() -> Observable<Element> {
-        return source
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift
deleted file mode 100644
index 8dc2a85c497..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ImmediateSchedulerType.swift
+++ /dev/null
@@ -1,36 +0,0 @@
-//
-//  ImmediateSchedulerType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/31/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents an object that immediately schedules units of work.
-public protocol ImmediateSchedulerType {
-    /**
-    Schedules an action to be executed immediately.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable
-}
-
-extension ImmediateSchedulerType {
-    /**
-    Schedules an action to be executed recursively.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to execute recursively. The last parameter passed to the action is used to trigger recursive scheduling of the action, passing in recursive invocation state.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public func scheduleRecursive<State>(_ state: State, action: @escaping (_ state: State, _ recurse: (State) -> ()) -> ()) -> Disposable {
-        let recursiveScheduler = RecursiveImmediateScheduler(action: action, scheduler: self)
-        
-        recursiveScheduler.schedule(state)
-        
-        return Disposables.create(with: recursiveScheduler.dispose)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observable.swift
deleted file mode 100644
index f0c55af714a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observable.swift
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-//  Observable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// A type-erased `ObservableType`. 
-///
-/// It represents a push style sequence.
-public class Observable<Element> : ObservableType {
-    /// Type of elements in sequence.
-    public typealias E = Element
-    
-    init() {
-#if TRACE_RESOURCES
-        let _ = Resources.incrementTotal()
-#endif
-    }
-    
-    public func subscribe<O: ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        rxAbstractMethod()
-    }
-    
-    public func asObservable() -> Observable<E> {
-        return self
-    }
-    
-    deinit {
-#if TRACE_RESOURCES
-        let _ = Resources.decrementTotal()
-#endif
-    }
-
-    // this is kind of ugly I know :(
-    // Swift compiler reports "Not supported yet" when trying to override protocol extensions, so ¯\_(ツ)_/¯
-
-    /// Optimizations for map operator
-    internal func composeMap<R>(_ transform: @escaping (Element) throws -> R) -> Observable<R> {
-        return _map(source: self, transform: transform)
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift
deleted file mode 100644
index ad6fed65d2a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObservableType+Extensions.swift
+++ /dev/null
@@ -1,126 +0,0 @@
-//
-//  ObservableType+Extensions.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/21/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-    /**
-    Subscribes an event handler to an observable sequence.
-
-    - parameter on: Action to invoke for each event in the observable sequence.
-    - returns: Subscription object used to unsubscribe from the observable sequence.
-    */
-    public func subscribe(_ on: @escaping (Event<E>) -> Void)
-        -> Disposable {
-        let observer = AnonymousObserver { e in
-            on(e)
-        }
-        return self.subscribeSafe(observer)
-    }
-
-    #if DEBUG
-        /**
-        Subscribes an element handler, an error handler, a completion handler and disposed handler to an observable sequence.
-
-        - parameter onNext: Action to invoke for each element in the observable sequence.
-        - parameter onError: Action to invoke upon errored termination of the observable sequence.
-        - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence.
-        - parameter onDisposed: Action to invoke upon any type of termination of sequence (if the sequence has
-            gracefully completed, errored, or if the generation is canceled by disposing subscription).
-        - returns: Subscription object used to unsubscribe from the observable sequence.
-        */
-        public func subscribe(file: String = #file, line: UInt = #line, function: String = #function, onNext: ((E) -> Void)? = nil, onError: ((Swift.Error) -> Void)? = nil, onCompleted: (() -> Void)? = nil, onDisposed: (() -> Void)? = nil)
-            -> Disposable {
-
-            let disposable: Disposable
-
-            if let disposed = onDisposed {
-                disposable = Disposables.create(with: disposed)
-            }
-            else {
-                disposable = Disposables.create()
-            }
-
-            #if DEBUG
-                let _synchronizationTracker = SynchronizationTracker()
-            #endif
-
-            let observer = AnonymousObserver<E> { e in
-                #if DEBUG
-                    _synchronizationTracker.register(synchronizationErrorMessage: .default)
-                    defer { _synchronizationTracker.unregister() }
-                #endif
-
-                switch e {
-                case .next(let value):
-                    onNext?(value)
-                case .error(let e):
-                    if let onError = onError {
-                        onError(e)
-                    }
-                    else {
-                        print("Received unhandled error: \(file):\(line):\(function) -> \(e)")
-                    }
-                    disposable.dispose()
-                case .completed:
-                    onCompleted?()
-                    disposable.dispose()
-                }
-            }
-            return Disposables.create(
-                self.subscribeSafe(observer),
-                disposable
-            )
-        }
-    #else
-        /**
-        Subscribes an element handler, an error handler, a completion handler and disposed handler to an observable sequence.
-
-        - parameter onNext: Action to invoke for each element in the observable sequence.
-        - parameter onError: Action to invoke upon errored termination of the observable sequence.
-        - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence.
-        - parameter onDisposed: Action to invoke upon any type of termination of sequence (if the sequence has
-            gracefully completed, errored, or if the generation is canceled by disposing subscription).
-        - returns: Subscription object used to unsubscribe from the observable sequence.
-        */
-        public func subscribe(onNext: ((E) -> Void)? = nil, onError: ((Swift.Error) -> Void)? = nil, onCompleted: (() -> Void)? = nil, onDisposed: (() -> Void)? = nil)
-            -> Disposable {
-
-            let disposable: Disposable
-
-            if let disposed = onDisposed {
-                disposable = Disposables.create(with: disposed)
-            }
-            else {
-                disposable = Disposables.create()
-            }
-
-            let observer = AnonymousObserver<E> { e in
-                switch e {
-                case .next(let value):
-                    onNext?(value)
-                case .error(let e):
-                    onError?(e)
-                    disposable.dispose()
-                case .completed:
-                    onCompleted?()
-                    disposable.dispose()
-                }
-            }
-            return Disposables.create(
-                self.subscribeSafe(observer),
-                disposable
-            )
-        }
-    #endif
-}
-
-extension ObservableType {
-    /// All internal subscribe calls go through this method.
-    fileprivate func subscribeSafe<O: ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        return self.asObservable().subscribe(observer)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObservableType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObservableType.swift
deleted file mode 100644
index 1fa3a3360bb..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObservableType.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-//  ObservableType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 8/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents a push style sequence.
-public protocol ObservableType : ObservableConvertibleType {
-    /// Type of elements in sequence.
-    associatedtype E
-    
-    /**
-    Subscribes `observer` to receive events for this sequence.
-    
-    ### Grammar
-    
-    **Next\* (Error | Completed)?**
-    
-    * sequences can produce zero or more elements so zero or more `Next` events can be sent to `observer`
-    * once an `Error` or `Completed` event is sent, the sequence terminates and can't produce any other elements
-    
-    It is possible that events are sent from different threads, but no two events can be sent concurrently to
-    `observer`.
-    
-    ### Resource Management
-    
-    When sequence sends `Complete` or `Error` event all internal resources that compute sequence elements
-    will be freed.
-    
-    To cancel production of sequence elements and free resources immediately, call `dispose` on returned
-    subscription.
-    
-    - returns: Subscription for `observer` that can be used to cancel production of sequence elements and free resources.
-    */
-    func subscribe<O: ObserverType>(_ observer: O) -> Disposable where O.E == E
-}
-
-extension ObservableType {
-    
-    /// Default implementation of converting `ObservableType` to `Observable`.
-    public func asObservable() -> Observable<E> {
-        // temporary workaround
-        //return Observable.create(subscribe: self.subscribe)
-        return Observable.create { o in
-            return self.subscribe(o)
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AddRef.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AddRef.swift
deleted file mode 100644
index b782c13f490..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AddRef.swift
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-//  AddRef.swift
-//  RxSwift
-//
-//  Created by Junior B. on 30/10/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-final class AddRefSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias Element = O.E
-    
-    override init(observer: O, cancel: Cancelable) {
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next(_):
-            forwardOn(event)
-        case .completed, .error(_):
-            forwardOn(event)
-            dispose()
-        }
-    }
-}
-
-final class AddRef<Element> : Producer<Element> {
-    typealias EventHandler = (Event<Element>) throws -> Void
-    
-    private let _source: Observable<Element>
-    private let _refCount: RefCountDisposable
-    
-    init(source: Observable<Element>, refCount: RefCountDisposable) {
-        _source = source
-        _refCount = refCount
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let releaseDisposable = _refCount.retain()
-        let sink = AddRefSink(observer: observer, cancel: cancel)
-        let subscription = Disposables.create(releaseDisposable, _source.subscribe(sink))
-
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Amb.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Amb.swift
deleted file mode 100644
index 69d39ba88ab..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Amb.swift
+++ /dev/null
@@ -1,157 +0,0 @@
-//
-//  Amb.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/14/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Propagates the observable sequence that reacts first.
-
-     - seealso: [amb operator on reactivex.io](http://reactivex.io/documentation/operators/amb.html)
-
-     - returns: An observable sequence that surfaces any of the given sequences, whichever reacted first.
-     */
-    public static func amb<S: Sequence>(_ sequence: S) -> Observable<Element>
-        where S.Iterator.Element == Observable<Element> {
-            return sequence.reduce(Observable<S.Iterator.Element.E>.never()) { a, o in
-                return a.amb(o.asObservable())
-            }
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Propagates the observable sequence that reacts first.
-
-     - seealso: [amb operator on reactivex.io](http://reactivex.io/documentation/operators/amb.html)
-
-     - parameter right: Second observable sequence.
-     - returns: An observable sequence that surfaces either of the given sequences, whichever reacted first.
-     */
-    public func amb<O2: ObservableType>
-        (_ right: O2)
-        -> Observable<E> where O2.E == E {
-        return Amb(left: asObservable(), right: right.asObservable())
-    }
-}
-
-fileprivate enum AmbState {
-    case neither
-    case left
-    case right
-}
-
-final fileprivate class AmbObserver<O: ObserverType> : ObserverType {
-    typealias Element = O.E
-    typealias Parent = AmbSink<O>
-    typealias This = AmbObserver<O>
-    typealias Sink = (This, Event<Element>) -> Void
-    
-    fileprivate let _parent: Parent
-    fileprivate var _sink: Sink
-    fileprivate var _cancel: Disposable
-    
-    init(parent: Parent, cancel: Disposable, sink: @escaping Sink) {
-#if TRACE_RESOURCES
-        let _ = Resources.incrementTotal()
-#endif
-        
-        _parent = parent
-        _sink = sink
-        _cancel = cancel
-    }
-    
-    func on(_ event: Event<Element>) {
-        _sink(self, event)
-        if event.isStopEvent {
-            _cancel.dispose()
-        }
-    }
-    
-    deinit {
-#if TRACE_RESOURCES
-        let _ = Resources.decrementTotal()
-#endif
-    }
-}
-
-final fileprivate class AmbSink<O: ObserverType> : Sink<O> {
-    typealias ElementType = O.E
-    typealias Parent = Amb<ElementType>
-    typealias AmbObserverType = AmbObserver<O>
-
-    private let _parent: Parent
-    
-    private let _lock = RecursiveLock()
-    // state
-    private var _choice = AmbState.neither
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let disposeAll = Disposables.create(subscription1, subscription2)
-        
-        let forwardEvent = { (o: AmbObserverType, event: Event<ElementType>) -> Void in
-            self.forwardOn(event)
-            if event.isStopEvent {
-                self.dispose()
-            }
-        }
-
-        let decide = { (o: AmbObserverType, event: Event<ElementType>, me: AmbState, otherSubscription: Disposable) in
-            self._lock.performLocked {
-                if self._choice == .neither {
-                    self._choice = me
-                    o._sink = forwardEvent
-                    o._cancel = disposeAll
-                    otherSubscription.dispose()
-                }
-                
-                if self._choice == me {
-                    self.forwardOn(event)
-                    if event.isStopEvent {
-                        self.dispose()
-                    }
-                }
-            }
-        }
-        
-        let sink1 = AmbObserver(parent: self, cancel: subscription1) { o, e in
-            decide(o, e, .left, subscription2)
-        }
-        
-        let sink2 = AmbObserver(parent: self, cancel: subscription1) { o, e in
-            decide(o, e, .right, subscription1)
-        }
-        
-        subscription1.setDisposable(_parent._left.subscribe(sink1))
-        subscription2.setDisposable(_parent._right.subscribe(sink2))
-        
-        return disposeAll
-    }
-}
-
-final fileprivate class Amb<Element>: Producer<Element> {
-    fileprivate let _left: Observable<Element>
-    fileprivate let _right: Observable<Element>
-    
-    init(left: Observable<Element>, right: Observable<Element>) {
-        _left = left
-        _right = right
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = AmbSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift
deleted file mode 100644
index 36fa685fa84..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AsMaybe.swift
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-//  AsMaybe.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/12/17.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-fileprivate final class AsMaybeSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias ElementType = O.E
-    typealias E = ElementType
-
-    private var _element: Event<E>? = nil
-
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            if _element != nil {
-                forwardOn(.error(RxError.moreThanOneElement))
-                dispose()
-            }
-
-            _element = event
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            if let element = _element {
-                forwardOn(element)
-            }
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final class AsMaybe<Element>: Producer<Element> {
-    fileprivate let _source: Observable<Element>
-
-    init(source: Observable<Element>) {
-        _source = source
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = AsMaybeSink(observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AsSingle.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AsSingle.swift
deleted file mode 100644
index 080aa8e1a1c..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/AsSingle.swift
+++ /dev/null
@@ -1,52 +0,0 @@
-//
-//  AsSingle.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/12/17.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-fileprivate final class AsSingleSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias ElementType = O.E
-    typealias E = ElementType
-
-    private var _element: Event<E>? = nil
-
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            if _element != nil {
-                forwardOn(.error(RxError.moreThanOneElement))
-                dispose()
-            }
-
-            _element = event
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            if let element = _element {
-                forwardOn(element)
-                forwardOn(.completed)
-            }
-            else {
-                forwardOn(.error(RxError.noElements))
-            }
-            dispose()
-        }
-    }
-}
-
-final class AsSingle<Element>: Producer<Element> {
-    fileprivate let _source: Observable<Element>
-
-    init(source: Observable<Element>) {
-        _source = source
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = AsSingleSink(observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Buffer.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Buffer.swift
deleted file mode 100644
index b8c33ae818d..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Buffer.swift
+++ /dev/null
@@ -1,139 +0,0 @@
-//
-//  Buffer.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 9/13/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Projects each element of an observable sequence into a buffer that's sent out when either it's full or a given amount of time has elapsed, using the specified scheduler to run timers.
-
-     A useful real-world analogy of this overload is the behavior of a ferry leaving the dock when all seats are taken, or at the scheduled time of departure, whichever event occurs first.
-
-     - seealso: [buffer operator on reactivex.io](http://reactivex.io/documentation/operators/buffer.html)
-
-     - parameter timeSpan: Maximum time length of a buffer.
-     - parameter count: Maximum element count of a buffer.
-     - parameter scheduler: Scheduler to run buffering timers on.
-     - returns: An observable sequence of buffers.
-     */
-    public func buffer(timeSpan: RxTimeInterval, count: Int, scheduler: SchedulerType)
-        -> Observable<[E]> {
-        return BufferTimeCount(source: self.asObservable(), timeSpan: timeSpan, count: count, scheduler: scheduler)
-    }
-}
-
-final fileprivate class BufferTimeCount<Element> : Producer<[Element]> {
-    
-    fileprivate let _timeSpan: RxTimeInterval
-    fileprivate let _count: Int
-    fileprivate let _scheduler: SchedulerType
-    fileprivate let _source: Observable<Element>
-    
-    init(source: Observable<Element>, timeSpan: RxTimeInterval, count: Int, scheduler: SchedulerType) {
-        _source = source
-        _timeSpan = timeSpan
-        _count = count
-        _scheduler = scheduler
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == [Element] {
-        let sink = BufferTimeCountSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class BufferTimeCountSink<Element, O: ObserverType>
-    : Sink<O>
-    , LockOwnerType
-    , ObserverType
-    , SynchronizedOnType where O.E == [Element] {
-    typealias Parent = BufferTimeCount<Element>
-    typealias E = Element
-    
-    private let _parent: Parent
-    
-    let _lock = RecursiveLock()
-    
-    // state
-    private let _timerD = SerialDisposable()
-    private var _buffer = [Element]()
-    private var _windowID = 0
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
- 
-    func run() -> Disposable {
-        createTimer(_windowID)
-        return Disposables.create(_timerD, _parent._source.subscribe(self))
-    }
-    
-    func startNewWindowAndSendCurrentOne() {
-        _windowID = _windowID &+ 1
-        let windowID = _windowID
-        
-        let buffer = _buffer
-        _buffer = []
-        forwardOn(.next(buffer))
-        
-        createTimer(windowID)
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next(let element):
-            _buffer.append(element)
-            
-            if _buffer.count == _parent._count {
-                startNewWindowAndSendCurrentOne()
-            }
-            
-        case .error(let error):
-            _buffer = []
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            forwardOn(.next(_buffer))
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-    
-    func createTimer(_ windowID: Int) {
-        if _timerD.isDisposed {
-            return
-        }
-        
-        if _windowID != windowID {
-            return
-        }
-
-        let nextTimer = SingleAssignmentDisposable()
-        
-        _timerD.disposable = nextTimer
-
-        let disposable = _parent._scheduler.scheduleRelative(windowID, dueTime: _parent._timeSpan) { previousWindowID in
-            self._lock.performLocked {
-                if previousWindowID != self._windowID {
-                    return
-                }
-             
-                self.startNewWindowAndSendCurrentOne()
-            }
-            
-            return Disposables.create()
-        }
-
-        nextTimer.setDisposable(disposable)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Catch.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Catch.swift
deleted file mode 100644
index 0c534fbed10..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Catch.swift
+++ /dev/null
@@ -1,235 +0,0 @@
-//
-//  Catch.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 4/19/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Continues an observable sequence that is terminated by an error with the observable sequence produced by the handler.
-
-     - seealso: [catch operator on reactivex.io](http://reactivex.io/documentation/operators/catch.html)
-
-     - parameter handler: Error handler function, producing another observable sequence.
-     - returns: An observable sequence containing the source sequence's elements, followed by the elements produced by the handler's resulting observable sequence in case an error occurred.
-     */
-    public func catchError(_ handler: @escaping (Swift.Error) throws -> Observable<E>)
-        -> Observable<E> {
-        return Catch(source: asObservable(), handler: handler)
-    }
-
-    /**
-     Continues an observable sequence that is terminated by an error with a single element.
-
-     - seealso: [catch operator on reactivex.io](http://reactivex.io/documentation/operators/catch.html)
-
-     - parameter element: Last element in an observable sequence in case error occurs.
-     - returns: An observable sequence containing the source sequence's elements, followed by the `element` in case an error occurred.
-     */
-    public func catchErrorJustReturn(_ element: E)
-        -> Observable<E> {
-        return Catch(source: asObservable(), handler: { _ in Observable.just(element) })
-    }
-    
-}
-
-extension Observable {
-    /**
-     Continues an observable sequence that is terminated by an error with the next observable sequence.
-
-     - seealso: [catch operator on reactivex.io](http://reactivex.io/documentation/operators/catch.html)
-
-     - returns: An observable sequence containing elements from consecutive source sequences until a source sequence terminates successfully.
-     */
-    public static func catchError<S: Sequence>(_ sequence: S) -> Observable<Element>
-        where S.Iterator.Element == Observable<Element> {
-        return CatchSequence(sources: sequence)
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Repeats the source observable sequence until it successfully terminates.
-
-     **This could potentially create an infinite sequence.**
-
-     - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html)
-
-     - returns: Observable sequence to repeat until it successfully terminates.
-     */
-    public func retry() -> Observable<E> {
-        return CatchSequence(sources: InfiniteSequence(repeatedValue: self.asObservable()))
-    }
-
-    /**
-     Repeats the source observable sequence the specified number of times in case of an error or until it successfully terminates.
-
-     If you encounter an error and want it to retry once, then you must use `retry(2)`
-
-     - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html)
-
-     - parameter maxAttemptCount: Maximum number of times to repeat the sequence.
-     - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully.
-     */
-    public func retry(_ maxAttemptCount: Int)
-        -> Observable<E> {
-            return CatchSequence(sources: repeatElement(self.asObservable(), count: maxAttemptCount))
-    }
-}
-
-// catch with callback
-
-final fileprivate class CatchSinkProxy<O: ObserverType> : ObserverType {
-    typealias E = O.E
-    typealias Parent = CatchSink<O>
-    
-    private let _parent: Parent
-    
-    init(parent: Parent) {
-        _parent = parent
-    }
-    
-    func on(_ event: Event<E>) {
-        _parent.forwardOn(event)
-        
-        switch event {
-        case .next:
-            break
-        case .error, .completed:
-            _parent.dispose()
-        }
-    }
-}
-
-final fileprivate class CatchSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias E = O.E
-    typealias Parent = Catch<E>
-    
-    private let _parent: Parent
-    private let _subscription = SerialDisposable()
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        let d1 = SingleAssignmentDisposable()
-        _subscription.disposable = d1
-        d1.setDisposable(_parent._source.subscribe(self))
-
-        return _subscription
-    }
-    
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            forwardOn(event)
-        case .completed:
-            forwardOn(event)
-            dispose()
-        case .error(let error):
-            do {
-                let catchSequence = try _parent._handler(error)
-
-                let observer = CatchSinkProxy(parent: self)
-                
-                _subscription.disposable = catchSequence.subscribe(observer)
-            }
-            catch let e {
-                forwardOn(.error(e))
-                dispose()
-            }
-        }
-    }
-}
-
-final fileprivate class Catch<Element> : Producer<Element> {
-    typealias Handler = (Swift.Error) throws -> Observable<Element>
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _handler: Handler
-    
-    init(source: Observable<Element>, handler: @escaping Handler) {
-        _source = source
-        _handler = handler
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = CatchSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-// catch enumerable
-
-final fileprivate class CatchSequenceSink<S: Sequence, O: ObserverType>
-    : TailRecursiveSink<S, O>
-    , ObserverType where S.Iterator.Element : ObservableConvertibleType, S.Iterator.Element.E == O.E {
-    typealias Element = O.E
-    typealias Parent = CatchSequence<S>
-    
-    private var _lastError: Swift.Error?
-    
-    override init(observer: O, cancel: Cancelable) {
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next:
-            forwardOn(event)
-        case .error(let error):
-            _lastError = error
-            schedule(.moveNext)
-        case .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-
-    override func subscribeToNext(_ source: Observable<E>) -> Disposable {
-        return source.subscribe(self)
-    }
-    
-    override func done() {
-        if let lastError = _lastError {
-            forwardOn(.error(lastError))
-        }
-        else {
-            forwardOn(.completed)
-        }
-        
-        self.dispose()
-    }
-    
-    override func extract(_ observable: Observable<Element>) -> SequenceGenerator? {
-        if let onError = observable as? CatchSequence<S> {
-            return (onError.sources.makeIterator(), nil)
-        }
-        else {
-            return nil
-        }
-    }
-}
-
-final fileprivate class CatchSequence<S: Sequence> : Producer<S.Iterator.Element.E> where S.Iterator.Element : ObservableConvertibleType {
-    typealias Element = S.Iterator.Element.E
-    
-    let sources: S
-    
-    init(sources: S) {
-        self.sources = sources
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = CatchSequenceSink<S, O>(observer: observer, cancel: cancel)
-        let subscription = sink.run((self.sources.makeIterator(), nil))
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift
deleted file mode 100644
index 9f713f6f789..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest+Collection.swift
+++ /dev/null
@@ -1,157 +0,0 @@
-//
-//  CombineLatest+Collection.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 8/29/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
-
-     - seealso: [combinelatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-     - parameter resultSelector: Function to invoke whenever any of the sources produces an element.
-     - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-     */
-    public static func combineLatest<C: Collection>(_ collection: C, _ resultSelector: @escaping ([C.Iterator.Element.E]) throws -> Element) -> Observable<Element>
-        where C.Iterator.Element: ObservableType {
-        return CombineLatestCollectionType(sources: collection, resultSelector: resultSelector)
-    }
-
-    /**
-     Merges the specified observable sequences into one observable sequence whenever any of the observable sequences produces an element.
-
-     - seealso: [combinelatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-     - returns: An observable sequence containing the result of combining elements of the sources.
-     */
-    public static func combineLatest<C: Collection>(_ collection: C) -> Observable<[Element]>
-        where C.Iterator.Element: ObservableType, C.Iterator.Element.E == Element {
-        return CombineLatestCollectionType(sources: collection, resultSelector: { $0 })
-    }
-}
-
-final fileprivate class CombineLatestCollectionTypeSink<C: Collection, O: ObserverType>
-    : Sink<O> where C.Iterator.Element : ObservableConvertibleType {
-    typealias R = O.E
-    typealias Parent = CombineLatestCollectionType<C, R>
-    typealias SourceElement = C.Iterator.Element.E
-    
-    let _parent: Parent
-    
-    let _lock = RecursiveLock()
-
-    // state
-    var _numberOfValues = 0
-    var _values: [SourceElement?]
-    var _isDone: [Bool]
-    var _numberOfDone = 0
-    var _subscriptions: [SingleAssignmentDisposable]
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _values = [SourceElement?](repeating: nil, count: parent._count)
-        _isDone = [Bool](repeating: false, count: parent._count)
-        _subscriptions = Array<SingleAssignmentDisposable>()
-        _subscriptions.reserveCapacity(parent._count)
-        
-        for _ in 0 ..< parent._count {
-            _subscriptions.append(SingleAssignmentDisposable())
-        }
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<SourceElement>, atIndex: Int) {
-        _lock.lock(); defer { _lock.unlock() } // {
-            switch event {
-            case .next(let element):
-                if _values[atIndex] == nil {
-                   _numberOfValues += 1
-                }
-                
-                _values[atIndex] = element
-                
-                if _numberOfValues < _parent._count {
-                    let numberOfOthersThatAreDone = self._numberOfDone - (_isDone[atIndex] ? 1 : 0)
-                    if numberOfOthersThatAreDone == self._parent._count - 1 {
-                        forwardOn(.completed)
-                        dispose()
-                    }
-                    return
-                }
-                
-                do {
-                    let result = try _parent._resultSelector(_values.map { $0! })
-                    forwardOn(.next(result))
-                }
-                catch let error {
-                    forwardOn(.error(error))
-                    dispose()
-                }
-                
-            case .error(let error):
-                forwardOn(.error(error))
-                dispose()
-            case .completed:
-                if _isDone[atIndex] {
-                    return
-                }
-                
-                _isDone[atIndex] = true
-                _numberOfDone += 1
-                
-                if _numberOfDone == self._parent._count {
-                    forwardOn(.completed)
-                    dispose()
-                }
-                else {
-                    _subscriptions[atIndex].dispose()
-                }
-            }
-        // }
-    }
-    
-    func run() -> Disposable {
-        var j = 0
-        for i in _parent._sources {
-            let index = j
-            let source = i.asObservable()
-            let disposable = source.subscribe(AnyObserver { event in
-                self.on(event, atIndex: index)
-            })
-
-            _subscriptions[j].setDisposable(disposable)
-            
-            j += 1
-        }
-
-        if _parent._sources.isEmpty {
-            self.forwardOn(.completed)
-        }
-        
-        return Disposables.create(_subscriptions)
-    }
-}
-
-final fileprivate class CombineLatestCollectionType<C: Collection, R> : Producer<R> where C.Iterator.Element : ObservableConvertibleType {
-    typealias ResultSelector = ([C.Iterator.Element.E]) throws -> R
-    
-    let _sources: C
-    let _resultSelector: ResultSelector
-    let _count: Int
-
-    init(sources: C, resultSelector: @escaping ResultSelector) {
-        _sources = sources
-        _resultSelector = resultSelector
-        _count = Int(self._sources.count.toIntMax())
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = CombineLatestCollectionTypeSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift
deleted file mode 100644
index aac43a703e9..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest+arity.swift
+++ /dev/null
@@ -1,843 +0,0 @@
-// This file is autogenerated. Take a look at `Preprocessor` target in RxSwift project 
-//
-//  CombineLatest+arity.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 4/22/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-
-
-// 2
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - parameter resultSelector: Function to invoke whenever any of the sources produces an element.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType>
-        (_ source1: O1, _ source2: O2, resultSelector: @escaping (O1.E, O2.E) throws -> E)
-            -> Observable<E> {
-        return CombineLatest2(
-            source1: source1.asObservable(), source2: source2.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType>
-        (_ source1: O1, _ source2: O2)
-            -> Observable<(O1.E, O2.E)> {
-        return CombineLatest2(
-            source1: source1.asObservable(), source2: source2.asObservable(),
-            resultSelector: { ($0, $1) }
-        )
-    }
-}
-
-final class CombineLatestSink2_<E1, E2, O: ObserverType> : CombineLatestSink<O> {
-    typealias R = O.E
-    typealias Parent = CombineLatest2<E1, E2, R>
-
-    let _parent: Parent
-
-    var _latestElement1: E1! = nil
-    var _latestElement2: E2! = nil
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 2, observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-
-        let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1)
-        let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2)
-
-         subscription1.setDisposable(_parent._source1.subscribe(observer1))
-         subscription2.setDisposable(_parent._source2.subscribe(observer2))
-
-        return Disposables.create([
-                subscription1,
-                subscription2
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_latestElement1, _latestElement2)
-    }
-}
-
-final class CombineLatest2<E1, E2, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2) throws -> R
-
-    let _source1: Observable<E1>
-    let _source2: Observable<E2>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, resultSelector: @escaping ResultSelector) {
-        _source1 = source1
-        _source2 = source2
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = CombineLatestSink2_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 3
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - parameter resultSelector: Function to invoke whenever any of the sources produces an element.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, resultSelector: @escaping (O1.E, O2.E, O3.E) throws -> E)
-            -> Observable<E> {
-        return CombineLatest3(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3)
-            -> Observable<(O1.E, O2.E, O3.E)> {
-        return CombineLatest3(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(),
-            resultSelector: { ($0, $1, $2) }
-        )
-    }
-}
-
-final class CombineLatestSink3_<E1, E2, E3, O: ObserverType> : CombineLatestSink<O> {
-    typealias R = O.E
-    typealias Parent = CombineLatest3<E1, E2, E3, R>
-
-    let _parent: Parent
-
-    var _latestElement1: E1! = nil
-    var _latestElement2: E2! = nil
-    var _latestElement3: E3! = nil
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 3, observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-
-        let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1)
-        let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2)
-        let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3)
-
-         subscription1.setDisposable(_parent._source1.subscribe(observer1))
-         subscription2.setDisposable(_parent._source2.subscribe(observer2))
-         subscription3.setDisposable(_parent._source3.subscribe(observer3))
-
-        return Disposables.create([
-                subscription1,
-                subscription2,
-                subscription3
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3)
-    }
-}
-
-final class CombineLatest3<E1, E2, E3, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3) throws -> R
-
-    let _source1: Observable<E1>
-    let _source2: Observable<E2>
-    let _source3: Observable<E3>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, resultSelector: @escaping ResultSelector) {
-        _source1 = source1
-        _source2 = source2
-        _source3 = source3
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = CombineLatestSink3_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 4
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - parameter resultSelector: Function to invoke whenever any of the sources produces an element.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E) throws -> E)
-            -> Observable<E> {
-        return CombineLatest4(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4)
-            -> Observable<(O1.E, O2.E, O3.E, O4.E)> {
-        return CombineLatest4(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(),
-            resultSelector: { ($0, $1, $2, $3) }
-        )
-    }
-}
-
-final class CombineLatestSink4_<E1, E2, E3, E4, O: ObserverType> : CombineLatestSink<O> {
-    typealias R = O.E
-    typealias Parent = CombineLatest4<E1, E2, E3, E4, R>
-
-    let _parent: Parent
-
-    var _latestElement1: E1! = nil
-    var _latestElement2: E2! = nil
-    var _latestElement3: E3! = nil
-    var _latestElement4: E4! = nil
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 4, observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-
-        let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1)
-        let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2)
-        let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3)
-        let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4)
-
-         subscription1.setDisposable(_parent._source1.subscribe(observer1))
-         subscription2.setDisposable(_parent._source2.subscribe(observer2))
-         subscription3.setDisposable(_parent._source3.subscribe(observer3))
-         subscription4.setDisposable(_parent._source4.subscribe(observer4))
-
-        return Disposables.create([
-                subscription1,
-                subscription2,
-                subscription3,
-                subscription4
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4)
-    }
-}
-
-final class CombineLatest4<E1, E2, E3, E4, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4) throws -> R
-
-    let _source1: Observable<E1>
-    let _source2: Observable<E2>
-    let _source3: Observable<E3>
-    let _source4: Observable<E4>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, resultSelector: @escaping ResultSelector) {
-        _source1 = source1
-        _source2 = source2
-        _source3 = source3
-        _source4 = source4
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = CombineLatestSink4_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 5
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - parameter resultSelector: Function to invoke whenever any of the sources produces an element.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E) throws -> E)
-            -> Observable<E> {
-        return CombineLatest5(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5)
-            -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E)> {
-        return CombineLatest5(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(),
-            resultSelector: { ($0, $1, $2, $3, $4) }
-        )
-    }
-}
-
-final class CombineLatestSink5_<E1, E2, E3, E4, E5, O: ObserverType> : CombineLatestSink<O> {
-    typealias R = O.E
-    typealias Parent = CombineLatest5<E1, E2, E3, E4, E5, R>
-
-    let _parent: Parent
-
-    var _latestElement1: E1! = nil
-    var _latestElement2: E2! = nil
-    var _latestElement3: E3! = nil
-    var _latestElement4: E4! = nil
-    var _latestElement5: E5! = nil
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 5, observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-        let subscription5 = SingleAssignmentDisposable()
-
-        let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1)
-        let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2)
-        let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3)
-        let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4)
-        let observer5 = CombineLatestObserver(lock: _lock, parent: self, index: 4, setLatestValue: { (e: E5) -> Void in self._latestElement5 = e }, this: subscription5)
-
-         subscription1.setDisposable(_parent._source1.subscribe(observer1))
-         subscription2.setDisposable(_parent._source2.subscribe(observer2))
-         subscription3.setDisposable(_parent._source3.subscribe(observer3))
-         subscription4.setDisposable(_parent._source4.subscribe(observer4))
-         subscription5.setDisposable(_parent._source5.subscribe(observer5))
-
-        return Disposables.create([
-                subscription1,
-                subscription2,
-                subscription3,
-                subscription4,
-                subscription5
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4, _latestElement5)
-    }
-}
-
-final class CombineLatest5<E1, E2, E3, E4, E5, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4, E5) throws -> R
-
-    let _source1: Observable<E1>
-    let _source2: Observable<E2>
-    let _source3: Observable<E3>
-    let _source4: Observable<E4>
-    let _source5: Observable<E5>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, source5: Observable<E5>, resultSelector: @escaping ResultSelector) {
-        _source1 = source1
-        _source2 = source2
-        _source3 = source3
-        _source4 = source4
-        _source5 = source5
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = CombineLatestSink5_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 6
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - parameter resultSelector: Function to invoke whenever any of the sources produces an element.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E) throws -> E)
-            -> Observable<E> {
-        return CombineLatest6(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6)
-            -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E)> {
-        return CombineLatest6(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(),
-            resultSelector: { ($0, $1, $2, $3, $4, $5) }
-        )
-    }
-}
-
-final class CombineLatestSink6_<E1, E2, E3, E4, E5, E6, O: ObserverType> : CombineLatestSink<O> {
-    typealias R = O.E
-    typealias Parent = CombineLatest6<E1, E2, E3, E4, E5, E6, R>
-
-    let _parent: Parent
-
-    var _latestElement1: E1! = nil
-    var _latestElement2: E2! = nil
-    var _latestElement3: E3! = nil
-    var _latestElement4: E4! = nil
-    var _latestElement5: E5! = nil
-    var _latestElement6: E6! = nil
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 6, observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-        let subscription5 = SingleAssignmentDisposable()
-        let subscription6 = SingleAssignmentDisposable()
-
-        let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1)
-        let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2)
-        let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3)
-        let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4)
-        let observer5 = CombineLatestObserver(lock: _lock, parent: self, index: 4, setLatestValue: { (e: E5) -> Void in self._latestElement5 = e }, this: subscription5)
-        let observer6 = CombineLatestObserver(lock: _lock, parent: self, index: 5, setLatestValue: { (e: E6) -> Void in self._latestElement6 = e }, this: subscription6)
-
-         subscription1.setDisposable(_parent._source1.subscribe(observer1))
-         subscription2.setDisposable(_parent._source2.subscribe(observer2))
-         subscription3.setDisposable(_parent._source3.subscribe(observer3))
-         subscription4.setDisposable(_parent._source4.subscribe(observer4))
-         subscription5.setDisposable(_parent._source5.subscribe(observer5))
-         subscription6.setDisposable(_parent._source6.subscribe(observer6))
-
-        return Disposables.create([
-                subscription1,
-                subscription2,
-                subscription3,
-                subscription4,
-                subscription5,
-                subscription6
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4, _latestElement5, _latestElement6)
-    }
-}
-
-final class CombineLatest6<E1, E2, E3, E4, E5, E6, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4, E5, E6) throws -> R
-
-    let _source1: Observable<E1>
-    let _source2: Observable<E2>
-    let _source3: Observable<E3>
-    let _source4: Observable<E4>
-    let _source5: Observable<E5>
-    let _source6: Observable<E6>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, source5: Observable<E5>, source6: Observable<E6>, resultSelector: @escaping ResultSelector) {
-        _source1 = source1
-        _source2 = source2
-        _source3 = source3
-        _source4 = source4
-        _source5 = source5
-        _source6 = source6
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = CombineLatestSink6_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 7
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - parameter resultSelector: Function to invoke whenever any of the sources produces an element.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType, O7: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E) throws -> E)
-            -> Observable<E> {
-        return CombineLatest7(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType, O7: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7)
-            -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E)> {
-        return CombineLatest7(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(),
-            resultSelector: { ($0, $1, $2, $3, $4, $5, $6) }
-        )
-    }
-}
-
-final class CombineLatestSink7_<E1, E2, E3, E4, E5, E6, E7, O: ObserverType> : CombineLatestSink<O> {
-    typealias R = O.E
-    typealias Parent = CombineLatest7<E1, E2, E3, E4, E5, E6, E7, R>
-
-    let _parent: Parent
-
-    var _latestElement1: E1! = nil
-    var _latestElement2: E2! = nil
-    var _latestElement3: E3! = nil
-    var _latestElement4: E4! = nil
-    var _latestElement5: E5! = nil
-    var _latestElement6: E6! = nil
-    var _latestElement7: E7! = nil
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 7, observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-        let subscription5 = SingleAssignmentDisposable()
-        let subscription6 = SingleAssignmentDisposable()
-        let subscription7 = SingleAssignmentDisposable()
-
-        let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1)
-        let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2)
-        let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3)
-        let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4)
-        let observer5 = CombineLatestObserver(lock: _lock, parent: self, index: 4, setLatestValue: { (e: E5) -> Void in self._latestElement5 = e }, this: subscription5)
-        let observer6 = CombineLatestObserver(lock: _lock, parent: self, index: 5, setLatestValue: { (e: E6) -> Void in self._latestElement6 = e }, this: subscription6)
-        let observer7 = CombineLatestObserver(lock: _lock, parent: self, index: 6, setLatestValue: { (e: E7) -> Void in self._latestElement7 = e }, this: subscription7)
-
-         subscription1.setDisposable(_parent._source1.subscribe(observer1))
-         subscription2.setDisposable(_parent._source2.subscribe(observer2))
-         subscription3.setDisposable(_parent._source3.subscribe(observer3))
-         subscription4.setDisposable(_parent._source4.subscribe(observer4))
-         subscription5.setDisposable(_parent._source5.subscribe(observer5))
-         subscription6.setDisposable(_parent._source6.subscribe(observer6))
-         subscription7.setDisposable(_parent._source7.subscribe(observer7))
-
-        return Disposables.create([
-                subscription1,
-                subscription2,
-                subscription3,
-                subscription4,
-                subscription5,
-                subscription6,
-                subscription7
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4, _latestElement5, _latestElement6, _latestElement7)
-    }
-}
-
-final class CombineLatest7<E1, E2, E3, E4, E5, E6, E7, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4, E5, E6, E7) throws -> R
-
-    let _source1: Observable<E1>
-    let _source2: Observable<E2>
-    let _source3: Observable<E3>
-    let _source4: Observable<E4>
-    let _source5: Observable<E5>
-    let _source6: Observable<E6>
-    let _source7: Observable<E7>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, source5: Observable<E5>, source6: Observable<E6>, source7: Observable<E7>, resultSelector: @escaping ResultSelector) {
-        _source1 = source1
-        _source2 = source2
-        _source3 = source3
-        _source4 = source4
-        _source5 = source5
-        _source6 = source6
-        _source7 = source7
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = CombineLatestSink7_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 8
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - parameter resultSelector: Function to invoke whenever any of the sources produces an element.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType, O7: ObservableType, O8: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, _ source8: O8, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E, O8.E) throws -> E)
-            -> Observable<E> {
-        return CombineLatest8(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), source8: source8.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever any of the observable sequences produces an element.
-
-    - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func combineLatest<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType, O7: ObservableType, O8: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, _ source8: O8)
-            -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E, O8.E)> {
-        return CombineLatest8(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), source8: source8.asObservable(),
-            resultSelector: { ($0, $1, $2, $3, $4, $5, $6, $7) }
-        )
-    }
-}
-
-final class CombineLatestSink8_<E1, E2, E3, E4, E5, E6, E7, E8, O: ObserverType> : CombineLatestSink<O> {
-    typealias R = O.E
-    typealias Parent = CombineLatest8<E1, E2, E3, E4, E5, E6, E7, E8, R>
-
-    let _parent: Parent
-
-    var _latestElement1: E1! = nil
-    var _latestElement2: E2! = nil
-    var _latestElement3: E3! = nil
-    var _latestElement4: E4! = nil
-    var _latestElement5: E5! = nil
-    var _latestElement6: E6! = nil
-    var _latestElement7: E7! = nil
-    var _latestElement8: E8! = nil
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 8, observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-        let subscription5 = SingleAssignmentDisposable()
-        let subscription6 = SingleAssignmentDisposable()
-        let subscription7 = SingleAssignmentDisposable()
-        let subscription8 = SingleAssignmentDisposable()
-
-        let observer1 = CombineLatestObserver(lock: _lock, parent: self, index: 0, setLatestValue: { (e: E1) -> Void in self._latestElement1 = e }, this: subscription1)
-        let observer2 = CombineLatestObserver(lock: _lock, parent: self, index: 1, setLatestValue: { (e: E2) -> Void in self._latestElement2 = e }, this: subscription2)
-        let observer3 = CombineLatestObserver(lock: _lock, parent: self, index: 2, setLatestValue: { (e: E3) -> Void in self._latestElement3 = e }, this: subscription3)
-        let observer4 = CombineLatestObserver(lock: _lock, parent: self, index: 3, setLatestValue: { (e: E4) -> Void in self._latestElement4 = e }, this: subscription4)
-        let observer5 = CombineLatestObserver(lock: _lock, parent: self, index: 4, setLatestValue: { (e: E5) -> Void in self._latestElement5 = e }, this: subscription5)
-        let observer6 = CombineLatestObserver(lock: _lock, parent: self, index: 5, setLatestValue: { (e: E6) -> Void in self._latestElement6 = e }, this: subscription6)
-        let observer7 = CombineLatestObserver(lock: _lock, parent: self, index: 6, setLatestValue: { (e: E7) -> Void in self._latestElement7 = e }, this: subscription7)
-        let observer8 = CombineLatestObserver(lock: _lock, parent: self, index: 7, setLatestValue: { (e: E8) -> Void in self._latestElement8 = e }, this: subscription8)
-
-         subscription1.setDisposable(_parent._source1.subscribe(observer1))
-         subscription2.setDisposable(_parent._source2.subscribe(observer2))
-         subscription3.setDisposable(_parent._source3.subscribe(observer3))
-         subscription4.setDisposable(_parent._source4.subscribe(observer4))
-         subscription5.setDisposable(_parent._source5.subscribe(observer5))
-         subscription6.setDisposable(_parent._source6.subscribe(observer6))
-         subscription7.setDisposable(_parent._source7.subscribe(observer7))
-         subscription8.setDisposable(_parent._source8.subscribe(observer8))
-
-        return Disposables.create([
-                subscription1,
-                subscription2,
-                subscription3,
-                subscription4,
-                subscription5,
-                subscription6,
-                subscription7,
-                subscription8
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_latestElement1, _latestElement2, _latestElement3, _latestElement4, _latestElement5, _latestElement6, _latestElement7, _latestElement8)
-    }
-}
-
-final class CombineLatest8<E1, E2, E3, E4, E5, E6, E7, E8, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4, E5, E6, E7, E8) throws -> R
-
-    let _source1: Observable<E1>
-    let _source2: Observable<E2>
-    let _source3: Observable<E3>
-    let _source4: Observable<E4>
-    let _source5: Observable<E5>
-    let _source6: Observable<E6>
-    let _source7: Observable<E7>
-    let _source8: Observable<E8>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, source5: Observable<E5>, source6: Observable<E6>, source7: Observable<E7>, source8: Observable<E8>, resultSelector: @escaping ResultSelector) {
-        _source1 = source1
-        _source2 = source2
-        _source3 = source3
-        _source4 = source4
-        _source5 = source5
-        _source6 = source6
-        _source7 = source7
-        _source8 = source8
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = CombineLatestSink8_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift
deleted file mode 100644
index 8c03e8c38c2..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/CombineLatest.swift
+++ /dev/null
@@ -1,132 +0,0 @@
-//
-//  CombineLatest.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/21/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol CombineLatestProtocol : class {
-    func next(_ index: Int)
-    func fail(_ error: Swift.Error)
-    func done(_ index: Int)
-}
-
-class CombineLatestSink<O: ObserverType>
-    : Sink<O>
-    , CombineLatestProtocol {
-    typealias Element = O.E
-   
-    let _lock = RecursiveLock()
-
-    private let _arity: Int
-    private var _numberOfValues = 0
-    private var _numberOfDone = 0
-    private var _hasValue: [Bool]
-    private var _isDone: [Bool]
-   
-    init(arity: Int, observer: O, cancel: Cancelable) {
-        _arity = arity
-        _hasValue = [Bool](repeating: false, count: arity)
-        _isDone = [Bool](repeating: false, count: arity)
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func getResult() throws -> Element {
-        rxAbstractMethod()
-    }
-    
-    func next(_ index: Int) {
-        if !_hasValue[index] {
-            _hasValue[index] = true
-            _numberOfValues += 1
-        }
-
-        if _numberOfValues == _arity {
-            do {
-                let result = try getResult()
-                forwardOn(.next(result))
-            }
-            catch let e {
-                forwardOn(.error(e))
-                dispose()
-            }
-        }
-        else {
-            var allOthersDone = true
-
-            for i in 0 ..< _arity {
-                if i != index && !_isDone[i] {
-                    allOthersDone = false
-                    break
-                }
-            }
-            
-            if allOthersDone {
-                forwardOn(.completed)
-                dispose()
-            }
-        }
-    }
-    
-    func fail(_ error: Swift.Error) {
-        forwardOn(.error(error))
-        dispose()
-    }
-    
-    func done(_ index: Int) {
-        if _isDone[index] {
-            return
-        }
-
-        _isDone[index] = true
-        _numberOfDone += 1
-
-        if _numberOfDone == _arity {
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final class CombineLatestObserver<ElementType>
-    : ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias Element = ElementType
-    typealias ValueSetter = (Element) -> Void
-    
-    private let _parent: CombineLatestProtocol
-    
-    let _lock: RecursiveLock
-    private let _index: Int
-    private let _this: Disposable
-    private let _setLatestValue: ValueSetter
-    
-    init(lock: RecursiveLock, parent: CombineLatestProtocol, index: Int, setLatestValue: @escaping ValueSetter, this: Disposable) {
-        _lock = lock
-        _parent = parent
-        _index = index
-        _this = this
-        _setLatestValue = setLatestValue
-    }
-    
-    func on(_ event: Event<Element>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<Element>) {
-        switch event {
-        case .next(let value):
-            _setLatestValue(value)
-            _parent.next(_index)
-        case .error(let error):
-            _this.dispose()
-            _parent.fail(error)
-        case .completed:
-            _this.dispose()
-            _parent.done(_index)
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Concat.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Concat.swift
deleted file mode 100644
index cc4174b8ccb..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Concat.swift
+++ /dev/null
@@ -1,131 +0,0 @@
-//
-//  Concat.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/21/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Concatenates the second observable sequence to `self` upon successful termination of `self`.
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - parameter second: Second observable sequence.
-     - returns: An observable sequence that contains the elements of `self`, followed by those of the second sequence.
-     */
-    public func concat<O: ObservableConvertibleType>(_ second: O) -> Observable<E> where O.E == E {
-        return Observable.concat([self.asObservable(), second.asObservable()])
-    }
-}
-
-extension Observable {
-    /**
-     Concatenates all observable sequences in the given sequence, as long as the previous observable sequence terminated successfully.
-
-     This operator has tail recursive optimizations that will prevent stack overflow.
-
-     Optimizations will be performed in cases equivalent to following:
-
-     [1, [2, [3, .....].concat()].concat].concat()
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - returns: An observable sequence that contains the elements of each given sequence, in sequential order.
-     */
-    public static func concat<S: Sequence >(_ sequence: S) -> Observable<Element>
-        where S.Iterator.Element == Observable<Element> {
-            return Concat(sources: sequence, count: nil)
-    }
-
-    /**
-     Concatenates all observable sequences in the given collection, as long as the previous observable sequence terminated successfully.
-
-     This operator has tail recursive optimizations that will prevent stack overflow.
-
-     Optimizations will be performed in cases equivalent to following:
-
-     [1, [2, [3, .....].concat()].concat].concat()
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - returns: An observable sequence that contains the elements of each given sequence, in sequential order.
-     */
-    public static func concat<S: Collection >(_ collection: S) -> Observable<Element>
-        where S.Iterator.Element == Observable<Element> {
-            return Concat(sources: collection, count: collection.count.toIntMax())
-    }
-
-    /**
-     Concatenates all observable sequences in the given collection, as long as the previous observable sequence terminated successfully.
-
-     This operator has tail recursive optimizations that will prevent stack overflow.
-
-     Optimizations will be performed in cases equivalent to following:
-
-     [1, [2, [3, .....].concat()].concat].concat()
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - returns: An observable sequence that contains the elements of each given sequence, in sequential order.
-     */
-    public static func concat(_ sources: Observable<Element> ...) -> Observable<Element> {
-        return Concat(sources: sources, count: sources.count.toIntMax())
-    }
-}
-
-final fileprivate class ConcatSink<S: Sequence, O: ObserverType>
-    : TailRecursiveSink<S, O>
-    , ObserverType where S.Iterator.Element : ObservableConvertibleType, S.Iterator.Element.E == O.E {
-    typealias Element = O.E
-    
-    override init(observer: O, cancel: Cancelable) {
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>){
-        switch event {
-        case .next:
-            forwardOn(event)
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            schedule(.moveNext)
-        }
-    }
-
-    override func subscribeToNext(_ source: Observable<E>) -> Disposable {
-        return source.subscribe(self)
-    }
-    
-    override func extract(_ observable: Observable<E>) -> SequenceGenerator? {
-        if let source = observable as? Concat<S> {
-            return (source._sources.makeIterator(), source._count)
-        }
-        else {
-            return nil
-        }
-    }
-}
-
-final fileprivate class Concat<S: Sequence> : Producer<S.Iterator.Element.E> where S.Iterator.Element : ObservableConvertibleType {
-    typealias Element = S.Iterator.Element.E
-    
-    fileprivate let _sources: S
-    fileprivate let _count: IntMax?
-
-    init(sources: S, count: IntMax?) {
-        _sources = sources
-        _count = count
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = ConcatSink<S, O>(observer: observer, cancel: cancel)
-        let subscription = sink.run((_sources.makeIterator(), _count))
-        return (sink: sink, subscription: subscription)
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Create.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Create.swift
deleted file mode 100644
index 664daa1e02f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Create.swift
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-//  Create.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    // MARK: create
-
-    /**
-     Creates an observable sequence from a specified subscribe method implementation.
-
-     - seealso: [create operator on reactivex.io](http://reactivex.io/documentation/operators/create.html)
-
-     - parameter subscribe: Implementation of the resulting observable sequence's `subscribe` method.
-     - returns: The observable sequence with the specified implementation for the `subscribe` method.
-     */
-    public static func create(_ subscribe: @escaping (AnyObserver<E>) -> Disposable) -> Observable<E> {
-        return AnonymousObservable(subscribe)
-    }
-}
-
-final fileprivate class AnonymousObservableSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias E = O.E
-    typealias Parent = AnonymousObservable<E>
-
-    // state
-    private var _isStopped: AtomicInt = 0
-
-    #if DEBUG
-        fileprivate let _synchronizationTracker = SynchronizationTracker()
-    #endif
-
-    override init(observer: O, cancel: Cancelable) {
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func on(_ event: Event<E>) {
-        #if DEBUG
-            _synchronizationTracker.register(synchronizationErrorMessage: .default)
-            defer { _synchronizationTracker.unregister() }
-        #endif
-        switch event {
-        case .next:
-            if _isStopped == 1 {
-                return
-            }
-            forwardOn(event)
-        case .error, .completed:
-            if AtomicCompareAndSwap(0, 1, &_isStopped) {
-                forwardOn(event)
-                dispose()
-            }
-        }
-    }
-
-    func run(_ parent: Parent) -> Disposable {
-        return parent._subscribeHandler(AnyObserver(self))
-    }
-}
-
-final fileprivate class AnonymousObservable<Element> : Producer<Element> {
-    typealias SubscribeHandler = (AnyObserver<Element>) -> Disposable
-
-    let _subscribeHandler: SubscribeHandler
-
-    init(_ subscribeHandler: @escaping SubscribeHandler) {
-        _subscribeHandler = subscribeHandler
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = AnonymousObservableSink(observer: observer, cancel: cancel)
-        let subscription = sink.run(self)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Debounce.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Debounce.swift
deleted file mode 100644
index 866427a0d4f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Debounce.swift
+++ /dev/null
@@ -1,119 +0,0 @@
-//
-//  Debounce.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 9/11/16.
-//  Copyright © 2016 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Ignores elements from an observable sequence which are followed by another element within a specified relative time duration, using the specified scheduler to run throttling timers.
-
-     - seealso: [debounce operator on reactivex.io](http://reactivex.io/documentation/operators/debounce.html)
-
-     - parameter dueTime: Throttling duration for each element.
-     - parameter scheduler: Scheduler to run the throttle timers on.
-     - returns: The throttled sequence.
-     */
-    public func debounce(_ dueTime: RxTimeInterval, scheduler: SchedulerType)
-        -> Observable<E> {
-            return Debounce(source: self.asObservable(), dueTime: dueTime, scheduler: scheduler)
-    }
-}
-
-final fileprivate class DebounceSink<O: ObserverType>
-    : Sink<O>
-    , ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias Element = O.E
-    typealias ParentType = Debounce<Element>
-
-    private let _parent: ParentType
-
-    let _lock = RecursiveLock()
-
-    // state
-    private var _id = 0 as UInt64
-    private var _value: Element? = nil
-
-    let cancellable = SerialDisposable()
-
-    init(parent: ParentType, observer: O, cancel: Cancelable) {
-        _parent = parent
-
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription = _parent._source.subscribe(self)
-
-        return Disposables.create(subscription, cancellable)
-    }
-
-    func on(_ event: Event<Element>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<Element>) {
-        switch event {
-        case .next(let element):
-            _id = _id &+ 1
-            let currentId = _id
-            _value = element
-
-
-            let scheduler = _parent._scheduler
-            let dueTime = _parent._dueTime
-
-            let d = SingleAssignmentDisposable()
-            self.cancellable.disposable = d
-            d.setDisposable(scheduler.scheduleRelative(currentId, dueTime: dueTime, action: self.propagate))
-        case .error:
-            _value = nil
-            forwardOn(event)
-            dispose()
-        case .completed:
-            if let value = _value {
-                _value = nil
-                forwardOn(.next(value))
-            }
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-
-    func propagate(_ currentId: UInt64) -> Disposable {
-        _lock.lock(); defer { _lock.unlock() } // {
-        let originalValue = _value
-
-        if let value = originalValue, _id == currentId {
-            _value = nil
-            forwardOn(.next(value))
-        }
-        // }
-        return Disposables.create()
-    }
-}
-
-final fileprivate class Debounce<Element> : Producer<Element> {
-
-    fileprivate let _source: Observable<Element>
-    fileprivate let _dueTime: RxTimeInterval
-    fileprivate let _scheduler: SchedulerType
-
-    init(source: Observable<Element>, dueTime: RxTimeInterval, scheduler: SchedulerType) {
-        _source = source
-        _dueTime = dueTime
-        _scheduler = scheduler
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = DebounceSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-    
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Debug.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Debug.swift
deleted file mode 100644
index 1b7d26236d4..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Debug.swift
+++ /dev/null
@@ -1,103 +0,0 @@
-//
-//  Debug.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/2/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.Date
-import class Foundation.DateFormatter
-
-extension ObservableType {
-
-    /**
-     Prints received events for all observers on standard output.
-
-     - seealso: [do operator on reactivex.io](http://reactivex.io/documentation/operators/do.html)
-
-     - parameter identifier: Identifier that is printed together with event description to standard output.
-     - parameter trimOutput: Should output be trimmed to max 40 characters.
-     - returns: An observable sequence whose events are printed to standard output.
-     */
-    public func debug(_ identifier: String? = nil, trimOutput: Bool = false, file: String = #file, line: UInt = #line, function: String = #function)
-        -> Observable<E> {
-            return Debug(source: self, identifier: identifier, trimOutput: trimOutput, file: file, line: line, function: function)
-    }
-}
-
-fileprivate let dateFormat = "yyyy-MM-dd HH:mm:ss.SSS"
-
-fileprivate func logEvent(_ identifier: String, dateFormat: DateFormatter, content: String) {
-    print("\(dateFormat.string(from: Date())): \(identifier) -> \(content)")
-}
-
-final fileprivate class DebugSink<Source: ObservableType, O: ObserverType> : Sink<O>, ObserverType where O.E == Source.E {
-    typealias Element = O.E
-    typealias Parent = Debug<Source>
-    
-    private let _parent: Parent
-    private let _timestampFormatter = DateFormatter()
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _timestampFormatter.dateFormat = dateFormat
-
-        logEvent(_parent._identifier, dateFormat: _timestampFormatter, content: "subscribed")
-
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        let maxEventTextLength = 40
-        let eventText = "\(event)"
-
-        let eventNormalized = (eventText.characters.count > maxEventTextLength) && _parent._trimOutput
-            ? String(eventText.characters.prefix(maxEventTextLength / 2)) + "..." + String(eventText.characters.suffix(maxEventTextLength / 2))
-            : eventText
-
-        logEvent(_parent._identifier, dateFormat: _timestampFormatter, content: "Event \(eventNormalized)")
-
-        forwardOn(event)
-        if event.isStopEvent {
-            dispose()
-        }
-    }
-    
-    override func dispose() {
-        if !self.disposed {
-            logEvent(_parent._identifier, dateFormat: _timestampFormatter, content: "isDisposed")
-        }
-        super.dispose()
-    }
-}
-
-final fileprivate class Debug<Source: ObservableType> : Producer<Source.E> {
-    fileprivate let _identifier: String
-    fileprivate let _trimOutput: Bool
-    fileprivate let _source: Source
-
-    init(source: Source, identifier: String?, trimOutput: Bool, file: String, line: UInt, function: String) {
-        _trimOutput = trimOutput
-        if let identifier = identifier {
-            _identifier = identifier
-        }
-        else {
-            let trimmedFile: String
-            if let lastIndex = file.lastIndexOf("/") {
-                trimmedFile = file[file.index(after: lastIndex) ..< file.endIndex]
-            }
-            else {
-                trimmedFile = file
-            }
-            _identifier = "\(trimmedFile):\(line) (\(function))"
-        }
-        _source = source
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Source.E {
-        let sink = DebugSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift
deleted file mode 100644
index 696361fdd34..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DefaultIfEmpty.swift
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-//  DefaultIfEmpty.swift
-//  RxSwift
-//
-//  Created by sergdort on 23/12/2016.
-//  Copyright © 2016 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Emits elements from the source observable sequence, or a default element if the source observable sequence is empty.
-
-     - seealso: [DefaultIfEmpty operator on reactivex.io](http://reactivex.io/documentation/operators/defaultifempty.html)
-
-     - parameter default: Default element to be sent if the source does not emit any elements
-     - returns: An observable sequence which emits default element end completes in case the original sequence is empty
-     */
-    public func ifEmpty(default: E) -> Observable<E> {
-        return DefaultIfEmpty(source: self.asObservable(), default: `default`)
-    }
-}
-
-final fileprivate class DefaultIfEmptySink<O: ObserverType>: Sink<O>, ObserverType {
-    typealias E = O.E
-    private let _default: E
-    private var _isEmpty = true
-    
-    init(default: E, observer: O, cancel: Cancelable) {
-        _default = `default`
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next(_):
-            _isEmpty = false
-            forwardOn(event)
-        case .error(_):
-            forwardOn(event)
-            dispose()
-        case .completed:
-            if _isEmpty {
-                forwardOn(.next(_default))
-            }
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class DefaultIfEmpty<SourceType>: Producer<SourceType> {
-    private let _source: Observable<SourceType>
-    private let _default: SourceType
-    
-    init(source: Observable<SourceType>, `default`: SourceType) {
-        _source = source
-        _default = `default`
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceType {
-        let sink = DefaultIfEmptySink(default: _default, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Deferred.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Deferred.swift
deleted file mode 100644
index 6a0b24433a4..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Deferred.swift
+++ /dev/null
@@ -1,74 +0,0 @@
-//
-//  Deferred.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 4/19/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Returns an observable sequence that invokes the specified factory function whenever a new observer subscribes.
-
-     - seealso: [defer operator on reactivex.io](http://reactivex.io/documentation/operators/defer.html)
-
-     - parameter observableFactory: Observable factory function to invoke for each observer that subscribes to the resulting sequence.
-     - returns: An observable sequence whose observers trigger an invocation of the given observable factory function.
-     */
-    public static func deferred(_ observableFactory: @escaping () throws -> Observable<E>)
-        -> Observable<E> {
-        return Deferred(observableFactory: observableFactory)
-    }
-}
-
-final fileprivate class DeferredSink<S: ObservableType, O: ObserverType> : Sink<O>, ObserverType where S.E == O.E {
-    typealias E = O.E
-
-    private let _observableFactory: () throws -> S
-
-    init(observableFactory: @escaping () throws -> S, observer: O, cancel: Cancelable) {
-        _observableFactory = observableFactory
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        do {
-            let result = try _observableFactory()
-            return result.subscribe(self)
-        }
-        catch let e {
-            forwardOn(.error(e))
-            dispose()
-            return Disposables.create()
-        }
-    }
-    
-    func on(_ event: Event<E>) {
-        forwardOn(event)
-        
-        switch event {
-        case .next:
-            break
-        case .error:
-            dispose()
-        case .completed:
-            dispose()
-        }
-    }
-}
-
-final fileprivate class Deferred<S: ObservableType> : Producer<S.E> {
-    typealias Factory = () throws -> S
-    
-    private let _observableFactory : Factory
-    
-    init(observableFactory: @escaping Factory) {
-        _observableFactory = observableFactory
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == S.E {
-        let sink = DeferredSink(observableFactory: _observableFactory, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Delay.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Delay.swift
deleted file mode 100644
index b13ee9cc403..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Delay.swift
+++ /dev/null
@@ -1,181 +0,0 @@
-//
-//  Delay.swift
-//  RxSwift
-//
-//  Created by tarunon on 2016/02/09.
-//  Copyright © 2016 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.Date
-
-extension ObservableType {
-
-    /**
-     Returns an observable sequence by the source observable sequence shifted forward in time by a specified delay. Error events from the source observable sequence are not delayed.
-
-     - seealso: [delay operator on reactivex.io](http://reactivex.io/documentation/operators/delay.html)
-
-     - parameter dueTime: Relative time shift of the source by.
-     - parameter scheduler: Scheduler to run the subscription delay timer on.
-     - returns: the source Observable shifted in time by the specified delay.
-     */
-    public func delay(_ dueTime: RxTimeInterval, scheduler: SchedulerType)
-        -> Observable<E> {
-            return Delay(source: self.asObservable(), dueTime: dueTime, scheduler: scheduler)
-    }
-}
-
-final fileprivate class DelaySink<O: ObserverType>
-    : Sink<O>
-    , ObserverType {
-    typealias E = O.E
-    typealias Source = Observable<E>
-    typealias DisposeKey = Bag<Disposable>.KeyType
-    
-    private let _lock = RecursiveLock()
-
-    private let _dueTime: RxTimeInterval
-    private let _scheduler: SchedulerType
-    
-    private let _sourceSubscription = SingleAssignmentDisposable()
-    private let _cancelable = SerialDisposable()
-
-    // is scheduled some action
-    private var _active = false
-    // is "run loop" on different scheduler running
-    private var _running = false
-    private var _errorEvent: Event<E>? = nil
-
-    // state
-    private var _queue = Queue<(eventTime: RxTime, event: Event<E>)>(capacity: 0)
-    private var _disposed = false
-    
-    init(observer: O, dueTime: RxTimeInterval, scheduler: SchedulerType, cancel: Cancelable) {
-        _dueTime = dueTime
-        _scheduler = scheduler
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    // All of these complications in this method are caused by the fact that 
-    // error should be propagated immediately. Error can be potentially received on different
-    // scheduler so this process needs to be synchronized somehow.
-    //
-    // Another complication is that scheduler is potentially concurrent so internal queue is used.
-    func drainQueue(state: (), scheduler: AnyRecursiveScheduler<()>) {
-
-        _lock.lock()    // {
-            let hasFailed = _errorEvent != nil
-            if !hasFailed {
-                _running = true
-            }
-        _lock.unlock()  // }
-
-        if hasFailed {
-            return
-        }
-
-        var ranAtLeastOnce = false
-
-        while true {
-            _lock.lock() // {
-                let errorEvent = _errorEvent
-
-                let eventToForwardImmediatelly = ranAtLeastOnce ? nil : _queue.dequeue()?.event
-                let nextEventToScheduleOriginalTime: Date? = ranAtLeastOnce && !_queue.isEmpty ? _queue.peek().eventTime : nil
-
-                if let _ = errorEvent {
-                }
-                else  {
-                    if let _ = eventToForwardImmediatelly {
-                    }
-                    else if let _ = nextEventToScheduleOriginalTime {
-                        _running = false
-                    }
-                    else {
-                        _running = false
-                        _active = false
-                    }
-                }
-            _lock.unlock() // {
-
-            if let errorEvent = errorEvent {
-                self.forwardOn(errorEvent)
-                self.dispose()
-                return
-            }
-            else {
-                if let eventToForwardImmediatelly = eventToForwardImmediatelly {
-                    ranAtLeastOnce = true
-                    self.forwardOn(eventToForwardImmediatelly)
-                    if case .completed = eventToForwardImmediatelly {
-                        self.dispose()
-                        return
-                    }
-                }
-                else if let nextEventToScheduleOriginalTime = nextEventToScheduleOriginalTime {
-                    let elapsedTime = _scheduler.now.timeIntervalSince(nextEventToScheduleOriginalTime)
-                    let interval = _dueTime - elapsedTime
-                    let normalizedInterval = interval < 0.0 ? 0.0 : interval
-                    scheduler.schedule((), dueTime: normalizedInterval)
-                    return
-                }
-                else {
-                    return
-                }
-            }
-        }
-    }
-    
-    func on(_ event: Event<E>) {
-        if event.isStopEvent {
-            _sourceSubscription.dispose()
-        }
-
-        switch event {
-        case .error(_):
-            _lock.lock()    // {
-                let shouldSendImmediatelly = !_running
-                _queue = Queue(capacity: 0)
-                _errorEvent = event
-            _lock.unlock()  // }
-
-            if shouldSendImmediatelly {
-                forwardOn(event)
-                dispose()
-            }
-        default:
-            _lock.lock()    // {
-                let shouldSchedule = !_active
-                _active = true
-                _queue.enqueue((_scheduler.now, event))
-            _lock.unlock()  // }
-
-            if shouldSchedule {
-                _cancelable.disposable = _scheduler.scheduleRecursive((), dueTime: _dueTime, action: self.drainQueue)
-            }
-        }
-    }
-    
-    func run(source: Observable<E>) -> Disposable {
-        _sourceSubscription.setDisposable(source.subscribe(self))
-        return Disposables.create(_sourceSubscription, _cancelable)
-    }
-}
-
-final fileprivate class Delay<Element>: Producer<Element> {
-    private let _source: Observable<Element>
-    private let _dueTime: RxTimeInterval
-    private let _scheduler: SchedulerType
-    
-    init(source: Observable<Element>, dueTime: RxTimeInterval, scheduler: SchedulerType) {
-        _source = source
-        _dueTime = dueTime
-        _scheduler = scheduler
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = DelaySink(observer: observer, dueTime: _dueTime, scheduler: _scheduler, cancel: cancel)
-        let subscription = sink.run(source: _source)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift
deleted file mode 100644
index 9225a196c76..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DelaySubscription.swift
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-//  DelaySubscription.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/14/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Time shifts the observable sequence by delaying the subscription with the specified relative time duration, using the specified scheduler to run timers.
-
-     - seealso: [delay operator on reactivex.io](http://reactivex.io/documentation/operators/delay.html)
-
-     - parameter dueTime: Relative time shift of the subscription.
-     - parameter scheduler: Scheduler to run the subscription delay timer on.
-     - returns: Time-shifted sequence.
-     */
-    public func delaySubscription(_ dueTime: RxTimeInterval, scheduler: SchedulerType)
-        -> Observable<E> {
-        return DelaySubscription(source: self.asObservable(), dueTime: dueTime, scheduler: scheduler)
-    }
-}
-
-final fileprivate class DelaySubscriptionSink<O: ObserverType>
-    : Sink<O>, ObserverType {
-    typealias E = O.E
-    typealias Parent = DelaySubscription<E>
-    
-    private let _parent: Parent
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        forwardOn(event)
-        if event.isStopEvent {
-            dispose()
-        }
-    }
-    
-}
-
-final fileprivate class DelaySubscription<Element>: Producer<Element> {
-    private let _source: Observable<Element>
-    private let _dueTime: RxTimeInterval
-    private let _scheduler: SchedulerType
-    
-    init(source: Observable<Element>, dueTime: RxTimeInterval, scheduler: SchedulerType) {
-        _source = source
-        _dueTime = dueTime
-        _scheduler = scheduler
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = DelaySubscriptionSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _scheduler.scheduleRelative((), dueTime: _dueTime) { _ in
-            return self._source.subscribe(sink)
-        }
-
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift
deleted file mode 100644
index d142249a961..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Dematerialize.swift
+++ /dev/null
@@ -1,51 +0,0 @@
-//
-//  Dematerialize.swift
-//  RxSwift
-//
-//  Created by Jamie Pinkham on 3/13/17.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType where E: EventConvertible {
-    /**
-     Convert any previously materialized Observable into it's original form.
-     - seealso: [materialize operator on reactivex.io](http://reactivex.io/documentation/operators/materialize-dematerialize.html)
-     - returns: The dematerialized observable sequence.
-     */
-    public func dematerialize() -> Observable<E.ElementType> {
-        return Dematerialize(source: self.asObservable())
-    }
-
-}
-
-fileprivate final class DematerializeSink<Element: EventConvertible, O: ObserverType>: Sink<O>, ObserverType where O.E == Element.ElementType {
-    fileprivate func on(_ event: Event<Element>) {
-        switch event {
-        case .next(let element):
-            forwardOn(element.event)
-            if element.event.isStopEvent {
-                dispose()
-            }
-        case .completed:
-            forwardOn(.completed)
-            dispose()
-        case .error(let error):
-            forwardOn(.error(error))
-            dispose()
-        }
-    }
-}
-
-final fileprivate class Dematerialize<Element: EventConvertible>: Producer<Element.ElementType>  {
-    private let _source: Observable<Element>
-    
-    init(source: Observable<Element>) {
-        _source = source
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element.ElementType {
-        let sink = DematerializeSink<Element, O>(observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift
deleted file mode 100644
index f72f52014da..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/DistinctUntilChanged.swift
+++ /dev/null
@@ -1,125 +0,0 @@
-//
-//  DistinctUntilChanged.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/15/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType where E: Equatable {
-
-    /**
-     Returns an observable sequence that contains only distinct contiguous elements according to equality operator.
-
-     - seealso: [distinct operator on reactivex.io](http://reactivex.io/documentation/operators/distinct.html)
-
-     - returns: An observable sequence only containing the distinct contiguous elements, based on equality operator, from the source sequence.
-     */
-    public func distinctUntilChanged()
-        -> Observable<E> {
-            return self.distinctUntilChanged({ $0 }, comparer: { ($0 == $1) })
-    }
-}
-
-extension ObservableType {
-    /**
-     Returns an observable sequence that contains only distinct contiguous elements according to the `keySelector`.
-
-     - seealso: [distinct operator on reactivex.io](http://reactivex.io/documentation/operators/distinct.html)
-
-     - parameter keySelector: A function to compute the comparison key for each element.
-     - returns: An observable sequence only containing the distinct contiguous elements, based on a computed key value, from the source sequence.
-     */
-    public func distinctUntilChanged<K: Equatable>(_ keySelector: @escaping (E) throws -> K)
-        -> Observable<E> {
-            return self.distinctUntilChanged(keySelector, comparer: { $0 == $1 })
-    }
-
-    /**
-     Returns an observable sequence that contains only distinct contiguous elements according to the `comparer`.
-
-     - seealso: [distinct operator on reactivex.io](http://reactivex.io/documentation/operators/distinct.html)
-
-     - parameter comparer: Equality comparer for computed key values.
-     - returns: An observable sequence only containing the distinct contiguous elements, based on `comparer`, from the source sequence.
-     */
-    public func distinctUntilChanged(_ comparer: @escaping (E, E) throws -> Bool)
-        -> Observable<E> {
-            return self.distinctUntilChanged({ $0 }, comparer: comparer)
-    }
-
-    /**
-     Returns an observable sequence that contains only distinct contiguous elements according to the keySelector and the comparer.
-
-     - seealso: [distinct operator on reactivex.io](http://reactivex.io/documentation/operators/distinct.html)
-
-     - parameter keySelector: A function to compute the comparison key for each element.
-     - parameter comparer: Equality comparer for computed key values.
-     - returns: An observable sequence only containing the distinct contiguous elements, based on a computed key value and the comparer, from the source sequence.
-     */
-    public func distinctUntilChanged<K>(_ keySelector: @escaping (E) throws -> K, comparer: @escaping (K, K) throws -> Bool)
-        -> Observable<E> {
-            return DistinctUntilChanged(source: self.asObservable(), selector: keySelector, comparer: comparer)
-    }
-}
-
-final fileprivate class DistinctUntilChangedSink<O: ObserverType, Key>: Sink<O>, ObserverType {
-    typealias E = O.E
-    
-    private let _parent: DistinctUntilChanged<E, Key>
-    private var _currentKey: Key? = nil
-    
-    init(parent: DistinctUntilChanged<E, Key>, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next(let value):
-            do {
-                let key = try _parent._selector(value)
-                var areEqual = false
-                if let currentKey = _currentKey {
-                    areEqual = try _parent._comparer(currentKey, key)
-                }
-                
-                if areEqual {
-                    return
-                }
-                
-                _currentKey = key
-                
-                forwardOn(event)
-            }
-            catch let error {
-                forwardOn(.error(error))
-                dispose()
-            }
-        case .error, .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class DistinctUntilChanged<Element, Key>: Producer<Element> {
-    typealias KeySelector = (Element) throws -> Key
-    typealias EqualityComparer = (Key, Key) throws -> Bool
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _selector: KeySelector
-    fileprivate let _comparer: EqualityComparer
-    
-    init(source: Observable<Element>, selector: @escaping KeySelector, comparer: @escaping EqualityComparer) {
-        _source = source
-        _selector = selector
-        _comparer = comparer
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = DistinctUntilChangedSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Do.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Do.swift
deleted file mode 100644
index 2be6d58328d..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Do.swift
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-//  Do.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/21/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-    /**
-     Invokes an action for each event in the observable sequence, and propagates all observer messages through the result sequence.
-
-     - seealso: [do operator on reactivex.io](http://reactivex.io/documentation/operators/do.html)
-
-     - parameter onNext: Action to invoke for each element in the observable sequence.
-     - parameter onError: Action to invoke upon errored termination of the observable sequence.
-     - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence.
-     - parameter onSubscribe: Action to invoke before subscribing to source observable sequence.
-     - parameter onSubscribed: Action to invoke after subscribing to source observable sequence.
-     - parameter onDispose: Action to invoke after subscription to source observable has been disposed for any reason. It can be either because sequence terminates for some reason or observer subscription being disposed.
-     - returns: The source sequence with the side-effecting behavior applied.
-     */
-    public func `do`(onNext: ((E) throws -> Void)? = nil, onError: ((Swift.Error) throws -> Void)? = nil, onCompleted: (() throws -> Void)? = nil, onSubscribe: (() -> ())? = nil, onSubscribed: (() -> ())? = nil, onDispose: (() -> ())? = nil)
-        -> Observable<E> {
-            return Do(source: self.asObservable(), eventHandler: { e in
-                switch e {
-                case .next(let element):
-                    try onNext?(element)
-                case .error(let e):
-                    try onError?(e)
-                case .completed:
-                    try onCompleted?()
-                }
-            }, onSubscribe: onSubscribe, onSubscribed: onSubscribed, onDispose: onDispose)
-    }
-}
-
-final fileprivate class DoSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias Element = O.E
-    typealias EventHandler = (Event<Element>) throws -> Void
-    
-    private let _eventHandler: EventHandler
-    
-    init(eventHandler: @escaping EventHandler, observer: O, cancel: Cancelable) {
-        _eventHandler = eventHandler
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        do {
-            try _eventHandler(event)
-            forwardOn(event)
-            if event.isStopEvent {
-                dispose()
-            }
-        }
-        catch let error {
-            forwardOn(.error(error))
-            dispose()
-        }
-    }
-}
-
-final fileprivate class Do<Element> : Producer<Element> {
-    typealias EventHandler = (Event<Element>) throws -> Void
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _eventHandler: EventHandler
-    fileprivate let _onSubscribe: (() -> ())?
-    fileprivate let _onSubscribed: (() -> ())?
-    fileprivate let _onDispose: (() -> ())?
-    
-    init(source: Observable<Element>, eventHandler: @escaping EventHandler, onSubscribe: (() -> ())?, onSubscribed: (() -> ())?, onDispose: (() -> ())?) {
-        _source = source
-        _eventHandler = eventHandler
-        _onSubscribe = onSubscribe
-        _onSubscribed = onSubscribed
-        _onDispose = onDispose
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        _onSubscribe?()
-        let sink = DoSink(eventHandler: _eventHandler, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        _onSubscribed?()
-        let onDispose = _onDispose
-        let allSubscriptions = Disposables.create {
-            subscription.dispose()
-            onDispose?()
-        }
-        return (sink: sink, subscription: allSubscriptions)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ElementAt.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ElementAt.swift
deleted file mode 100644
index 500a0442e47..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ElementAt.swift
+++ /dev/null
@@ -1,93 +0,0 @@
-//
-//  ElementAt.swift
-//  RxSwift
-//
-//  Created by Junior B. on 21/10/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Returns a sequence emitting only element _n_ emitted by an Observable
-
-     - seealso: [elementAt operator on reactivex.io](http://reactivex.io/documentation/operators/elementat.html)
-
-     - parameter index: The index of the required element (starting from 0).
-     - returns: An observable sequence that emits the desired element as its own sole emission.
-     */
-    public func elementAt(_ index: Int)
-        -> Observable<E> {
-        return ElementAt(source: asObservable(), index: index, throwOnEmpty: true)
-    }
-}
-
-final fileprivate class ElementAtSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias SourceType = O.E
-    typealias Parent = ElementAt<SourceType>
-    
-    let _parent: Parent
-    var _i: Int
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _i = parent._index
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<SourceType>) {
-        switch event {
-        case .next(_):
-
-            if (_i == 0) {
-                forwardOn(event)
-                forwardOn(.completed)
-                self.dispose()
-            }
-            
-            do {
-                let _ = try decrementChecked(&_i)
-            } catch(let e) {
-                forwardOn(.error(e))
-                dispose()
-                return
-            }
-            
-        case .error(let e):
-            forwardOn(.error(e))
-            self.dispose()
-        case .completed:
-            if (_parent._throwOnEmpty) {
-                forwardOn(.error(RxError.argumentOutOfRange))
-            } else {
-                forwardOn(.completed)
-            }
-            
-            self.dispose()
-        }
-    }
-}
-
-final fileprivate class ElementAt<SourceType> : Producer<SourceType> {
-    
-    let _source: Observable<SourceType>
-    let _throwOnEmpty: Bool
-    let _index: Int
-    
-    init(source: Observable<SourceType>, index: Int, throwOnEmpty: Bool) {
-        if index < 0 {
-            rxFatalError("index can't be negative")
-        }
-
-        self._source = source
-        self._index = index
-        self._throwOnEmpty = throwOnEmpty
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceType {
-        let sink = ElementAtSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Empty.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Empty.swift
deleted file mode 100644
index 1511a946876..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Empty.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-//  Empty.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 8/30/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Returns an empty observable sequence, using the specified scheduler to send out the single `Completed` message.
-
-     - seealso: [empty operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html)
-
-     - returns: An observable sequence with no elements.
-     */
-    public static func empty() -> Observable<E> {
-        return EmptyProducer<E>()
-    }
-}
-
-final fileprivate class EmptyProducer<Element> : Producer<Element> {
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        observer.on(.completed)
-        return Disposables.create()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Error.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Error.swift
deleted file mode 100644
index c76068f0208..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Error.swift
+++ /dev/null
@@ -1,33 +0,0 @@
-//
-//  Error.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 8/30/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Returns an observable sequence that terminates with an `error`.
-
-     - seealso: [throw operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html)
-
-     - returns: The observable sequence that terminates with specified error.
-     */
-    public static func error(_ error: Swift.Error) -> Observable<E> {
-        return ErrorProducer(error: error)
-    }
-}
-
-final fileprivate class ErrorProducer<Element> : Producer<Element> {
-    private let _error: Swift.Error
-    
-    init(error: Swift.Error) {
-        _error = error
-    }
-    
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        observer.on(.error(_error))
-        return Disposables.create()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Filter.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Filter.swift
deleted file mode 100644
index 8cf8c0d55cb..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Filter.swift
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-//  Filter.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/17/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Filters the elements of an observable sequence based on a predicate.
-
-     - seealso: [filter operator on reactivex.io](http://reactivex.io/documentation/operators/filter.html)
-
-     - parameter predicate: A function to test each source element for a condition.
-     - returns: An observable sequence that contains elements from the input sequence that satisfy the condition.
-     */
-    public func filter(_ predicate: @escaping (E) throws -> Bool)
-        -> Observable<E> {
-        return Filter(source: asObservable(), predicate: predicate)
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Skips elements and completes (or errors) when the receiver completes (or errors). Equivalent to filter that always returns false.
-
-     - seealso: [ignoreElements operator on reactivex.io](http://reactivex.io/documentation/operators/ignoreelements.html)
-
-     - returns: An observable sequence that skips all elements of the source sequence.
-     */
-    public func ignoreElements()
-        -> Observable<E> {
-            return filter { _ -> Bool in
-                return false
-            }
-    }
-}
-
-final fileprivate class FilterSink<O : ObserverType>: Sink<O>, ObserverType {
-    typealias Predicate = (Element) throws -> Bool
-    typealias Element = O.E
-    
-    private let _predicate: Predicate
-    
-    init(predicate: @escaping Predicate, observer: O, cancel: Cancelable) {
-        _predicate = predicate
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        switch event {
-            case .next(let value):
-                do {
-                    let satisfies = try _predicate(value)
-                    if satisfies {
-                        forwardOn(.next(value))
-                    }
-                }
-                catch let e {
-                    forwardOn(.error(e))
-                    dispose()
-                }
-            case .completed, .error:
-                forwardOn(event)
-                dispose()
-        }
-    }
-}
-
-final fileprivate class Filter<Element> : Producer<Element> {
-    typealias Predicate = (Element) throws -> Bool
-    
-    private let _source: Observable<Element>
-    private let _predicate: Predicate
-    
-    init(source: Observable<Element>, predicate: @escaping Predicate) {
-        _source = source
-        _predicate = predicate
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = FilterSink(predicate: _predicate, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Generate.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Generate.swift
deleted file mode 100644
index db5b648826b..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Generate.swift
+++ /dev/null
@@ -1,87 +0,0 @@
-//
-//  Generate.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 9/2/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Generates an observable sequence by running a state-driven loop producing the sequence's elements, using the specified scheduler
-     to run the loop send out observer messages.
-
-     - seealso: [create operator on reactivex.io](http://reactivex.io/documentation/operators/create.html)
-
-     - parameter initialState: Initial state.
-     - parameter condition: Condition to terminate generation (upon returning `false`).
-     - parameter iterate: Iteration step function.
-     - parameter scheduler: Scheduler on which to run the generator loop.
-     - returns: The generated sequence.
-     */
-    public static func generate(initialState: E, condition: @escaping (E) throws -> Bool, scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance, iterate: @escaping (E) throws -> E) -> Observable<E> {
-        return Generate(initialState: initialState, condition: condition, iterate: iterate, resultSelector: { $0 }, scheduler: scheduler)
-    }
-}
-
-final fileprivate class GenerateSink<S, O: ObserverType> : Sink<O> {
-    typealias Parent = Generate<S, O.E>
-    
-    private let _parent: Parent
-    
-    private var _state: S
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _state = parent._initialState
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        return _parent._scheduler.scheduleRecursive(true) { (isFirst, recurse) -> Void in
-            do {
-                if !isFirst {
-                    self._state = try self._parent._iterate(self._state)
-                }
-                
-                if try self._parent._condition(self._state) {
-                    let result = try self._parent._resultSelector(self._state)
-                    self.forwardOn(.next(result))
-                    
-                    recurse(false)
-                }
-                else {
-                    self.forwardOn(.completed)
-                    self.dispose()
-                }
-            }
-            catch let error {
-                self.forwardOn(.error(error))
-                self.dispose()
-            }
-        }
-    }
-}
-
-final fileprivate class Generate<S, E> : Producer<E> {
-    fileprivate let _initialState: S
-    fileprivate let _condition: (S) throws -> Bool
-    fileprivate let _iterate: (S) throws -> S
-    fileprivate let _resultSelector: (S) throws -> E
-    fileprivate let _scheduler: ImmediateSchedulerType
-    
-    init(initialState: S, condition: @escaping (S) throws -> Bool, iterate: @escaping (S) throws -> S, resultSelector: @escaping (S) throws -> E, scheduler: ImmediateSchedulerType) {
-        _initialState = initialState
-        _condition = condition
-        _iterate = iterate
-        _resultSelector = resultSelector
-        _scheduler = scheduler
-        super.init()
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = GenerateSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/GroupBy.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/GroupBy.swift
deleted file mode 100644
index a8a0e78afd0..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/GroupBy.swift
+++ /dev/null
@@ -1,134 +0,0 @@
-//
-//  GroupBy.swift
-//  RxSwift
-//
-//  Created by Tomi Koskinen on 01/12/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-    /*
-     Groups the elements of an observable sequence according to a specified key selector function.
-
-     - seealso: [groupBy operator on reactivex.io](http://reactivex.io/documentation/operators/groupby.html)
-
-     - parameter keySelector: A function to extract the key for each element.
-     - returns: A sequence of observable groups, each of which corresponds to a unique key value, containing all elements that share that same key value.
-     */
-    public func groupBy<K: Hashable>(keySelector: @escaping (E) throws -> K)
-        -> Observable<GroupedObservable<K,E>> {
-        return GroupBy(source: self.asObservable(), selector: keySelector)
-    }
-}
-
-final fileprivate class GroupedObservableImpl<Key, Element> : Observable<Element> {
-    private var _subject: PublishSubject<Element>
-    private var _refCount: RefCountDisposable
-    
-    init(key: Key, subject: PublishSubject<Element>, refCount: RefCountDisposable) {
-        _subject = subject
-        _refCount = refCount
-    }
-
-    override public func subscribe<O: ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        let release = _refCount.retain()
-        let subscription = _subject.subscribe(observer)
-        return Disposables.create(release, subscription)
-    }
-}
-
-
-final fileprivate class GroupBySink<Key: Hashable, Element, O: ObserverType>
-    : Sink<O>
-    , ObserverType where O.E == GroupedObservable<Key, Element> {
-    typealias E = Element
-    typealias ResultType = O.E
-    typealias Parent = GroupBy<Key, Element>
-
-    private let _parent: Parent
-    private let _subscription = SingleAssignmentDisposable()
-    private var _refCountDisposable: RefCountDisposable!
-    private var _groupedSubjectTable: [Key: PublishSubject<Element>]
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _groupedSubjectTable = [Key: PublishSubject<Element>]()
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        _refCountDisposable = RefCountDisposable(disposable: _subscription)
-        
-        _subscription.setDisposable(_parent._source.subscribe(self))
-        
-        return _refCountDisposable
-    }
-    
-    private func onGroupEvent(key: Key, value: Element) {
-        if let writer = _groupedSubjectTable[key] {
-            writer.on(.next(value))
-        } else {
-            let writer = PublishSubject<Element>()
-            _groupedSubjectTable[key] = writer
-            
-            let group = GroupedObservable(
-                key: key,
-                source: GroupedObservableImpl(key: key, subject: writer, refCount: _refCountDisposable)
-            )
-            
-            forwardOn(.next(group))
-            writer.on(.next(value))
-        }
-    }
-
-    final func on(_ event: Event<Element>) {
-        switch event {
-        case let .next(value):
-            do {
-                let groupKey = try _parent._selector(value)
-                onGroupEvent(key: groupKey, value: value)
-            }
-            catch let e {
-                error(e)
-                return
-            }
-        case let .error(e):
-            error(e)
-        case .completed:
-            forwardOnGroups(event: .completed)
-            forwardOn(.completed)
-            _subscription.dispose()
-            dispose()
-        }
-    }
-
-    final func error(_ error: Swift.Error) {
-        forwardOnGroups(event: .error(error))
-        forwardOn(.error(error))
-        _subscription.dispose()
-        dispose()
-    }
-    
-    final func forwardOnGroups(event: Event<Element>) {
-        for writer in _groupedSubjectTable.values {
-            writer.on(event)
-        }
-    }
-}
-
-final fileprivate class GroupBy<Key: Hashable, Element>: Producer<GroupedObservable<Key,Element>> {
-    typealias KeySelector = (Element) throws -> Key
-
-    fileprivate let _source: Observable<Element>
-    fileprivate let _selector: KeySelector
-    
-    init(source: Observable<Element>, selector: @escaping KeySelector) {
-        _source = source
-        _selector = selector
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == GroupedObservable<Key,Element> {
-        let sink = GroupBySink(parent: self, observer: observer, cancel: cancel)
-        return (sink: sink, subscription: sink.run())
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Just.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Just.swift
deleted file mode 100644
index 3beb04b9179..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Just.swift
+++ /dev/null
@@ -1,87 +0,0 @@
-//
-//  Just.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 8/30/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Returns an observable sequence that contains a single element.
-
-     - seealso: [just operator on reactivex.io](http://reactivex.io/documentation/operators/just.html)
-
-     - parameter element: Single element in the resulting observable sequence.
-     - returns: An observable sequence containing the single specified element.
-     */
-    public static func just(_ element: E) -> Observable<E> {
-        return Just(element: element)
-    }
-
-    /**
-     Returns an observable sequence that contains a single element.
-
-     - seealso: [just operator on reactivex.io](http://reactivex.io/documentation/operators/just.html)
-
-     - parameter element: Single element in the resulting observable sequence.
-     - parameter: Scheduler to send the single element on.
-     - returns: An observable sequence containing the single specified element.
-     */
-    public static func just(_ element: E, scheduler: ImmediateSchedulerType) -> Observable<E> {
-        return JustScheduled(element: element, scheduler: scheduler)
-    }
-}
-
-final fileprivate class JustScheduledSink<O: ObserverType> : Sink<O> {
-    typealias Parent = JustScheduled<O.E>
-
-    private let _parent: Parent
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let scheduler = _parent._scheduler
-        return scheduler.schedule(_parent._element) { element in
-            self.forwardOn(.next(element))
-            return scheduler.schedule(()) { _ in
-                self.forwardOn(.completed)
-                self.dispose()
-                return Disposables.create()
-            }
-        }
-    }
-}
-
-final fileprivate class JustScheduled<Element> : Producer<Element> {
-    fileprivate let _scheduler: ImmediateSchedulerType
-    fileprivate let _element: Element
-
-    init(element: Element, scheduler: ImmediateSchedulerType) {
-        _scheduler = scheduler
-        _element = element
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = JustScheduledSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class Just<Element> : Producer<Element> {
-    private let _element: Element
-    
-    init(element: Element) {
-        _element = element
-    }
-    
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        observer.on(.next(_element))
-        observer.on(.completed)
-        return Disposables.create()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Map.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Map.swift
deleted file mode 100644
index d743c26cdf3..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Map.swift
+++ /dev/null
@@ -1,177 +0,0 @@
-//
-//  Map.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/15/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Projects each element of an observable sequence into a new form.
-
-     - seealso: [map operator on reactivex.io](http://reactivex.io/documentation/operators/map.html)
-
-     - parameter transform: A transform function to apply to each source element.
-     - returns: An observable sequence whose elements are the result of invoking the transform function on each element of source.
-
-     */
-    public func map<R>(_ transform: @escaping (E) throws -> R)
-        -> Observable<R> {
-        return self.asObservable().composeMap(transform)
-    }
-
-    /**
-     Projects each element of an observable sequence into a new form by incorporating the element's index.
-
-     - seealso: [map operator on reactivex.io](http://reactivex.io/documentation/operators/map.html)
-
-     - parameter selector: A transform function to apply to each source element; the second parameter of the function represents the index of the source element.
-     - returns: An observable sequence whose elements are the result of invoking the transform function on each element of source.
-     */
-    public func mapWithIndex<R>(_ selector: @escaping (E, Int) throws -> R)
-        -> Observable<R> {
-        return MapWithIndex(source: asObservable(), selector: selector)
-    }
-}
-
-final fileprivate class MapSink<SourceType, O : ObserverType> : Sink<O>, ObserverType {
-    typealias Transform = (SourceType) throws -> ResultType
-
-    typealias ResultType = O.E
-    typealias Element = SourceType
-
-    private let _transform: Transform
-    
-    init(transform: @escaping Transform, observer: O, cancel: Cancelable) {
-        _transform = transform
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func on(_ event: Event<SourceType>) {
-        switch event {
-        case .next(let element):
-            do {
-                let mappedElement = try _transform(element)
-                forwardOn(.next(mappedElement))
-            }
-            catch let e {
-                forwardOn(.error(e))
-                dispose()
-            }
-        case .error(let error):
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class MapWithIndexSink<SourceType, O : ObserverType> : Sink<O>, ObserverType {
-    typealias Selector = (SourceType, Int) throws -> ResultType
-
-    typealias ResultType = O.E
-    typealias Element = SourceType
-    typealias Parent = MapWithIndex<SourceType, ResultType>
-    
-    private let _selector: Selector
-
-    private var _index = 0
-
-    init(selector: @escaping Selector, observer: O, cancel: Cancelable) {
-        _selector = selector
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func on(_ event: Event<SourceType>) {
-        switch event {
-        case .next(let element):
-            do {
-                let mappedElement = try _selector(element, try incrementChecked(&_index))
-                forwardOn(.next(mappedElement))
-            }
-            catch let e {
-                forwardOn(.error(e))
-                dispose()
-            }
-        case .error(let error):
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class MapWithIndex<SourceType, ResultType> : Producer<ResultType> {
-    typealias Selector = (SourceType, Int) throws -> ResultType
-
-    private let _source: Observable<SourceType>
-
-    private let _selector: Selector
-
-    init(source: Observable<SourceType>, selector: @escaping Selector) {
-        _source = source
-        _selector = selector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == ResultType {
-        let sink = MapWithIndexSink(selector: _selector, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-#if TRACE_RESOURCES
-    fileprivate var _numberOfMapOperators: AtomicInt = 0
-    extension Resources {
-        public static var numberOfMapOperators: Int32 {
-            return _numberOfMapOperators.valueSnapshot()
-        }
-    }
-#endif
-
-internal func _map<Element, R>(source: Observable<Element>, transform: @escaping (Element) throws -> R) -> Observable<R> {
-    return Map(source: source, transform: transform)
-}
-
-final fileprivate class Map<SourceType, ResultType>: Producer<ResultType> {
-    typealias Transform = (SourceType) throws -> ResultType
-
-    private let _source: Observable<SourceType>
-
-    private let _transform: Transform
-
-    init(source: Observable<SourceType>, transform: @escaping Transform) {
-        _source = source
-        _transform = transform
-
-#if TRACE_RESOURCES
-        let _ = AtomicIncrement(&_numberOfMapOperators)
-#endif
-    }
-
-    override func composeMap<R>(_ selector: @escaping (ResultType) throws -> R) -> Observable<R> {
-        let originalSelector = _transform
-        return Map<SourceType, R>(source: _source, transform: { (s: SourceType) throws -> R in
-            let r: ResultType = try originalSelector(s)
-            return try selector(r)
-        })
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == ResultType {
-        let sink = MapSink(transform: _transform, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-
-    #if TRACE_RESOURCES
-    deinit {
-        let _ = AtomicDecrement(&_numberOfMapOperators)
-    }
-    #endif
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Materialize.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Materialize.swift
deleted file mode 100644
index cf19b6da9b4..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Materialize.swift
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-//  Materialize.swift
-//  RxSwift
-//
-//  Created by sergdort on 08/03/2017.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-    /**
-     Convert any Observable into an Observable of its events.
-     - seealso: [materialize operator on reactivex.io](http://reactivex.io/documentation/operators/materialize-dematerialize.html)
-     - returns: An observable sequence that wraps events in an Event<E>. The returned Observable never errors, but it does complete after observing all of the events of the underlying Observable.
-     */
-    public func materialize() -> Observable<Event<E>> {
-        return Materialize(source: self.asObservable())
-    }
-}
-
-fileprivate final class MaterializeSink<Element, O: ObserverType>: Sink<O>, ObserverType where O.E == Event<Element> {
-    
-    func on(_ event: Event<Element>) {
-        forwardOn(.next(event))
-        if event.isStopEvent {
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class Materialize<Element>: Producer<Event<Element>> {
-    private let _source: Observable<Element>
-    
-    init(source: Observable<Element>) {
-        _source = source
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = MaterializeSink(observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Merge.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Merge.swift
deleted file mode 100644
index 317babc7e3f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Merge.swift
+++ /dev/null
@@ -1,648 +0,0 @@
-//
-//  Merge.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/28/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Projects each element of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence.
-
-     - seealso: [flatMap operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html)
-
-     - parameter selector: A transform function to apply to each element.
-     - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
-     */
-    public func flatMap<O: ObservableConvertibleType>(_ selector: @escaping (E) throws -> O)
-        -> Observable<O.E> {
-            return FlatMap(source: asObservable(), selector: selector)
-    }
-
-    /**
-     Projects each element of an observable sequence to an observable sequence by incorporating the element's index and merges the resulting observable sequences into one observable sequence.
-
-     - seealso: [flatMap operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html)
-
-     - parameter selector: A transform function to apply to each element; the second parameter of the function represents the index of the source element.
-     - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
-     */
-    public func flatMapWithIndex<O: ObservableConvertibleType>(_ selector: @escaping (E, Int) throws -> O)
-        -> Observable<O.E> {
-            return FlatMapWithIndex(source: asObservable(), selector: selector)
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Projects each element of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence.
-     If element is received while there is some projected observable sequence being merged it will simply be ignored.
-
-     - seealso: [flatMapFirst operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html)
-
-     - parameter selector: A transform function to apply to element that was observed while no observable is executing in parallel.
-     - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence that was received while no other sequence was being calculated.
-     */
-    public func flatMapFirst<O: ObservableConvertibleType>(_ selector: @escaping (E) throws -> O)
-        -> Observable<O.E> {
-            return FlatMapFirst(source: asObservable(), selector: selector)
-    }
-}
-
-extension ObservableType where E : ObservableConvertibleType {
-
-    /**
-     Merges elements from all observable sequences in the given enumerable sequence into a single observable sequence.
-
-     - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html)
-
-     - returns: The observable sequence that merges the elements of the observable sequences.
-     */
-    public func merge() -> Observable<E.E> {
-        return Merge(source: asObservable())
-    }
-
-    /**
-     Merges elements from all inner observable sequences into a single observable sequence, limiting the number of concurrent subscriptions to inner sequences.
-
-     - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html)
-
-     - parameter maxConcurrent: Maximum number of inner observable sequences being subscribed to concurrently.
-     - returns: The observable sequence that merges the elements of the inner sequences.
-     */
-    public func merge(maxConcurrent: Int)
-        -> Observable<E.E> {
-        return MergeLimited(source: asObservable(), maxConcurrent: maxConcurrent)
-    }
-}
-
-extension ObservableType where E : ObservableConvertibleType {
-
-    /**
-     Concatenates all inner observable sequences, as long as the previous observable sequence terminated successfully.
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - returns: An observable sequence that contains the elements of each observed inner sequence, in sequential order.
-     */
-    public func concat() -> Observable<E.E> {
-        return merge(maxConcurrent: 1)
-    }
-}
-
-extension Observable {
-    /**
-     Merges elements from all observable sequences from collection into a single observable sequence.
-
-     - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html)
-
-     - parameter sources: Collection of observable sequences to merge.
-     - returns: The observable sequence that merges the elements of the observable sequences.
-     */
-    public static func merge<C: Collection>(_ sources: C) -> Observable<E> where C.Iterator.Element == Observable<E> {
-        return MergeArray(sources: Array(sources))
-    }
-
-    /**
-     Merges elements from all observable sequences from array into a single observable sequence.
-
-     - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html)
-
-     - parameter sources: Array of observable sequences to merge.
-     - returns: The observable sequence that merges the elements of the observable sequences.
-     */
-    public static func merge(_ sources: [Observable<E>]) -> Observable<E> {
-        return MergeArray(sources: sources)
-    }
-
-    /**
-     Merges elements from all observable sequences into a single observable sequence.
-
-     - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html)
-
-     - parameter sources: Collection of observable sequences to merge.
-     - returns: The observable sequence that merges the elements of the observable sequences.
-     */
-    public static func merge(_ sources: Observable<E>...) -> Observable<E> {
-        return MergeArray(sources: sources)
-    }
-}
-
-// MARK: concatMap
-
-extension ObservableType {
-    /**
-     Projects each element of an observable sequence to an observable sequence and concatenates the resulting observable sequences into one observable sequence.
-     
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-     
-     - returns: An observable sequence that contains the elements of each observed inner sequence, in sequential order.
-     */
-    
-    public func concatMap<O: ObservableConvertibleType>(_ selector: @escaping (E) throws -> O)
-        -> Observable<O.E> {
-            return ConcatMap(source: asObservable(), selector: selector)
-    }
-}
-
-fileprivate final class MergeLimitedSinkIter<SourceElement, SourceSequence: ObservableConvertibleType, Observer: ObserverType>
-    : ObserverType
-    , LockOwnerType
-    , SynchronizedOnType where SourceSequence.E == Observer.E {
-    typealias E = Observer.E
-    typealias DisposeKey = CompositeDisposable.DisposeKey
-    typealias Parent = MergeLimitedSink<SourceElement, SourceSequence, Observer>
-    
-    private let _parent: Parent
-    private let _disposeKey: DisposeKey
-
-    var _lock: RecursiveLock {
-        return _parent._lock
-    }
-    
-    init(parent: Parent, disposeKey: DisposeKey) {
-        _parent = parent
-        _disposeKey = disposeKey
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            _parent.forwardOn(event)
-        case .error:
-            _parent.forwardOn(event)
-            _parent.dispose()
-        case .completed:
-            _parent._group.remove(for: _disposeKey)
-            if let next = _parent._queue.dequeue() {
-                _parent.subscribe(next, group: _parent._group)
-            }
-            else {
-                _parent._activeCount = _parent._activeCount - 1
-                
-                if _parent._stopped && _parent._activeCount == 0 {
-                    _parent.forwardOn(.completed)
-                    _parent.dispose()
-                }
-            }
-        }
-    }
-}
-
-fileprivate final class ConcatMapSink<SourceElement, SourceSequence: ObservableConvertibleType, Observer: ObserverType>: MergeLimitedSink<SourceElement, SourceSequence, Observer> where Observer.E == SourceSequence.E {
-    typealias Selector = (SourceElement) throws -> SourceSequence
-    
-    private let _selector: Selector
-    
-    init(selector: @escaping Selector, observer: Observer, cancel: Cancelable) {
-        _selector = selector
-        super.init(maxConcurrent: 1, observer: observer, cancel: cancel)
-    }
-    
-    override func performMap(_ element: SourceElement) throws -> SourceSequence {
-        return try _selector(element)
-    }
-}
-
-fileprivate final class MergeLimitedBasicSink<SourceSequence: ObservableConvertibleType, Observer: ObserverType>: MergeLimitedSink<SourceSequence, SourceSequence, Observer> where Observer.E == SourceSequence.E {
-    
-    override func performMap(_ element: SourceSequence) throws -> SourceSequence {
-        return element
-    }
-}
-
-fileprivate class MergeLimitedSink<SourceElement, SourceSequence: ObservableConvertibleType, Observer: ObserverType>
-    : Sink<Observer>
-    , ObserverType where Observer.E == SourceSequence.E  {
-    typealias QueueType = Queue<SourceSequence>
-
-    let _maxConcurrent: Int
-
-    let _lock = RecursiveLock()
-
-    // state
-    var _stopped = false
-    var _activeCount = 0
-    var _queue = QueueType(capacity: 2)
-    
-    let _sourceSubscription = SingleAssignmentDisposable()
-    let _group = CompositeDisposable()
-    
-    init(maxConcurrent: Int, observer: Observer, cancel: Cancelable) {
-        _maxConcurrent = maxConcurrent
-        
-        let _ = _group.insert(_sourceSubscription)
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run(_ source: Observable<SourceElement>) -> Disposable {
-        let _ = _group.insert(_sourceSubscription)
-        
-        let disposable = source.subscribe(self)
-        _sourceSubscription.setDisposable(disposable)
-        return _group
-    }
-    
-    func subscribe(_ innerSource: SourceSequence, group: CompositeDisposable) {
-        let subscription = SingleAssignmentDisposable()
-        
-        let key = group.insert(subscription)
-        
-        if let key = key {
-            let observer = MergeLimitedSinkIter(parent: self, disposeKey: key)
-            
-            let disposable = innerSource.asObservable().subscribe(observer)
-            subscription.setDisposable(disposable)
-        }
-    }
-    
-    func performMap(_ element: SourceElement) throws -> SourceSequence {
-        rxAbstractMethod()
-    }
-
-    @inline(__always)
-    final private func nextElementArrived(element: SourceElement) -> SourceSequence? {
-        _lock.lock(); defer { _lock.unlock() } // {
-            let subscribe: Bool
-            if _activeCount < _maxConcurrent {
-                _activeCount += 1
-                subscribe = true
-            }
-            else {
-                do {
-                    let value = try performMap(element)
-                    _queue.enqueue(value)
-                } catch {
-                    forwardOn(.error(error))
-                    dispose()
-                }
-                subscribe = false
-            }
-
-            if subscribe {
-                do {
-                    return try performMap(element)
-                } catch {
-                    forwardOn(.error(error))
-                    dispose()
-                }
-            }
-
-            return nil
-        // }
-    }
-
-    func on(_ event: Event<SourceElement>) {
-        switch event {
-        case .next(let element):
-            if let sequence = self.nextElementArrived(element: element) {
-                self.subscribe(sequence, group: _group)
-            }
-        case .error(let error):
-            _lock.lock(); defer { _lock.unlock() }
-
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            _lock.lock(); defer { _lock.unlock() }
-
-            if _activeCount == 0 {
-                forwardOn(.completed)
-                dispose()
-            }
-            else {
-                _sourceSubscription.dispose()
-            }
-
-            _stopped = true
-        }
-    }
-}
-
-final fileprivate class MergeLimited<SourceSequence: ObservableConvertibleType> : Producer<SourceSequence.E> {
-    private let _source: Observable<SourceSequence>
-    private let _maxConcurrent: Int
-    
-    init(source: Observable<SourceSequence>, maxConcurrent: Int) {
-        _source = source
-        _maxConcurrent = maxConcurrent
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E {
-        let sink = MergeLimitedBasicSink<SourceSequence, O>(maxConcurrent: _maxConcurrent, observer: observer, cancel: cancel)
-        let subscription = sink.run(_source)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-// MARK: Merge
-
-fileprivate final class MergeBasicSink<S: ObservableConvertibleType, O: ObserverType> : MergeSink<S, S, O> where O.E == S.E {
-    override func performMap(_ element: S) throws -> S {
-        return element
-    }
-}
-
-// MARK: flatMap
-
-fileprivate final class FlatMapSink<SourceElement, SourceSequence: ObservableConvertibleType, Observer: ObserverType> : MergeSink<SourceElement, SourceSequence, Observer> where Observer.E == SourceSequence.E {
-    typealias Selector = (SourceElement) throws -> SourceSequence
-
-    private let _selector: Selector
-
-    init(selector: @escaping Selector, observer: Observer, cancel: Cancelable) {
-        _selector = selector
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    override func performMap(_ element: SourceElement) throws -> SourceSequence {
-        return try _selector(element)
-    }
-}
-
-fileprivate final class FlatMapWithIndexSink<SourceElement, SourceSequence: ObservableConvertibleType, Observer: ObserverType> : MergeSink<SourceElement, SourceSequence, Observer> where Observer.E == SourceSequence.E {
-    typealias Selector = (SourceElement, Int) throws -> SourceSequence
-
-    private var _index = 0
-    private let _selector: Selector
-
-    init(selector: @escaping Selector, observer: Observer, cancel: Cancelable) {
-        _selector = selector
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    override func performMap(_ element: SourceElement) throws -> SourceSequence {
-        return try _selector(element, try incrementChecked(&_index))
-    }
-}
-
-// MARK: FlatMapFirst
-
-fileprivate final class FlatMapFirstSink<SourceElement, SourceSequence: ObservableConvertibleType, Observer: ObserverType> : MergeSink<SourceElement, SourceSequence, Observer> where Observer.E == SourceSequence.E {
-    typealias Selector = (SourceElement) throws -> SourceSequence
-
-    private let _selector: Selector
-
-    override var subscribeNext: Bool {
-        return _activeCount == 0
-    }
-
-    init(selector: @escaping Selector, observer: Observer, cancel: Cancelable) {
-        _selector = selector
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    override func performMap(_ element: SourceElement) throws -> SourceSequence {
-        return try _selector(element)
-    }
-}
-
-fileprivate final class MergeSinkIter<SourceElement, SourceSequence: ObservableConvertibleType, Observer: ObserverType> : ObserverType where Observer.E == SourceSequence.E {
-    typealias Parent = MergeSink<SourceElement, SourceSequence, Observer>
-    typealias DisposeKey = CompositeDisposable.DisposeKey
-    typealias E = Observer.E
-    
-    private let _parent: Parent
-    private let _disposeKey: DisposeKey
-
-    init(parent: Parent, disposeKey: DisposeKey) {
-        _parent = parent
-        _disposeKey = disposeKey
-    }
-    
-    func on(_ event: Event<E>) {
-        _parent._lock.lock(); defer { _parent._lock.unlock() } // lock {
-            switch event {
-            case .next(let value):
-                _parent.forwardOn(.next(value))
-            case .error(let error):
-                _parent.forwardOn(.error(error))
-                _parent.dispose()
-            case .completed:
-                _parent._group.remove(for: _disposeKey)
-                _parent._activeCount -= 1
-                _parent.checkCompleted()
-            }
-        // }
-    }
-}
-
-
-fileprivate class MergeSink<SourceElement, SourceSequence: ObservableConvertibleType, Observer: ObserverType>
-    : Sink<Observer>
-    , ObserverType where Observer.E == SourceSequence.E {
-    typealias ResultType = Observer.E
-    typealias Element = SourceElement
-
-    let _lock = RecursiveLock()
-
-    var subscribeNext: Bool {
-        return true
-    }
-
-    // state
-    let _group = CompositeDisposable()
-    let _sourceSubscription = SingleAssignmentDisposable()
-
-    var _activeCount = 0
-    var _stopped = false
-
-    override init(observer: Observer, cancel: Cancelable) {
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func performMap(_ element: SourceElement) throws -> SourceSequence {
-        rxAbstractMethod()
-    }
-
-    @inline(__always)
-    final private func nextElementArrived(element: SourceElement) -> SourceSequence? {
-        _lock.lock(); defer { _lock.unlock() } // {
-            if !subscribeNext {
-                return nil
-            }
-
-            do {
-                let value = try performMap(element)
-                _activeCount += 1
-                return value
-            }
-            catch let e {
-                forwardOn(.error(e))
-                dispose()
-                return nil
-            }
-        // }
-    }
-    
-    func on(_ event: Event<SourceElement>) {
-        switch event {
-        case .next(let element):
-            if let value = nextElementArrived(element: element) {
-                subscribeInner(value.asObservable())
-            }
-        case .error(let error):
-            _lock.lock(); defer { _lock.unlock() }
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            _lock.lock(); defer { _lock.unlock() }
-            _stopped = true
-            _sourceSubscription.dispose()
-            checkCompleted()
-        }
-    }
-
-    func subscribeInner(_ source: Observable<Observer.E>) {
-        let iterDisposable = SingleAssignmentDisposable()
-        if let disposeKey = _group.insert(iterDisposable) {
-            let iter = MergeSinkIter(parent: self, disposeKey: disposeKey)
-            let subscription = source.subscribe(iter)
-            iterDisposable.setDisposable(subscription)
-        }
-    }
-
-    func run(_ sources: [Observable<Observer.E>]) -> Disposable {
-        _activeCount += sources.count
-
-        for source in sources {
-            subscribeInner(source)
-        }
-
-        _stopped = true
-
-        checkCompleted()
-
-        return _group
-    }
-
-    @inline(__always)
-    func checkCompleted() {
-        if _stopped && _activeCount == 0 {
-            self.forwardOn(.completed)
-            self.dispose()
-        }
-    }
-    
-    func run(_ source: Observable<SourceElement>) -> Disposable {
-        let _ = _group.insert(_sourceSubscription)
-
-        let subscription = source.subscribe(self)
-        _sourceSubscription.setDisposable(subscription)
-        
-        return _group
-    }
-}
-
-// MARK: Producers
-
-final fileprivate class FlatMap<SourceElement, SourceSequence: ObservableConvertibleType>: Producer<SourceSequence.E> {
-    typealias Selector = (SourceElement) throws -> SourceSequence
-
-    private let _source: Observable<SourceElement>
-    
-    private let _selector: Selector
-
-    init(source: Observable<SourceElement>, selector: @escaping Selector) {
-        _source = source
-        _selector = selector
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E {
-        let sink = FlatMapSink(selector: _selector, observer: observer, cancel: cancel)
-        let subscription = sink.run(_source)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class FlatMapWithIndex<SourceElement, SourceSequence: ObservableConvertibleType>: Producer<SourceSequence.E> {
-    typealias Selector = (SourceElement, Int) throws -> SourceSequence
-
-    private let _source: Observable<SourceElement>
-    
-    private let _selector: Selector
-
-    init(source: Observable<SourceElement>, selector: @escaping Selector) {
-        _source = source
-        _selector = selector
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E {
-        let sink = FlatMapWithIndexSink<SourceElement, SourceSequence, O>(selector: _selector, observer: observer, cancel: cancel)
-        let subscription = sink.run(_source)
-        return (sink: sink, subscription: subscription)
-    }
-
-}
-
-final fileprivate class FlatMapFirst<SourceElement, SourceSequence: ObservableConvertibleType>: Producer<SourceSequence.E> {
-    typealias Selector = (SourceElement) throws -> SourceSequence
-
-    private let _source: Observable<SourceElement>
-
-    private let _selector: Selector
-
-    init(source: Observable<SourceElement>, selector: @escaping Selector) {
-        _source = source
-        _selector = selector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E {
-        let sink = FlatMapFirstSink<SourceElement, SourceSequence, O>(selector: _selector, observer: observer, cancel: cancel)
-        let subscription = sink.run(_source)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final class ConcatMap<SourceElement, SourceSequence: ObservableConvertibleType>: Producer<SourceSequence.E> {
-    typealias Selector = (SourceElement) throws -> SourceSequence
-    
-    private let _source: Observable<SourceElement>
-    private let _selector: Selector
-    
-    init(source: Observable<SourceElement>, selector: @escaping Selector) {
-        _source = source
-        _selector = selector
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E {
-        let sink = ConcatMapSink<SourceElement, SourceSequence, O>(selector: _selector, observer: observer, cancel: cancel)
-        let subscription = sink.run(_source)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final class Merge<SourceSequence: ObservableConvertibleType> : Producer<SourceSequence.E> {
-    private let _source: Observable<SourceSequence>
-
-    init(source: Observable<SourceSequence>) {
-        _source = source
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == SourceSequence.E {
-        let sink = MergeBasicSink<SourceSequence, O>(observer: observer, cancel: cancel)
-        let subscription = sink.run(_source)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class MergeArray<Element> : Producer<Element> {
-    private let _sources: [Observable<Element>]
-
-    init(sources: [Observable<Element>]) {
-        _sources = sources
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = MergeBasicSink<Observable<E>, O>(observer: observer, cancel: cancel)
-        let subscription = sink.run(_sources)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Multicast.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Multicast.swift
deleted file mode 100644
index 525f24eff31..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Multicast.swift
+++ /dev/null
@@ -1,424 +0,0 @@
-//
-//  Multicast.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/27/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/**
- Represents an observable wrapper that can be connected and disconnected from its underlying observable sequence.
- */
-public class ConnectableObservable<Element>
-    : Observable<Element>
-    , ConnectableObservableType {
-
-    /**
-     Connects the observable wrapper to its source. All subscribed observers will receive values from the underlying observable sequence as long as the connection is established.
-
-     - returns: Disposable used to disconnect the observable wrapper from its source, causing subscribed observer to stop receiving values from the underlying observable sequence.
-     */
-    public func connect() -> Disposable {
-        rxAbstractMethod()
-    }
-}
-
-extension ObservableType {
-    
-    /**
-    Multicasts the source sequence notifications through an instantiated subject into all uses of the sequence within a selector function. 
-    
-    Each subscription to the resulting sequence causes a separate multicast invocation, exposing the sequence resulting from the selector function's invocation.
-
-    For specializations with fixed subject types, see `publish` and `replay`.
-
-    - seealso: [multicast operator on reactivex.io](http://reactivex.io/documentation/operators/publish.html)
-    
-    - parameter subjectSelector: Factory function to create an intermediate subject through which the source sequence's elements will be multicast to the selector function.
-    - parameter selector: Selector function which can use the multicasted source sequence subject to the policies enforced by the created subject.
-    - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence within a selector function.
-    */
-    public func multicast<S: SubjectType, R>(_ subjectSelector: @escaping () throws -> S, selector: @escaping (Observable<S.E>) throws -> Observable<R>)
-        -> Observable<R> where S.SubjectObserverType.E == E {
-        return Multicast(
-            source: self.asObservable(),
-            subjectSelector: subjectSelector,
-            selector: selector
-        )
-    }
-}
-
-extension ObservableType {
-    
-    /**
-    Returns a connectable observable sequence that shares a single subscription to the underlying sequence. 
-    
-    This operator is a specialization of `multicast` using a `PublishSubject`.
-
-    - seealso: [publish operator on reactivex.io](http://reactivex.io/documentation/operators/publish.html)
-    
-    - returns: A connectable observable sequence that shares a single subscription to the underlying sequence.
-    */
-    public func publish() -> ConnectableObservable<E> {
-        return self.multicast(PublishSubject())
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Returns a connectable observable sequence that shares a single subscription to the underlying sequence replaying bufferSize elements.
-
-     This operator is a specialization of `multicast` using a `ReplaySubject`.
-
-     - seealso: [replay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html)
-
-     - parameter bufferSize: Maximum element count of the replay buffer.
-     - returns: A connectable observable sequence that shares a single subscription to the underlying sequence.
-     */
-    public func replay(_ bufferSize: Int)
-        -> ConnectableObservable<E> {
-        return self.multicast(ReplaySubject.create(bufferSize: bufferSize))
-    }
-
-    /**
-     Returns a connectable observable sequence that shares a single subscription to the underlying sequence replaying all elements.
-
-     This operator is a specialization of `multicast` using a `ReplaySubject`.
-
-     - seealso: [replay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html)
-
-     - returns: A connectable observable sequence that shares a single subscription to the underlying sequence.
-     */
-    public func replayAll()
-        -> ConnectableObservable<E> {
-        return self.multicast(ReplaySubject.createUnbounded())
-    }
-}
-
-extension ConnectableObservableType {
-    
-    /**
-    Returns an observable sequence that stays connected to the source as long as there is at least one subscription to the observable sequence.
-
-    - seealso: [refCount operator on reactivex.io](http://reactivex.io/documentation/operators/refCount.html)
-    
-    - returns: An observable sequence that stays connected to the source as long as there is at least one subscription to the observable sequence.
-    */
-    public func refCount() -> Observable<E> {
-        return RefCount(source: self)
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Returns an observable sequence that shares a single subscription to the underlying sequence.
-
-     This operator is a specialization of publish which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.
-
-     - seealso: [share operator on reactivex.io](http://reactivex.io/documentation/operators/refcount.html)
-
-     - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.
-     */
-    public func share() -> Observable<E> {
-        return self.publish().refCount()
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Multicasts the source sequence notifications through the specified subject to the resulting connectable observable.
-
-     Upon connection of the connectable observable, the subject is subscribed to the source exactly one, and messages are forwarded to the observers registered with the connectable observable.
-
-     For specializations with fixed subject types, see `publish` and `replay`.
-
-     - seealso: [multicast operator on reactivex.io](http://reactivex.io/documentation/operators/publish.html)
-
-     - parameter subject: Subject to push source elements into.
-     - returns: A connectable observable sequence that upon connection causes the source sequence to push results into the specified subject.
-     */
-    public func multicast<S: SubjectType>(_ subject: S)
-        -> ConnectableObservable<S.E> where S.SubjectObserverType.E == E {
-        return ConnectableObservableAdapter(source: self.asObservable(), makeSubject: { subject })
-    }
-
-    /**
-     Multicasts the source sequence notifications through an instantiated subject to the resulting connectable observable.
-
-     Upon connection of the connectable observable, the subject is subscribed to the source exactly one, and messages are forwarded to the observers registered with the connectable observable.
-     
-     Subject is cleared on connection disposal or in case source sequence produces terminal event.
-
-     - seealso: [multicast operator on reactivex.io](http://reactivex.io/documentation/operators/publish.html)
-
-     - parameter makeSubject: Factory function used to instantiate a subject for each connection.
-     - returns: A connectable observable sequence that upon connection causes the source sequence to push results into the specified subject.
-     */
-    public func multicast<S: SubjectType>(makeSubject: @escaping () -> S)
-        -> ConnectableObservable<S.E> where S.SubjectObserverType.E == E {
-        return ConnectableObservableAdapter(source: self.asObservable(), makeSubject: makeSubject)
-    }
-}
-
-final fileprivate class Connection<S: SubjectType> : ObserverType, Disposable {
-    typealias E = S.SubjectObserverType.E
-
-    private var _lock: RecursiveLock
-    // state
-    private var _parent: ConnectableObservableAdapter<S>?
-    private var _subscription : Disposable?
-    private var _subjectObserver: S.SubjectObserverType
-
-    private var _disposed: Bool = false
-
-    init(parent: ConnectableObservableAdapter<S>, subjectObserver: S.SubjectObserverType, lock: RecursiveLock, subscription: Disposable) {
-        _parent = parent
-        _subscription = subscription
-        _lock = lock
-        _subjectObserver = subjectObserver
-    }
-
-    func on(_ event: Event<S.SubjectObserverType.E>) {
-        if _disposed {
-            return
-        }
-        if event.isStopEvent {
-            self.dispose()
-        }
-        _subjectObserver.on(event)
-    }
-
-    func dispose() {
-        _lock.lock(); defer { _lock.unlock() } // {
-        _disposed = true
-        guard let parent = _parent else {
-            return
-        }
-
-        if parent._connection === self {
-            parent._connection = nil
-            parent._subject = nil
-        }
-        _parent = nil
-
-        _subscription?.dispose()
-        _subscription = nil
-        // }
-    }
-}
-
-final fileprivate class ConnectableObservableAdapter<S: SubjectType>
-    : ConnectableObservable<S.E> {
-    typealias ConnectionType = Connection<S>
-
-    fileprivate let _source: Observable<S.SubjectObserverType.E>
-    fileprivate let _makeSubject: () -> S
-
-    fileprivate let _lock = RecursiveLock()
-    fileprivate var _subject: S?
-
-    // state
-    fileprivate var _connection: ConnectionType?
-
-    init(source: Observable<S.SubjectObserverType.E>, makeSubject: @escaping () -> S) {
-        _source = source
-        _makeSubject = makeSubject
-        _subject = nil
-        _connection = nil
-    }
-
-    override func connect() -> Disposable {
-        return _lock.calculateLocked {
-            if let connection = _connection {
-                return connection
-            }
-
-            let singleAssignmentDisposable = SingleAssignmentDisposable()
-            let connection = Connection(parent: self, subjectObserver: self.lazySubject.asObserver(), lock: _lock, subscription: singleAssignmentDisposable)
-            _connection = connection
-            let subscription = _source.subscribe(connection)
-            singleAssignmentDisposable.setDisposable(subscription)
-            return connection
-        }
-    }
-
-    fileprivate var lazySubject: S {
-        if let subject = self._subject {
-            return subject
-        }
-
-        let subject = _makeSubject()
-        self._subject = subject
-        return subject
-    }
-
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == S.E {
-        return self.lazySubject.subscribe(observer)
-    }
-}
-
-final fileprivate class RefCountSink<CO: ConnectableObservableType, O: ObserverType>
-    : Sink<O>
-    , ObserverType where CO.E == O.E {
-    typealias Element = O.E
-    typealias Parent = RefCount<CO>
-
-    private let _parent: Parent
-
-    private var _connectionIdSnapshot: Int64 = -1
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        let subscription = _parent._source.subscribe(self)
-        _parent._lock.lock(); defer { _parent._lock.unlock() } // {
-
-        _connectionIdSnapshot = _parent._connectionId
-
-        if self.disposed {
-            return Disposables.create()
-        }
-
-        if _parent._count == 0 {
-            _parent._count = 1
-            _parent._connectableSubscription = _parent._source.connect()
-        }
-        else {
-            _parent._count = _parent._count + 1
-        }
-        // }
-
-        return Disposables.create {
-            subscription.dispose()
-            self._parent._lock.lock(); defer { self._parent._lock.unlock() } // {
-            if self._parent._connectionId != self._connectionIdSnapshot {
-                return
-            }
-            if self._parent._count == 1 {
-                self._parent._count = 0
-                guard let connectableSubscription = self._parent._connectableSubscription else {
-                    return
-                }
-
-                connectableSubscription.dispose()
-                self._parent._connectableSubscription = nil
-            }
-            else if self._parent._count > 1 {
-                self._parent._count = self._parent._count - 1
-            }
-            else {
-                rxFatalError("Something went wrong with RefCount disposing mechanism")
-            }
-            // }
-        }
-    }
-
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next:
-            forwardOn(event)
-        case .error, .completed:
-            _parent._lock.lock() // {
-                if _parent._connectionId == self._connectionIdSnapshot {
-                    let connection = _parent._connectableSubscription
-                    defer { connection?.dispose() }
-                    _parent._count = 0
-                    _parent._connectionId = _parent._connectionId &+ 1
-                    _parent._connectableSubscription = nil
-                }
-            // }
-            _parent._lock.unlock()
-            forwardOn(event)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class RefCount<CO: ConnectableObservableType>: Producer<CO.E> {
-    fileprivate let _lock = RecursiveLock()
-
-    // state
-    fileprivate var _count = 0
-    fileprivate var _connectionId: Int64 = 0
-    fileprivate var _connectableSubscription = nil as Disposable?
-
-    fileprivate let _source: CO
-
-    init(source: CO) {
-        _source = source
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == CO.E {
-        let sink = RefCountSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class MulticastSink<S: SubjectType, O: ObserverType>: Sink<O>, ObserverType {
-    typealias Element = O.E
-    typealias ResultType = Element
-    typealias MutlicastType = Multicast<S, O.E>
-    
-    private let _parent: MutlicastType
-    
-    init(parent: MutlicastType, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        do {
-            let subject = try _parent._subjectSelector()
-            let connectable = ConnectableObservableAdapter(source: _parent._source, makeSubject: { subject })
-            
-            let observable = try _parent._selector(connectable)
-            
-            let subscription = observable.subscribe(self)
-            let connection = connectable.connect()
-                
-            return Disposables.create(subscription, connection)
-        }
-        catch let e {
-            forwardOn(.error(e))
-            dispose()
-            return Disposables.create()
-        }
-    }
-    
-    func on(_ event: Event<ResultType>) {
-        forwardOn(event)
-        switch event {
-            case .next: break
-            case .error, .completed:
-                dispose()
-        }
-    }
-}
-
-final fileprivate class Multicast<S: SubjectType, R>: Producer<R> {
-    typealias SubjectSelectorType = () throws -> S
-    typealias SelectorType = (Observable<S.E>) throws -> Observable<R>
-    
-    fileprivate let _source: Observable<S.SubjectObserverType.E>
-    fileprivate let _subjectSelector: SubjectSelectorType
-    fileprivate let _selector: SelectorType
-    
-    init(source: Observable<S.SubjectObserverType.E>, subjectSelector: @escaping SubjectSelectorType, selector: @escaping SelectorType) {
-        _source = source
-        _subjectSelector = subjectSelector
-        _selector = selector
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = MulticastSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Never.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Never.swift
deleted file mode 100644
index 4cb9b87ba50..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Never.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-//  Never.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 8/30/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-
-    /**
-     Returns a non-terminating observable sequence, which can be used to denote an infinite duration.
-
-     - seealso: [never operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html)
-
-     - returns: An observable sequence whose observers will never get called.
-     */
-    public static func never() -> Observable<E> {
-        return NeverProducer()
-    }
-}
-
-final fileprivate class NeverProducer<Element> : Producer<Element> {
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        return Disposables.create()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift
deleted file mode 100644
index fd8ce3375b3..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ObserveOn.swift
+++ /dev/null
@@ -1,229 +0,0 @@
-//
-//  ObserveOn.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 7/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Wraps the source sequence in order to run its observer callbacks on the specified scheduler.
-
-     This only invokes observer callbacks on a `scheduler`. In case the subscription and/or unsubscription
-     actions have side-effects that require to be run on a scheduler, use `subscribeOn`.
-
-     - seealso: [observeOn operator on reactivex.io](http://reactivex.io/documentation/operators/observeon.html)
-
-     - parameter scheduler: Scheduler to notify observers on.
-     - returns: The source sequence whose observations happen on the specified scheduler.
-     */
-    public func observeOn(_ scheduler: ImmediateSchedulerType)
-        -> Observable<E> {
-            if let scheduler = scheduler as? SerialDispatchQueueScheduler {
-                return ObserveOnSerialDispatchQueue(source: self.asObservable(), scheduler: scheduler)
-            }
-            else {
-                return ObserveOn(source: self.asObservable(), scheduler: scheduler)
-            }
-    }
-}
-
-final fileprivate class ObserveOn<E> : Producer<E> {
-    let scheduler: ImmediateSchedulerType
-    let source: Observable<E>
-    
-    init(source: Observable<E>, scheduler: ImmediateSchedulerType) {
-        self.scheduler = scheduler
-        self.source = source
-        
-#if TRACE_RESOURCES
-        let _ = Resources.incrementTotal()
-#endif
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = ObserveOnSink(scheduler: scheduler, observer: observer, cancel: cancel)
-        let subscription = source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-    
-#if TRACE_RESOURCES
-    deinit {
-        let _ = Resources.decrementTotal()
-    }
-#endif
-}
-
-enum ObserveOnState : Int32 {
-    // pump is not running
-    case stopped = 0
-    // pump is running
-    case running = 1
-}
-
-final fileprivate class ObserveOnSink<O: ObserverType> : ObserverBase<O.E> {
-    typealias E = O.E
-    
-    let _scheduler: ImmediateSchedulerType
-
-    var _lock = SpinLock()
-    let _observer: O
-
-    // state
-    var _state = ObserveOnState.stopped
-    var _queue = Queue<Event<E>>(capacity: 10)
-
-    let _scheduleDisposable = SerialDisposable()
-    let _cancel: Cancelable
-
-    init(scheduler: ImmediateSchedulerType, observer: O, cancel: Cancelable) {
-        _scheduler = scheduler
-        _observer = observer
-        _cancel = cancel
-    }
-
-    override func onCore(_ event: Event<E>) {
-        let shouldStart = _lock.calculateLocked { () -> Bool in
-            self._queue.enqueue(event)
-            
-            switch self._state {
-            case .stopped:
-                self._state = .running
-                return true
-            case .running:
-                return false
-            }
-        }
-        
-        if shouldStart {
-            _scheduleDisposable.disposable = self._scheduler.scheduleRecursive((), action: self.run)
-        }
-    }
-    
-    func run(_ state: Void, recurse: (Void) -> Void) {
-        let (nextEvent, observer) = self._lock.calculateLocked { () -> (Event<E>?, O) in
-            if self._queue.count > 0 {
-                return (self._queue.dequeue(), self._observer)
-            }
-            else {
-                self._state = .stopped
-                return (nil, self._observer)
-            }
-        }
-        
-        if let nextEvent = nextEvent, !_cancel.isDisposed {
-            observer.on(nextEvent)
-            if nextEvent.isStopEvent {
-                dispose()
-            }
-        }
-        else {
-            return
-        }
-        
-        let shouldContinue = _shouldContinue_synchronized()
-        
-        if shouldContinue {
-            recurse()
-        }
-    }
-
-    func _shouldContinue_synchronized() -> Bool {
-        _lock.lock(); defer { _lock.unlock() } // {
-            if self._queue.count > 0 {
-                return true
-            }
-            else {
-                self._state = .stopped
-                return false
-            }
-        // }
-    }
-    
-    override func dispose() {
-        super.dispose()
-
-        _cancel.dispose()
-        _scheduleDisposable.dispose()
-    }
-}
-
-#if TRACE_RESOURCES
-    fileprivate var _numberOfSerialDispatchQueueObservables: AtomicInt = 0
-    extension Resources {
-        /**
-         Counts number of `SerialDispatchQueueObservables`.
-
-         Purposed for unit tests.
-         */
-        public static var numberOfSerialDispatchQueueObservables: Int32 {
-            return _numberOfSerialDispatchQueueObservables.valueSnapshot()
-        }
-    }
-#endif
-
-final fileprivate class ObserveOnSerialDispatchQueueSink<O: ObserverType> : ObserverBase<O.E> {
-    let scheduler: SerialDispatchQueueScheduler
-    let observer: O
-
-    let cancel: Cancelable
-
-    var cachedScheduleLambda: ((ObserveOnSerialDispatchQueueSink<O>, Event<E>) -> Disposable)!
-
-    init(scheduler: SerialDispatchQueueScheduler, observer: O, cancel: Cancelable) {
-        self.scheduler = scheduler
-        self.observer = observer
-        self.cancel = cancel
-        super.init()
-
-        cachedScheduleLambda = { sink, event in
-            sink.observer.on(event)
-
-            if event.isStopEvent {
-                sink.dispose()
-            }
-
-            return Disposables.create()
-        }
-    }
-
-    override func onCore(_ event: Event<E>) {
-        let _ = self.scheduler.schedule((self, event), action: cachedScheduleLambda)
-    }
-
-    override func dispose() {
-        super.dispose()
-
-        cancel.dispose()
-    }
-}
-
-final fileprivate class ObserveOnSerialDispatchQueue<E> : Producer<E> {
-    let scheduler: SerialDispatchQueueScheduler
-    let source: Observable<E>
-
-    init(source: Observable<E>, scheduler: SerialDispatchQueueScheduler) {
-        self.scheduler = scheduler
-        self.source = source
-
-        #if TRACE_RESOURCES
-            let _ = Resources.incrementTotal()
-            let _ = AtomicIncrement(&_numberOfSerialDispatchQueueObservables)
-        #endif
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = ObserveOnSerialDispatchQueueSink(scheduler: scheduler, observer: observer, cancel: cancel)
-        let subscription = source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-
-    #if TRACE_RESOURCES
-    deinit {
-        let _ = Resources.decrementTotal()
-        let _ = AtomicDecrement(&_numberOfSerialDispatchQueueObservables)
-    }
-    #endif
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Optional.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Optional.swift
deleted file mode 100644
index fa74c04be52..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Optional.swift
+++ /dev/null
@@ -1,95 +0,0 @@
-//
-//  Optional.swift
-//  RxSwift
-//
-//  Created by tarunon on 2016/12/13.
-//  Copyright © 2016 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Converts a optional to an observable sequence.
-
-     - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html)
-
-     - parameter optional: Optional element in the resulting observable sequence.
-     - returns: An observable sequence containing the wrapped value or not from given optional.
-     */
-    public static func from(optional: E?) -> Observable<E> {
-        return ObservableOptional(optional: optional)
-    }
-
-    /**
-     Converts a optional to an observable sequence.
-
-     - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html)
-
-     - parameter optional: Optional element in the resulting observable sequence.
-     - parameter: Scheduler to send the optional element on.
-     - returns: An observable sequence containing the wrapped value or not from given optional.
-     */
-    public static func from(optional: E?, scheduler: ImmediateSchedulerType) -> Observable<E> {
-        return ObservableOptionalScheduled(optional: optional, scheduler: scheduler)
-    }
-}
-
-final fileprivate class ObservableOptionalScheduledSink<O: ObserverType> : Sink<O> {
-    typealias E = O.E
-    typealias Parent = ObservableOptionalScheduled<E>
-
-    private let _parent: Parent
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        return _parent._scheduler.schedule(_parent._optional) { (optional: E?) -> Disposable in
-            if let next = optional {
-                self.forwardOn(.next(next))
-                return self._parent._scheduler.schedule(()) { _ in
-                    self.forwardOn(.completed)
-                    self.dispose()
-                    return Disposables.create()
-                }
-            } else {
-                self.forwardOn(.completed)
-                self.dispose()
-                return Disposables.create()
-            }
-        }
-    }
-}
-
-final fileprivate class ObservableOptionalScheduled<E> : Producer<E> {
-    fileprivate let _optional: E?
-    fileprivate let _scheduler: ImmediateSchedulerType
-
-    init(optional: E?, scheduler: ImmediateSchedulerType) {
-        _optional = optional
-        _scheduler = scheduler
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = ObservableOptionalScheduledSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class ObservableOptional<E>: Producer<E> {
-    private let _optional: E?
-    
-    init(optional: E?) {
-        _optional = optional
-    }
-    
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        if let element = _optional {
-            observer.on(.next(element))
-        }
-        observer.on(.completed)
-        return Disposables.create()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Producer.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Producer.swift
deleted file mode 100644
index 996b0110dc9..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Producer.swift
+++ /dev/null
@@ -1,98 +0,0 @@
-//
-//  Producer.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/20/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-class Producer<Element> : Observable<Element> {
-    override init() {
-        super.init()
-    }
-    
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        if !CurrentThreadScheduler.isScheduleRequired {
-            // The returned disposable needs to release all references once it was disposed.
-            let disposer = SinkDisposer()
-            let sinkAndSubscription = run(observer, cancel: disposer)
-            disposer.setSinkAndSubscription(sink: sinkAndSubscription.sink, subscription: sinkAndSubscription.subscription)
-
-            return disposer
-        }
-        else {
-            return CurrentThreadScheduler.instance.schedule(()) { _ in
-                let disposer = SinkDisposer()
-                let sinkAndSubscription = self.run(observer, cancel: disposer)
-                disposer.setSinkAndSubscription(sink: sinkAndSubscription.sink, subscription: sinkAndSubscription.subscription)
-
-                return disposer
-            }
-        }
-    }
-    
-    func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        rxAbstractMethod()
-    }
-}
-
-fileprivate final class SinkDisposer: Cancelable {
-    fileprivate enum DisposeState: UInt32 {
-        case disposed = 1
-        case sinkAndSubscriptionSet = 2
-    }
-
-    // Jeej, swift API consistency rules
-    fileprivate enum DisposeStateInt32: Int32 {
-        case disposed = 1
-        case sinkAndSubscriptionSet = 2
-    }
-    
-    private var _state: AtomicInt = 0
-    private var _sink: Disposable? = nil
-    private var _subscription: Disposable? = nil
-
-    var isDisposed: Bool {
-        return AtomicFlagSet(DisposeState.disposed.rawValue, &_state)
-    }
-
-    func setSinkAndSubscription(sink: Disposable, subscription: Disposable) {
-        _sink = sink
-        _subscription = subscription
-
-        let previousState = AtomicOr(DisposeState.sinkAndSubscriptionSet.rawValue, &_state)
-        if (previousState & DisposeStateInt32.sinkAndSubscriptionSet.rawValue) != 0 {
-            rxFatalError("Sink and subscription were already set")
-        }
-
-        if (previousState & DisposeStateInt32.disposed.rawValue) != 0 {
-            sink.dispose()
-            subscription.dispose()
-            _sink = nil
-            _subscription = nil
-        }
-    }
-    
-    func dispose() {
-        let previousState = AtomicOr(DisposeState.disposed.rawValue, &_state)
-
-        if (previousState & DisposeStateInt32.disposed.rawValue) != 0 {
-            return
-        }
-
-        if (previousState & DisposeStateInt32.sinkAndSubscriptionSet.rawValue) != 0 {
-            guard let sink = _sink else {
-                rxFatalError("Sink not set")
-            }
-            guard let subscription = _subscription else {
-                rxFatalError("Subscription not set")
-            }
-
-            sink.dispose()
-            subscription.dispose()
-
-            _sink = nil
-            _subscription = nil
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Range.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Range.swift
deleted file mode 100644
index 2ebaca2e91b..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Range.swift
+++ /dev/null
@@ -1,73 +0,0 @@
-//
-//  Range.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 9/13/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable where Element : SignedInteger {
-    /**
-     Generates an observable sequence of integral numbers within a specified range, using the specified scheduler to generate and send out observer messages.
-
-     - seealso: [range operator on reactivex.io](http://reactivex.io/documentation/operators/range.html)
-
-     - parameter start: The value of the first integer in the sequence.
-     - parameter count: The number of sequential integers to generate.
-     - parameter scheduler: Scheduler to run the generator loop on.
-     - returns: An observable sequence that contains a range of sequential integral numbers.
-     */
-    public static func range(start: E, count: E, scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable<E> {
-        return RangeProducer<E>(start: start, count: count, scheduler: scheduler)
-    }
-}
-
-final fileprivate class RangeProducer<E: SignedInteger> : Producer<E> {
-    fileprivate let _start: E
-    fileprivate let _count: E
-    fileprivate let _scheduler: ImmediateSchedulerType
-
-    init(start: E, count: E, scheduler: ImmediateSchedulerType) {
-        if count < 0 {
-            rxFatalError("count can't be negative")
-        }
-
-        if start &+ (count - 1) < start {
-            rxFatalError("overflow of count")
-        }
-
-        _start = start
-        _count = count
-        _scheduler = scheduler
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = RangeSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class RangeSink<O: ObserverType> : Sink<O> where O.E: SignedInteger {
-    typealias Parent = RangeProducer<O.E>
-    
-    private let _parent: Parent
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        return _parent._scheduler.scheduleRecursive(0 as O.E) { i, recurse in
-            if i < self._parent._count {
-                self.forwardOn(.next(self._parent._start + i))
-                recurse(i + 1)
-            }
-            else {
-                self.forwardOn(.completed)
-                self.dispose()
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Reduce.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Reduce.swift
deleted file mode 100644
index 3e4a7b9de94..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Reduce.swift
+++ /dev/null
@@ -1,109 +0,0 @@
-//
-//  Reduce.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 4/1/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-
-extension ObservableType {
-    /**
-    Applies an `accumulator` function over an observable sequence, returning the result of the aggregation as a single element in the result sequence. The specified `seed` value is used as the initial accumulator value.
-
-    For aggregation behavior with incremental intermediate results, see `scan`.
-
-    - seealso: [reduce operator on reactivex.io](http://reactivex.io/documentation/operators/reduce.html)
-
-    - parameter seed: The initial accumulator value.
-    - parameter accumulator: A accumulator function to be invoked on each element.
-    - parameter mapResult: A function to transform the final accumulator value into the result value.
-    - returns: An observable sequence containing a single element with the final accumulator value.
-    */
-    public func reduce<A, R>(_ seed: A, accumulator: @escaping (A, E) throws -> A, mapResult: @escaping (A) throws -> R)
-        -> Observable<R> {
-        return Reduce(source: self.asObservable(), seed: seed, accumulator: accumulator, mapResult: mapResult)
-    }
-
-    /**
-    Applies an `accumulator` function over an observable sequence, returning the result of the aggregation as a single element in the result sequence. The specified `seed` value is used as the initial accumulator value.
-    
-    For aggregation behavior with incremental intermediate results, see `scan`.
-
-    - seealso: [reduce operator on reactivex.io](http://reactivex.io/documentation/operators/reduce.html)
-    
-    - parameter seed: The initial accumulator value.
-    - parameter accumulator: A accumulator function to be invoked on each element.
-    - returns: An observable sequence containing a single element with the final accumulator value.
-    */
-    public func reduce<A>(_ seed: A, accumulator: @escaping (A, E) throws -> A)
-        -> Observable<A> {
-        return Reduce(source: self.asObservable(), seed: seed, accumulator: accumulator, mapResult: { $0 })
-    }
-}
-
-final fileprivate class ReduceSink<SourceType, AccumulateType, O: ObserverType> : Sink<O>, ObserverType {
-    typealias ResultType = O.E
-    typealias Parent = Reduce<SourceType, AccumulateType, ResultType>
-    
-    private let _parent: Parent
-    private var _accumulation: AccumulateType
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _accumulation = parent._seed
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<SourceType>) {
-        switch event {
-        case .next(let value):
-            do {
-                _accumulation = try _parent._accumulator(_accumulation, value)
-            }
-            catch let e {
-                forwardOn(.error(e))
-                dispose()
-            }
-        case .error(let e):
-            forwardOn(.error(e))
-            dispose()
-        case .completed:
-            do {
-                let result = try _parent._mapResult(_accumulation)
-                forwardOn(.next(result))
-                forwardOn(.completed)
-                dispose()
-            }
-            catch let e {
-                forwardOn(.error(e))
-                dispose()
-            }
-        }
-    }
-}
-
-final fileprivate class Reduce<SourceType, AccumulateType, ResultType> : Producer<ResultType> {
-    typealias AccumulatorType = (AccumulateType, SourceType) throws -> AccumulateType
-    typealias ResultSelectorType = (AccumulateType) throws -> ResultType
-    
-    fileprivate let _source: Observable<SourceType>
-    fileprivate let _seed: AccumulateType
-    fileprivate let _accumulator: AccumulatorType
-    fileprivate let _mapResult: ResultSelectorType
-    
-    init(source: Observable<SourceType>, seed: AccumulateType, accumulator: @escaping AccumulatorType, mapResult: @escaping ResultSelectorType) {
-        _source = source
-        _seed = seed
-        _accumulator = accumulator
-        _mapResult = mapResult
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == ResultType {
-        let sink = ReduceSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Repeat.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Repeat.swift
deleted file mode 100644
index 3ed7165bad5..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Repeat.swift
+++ /dev/null
@@ -1,57 +0,0 @@
-//
-//  Repeat.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 9/13/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Generates an observable sequence that repeats the given element infinitely, using the specified scheduler to send out observer messages.
-
-     - seealso: [repeat operator on reactivex.io](http://reactivex.io/documentation/operators/repeat.html)
-
-     - parameter element: Element to repeat.
-     - parameter scheduler: Scheduler to run the producer loop on.
-     - returns: An observable sequence that repeats the given element infinitely.
-     */
-    public static func repeatElement(_ element: E, scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable<E> {
-        return RepeatElement(element: element, scheduler: scheduler)
-    }
-}
-
-final fileprivate class RepeatElement<Element> : Producer<Element> {
-    fileprivate let _element: Element
-    fileprivate let _scheduler: ImmediateSchedulerType
-    
-    init(element: Element, scheduler: ImmediateSchedulerType) {
-        _element = element
-        _scheduler = scheduler
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = RepeatElementSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class RepeatElementSink<O: ObserverType> : Sink<O> {
-    typealias Parent = RepeatElement<O.E>
-    
-    private let _parent: Parent
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        return _parent._scheduler.scheduleRecursive(_parent._element) { e, recurse in
-            self.forwardOn(.next(e))
-            recurse(e)
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift
deleted file mode 100644
index 268b399a8c2..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/RetryWhen.swift
+++ /dev/null
@@ -1,182 +0,0 @@
-//
-//  RetryWhen.swift
-//  RxSwift
-//
-//  Created by Junior B. on 06/10/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Repeats the source observable sequence on error when the notifier emits a next value.
-     If the source observable errors and the notifier completes, it will complete the source sequence.
-
-     - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html)
-
-     - parameter notificationHandler: A handler that is passed an observable sequence of errors raised by the source observable and returns and observable that either continues, completes or errors. This behavior is then applied to the source observable.
-     - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully or is notified to error or complete.
-     */
-    public func retryWhen<TriggerObservable: ObservableType, Error: Swift.Error>(_ notificationHandler: @escaping (Observable<Error>) -> TriggerObservable)
-        -> Observable<E> {
-        return RetryWhenSequence(sources: InfiniteSequence(repeatedValue: self.asObservable()), notificationHandler: notificationHandler)
-    }
-
-    /**
-     Repeats the source observable sequence on error when the notifier emits a next value.
-     If the source observable errors and the notifier completes, it will complete the source sequence.
-
-     - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html)
-
-     - parameter notificationHandler: A handler that is passed an observable sequence of errors raised by the source observable and returns and observable that either continues, completes or errors. This behavior is then applied to the source observable.
-     - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully or is notified to error or complete.
-     */
-    public func retryWhen<TriggerObservable: ObservableType>(_ notificationHandler: @escaping (Observable<Swift.Error>) -> TriggerObservable)
-        -> Observable<E> {
-        return RetryWhenSequence(sources: InfiniteSequence(repeatedValue: self.asObservable()), notificationHandler: notificationHandler)
-    }
-}
-
-final fileprivate class RetryTriggerSink<S: Sequence, O: ObserverType, TriggerObservable: ObservableType, Error>
-    : ObserverType where S.Iterator.Element : ObservableType, S.Iterator.Element.E == O.E {
-    typealias E = TriggerObservable.E
-    
-    typealias Parent = RetryWhenSequenceSinkIter<S, O, TriggerObservable, Error>
-    
-    fileprivate let _parent: Parent
-
-    init(parent: Parent) {
-        _parent = parent
-    }
-
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            _parent._parent._lastError = nil
-            _parent._parent.schedule(.moveNext)
-        case .error(let e):
-            _parent._parent.forwardOn(.error(e))
-            _parent._parent.dispose()
-        case .completed:
-            _parent._parent.forwardOn(.completed)
-            _parent._parent.dispose()
-        }
-    }
-}
-
-final fileprivate class RetryWhenSequenceSinkIter<S: Sequence, O: ObserverType, TriggerObservable: ObservableType, Error>
-    : ObserverType
-    , Disposable where S.Iterator.Element : ObservableType, S.Iterator.Element.E == O.E {
-    typealias E = O.E
-    typealias Parent = RetryWhenSequenceSink<S, O, TriggerObservable, Error>
-
-    fileprivate let _parent: Parent
-    fileprivate let _errorHandlerSubscription = SingleAssignmentDisposable()
-    fileprivate let _subscription: Disposable
-
-    init(parent: Parent, subscription: Disposable) {
-        _parent = parent
-        _subscription = subscription
-    }
-
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            _parent.forwardOn(event)
-        case .error(let error):
-            _parent._lastError = error
-
-            if let failedWith = error as? Error {
-                // dispose current subscription
-                _subscription.dispose()
-
-                let errorHandlerSubscription = _parent._notifier.subscribe(RetryTriggerSink(parent: self))
-                _errorHandlerSubscription.setDisposable(errorHandlerSubscription)
-                _parent._errorSubject.on(.next(failedWith))
-            }
-            else {
-                _parent.forwardOn(.error(error))
-                _parent.dispose()
-            }
-        case .completed:
-            _parent.forwardOn(event)
-            _parent.dispose()
-        }
-    }
-
-    final func dispose() {
-        _subscription.dispose()
-        _errorHandlerSubscription.dispose()
-    }
-}
-
-final fileprivate class RetryWhenSequenceSink<S: Sequence, O: ObserverType, TriggerObservable: ObservableType, Error>
-    : TailRecursiveSink<S, O> where S.Iterator.Element : ObservableType, S.Iterator.Element.E == O.E {
-    typealias Element = O.E
-    typealias Parent = RetryWhenSequence<S, TriggerObservable, Error>
-    
-    let _lock = RecursiveLock()
-    
-    fileprivate let _parent: Parent
-    
-    fileprivate var _lastError: Swift.Error?
-    fileprivate let _errorSubject = PublishSubject<Error>()
-    fileprivate let _handler: Observable<TriggerObservable.E>
-    fileprivate let _notifier = PublishSubject<TriggerObservable.E>()
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _handler = parent._notificationHandler(_errorSubject).asObservable()
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    override func done() {
-        if let lastError = _lastError {
-            forwardOn(.error(lastError))
-            _lastError = nil
-        }
-        else {
-            forwardOn(.completed)
-        }
-
-        dispose()
-    }
-    
-    override func extract(_ observable: Observable<E>) -> SequenceGenerator? {
-        // It is important to always return `nil` here because there are sideffects in the `run` method
-        // that are dependant on particular `retryWhen` operator so single operator stack can't be reused in this
-        // case.
-        return nil
-    }
-
-    override func subscribeToNext(_ source: Observable<E>) -> Disposable {
-        let subscription = SingleAssignmentDisposable()
-        let iter = RetryWhenSequenceSinkIter(parent: self, subscription: subscription)
-        subscription.setDisposable(source.subscribe(iter))
-        return iter
-    }
-
-    override func run(_ sources: SequenceGenerator) -> Disposable {
-        let triggerSubscription = _handler.subscribe(_notifier.asObserver())
-        let superSubscription = super.run(sources)
-        return Disposables.create(superSubscription, triggerSubscription)
-    }
-}
-
-final fileprivate class RetryWhenSequence<S: Sequence, TriggerObservable: ObservableType, Error> : Producer<S.Iterator.Element.E> where S.Iterator.Element : ObservableType {
-    typealias Element = S.Iterator.Element.E
-    
-    fileprivate let _sources: S
-    fileprivate let _notificationHandler: (Observable<Error>) -> TriggerObservable
-    
-    init(sources: S, notificationHandler: @escaping (Observable<Error>) -> TriggerObservable) {
-        _sources = sources
-        _notificationHandler = notificationHandler
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = RetryWhenSequenceSink<S, O, TriggerObservable, Error>(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run((self._sources.makeIterator(), nil))
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sample.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sample.swift
deleted file mode 100644
index 31f8b625d69..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sample.swift
+++ /dev/null
@@ -1,142 +0,0 @@
-//
-//  Sample.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/1/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Samples the source observable sequence using a sampler observable sequence producing sampling ticks.
-
-     Upon each sampling tick, the latest element (if any) in the source sequence during the last sampling interval is sent to the resulting sequence.
-
-     **In case there were no new elements between sampler ticks, no element is sent to the resulting sequence.**
-
-     - seealso: [sample operator on reactivex.io](http://reactivex.io/documentation/operators/sample.html)
-
-     - parameter sampler: Sampling tick sequence.
-     - returns: Sampled observable sequence.
-     */
-    public func sample<O: ObservableType>(_ sampler: O)
-        -> Observable<E> {
-            return Sample(source: self.asObservable(), sampler: sampler.asObservable())
-    }
-}
-
-final fileprivate class SamplerSink<O: ObserverType, SampleType>
-    : ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias E = SampleType
-    
-    typealias Parent = SampleSequenceSink<O, SampleType>
-    
-    fileprivate let _parent: Parent
-
-    var _lock: RecursiveLock {
-        return _parent._lock
-    }
-    
-    init(parent: Parent) {
-        _parent = parent
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            if let element = _parent._element {
-                _parent._element = nil
-                _parent.forwardOn(.next(element))
-            }
-
-            if _parent._atEnd {
-                _parent.forwardOn(.completed)
-                _parent.dispose()
-            }
-        case .error(let e):
-            _parent.forwardOn(.error(e))
-            _parent.dispose()
-        case .completed:
-            if let element = _parent._element {
-                _parent._element = nil
-                _parent.forwardOn(.next(element))
-            }
-            if _parent._atEnd {
-                _parent.forwardOn(.completed)
-                _parent.dispose()
-            }
-        }
-    }
-}
-
-final fileprivate class SampleSequenceSink<O: ObserverType, SampleType>
-    : Sink<O>
-    , ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias Element = O.E
-    typealias Parent = Sample<Element, SampleType>
-    
-    fileprivate let _parent: Parent
-
-    let _lock = RecursiveLock()
-    
-    // state
-    fileprivate var _element = nil as Element?
-    fileprivate var _atEnd = false
-    
-    fileprivate let _sourceSubscription = SingleAssignmentDisposable()
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        _sourceSubscription.setDisposable(_parent._source.subscribe(self))
-        let samplerSubscription = _parent._sampler.subscribe(SamplerSink(parent: self))
-        
-        return Disposables.create(_sourceSubscription, samplerSubscription)
-    }
-    
-    func on(_ event: Event<Element>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<Element>) {
-        switch event {
-        case .next(let element):
-            _element = element
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            _atEnd = true
-            _sourceSubscription.dispose()
-        }
-    }
-    
-}
-
-final fileprivate class Sample<Element, SampleType> : Producer<Element> {
-    fileprivate let _source: Observable<Element>
-    fileprivate let _sampler: Observable<SampleType>
-
-    init(source: Observable<Element>, sampler: Observable<SampleType>) {
-        _source = source
-        _sampler = sampler
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = SampleSequenceSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Scan.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Scan.swift
deleted file mode 100644
index e94db11b85b..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Scan.swift
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-//  Scan.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/14/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Applies an accumulator function over an observable sequence and returns each intermediate result. The specified seed value is used as the initial accumulator value.
-
-     For aggregation behavior with no intermediate results, see `reduce`.
-
-     - seealso: [scan operator on reactivex.io](http://reactivex.io/documentation/operators/scan.html)
-
-     - parameter seed: The initial accumulator value.
-     - parameter accumulator: An accumulator function to be invoked on each element.
-     - returns: An observable sequence containing the accumulated values.
-     */
-    public func scan<A>(_ seed: A, accumulator: @escaping (A, E) throws -> A)
-        -> Observable<A> {
-        return Scan(source: self.asObservable(), seed: seed, accumulator: accumulator)
-    }
-}
-
-final fileprivate class ScanSink<ElementType, O: ObserverType> : Sink<O>, ObserverType {
-    typealias Accumulate = O.E
-    typealias Parent = Scan<ElementType, Accumulate>
-    typealias E = ElementType
-    
-    fileprivate let _parent: Parent
-    fileprivate var _accumulate: Accumulate
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _accumulate = parent._seed
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<ElementType>) {
-        switch event {
-        case .next(let element):
-            do {
-                _accumulate = try _parent._accumulator(_accumulate, element)
-                forwardOn(.next(_accumulate))
-            }
-            catch let error {
-                forwardOn(.error(error))
-                dispose()
-            }
-        case .error(let error):
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-    
-}
-
-final fileprivate class Scan<Element, Accumulate>: Producer<Accumulate> {
-    typealias Accumulator = (Accumulate, Element) throws -> Accumulate
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _seed: Accumulate
-    fileprivate let _accumulator: Accumulator
-    
-    init(source: Observable<Element>, seed: Accumulate, accumulator: @escaping Accumulator) {
-        _source = source
-        _seed = seed
-        _accumulator = accumulator
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Accumulate {
-        let sink = ScanSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sequence.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sequence.swift
deleted file mode 100644
index eb4daed130f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sequence.swift
+++ /dev/null
@@ -1,89 +0,0 @@
-//
-//  Sequence.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 11/14/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    // MARK: of
-
-    /**
-     This method creates a new Observable instance with a variable number of elements.
-
-     - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html)
-
-     - parameter elements: Elements to generate.
-     - parameter scheduler: Scheduler to send elements on. If `nil`, elements are sent immediately on subscription.
-     - returns: The observable sequence whose elements are pulled from the given arguments.
-     */
-    public static func of(_ elements: E ..., scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable<E> {
-        return ObservableSequence(elements: elements, scheduler: scheduler)
-    }
-}
-
-extension Observable {
-    /**
-     Converts an array to an observable sequence.
-
-     - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html)
-
-     - returns: The observable sequence whose elements are pulled from the given enumerable sequence.
-     */
-    public static func from(_ array: [E], scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable<E> {
-        return ObservableSequence(elements: array, scheduler: scheduler)
-    }
-
-    /**
-     Converts a sequence to an observable sequence.
-
-     - seealso: [from operator on reactivex.io](http://reactivex.io/documentation/operators/from.html)
-
-     - returns: The observable sequence whose elements are pulled from the given enumerable sequence.
-     */
-    public static func from<S: Sequence>(_ sequence: S, scheduler: ImmediateSchedulerType = CurrentThreadScheduler.instance) -> Observable<E> where S.Iterator.Element == E {
-        return ObservableSequence(elements: sequence, scheduler: scheduler)
-    }
-}
-
-final fileprivate class ObservableSequenceSink<S: Sequence, O: ObserverType> : Sink<O> where S.Iterator.Element == O.E {
-    typealias Parent = ObservableSequence<S>
-
-    private let _parent: Parent
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func run() -> Disposable {
-        return _parent._scheduler.scheduleRecursive((_parent._elements.makeIterator(), _parent._elements)) { (iterator, recurse) in
-            var mutableIterator = iterator
-            if let next = mutableIterator.0.next() {
-                self.forwardOn(.next(next))
-                recurse(mutableIterator)
-            }
-            else {
-                self.forwardOn(.completed)
-                self.dispose()
-            }
-        }
-    }
-}
-
-final fileprivate class ObservableSequence<S: Sequence> : Producer<S.Iterator.Element> {
-    fileprivate let _elements: S
-    fileprivate let _scheduler: ImmediateSchedulerType
-
-    init(elements: S, scheduler: ImmediateSchedulerType) {
-        _elements = elements
-        _scheduler = scheduler
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = ObservableSequenceSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift
deleted file mode 100644
index ee5e8f89931..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ShareReplayScope.swift
+++ /dev/null
@@ -1,496 +0,0 @@
-//
-//  ShareReplayScope.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/28/17.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-/// Subject lifetime scope
-public enum SubjectLifetimeScope {
-    /**
-     **Each connection will have it's own subject instance to store replay events.**
-     **Connections will be isolated from each another.**
-
-     Configures the underlying implementation to behave equivalent to.
-     
-     ```
-     source.multicast(makeSubject: { MySubject() }).refCount()
-     ```
-
-     **This is the recommended default.**
-
-     This has the following consequences:
-     * `retry` or `concat` operators will function as expected because terminating the sequence will clear internal state.
-     * Each connection to source observable sequence will use it's own subject.
-     * When the number of subscribers drops from 1 to 0 and connection to source sequence is disposed, subject will be cleared.
-
-     
-     ```
-     let xs = Observable.deferred { () -> Observable<TimeInterval> in
-             print("Performing work ...")
-             return Observable.just(Date().timeIntervalSince1970)
-         }
-         .share(replay: 1, scope: .whileConnected)
-
-     _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") })
-     _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") })
-     _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") })
-
-     ```
-
-     Notice how time interval is different and `Performing work ...` is printed each time)
-     
-     ```
-     Performing work ...
-     next 1495998900.82141
-     completed
-
-     Performing work ...
-     next 1495998900.82359
-     completed
-
-     Performing work ...
-     next 1495998900.82444
-     completed
-
-
-     ```
-     
-     */
-    case whileConnected
-
-    /**
-     **One subject will store replay events for all connections to source.**
-     **Connections won't be isolated from each another.**
-
-     Configures the underlying implementation behave equivalent to.
-
-     ```
-     source.multicast(MySubject()).refCount()
-     ```
-     
-     This has the following consequences:
-     * Using `retry` or `concat` operators after this operator usually isn't advised.
-     * Each connection to source observable sequence will share the same subject.
-     * After number of subscribers drops from 1 to 0 and connection to source observable sequence is dispose, this operator will 
-       continue holding a reference to the same subject.
-       If at some later moment a new observer initiates a new connection to source it can potentially receive
-       some of the stale events received during previous connection.
-     * After source sequence terminates any new observer will always immediatelly receive replayed elements and terminal event.
-       No new subscriptions to source observable sequence will be attempted.
-
-     ```
-     let xs = Observable.deferred { () -> Observable<TimeInterval> in
-             print("Performing work ...")
-             return Observable.just(Date().timeIntervalSince1970)
-         }
-         .share(replay: 1, scope: .forever)
-
-     _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") })
-     _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") })
-     _ = xs.subscribe(onNext: { print("next \($0)") }, onCompleted: { print("completed\n") })
-     ```
-     
-     Notice how time interval is the same, replayed, and `Performing work ...` is printed only once
-     
-     ```
-     Performing work ...
-     next 1495999013.76356
-     completed
-
-     next 1495999013.76356
-     completed
-
-     next 1495999013.76356
-     completed
-     ```
-     
-    */
-    case forever
-}
-
-extension ObservableType {
-
-    /**
-     Returns an observable sequence that **shares a single subscription to the underlying sequence**, and immediately upon subscription replays  elements in buffer.
-     
-     This operator is equivalent to:
-     * `.whileConnected`
-     ```
-     // Each connection will have it's own subject instance to store replay events.
-     // Connections will be isolated from each another.
-     source.multicast(makeSubject: { Replay.create(bufferSize: replay) }).refCount()
-     ```
-     * `.forever`
-     ```
-     // One subject will store replay events for all connections to source.
-     // Connections won't be isolated from each another.
-     source.multicast(Replay.create(bufferSize: replay)).refCount()
-     ```
-     
-     It uses optimized versions of the operators for most common operations.
-
-     - parameter replay: Maximum element count of the replay buffer.
-     - parameter scope: Lifetime scope of sharing subject. For more information see `SubjectLifetimeScope` enum.
-
-     - seealso: [shareReplay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html)
-
-     - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.
-     */
-    public func share(replay: Int = 0, scope: SubjectLifetimeScope)
-        -> Observable<E> {
-        switch scope {
-        case .forever:
-            switch replay {
-            case 0: return self.multicast(PublishSubject()).refCount()
-            default: return shareReplay(replay)
-            }
-        case .whileConnected:
-            switch replay {
-            case 0: return ShareWhileConnected(source: self.asObservable())
-            case 1: return ShareReplay1WhileConnected(source: self.asObservable())
-            default: return self.multicast(makeSubject: { ReplaySubject.create(bufferSize: replay) }).refCount()
-            }
-        }
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Returns an observable sequence that shares a single subscription to the underlying sequence, and immediately upon subscription replays latest element in buffer.
-
-     This operator is a specialization of replay which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.
-
-     Unlike `shareReplay(bufferSize: Int)`, this operator will clear latest element from replay buffer in case number of subscribers drops from one to zero. In case sequence
-     completes or errors out replay buffer is also cleared.
-
-     - seealso: [shareReplay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html)
-
-     - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.
-     */
-    public func shareReplayLatestWhileConnected()
-        -> Observable<E> {
-        return ShareReplay1WhileConnected(source: self.asObservable())
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Returns an observable sequence that shares a single subscription to the underlying sequence, and immediately upon subscription replays maximum number of elements in buffer.
-
-     This operator is a specialization of replay which creates a subscription when the number of observers goes from zero to one, then shares that subscription with all subsequent observers until the number of observers returns to zero, at which point the subscription is disposed.
-
-     - seealso: [shareReplay operator on reactivex.io](http://reactivex.io/documentation/operators/replay.html)
-
-     - parameter bufferSize: Maximum element count of the replay buffer.
-     - returns: An observable sequence that contains the elements of a sequence produced by multicasting the source sequence.
-     */
-    public func shareReplay(_ bufferSize: Int)
-        -> Observable<E> {
-        return self.replay(bufferSize).refCount()
-    }
-}
-
-fileprivate final class ShareReplay1WhileConnectedConnection<Element>
-    : ObserverType
-    , SynchronizedUnsubscribeType {
-    typealias E = Element
-    typealias Observers = AnyObserver<Element>.s
-    typealias DisposeKey = Observers.KeyType
-
-    typealias Parent = ShareReplay1WhileConnected<Element>
-    private let _parent: Parent
-    private let _subscription = SingleAssignmentDisposable()
-
-    private let _lock: RecursiveLock
-    private var _disposed: Bool = false
-    fileprivate var _observers = Observers()
-    fileprivate var _element: Element?
-
-    init(parent: Parent, lock: RecursiveLock) {
-        _parent = parent
-        _lock = lock
-
-        #if TRACE_RESOURCES
-            _ = Resources.incrementTotal()
-        #endif
-    }
-
-    final func on(_ event: Event<E>) {
-        _lock.lock()
-        let observers = _synchronized_on(event)
-        _lock.unlock()
-        dispatch(observers, event)
-    }
-
-    final private func _synchronized_on(_ event: Event<E>) -> Observers {
-        if _disposed {
-            return Observers()
-        }
-
-        switch event {
-        case .next(let element):
-            _element = element
-            return _observers
-        case .error, .completed:
-            let observers = _observers
-            self._synchronized_dispose()
-            return observers
-        }
-    }
-
-    final func connect() {
-        _subscription.setDisposable(_parent._source.subscribe(self))
-    }
-
-    final func _synchronized_subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        _lock.lock(); defer { _lock.unlock() }
-        if let element = _element {
-            observer.on(.next(element))
-        }
-
-        let disposeKey = _observers.insert(observer.on)
-
-        return SubscriptionDisposable(owner: self, key: disposeKey)
-    }
-
-    final private func _synchronized_dispose() {
-        _disposed = true
-        if _parent._connection === self {
-            _parent._connection = nil
-        }
-        _observers = Observers()
-    }
-
-    final func synchronizedUnsubscribe(_ disposeKey: DisposeKey) {
-        _lock.lock()
-        let shouldDisconnect = _synchronized_unsubscribe(disposeKey)
-        _lock.unlock()
-        if shouldDisconnect {
-            _subscription.dispose()
-        }
-    }
-
-    @inline(__always)
-    final private func _synchronized_unsubscribe(_ disposeKey: DisposeKey) -> Bool {
-        // if already unsubscribed, just return
-        if self._observers.removeKey(disposeKey) == nil {
-            return false
-        }
-
-        if _observers.count == 0 {
-            _synchronized_dispose()
-            return true
-        }
-
-        return false
-    }
-
-    #if TRACE_RESOURCES
-        deinit {
-            _ = Resources.decrementTotal()
-        }
-    #endif
-}
-
-// optimized version of share replay for most common case
-final fileprivate class ShareReplay1WhileConnected<Element>
-    : Observable<Element> {
-
-    fileprivate typealias Connection = ShareReplay1WhileConnectedConnection<Element>
-
-    fileprivate let _source: Observable<Element>
-
-    fileprivate let _lock = RecursiveLock()
-
-    fileprivate var _connection: Connection?
-
-    init(source: Observable<Element>) {
-        self._source = source
-    }
-
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        _lock.lock()
-
-        let connection = _synchronized_subscribe(observer)
-        let count = connection._observers.count
-
-        let disposable = connection._synchronized_subscribe(observer)
-
-        _lock.unlock()
-        
-        if count == 0 {
-            connection.connect()
-        }
-
-        return disposable
-    }
-
-    @inline(__always)
-    private func _synchronized_subscribe<O : ObserverType>(_ observer: O) -> Connection where O.E == E {
-        let connection: Connection
-
-        if let existingConnection = _connection {
-            connection = existingConnection
-        }
-        else {
-            connection = ShareReplay1WhileConnectedConnection<Element>(
-                parent: self,
-                lock: _lock)
-            _connection = connection
-        }
-
-        return connection
-    }
-}
-
-fileprivate final class ShareWhileConnectedConnection<Element>
-    : ObserverType
-    , SynchronizedUnsubscribeType {
-    typealias E = Element
-    typealias Observers = AnyObserver<Element>.s
-    typealias DisposeKey = Observers.KeyType
-
-    typealias Parent = ShareWhileConnected<Element>
-    private let _parent: Parent
-    private let _subscription = SingleAssignmentDisposable()
-
-    private let _lock: RecursiveLock
-    private var _disposed: Bool = false
-    fileprivate var _observers = Observers()
-
-    init(parent: Parent, lock: RecursiveLock) {
-        _parent = parent
-        _lock = lock
-
-        #if TRACE_RESOURCES
-            _ = Resources.incrementTotal()
-        #endif
-    }
-
-    final func on(_ event: Event<E>) {
-        _lock.lock()
-        let observers = _synchronized_on(event)
-        _lock.unlock()
-        dispatch(observers, event)
-    }
-
-    final private func _synchronized_on(_ event: Event<E>) -> Observers {
-        if _disposed {
-            return Observers()
-        }
-
-        switch event {
-        case .next:
-            return _observers
-        case .error, .completed:
-            let observers = _observers
-            self._synchronized_dispose()
-            return observers
-        }
-    }
-
-    final func connect() {
-        _subscription.setDisposable(_parent._source.subscribe(self))
-    }
-
-    final func _synchronized_subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        _lock.lock(); defer { _lock.unlock() }
-
-        let disposeKey = _observers.insert(observer.on)
-
-        return SubscriptionDisposable(owner: self, key: disposeKey)
-    }
-
-    final private func _synchronized_dispose() {
-        _disposed = true
-        if _parent._connection === self {
-            _parent._connection = nil
-        }
-        _observers = Observers()
-    }
-
-    final func synchronizedUnsubscribe(_ disposeKey: DisposeKey) {
-        _lock.lock()
-        let shouldDisconnect = _synchronized_unsubscribe(disposeKey)
-        _lock.unlock()
-        if shouldDisconnect {
-            _subscription.dispose()
-        }
-    }
-
-    @inline(__always)
-    final private func _synchronized_unsubscribe(_ disposeKey: DisposeKey) -> Bool {
-        // if already unsubscribed, just return
-        if self._observers.removeKey(disposeKey) == nil {
-            return false
-        }
-
-        if _observers.count == 0 {
-            _synchronized_dispose()
-            return true
-        }
-
-        return false
-    }
-
-    #if TRACE_RESOURCES
-    deinit {
-        _ = Resources.decrementTotal()
-    }
-    #endif
-}
-
-// optimized version of share replay for most common case
-final fileprivate class ShareWhileConnected<Element>
-    : Observable<Element> {
-
-    fileprivate typealias Connection = ShareWhileConnectedConnection<Element>
-
-    fileprivate let _source: Observable<Element>
-
-    fileprivate let _lock = RecursiveLock()
-
-    fileprivate var _connection: Connection?
-
-    init(source: Observable<Element>) {
-        self._source = source
-    }
-
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        _lock.lock()
-
-        let connection = _synchronized_subscribe(observer)
-        let count = connection._observers.count
-
-        let disposable = connection._synchronized_subscribe(observer)
-
-        _lock.unlock()
-
-        if count == 0 {
-            connection.connect()
-        }
-
-        return disposable
-    }
-
-    @inline(__always)
-    private func _synchronized_subscribe<O : ObserverType>(_ observer: O) -> Connection where O.E == E {
-        let connection: Connection
-
-        if let existingConnection = _connection {
-            connection = existingConnection
-        }
-        else {
-            connection = ShareWhileConnectedConnection<Element>(
-                parent: self,
-                lock: _lock)
-            _connection = connection
-        }
-        
-        return connection
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift
deleted file mode 100644
index 1419a93fc8e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SingleAsync.swift
+++ /dev/null
@@ -1,105 +0,0 @@
-//
-//  SingleAsync.swift
-//  RxSwift
-//
-//  Created by Junior B. on 09/11/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     The single operator is similar to first, but throws a `RxError.noElements` or `RxError.moreThanOneElement`
-     if the source Observable does not emit exactly one element before successfully completing.
-
-     - seealso: [single operator on reactivex.io](http://reactivex.io/documentation/operators/first.html)
-
-     - returns: An observable sequence that emits a single element or throws an exception if more (or none) of them are emitted.
-     */
-    public func single()
-        -> Observable<E> {
-        return SingleAsync(source: asObservable())
-    }
-
-    /**
-     The single operator is similar to first, but throws a `RxError.NoElements` or `RxError.MoreThanOneElement`
-     if the source Observable does not emit exactly one element before successfully completing.
-
-     - seealso: [single operator on reactivex.io](http://reactivex.io/documentation/operators/first.html)
-
-     - parameter predicate: A function to test each source element for a condition.
-     - returns: An observable sequence that emits a single element or throws an exception if more (or none) of them are emitted.
-     */
-    public func single(_ predicate: @escaping (E) throws -> Bool)
-        -> Observable<E> {
-        return SingleAsync(source: asObservable(), predicate: predicate)
-    }
-}
-
-fileprivate final class SingleAsyncSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias ElementType = O.E
-    typealias Parent = SingleAsync<ElementType>
-    typealias E = ElementType
-    
-    private let _parent: Parent
-    private var _seenValue: Bool = false
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next(let value):
-            do {
-                let forward = try _parent._predicate?(value) ?? true
-                if !forward {
-                    return
-                }
-            }
-            catch let error {
-                forwardOn(.error(error as Swift.Error))
-                dispose()
-                return
-            }
-
-            if _seenValue {
-                forwardOn(.error(RxError.moreThanOneElement))
-                dispose()
-                return
-            }
-
-            _seenValue = true
-            forwardOn(.next(value))
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            if (_seenValue) {
-                forwardOn(.completed)
-            } else {
-                forwardOn(.error(RxError.noElements))
-            }
-            dispose()
-        }
-    }
-}
-
-final class SingleAsync<Element>: Producer<Element> {
-    typealias Predicate = (Element) throws -> Bool
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _predicate: Predicate?
-    
-    init(source: Observable<Element>, predicate: Predicate? = nil) {
-        _source = source
-        _predicate = predicate
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = SingleAsyncSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sink.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sink.swift
deleted file mode 100644
index 214cfda3260..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Sink.swift
+++ /dev/null
@@ -1,76 +0,0 @@
-//
-//  Sink.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/19/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-class Sink<O : ObserverType> : Disposable {
-    fileprivate let _observer: O
-    fileprivate let _cancel: Cancelable
-    fileprivate var _disposed: Bool
-
-    #if DEBUG
-        fileprivate let _synchronizationTracker = SynchronizationTracker()
-    #endif
-
-    init(observer: O, cancel: Cancelable) {
-#if TRACE_RESOURCES
-        let _ = Resources.incrementTotal()
-#endif
-        _observer = observer
-        _cancel = cancel
-        _disposed = false
-    }
-    
-    final func forwardOn(_ event: Event<O.E>) {
-        #if DEBUG
-            _synchronizationTracker.register(synchronizationErrorMessage: .default)
-            defer { _synchronizationTracker.unregister() }
-        #endif
-        if _disposed {
-            return
-        }
-        _observer.on(event)
-    }
-    
-    final func forwarder() -> SinkForward<O> {
-        return SinkForward(forward: self)
-    }
-
-    final var disposed: Bool {
-        return _disposed
-    }
-
-    func dispose() {
-        _disposed = true
-        _cancel.dispose()
-    }
-
-    deinit {
-#if TRACE_RESOURCES
-       let _ =  Resources.decrementTotal()
-#endif
-    }
-}
-
-final class SinkForward<O: ObserverType>: ObserverType {
-    typealias E = O.E
-    
-    private let _forward: Sink<O>
-    
-    init(forward: Sink<O>) {
-        _forward = forward
-    }
-    
-    final func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            _forward._observer.on(event)
-        case .error, .completed:
-            _forward._observer.on(event)
-            _forward._cancel.dispose()
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Skip.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Skip.swift
deleted file mode 100644
index 1226bf89b17..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Skip.swift
+++ /dev/null
@@ -1,159 +0,0 @@
-//
-//  Skip.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/25/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Bypasses a specified number of elements in an observable sequence and then returns the remaining elements.
-
-     - seealso: [skip operator on reactivex.io](http://reactivex.io/documentation/operators/skip.html)
-
-     - parameter count: The number of elements to skip before returning the remaining elements.
-     - returns: An observable sequence that contains the elements that occur after the specified index in the input sequence.
-     */
-    public func skip(_ count: Int)
-        -> Observable<E> {
-        return SkipCount(source: asObservable(), count: count)
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Skips elements for the specified duration from the start of the observable source sequence, using the specified scheduler to run timers.
-
-     - seealso: [skip operator on reactivex.io](http://reactivex.io/documentation/operators/skip.html)
-
-     - parameter duration: Duration for skipping elements from the start of the sequence.
-     - parameter scheduler: Scheduler to run the timer on.
-     - returns: An observable sequence with the elements skipped during the specified duration from the start of the source sequence.
-     */
-    public func skip(_ duration: RxTimeInterval, scheduler: SchedulerType)
-        -> Observable<E> {
-        return SkipTime(source: self.asObservable(), duration: duration, scheduler: scheduler)
-    }
-}
-
-// count version
-
-final fileprivate class SkipCountSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias Element = O.E
-    typealias Parent = SkipCount<Element>
-    
-    let parent: Parent
-    
-    var remaining: Int
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        self.parent = parent
-        self.remaining = parent.count
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next(let value):
-            
-            if remaining <= 0 {
-                forwardOn(.next(value))
-            }
-            else {
-                remaining -= 1
-            }
-        case .error:
-            forwardOn(event)
-            self.dispose()
-        case .completed:
-            forwardOn(event)
-            self.dispose()
-        }
-    }
-    
-}
-
-final fileprivate class SkipCount<Element>: Producer<Element> {
-    let source: Observable<Element>
-    let count: Int
-    
-    init(source: Observable<Element>, count: Int) {
-        self.source = source
-        self.count = count
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = SkipCountSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = source.subscribe(sink)
-
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-// time version
-
-final fileprivate class SkipTimeSink<ElementType, O: ObserverType> : Sink<O>, ObserverType where O.E == ElementType {
-    typealias Parent = SkipTime<ElementType>
-    typealias Element = ElementType
-
-    let parent: Parent
-    
-    // state
-    var open = false
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        self.parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next(let value):
-            if open {
-                forwardOn(.next(value))
-            }
-        case .error:
-            forwardOn(event)
-            self.dispose()
-        case .completed:
-            forwardOn(event)
-            self.dispose()
-        }
-    }
-    
-    func tick() {
-        open = true
-    }
-    
-    func run() -> Disposable {
-        let disposeTimer = parent.scheduler.scheduleRelative((), dueTime: self.parent.duration) {
-            self.tick()
-            return Disposables.create()
-        }
-        
-        let disposeSubscription = parent.source.subscribe(self)
-        
-        return Disposables.create(disposeTimer, disposeSubscription)
-    }
-}
-
-final fileprivate class SkipTime<Element>: Producer<Element> {
-    let source: Observable<Element>
-    let duration: RxTimeInterval
-    let scheduler: SchedulerType
-    
-    init(source: Observable<Element>, duration: RxTimeInterval, scheduler: SchedulerType) {
-        self.source = source
-        self.scheduler = scheduler
-        self.duration = duration
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = SkipTimeSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift
deleted file mode 100644
index f35f1fd8aee..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SkipUntil.swift
+++ /dev/null
@@ -1,139 +0,0 @@
-//
-//  SkipUntil.swift
-//  RxSwift
-//
-//  Created by Yury Korolev on 10/3/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Returns the elements from the source observable sequence that are emitted after the other observable sequence produces an element.
-
-     - seealso: [skipUntil operator on reactivex.io](http://reactivex.io/documentation/operators/skipuntil.html)
-
-     - parameter other: Observable sequence that starts propagation of elements of the source sequence.
-     - returns: An observable sequence containing the elements of the source sequence that are emitted after the other sequence emits an item.
-     */
-    public func skipUntil<O: ObservableType>(_ other: O)
-        -> Observable<E> {
-        return SkipUntil(source: asObservable(), other: other.asObservable())
-    }
-}
-
-final fileprivate class SkipUntilSinkOther<Other, O: ObserverType>
-    : ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias Parent = SkipUntilSink<Other, O>
-    typealias E = Other
-    
-    fileprivate let _parent: Parent
-
-    var _lock: RecursiveLock {
-        return _parent._lock
-    }
-    
-    let _subscription = SingleAssignmentDisposable()
-
-    init(parent: Parent) {
-        _parent = parent
-        #if TRACE_RESOURCES
-            let _ = Resources.incrementTotal()
-        #endif
-    }
-
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            _parent._forwardElements = true
-            _subscription.dispose()
-        case .error(let e):
-            _parent.forwardOn(.error(e))
-            _parent.dispose()
-        case .completed:
-            _subscription.dispose()
-        }
-    }
-    
-    #if TRACE_RESOURCES
-    deinit {
-        let _ = Resources.decrementTotal()
-    }
-    #endif
-
-}
-
-
-final fileprivate class SkipUntilSink<Other, O: ObserverType>
-    : Sink<O>
-    , ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias E = O.E
-    typealias Parent = SkipUntil<E, Other>
-    
-    let _lock = RecursiveLock()
-    fileprivate let _parent: Parent
-    fileprivate var _forwardElements = false
-    
-    fileprivate let _sourceSubscription = SingleAssignmentDisposable()
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            if _forwardElements {
-                forwardOn(event)
-            }
-        case .error:
-            forwardOn(event)
-            self.dispose()
-        case .completed:
-            if _forwardElements {
-                forwardOn(event)
-            }
-            self.dispose()
-        }
-    }
-    
-    func run() -> Disposable {
-        let sourceSubscription = _parent._source.subscribe(self)
-        let otherObserver = SkipUntilSinkOther(parent: self)
-        let otherSubscription = _parent._other.subscribe(otherObserver)
-        _sourceSubscription.setDisposable(sourceSubscription)
-        otherObserver._subscription.setDisposable(otherSubscription)
-        
-        return Disposables.create(_sourceSubscription, otherObserver._subscription)
-    }
-}
-
-final fileprivate class SkipUntil<Element, Other>: Producer<Element> {
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _other: Observable<Other>
-    
-    init(source: Observable<Element>, other: Observable<Other>) {
-        _source = source
-        _other = other
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = SkipUntilSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift
deleted file mode 100644
index 42bf9bc59aa..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SkipWhile.swift
+++ /dev/null
@@ -1,143 +0,0 @@
-//
-//  SkipWhile.swift
-//  RxSwift
-//
-//  Created by Yury Korolev on 10/9/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
-
-     - seealso: [skipWhile operator on reactivex.io](http://reactivex.io/documentation/operators/skipwhile.html)
-
-     - parameter predicate: A function to test each element for a condition.
-     - returns: An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
-     */
-    public func skipWhile(_ predicate: @escaping (E) throws -> Bool) -> Observable<E> {
-        return SkipWhile(source: asObservable(), predicate: predicate)
-    }
-
-    /**
-     Bypasses elements in an observable sequence as long as a specified condition is true and then returns the remaining elements.
-     The element's index is used in the logic of the predicate function.
-
-     - seealso: [skipWhile operator on reactivex.io](http://reactivex.io/documentation/operators/skipwhile.html)
-
-     - parameter predicate: A function to test each element for a condition; the second parameter of the function represents the index of the source element.
-     - returns: An observable sequence that contains the elements from the input sequence starting at the first element in the linear series that does not pass the test specified by predicate.
-     */
-    public func skipWhileWithIndex(_ predicate: @escaping (E, Int) throws -> Bool) -> Observable<E> {
-        return SkipWhile(source: asObservable(), predicate: predicate)
-    }
-}
-
-final fileprivate class SkipWhileSink<O: ObserverType> : Sink<O>, ObserverType {
-
-    typealias Element = O.E
-    typealias Parent = SkipWhile<Element>
-
-    fileprivate let _parent: Parent
-    fileprivate var _running = false
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next(let value):
-            if !_running {
-                do {
-                    _running = try !_parent._predicate(value)
-                } catch let e {
-                    forwardOn(.error(e))
-                    dispose()
-                    return
-                }
-            }
-
-            if _running {
-                forwardOn(.next(value))
-            }
-        case .error, .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class SkipWhileSinkWithIndex<O: ObserverType> : Sink<O>, ObserverType {
-
-    typealias Element = O.E
-    typealias Parent = SkipWhile<Element>
-
-    fileprivate let _parent: Parent
-    fileprivate var _index = 0
-    fileprivate var _running = false
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next(let value):
-            if !_running {
-                do {
-                    _running = try !_parent._predicateWithIndex(value, _index)
-                    let _ = try incrementChecked(&_index)
-                } catch let e {
-                    forwardOn(.error(e))
-                    dispose()
-                    return
-                }
-            }
-
-            if _running {
-                forwardOn(.next(value))
-            }
-        case .error, .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class SkipWhile<Element>: Producer<Element> {
-    typealias Predicate = (Element) throws -> Bool
-    typealias PredicateWithIndex = (Element, Int) throws -> Bool
-
-    fileprivate let _source: Observable<Element>
-    fileprivate let _predicate: Predicate!
-    fileprivate let _predicateWithIndex: PredicateWithIndex!
-
-    init(source: Observable<Element>, predicate: @escaping Predicate) {
-        _source = source
-        _predicate = predicate
-        _predicateWithIndex = nil
-    }
-
-    init(source: Observable<Element>, predicate: @escaping PredicateWithIndex) {
-        _source = source
-        _predicate = nil
-        _predicateWithIndex = predicate
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        if let _ = _predicate {
-            let sink = SkipWhileSink(parent: self, observer: observer, cancel: cancel)
-            let subscription = _source.subscribe(sink)
-            return (sink: sink, subscription: subscription)
-        }
-        else {
-            let sink = SkipWhileSinkWithIndex(parent: self, observer: observer, cancel: cancel)
-            let subscription = _source.subscribe(sink)
-            return (sink: sink, subscription: subscription)
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/StartWith.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/StartWith.swift
deleted file mode 100644
index 14776f9e652..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/StartWith.swift
+++ /dev/null
@@ -1,42 +0,0 @@
-//
-//  StartWith.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 4/6/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Prepends a sequence of values to an observable sequence.
-
-     - seealso: [startWith operator on reactivex.io](http://reactivex.io/documentation/operators/startwith.html)
-
-     - parameter elements: Elements to prepend to the specified sequence.
-     - returns: The source sequence prepended with the specified values.
-     */
-    public func startWith(_ elements: E ...)
-        -> Observable<E> {
-            return StartWith(source: self.asObservable(), elements: elements)
-    }
-}
-
-final fileprivate class StartWith<Element>: Producer<Element> {
-    let elements: [Element]
-    let source: Observable<Element>
-
-    init(source: Observable<Element>, elements: [Element]) {
-        self.source = source
-        self.elements = elements
-        super.init()
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        for e in elements {
-            observer.on(.next(e))
-        }
-
-        return (sink: Disposables.create(), subscription: source.subscribe(observer))
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift
deleted file mode 100644
index 2a33e03e5a8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SubscribeOn.swift
+++ /dev/null
@@ -1,83 +0,0 @@
-//
-//  SubscribeOn.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/14/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Wraps the source sequence in order to run its subscription and unsubscription logic on the specified
-     scheduler.
-
-     This operation is not commonly used.
-
-     This only performs the side-effects of subscription and unsubscription on the specified scheduler.
-
-     In order to invoke observer callbacks on a `scheduler`, use `observeOn`.
-
-     - seealso: [subscribeOn operator on reactivex.io](http://reactivex.io/documentation/operators/subscribeon.html)
-
-     - parameter scheduler: Scheduler to perform subscription and unsubscription actions on.
-     - returns: The source sequence whose subscriptions and unsubscriptions happen on the specified scheduler.
-     */
-    public func subscribeOn(_ scheduler: ImmediateSchedulerType)
-        -> Observable<E> {
-        return SubscribeOn(source: self, scheduler: scheduler)
-    }
-}
-
-final fileprivate class SubscribeOnSink<Ob: ObservableType, O: ObserverType> : Sink<O>, ObserverType where Ob.E == O.E {
-    typealias Element = O.E
-    typealias Parent = SubscribeOn<Ob>
-    
-    let parent: Parent
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        self.parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        forwardOn(event)
-        
-        if event.isStopEvent {
-            self.dispose()
-        }
-    }
-    
-    func run() -> Disposable {
-        let disposeEverything = SerialDisposable()
-        let cancelSchedule = SingleAssignmentDisposable()
-        
-        disposeEverything.disposable = cancelSchedule
-        
-        let disposeSchedule = parent.scheduler.schedule(()) { (_) -> Disposable in
-            let subscription = self.parent.source.subscribe(self)
-            disposeEverything.disposable = ScheduledDisposable(scheduler: self.parent.scheduler, disposable: subscription)
-            return Disposables.create()
-        }
-
-        cancelSchedule.setDisposable(disposeSchedule)
-    
-        return disposeEverything
-    }
-}
-
-final fileprivate class SubscribeOn<Ob: ObservableType> : Producer<Ob.E> {
-    let source: Ob
-    let scheduler: ImmediateSchedulerType
-    
-    init(source: Ob, scheduler: ImmediateSchedulerType) {
-        self.source = source
-        self.scheduler = scheduler
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Ob.E {
-        let sink = SubscribeOnSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Switch.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Switch.swift
deleted file mode 100644
index 2da100053eb..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Switch.swift
+++ /dev/null
@@ -1,233 +0,0 @@
-//
-//  Switch.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/12/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-    /**
-     Projects each element of an observable sequence into a new sequence of observable sequences and then
-     transforms an observable sequence of observable sequences into an observable sequence producing values only from the most recent observable sequence.
-
-     It is a combination of `map` + `switchLatest` operator
-
-     - seealso: [flatMapLatest operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html)
-
-     - parameter selector: A transform function to apply to each element.
-     - returns: An observable sequence whose elements are the result of invoking the transform function on each element of source producing an
-     Observable of Observable sequences and that at any point in time produces the elements of the most recent inner observable sequence that has been received.
-     */
-    public func flatMapLatest<O: ObservableConvertibleType>(_ selector: @escaping (E) throws -> O)
-        -> Observable<O.E> {
-            return FlatMapLatest(source: asObservable(), selector: selector)
-    }
-}
-
-extension ObservableType where E : ObservableConvertibleType {
-
-    /**
-     Transforms an observable sequence of observable sequences into an observable sequence
-     producing values only from the most recent observable sequence.
-
-     Each time a new inner observable sequence is received, unsubscribe from the
-     previous inner observable sequence.
-
-     - seealso: [switch operator on reactivex.io](http://reactivex.io/documentation/operators/switch.html)
-
-     - returns: The observable sequence that at any point in time produces the elements of the most recent inner observable sequence that has been received.
-     */
-    public func switchLatest() -> Observable<E.E> {
-        return Switch(source: asObservable())
-    }
-}
-
-fileprivate class SwitchSink<SourceType, S: ObservableConvertibleType, O: ObserverType>
-    : Sink<O>
-    , ObserverType where S.E == O.E {
-    typealias E = SourceType
-
-    fileprivate let _subscriptions: SingleAssignmentDisposable = SingleAssignmentDisposable()
-    fileprivate let _innerSubscription: SerialDisposable = SerialDisposable()
-
-    let _lock = RecursiveLock()
-    
-    // state
-    fileprivate var _stopped = false
-    fileprivate var _latest = 0
-    fileprivate var _hasLatest = false
-    
-    override init(observer: O, cancel: Cancelable) {
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run(_ source: Observable<SourceType>) -> Disposable {
-        let subscription = source.subscribe(self)
-        _subscriptions.setDisposable(subscription)
-        return Disposables.create(_subscriptions, _innerSubscription)
-    }
-
-    func performMap(_ element: SourceType) throws -> S {
-        rxAbstractMethod()
-    }
-
-    @inline(__always)
-    final private func nextElementArrived(element: E) -> (Int, Observable<S.E>)? {
-        _lock.lock(); defer { _lock.unlock() } // {
-            do {
-                let observable = try performMap(element).asObservable()
-                _hasLatest = true
-                _latest = _latest &+ 1
-                return (_latest, observable)
-            }
-            catch let error {
-                forwardOn(.error(error))
-                dispose()
-            }
-
-            return nil
-        // }
-    }
-
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next(let element):
-            if let (latest, observable) = nextElementArrived(element: element) {
-                let d = SingleAssignmentDisposable()
-                _innerSubscription.disposable = d
-                   
-                let observer = SwitchSinkIter(parent: self, id: latest, _self: d)
-                let disposable = observable.subscribe(observer)
-                d.setDisposable(disposable)
-            }
-        case .error(let error):
-            _lock.lock(); defer { _lock.unlock() }
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            _lock.lock(); defer { _lock.unlock() }
-            _stopped = true
-            
-            _subscriptions.dispose()
-            
-            if !_hasLatest {
-                forwardOn(.completed)
-                dispose()
-            }
-        }
-    }
-}
-
-final fileprivate class SwitchSinkIter<SourceType, S: ObservableConvertibleType, O: ObserverType>
-    : ObserverType
-    , LockOwnerType
-    , SynchronizedOnType where S.E == O.E {
-    typealias E = S.E
-    typealias Parent = SwitchSink<SourceType, S, O>
-    
-    fileprivate let _parent: Parent
-    fileprivate let _id: Int
-    fileprivate let _self: Disposable
-
-    var _lock: RecursiveLock {
-        return _parent._lock
-    }
-
-    init(parent: Parent, id: Int, _self: Disposable) {
-        _parent = parent
-        _id = id
-        self._self = _self
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next: break
-        case .error, .completed:
-            _self.dispose()
-        }
-        
-        if _parent._latest != _id {
-            return
-        }
-       
-        switch event {
-        case .next:
-            _parent.forwardOn(event)
-        case .error:
-            _parent.forwardOn(event)
-            _parent.dispose()
-        case .completed:
-            _parent._hasLatest = false
-            if _parent._stopped {
-                _parent.forwardOn(event)
-                _parent.dispose()
-            }
-        }
-    }
-}
-
-// MARK: Specializations
-
-final fileprivate class SwitchIdentitySink<S: ObservableConvertibleType, O: ObserverType> : SwitchSink<S, S, O> where O.E == S.E {
-    override init(observer: O, cancel: Cancelable) {
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    override func performMap(_ element: S) throws -> S {
-        return element
-    }
-}
-
-final fileprivate class MapSwitchSink<SourceType, S: ObservableConvertibleType, O: ObserverType> : SwitchSink<SourceType, S, O> where O.E == S.E {
-    typealias Selector = (SourceType) throws -> S
-
-    fileprivate let _selector: Selector
-
-    init(selector: @escaping Selector, observer: O, cancel: Cancelable) {
-        _selector = selector
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    override func performMap(_ element: SourceType) throws -> S {
-        return try _selector(element)
-    }
-}
-
-// MARK: Producers
-
-final fileprivate class Switch<S: ObservableConvertibleType> : Producer<S.E> {
-    fileprivate let _source: Observable<S>
-    
-    init(source: Observable<S>) {
-        _source = source
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == S.E {
-        let sink = SwitchIdentitySink<S, O>(observer: observer, cancel: cancel)
-        let subscription = sink.run(_source)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class FlatMapLatest<SourceType, S: ObservableConvertibleType> : Producer<S.E> {
-    typealias Selector = (SourceType) throws -> S
-
-    fileprivate let _source: Observable<SourceType>
-    fileprivate let _selector: Selector
-
-    init(source: Observable<SourceType>, selector: @escaping Selector) {
-        _source = source
-        _selector = selector
-    }
-
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == S.E {
-        let sink = MapSwitchSink<SourceType, S, O>(selector: _selector, observer: observer, cancel: cancel)
-        let subscription = sink.run(_source)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift
deleted file mode 100644
index 0b10dc614a1..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/SwitchIfEmpty.swift
+++ /dev/null
@@ -1,104 +0,0 @@
-//
-//  SwitchIfEmpty.swift
-//  RxSwift
-//
-//  Created by sergdort on 23/12/2016.
-//  Copyright © 2016 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-    /**
-     Returns the elements of the specified sequence or `switchTo` sequence if the sequence is empty.
-
-     - seealso: [DefaultIfEmpty operator on reactivex.io](http://reactivex.io/documentation/operators/defaultifempty.html)
-
-     - parameter switchTo: Observable sequence being returned when source sequence is empty.
-     - returns: Observable sequence that contains elements from switchTo sequence if source is empty, otherwise returns source sequence elements.
-     */
-    public func ifEmpty(switchTo other: Observable<E>) -> Observable<E> {
-        return SwitchIfEmpty(source: asObservable(), ifEmpty: other)
-    }
-}
-
-final fileprivate class SwitchIfEmpty<Element>: Producer<Element> {
-    
-    private let _source: Observable<E>
-    private let _ifEmpty: Observable<E>
-    
-    init(source: Observable<E>, ifEmpty: Observable<E>) {
-        _source = source
-        _ifEmpty = ifEmpty
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = SwitchIfEmptySink(ifEmpty: _ifEmpty,
-                                     observer: observer,
-                                     cancel: cancel)
-        let subscription = sink.run(_source.asObservable())
-        
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class SwitchIfEmptySink<O: ObserverType>: Sink<O>
-    , ObserverType {
-    typealias E = O.E
-    
-    private let _ifEmpty: Observable<E>
-    private var _isEmpty = true
-    private let _ifEmptySubscription = SingleAssignmentDisposable()
-    
-    init(ifEmpty: Observable<E>, observer: O, cancel: Cancelable) {
-        _ifEmpty = ifEmpty
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run(_ source: Observable<O.E>) -> Disposable {
-        let subscription = source.subscribe(self)
-        return Disposables.create(subscription, _ifEmptySubscription)
-    }
-    
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            _isEmpty = false
-            forwardOn(event)
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            guard _isEmpty else {
-                forwardOn(.completed)
-                dispose()
-                return
-            }
-            let ifEmptySink = SwitchIfEmptySinkIter(parent: self)
-            _ifEmptySubscription.setDisposable(_ifEmpty.subscribe(ifEmptySink))
-        }
-    }
-}
-
-final fileprivate class SwitchIfEmptySinkIter<O: ObserverType>
-    : ObserverType {
-    typealias E = O.E
-    typealias Parent = SwitchIfEmptySink<O>
-    
-    private let _parent: Parent
-
-    init(parent: Parent) {
-        _parent = parent
-    }
-    
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            _parent.forwardOn(event)
-        case .error:
-            _parent.forwardOn(event)
-            _parent.dispose()
-        case .completed:
-            _parent.forwardOn(event)
-            _parent.dispose()
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Take.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Take.swift
deleted file mode 100644
index a7fbe852058..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Take.swift
+++ /dev/null
@@ -1,180 +0,0 @@
-//
-//  Take.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/12/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Returns a specified number of contiguous elements from the start of an observable sequence.
-
-     - seealso: [take operator on reactivex.io](http://reactivex.io/documentation/operators/take.html)
-
-     - parameter count: The number of elements to return.
-     - returns: An observable sequence that contains the specified number of elements from the start of the input sequence.
-     */
-    public func take(_ count: Int)
-        -> Observable<E> {
-        if count == 0 {
-            return Observable.empty()
-        }
-        else {
-            return TakeCount(source: asObservable(), count: count)
-        }
-    }
-}
-
-extension ObservableType {
-
-    /**
-     Takes elements for the specified duration from the start of the observable source sequence, using the specified scheduler to run timers.
-
-     - seealso: [take operator on reactivex.io](http://reactivex.io/documentation/operators/take.html)
-
-     - parameter duration: Duration for taking elements from the start of the sequence.
-     - parameter scheduler: Scheduler to run the timer on.
-     - returns: An observable sequence with the elements taken during the specified duration from the start of the source sequence.
-     */
-    public func take(_ duration: RxTimeInterval, scheduler: SchedulerType)
-        -> Observable<E> {
-        return TakeTime(source: self.asObservable(), duration: duration, scheduler: scheduler)
-    }
-}
-
-// count version
-
-final fileprivate class TakeCountSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias E = O.E
-    typealias Parent = TakeCount<E>
-    
-    private let _parent: Parent
-    
-    private var _remaining: Int
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _remaining = parent._count
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next(let value):
-            
-            if _remaining > 0 {
-                _remaining -= 1
-                
-                forwardOn(.next(value))
-            
-                if _remaining == 0 {
-                    forwardOn(.completed)
-                    dispose()
-                }
-            }
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-    
-}
-
-final fileprivate class TakeCount<Element>: Producer<Element> {
-    fileprivate let _source: Observable<Element>
-    fileprivate let _count: Int
-    
-    init(source: Observable<Element>, count: Int) {
-        if count < 0 {
-            rxFatalError("count can't be negative")
-        }
-        _source = source
-        _count = count
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = TakeCountSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-// time version
-
-final fileprivate class TakeTimeSink<ElementType, O: ObserverType>
-    : Sink<O>
-    , LockOwnerType
-    , ObserverType
-    , SynchronizedOnType where O.E == ElementType {
-    typealias Parent = TakeTime<ElementType>
-    typealias E = ElementType
-
-    fileprivate let _parent: Parent
-    
-    let _lock = RecursiveLock()
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next(let value):
-            forwardOn(.next(value))
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-    
-    func tick() {
-        _lock.lock(); defer { _lock.unlock() }
-
-        forwardOn(.completed)
-        dispose()
-    }
-    
-    func run() -> Disposable {
-        let disposeTimer = _parent._scheduler.scheduleRelative((), dueTime: _parent._duration) {
-            self.tick()
-            return Disposables.create()
-        }
-        
-        let disposeSubscription = _parent._source.subscribe(self)
-        
-        return Disposables.create(disposeTimer, disposeSubscription)
-    }
-}
-
-final fileprivate class TakeTime<Element> : Producer<Element> {
-    typealias TimeInterval = RxTimeInterval
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _duration: TimeInterval
-    fileprivate let _scheduler: SchedulerType
-    
-    init(source: Observable<Element>, duration: TimeInterval, scheduler: SchedulerType) {
-        _source = source
-        _scheduler = scheduler
-        _duration = duration
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = TakeTimeSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeLast.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeLast.swift
deleted file mode 100644
index 7bf1664bfdf..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeLast.swift
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-//  TakeLast.swift
-//  RxSwift
-//
-//  Created by Tomi Koskinen on 25/10/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Returns a specified number of contiguous elements from the end of an observable sequence.
-
-     This operator accumulates a buffer with a length enough to store elements count elements. Upon completion of the source sequence, this buffer is drained on the result sequence. This causes the elements to be delayed.
-
-     - seealso: [takeLast operator on reactivex.io](http://reactivex.io/documentation/operators/takelast.html)
-
-     - parameter count: Number of elements to take from the end of the source sequence.
-     - returns: An observable sequence containing the specified number of elements from the end of the source sequence.
-     */
-    public func takeLast(_ count: Int)
-        -> Observable<E> {
-        return TakeLast(source: asObservable(), count: count)
-    }
-}
-
-final fileprivate class TakeLastSink<O: ObserverType> : Sink<O>, ObserverType {
-    typealias E = O.E
-    typealias Parent = TakeLast<E>
-    
-    private let _parent: Parent
-    
-    private var _elements: Queue<E>
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _elements = Queue<E>(capacity: parent._count + 1)
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next(let value):
-            _elements.enqueue(value)
-            if _elements.count > self._parent._count {
-                let _ = _elements.dequeue()
-            }
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            for e in _elements {
-                forwardOn(.next(e))
-            }
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class TakeLast<Element>: Producer<Element> {
-    fileprivate let _source: Observable<Element>
-    fileprivate let _count: Int
-    
-    init(source: Observable<Element>, count: Int) {
-        if count < 0 {
-            rxFatalError("count can't be negative")
-        }
-        _source = source
-        _count = count
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = TakeLastSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift
deleted file mode 100644
index f2e5f98b01a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeUntil.swift
+++ /dev/null
@@ -1,131 +0,0 @@
-//
-//  TakeUntil.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/7/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Returns the elements from the source observable sequence until the other observable sequence produces an element.
-
-     - seealso: [takeUntil operator on reactivex.io](http://reactivex.io/documentation/operators/takeuntil.html)
-
-     - parameter other: Observable sequence that terminates propagation of elements of the source sequence.
-     - returns: An observable sequence containing the elements of the source sequence up to the point the other sequence interrupted further propagation.
-     */
-    public func takeUntil<O: ObservableType>(_ other: O)
-        -> Observable<E> {
-        return TakeUntil(source: asObservable(), other: other.asObservable())
-    }
-}
-
-final fileprivate class TakeUntilSinkOther<Other, O: ObserverType>
-    : ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias Parent = TakeUntilSink<Other, O>
-    typealias E = Other
-    
-    fileprivate let _parent: Parent
-
-    var _lock: RecursiveLock {
-        return _parent._lock
-    }
-    
-    fileprivate let _subscription = SingleAssignmentDisposable()
-    
-    init(parent: Parent) {
-        _parent = parent
-#if TRACE_RESOURCES
-        let _ = Resources.incrementTotal()
-#endif
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            _parent.forwardOn(.completed)
-            _parent.dispose()
-        case .error(let e):
-            _parent.forwardOn(.error(e))
-            _parent.dispose()
-        case .completed:
-            _subscription.dispose()
-        }
-    }
-    
-#if TRACE_RESOURCES
-    deinit {
-        let _ = Resources.decrementTotal()
-    }
-#endif
-}
-
-final fileprivate class TakeUntilSink<Other, O: ObserverType>
-    : Sink<O>
-    , LockOwnerType
-    , ObserverType
-    , SynchronizedOnType {
-    typealias E = O.E
-    typealias Parent = TakeUntil<E, Other>
-    
-    fileprivate let _parent: Parent
- 
-    let _lock = RecursiveLock()
-    
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            forwardOn(event)
-        case .error:
-            forwardOn(event)
-            dispose()
-        case .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-    
-    func run() -> Disposable {
-        let otherObserver = TakeUntilSinkOther(parent: self)
-        let otherSubscription = _parent._other.subscribe(otherObserver)
-        otherObserver._subscription.setDisposable(otherSubscription)
-        let sourceSubscription = _parent._source.subscribe(self)
-        
-        return Disposables.create(sourceSubscription, otherObserver._subscription)
-    }
-}
-
-final fileprivate class TakeUntil<Element, Other>: Producer<Element> {
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _other: Observable<Other>
-    
-    init(source: Observable<Element>, other: Observable<Other>) {
-        _source = source
-        _other = other
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = TakeUntilSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift
deleted file mode 100644
index 45521fb41d8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/TakeWhile.swift
+++ /dev/null
@@ -1,161 +0,0 @@
-//
-//  TakeWhile.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/7/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Returns elements from an observable sequence as long as a specified condition is true.
-
-     - seealso: [takeWhile operator on reactivex.io](http://reactivex.io/documentation/operators/takewhile.html)
-
-     - parameter predicate: A function to test each element for a condition.
-     - returns: An observable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes.
-     */
-    public func takeWhile(_ predicate: @escaping (E) throws -> Bool)
-        -> Observable<E> {
-        return TakeWhile(source: asObservable(), predicate: predicate)
-    }
-
-    /**
-     Returns elements from an observable sequence as long as a specified condition is true.
-
-     The element's index is used in the logic of the predicate function.
-
-     - seealso: [takeWhile operator on reactivex.io](http://reactivex.io/documentation/operators/takewhile.html)
-
-     - parameter predicate: A function to test each element for a condition; the second parameter of the function represents the index of the source element.
-     - returns: An observable sequence that contains the elements from the input sequence that occur before the element at which the test no longer passes.
-     */
-    public func takeWhileWithIndex(_ predicate: @escaping (E, Int) throws -> Bool)
-        -> Observable<E> {
-        return TakeWhile(source: asObservable(), predicate: predicate)
-    }
-}
-
-final fileprivate class TakeWhileSink<O: ObserverType>
-    : Sink<O>
-    , ObserverType {
-    typealias Element = O.E
-    typealias Parent = TakeWhile<Element>
-
-    fileprivate let _parent: Parent
-
-    fileprivate var _running = true
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next(let value):
-            if !_running {
-                return
-            }
-            
-            do {
-                _running = try _parent._predicate(value)
-            } catch let e {
-                forwardOn(.error(e))
-                dispose()
-                return
-            }
-            
-            if _running {
-                forwardOn(.next(value))
-            } else {
-                forwardOn(.completed)
-                dispose()
-            }
-        case .error, .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-    
-}
-
-final fileprivate class TakeWhileSinkWithIndex<O: ObserverType>
-    : Sink<O>
-    , ObserverType {
-    typealias Element = O.E
-    typealias Parent = TakeWhile<Element>
-    
-    fileprivate let _parent: Parent
-    
-    fileprivate var _running = true
-    fileprivate var _index = 0
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<Element>) {
-        switch event {
-        case .next(let value):
-            if !_running {
-                return
-            }
-            
-            do {
-                _running = try _parent._predicateWithIndex(value, _index)
-                let _ = try incrementChecked(&_index)
-            } catch let e {
-                forwardOn(.error(e))
-                dispose()
-                return
-            }
-            
-            if _running {
-                forwardOn(.next(value))
-            } else {
-                forwardOn(.completed)
-                dispose()
-            }
-        case .error, .completed:
-            forwardOn(event)
-            dispose()
-        }
-    }
-    
-}
-
-final fileprivate class TakeWhile<Element>: Producer<Element> {
-    typealias Predicate = (Element) throws -> Bool
-    typealias PredicateWithIndex = (Element, Int) throws -> Bool
-
-    fileprivate let _source: Observable<Element>
-    fileprivate let _predicate: Predicate!
-    fileprivate let _predicateWithIndex: PredicateWithIndex!
-
-    init(source: Observable<Element>, predicate: @escaping Predicate) {
-        _source = source
-        _predicate = predicate
-        _predicateWithIndex = nil
-    }
-    
-    init(source: Observable<Element>, predicate: @escaping PredicateWithIndex) {
-        _source = source
-        _predicate = nil
-        _predicateWithIndex = predicate
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        if let _ = _predicate {
-            let sink = TakeWhileSink(parent: self, observer: observer, cancel: cancel)
-            let subscription = _source.subscribe(sink)
-            return (sink: sink, subscription: subscription)
-        } else {
-            let sink = TakeWhileSinkWithIndex(parent: self, observer: observer, cancel: cancel)
-            let subscription = _source.subscribe(sink)
-            return (sink: sink, subscription: subscription)
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Throttle.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Throttle.swift
deleted file mode 100644
index 0c4ca7466ff..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Throttle.swift
+++ /dev/null
@@ -1,163 +0,0 @@
-//
-//  Throttle.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/22/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.Date
-
-extension ObservableType {
-
-    /**
-     Returns an Observable that emits the first and the latest item emitted by the source Observable during sequential time windows of a specified duration.
-
-     This operator makes sure that no two elements are emitted in less then dueTime.
-
-     - seealso: [debounce operator on reactivex.io](http://reactivex.io/documentation/operators/debounce.html)
-
-     - parameter dueTime: Throttling duration for each element.
-     - parameter latest: Should latest element received in a dueTime wide time window since last element emission be emitted.
-     - parameter scheduler: Scheduler to run the throttle timers on.
-     - returns: The throttled sequence.
-     */
-    public func throttle(_ dueTime: RxTimeInterval, latest: Bool = true, scheduler: SchedulerType)
-        -> Observable<E> {
-        return Throttle(source: self.asObservable(), dueTime: dueTime, latest: latest, scheduler: scheduler)
-    }
-}
-
-final fileprivate class ThrottleSink<O: ObserverType>
-    : Sink<O>
-    , ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias Element = O.E
-    typealias ParentType = Throttle<Element>
-    
-    private let _parent: ParentType
-    
-    let _lock = RecursiveLock()
-    
-    // state
-    private var _lastUnsentElement: Element? = nil
-    private var _lastSentTime: Date? = nil
-    private var _completed: Bool = false
-
-    let cancellable = SerialDisposable()
-    
-    init(parent: ParentType, observer: O, cancel: Cancelable) {
-        _parent = parent
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        let subscription = _parent._source.subscribe(self)
-        
-        return Disposables.create(subscription, cancellable)
-    }
-
-    func on(_ event: Event<Element>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<Element>) {
-        switch event {
-        case .next(let element):
-            let now = _parent._scheduler.now
-
-            let timeIntervalSinceLast: RxTimeInterval
-
-            if let lastSendingTime = _lastSentTime {
-                timeIntervalSinceLast = now.timeIntervalSince(lastSendingTime)
-            }
-            else {
-                timeIntervalSinceLast = _parent._dueTime
-            }
-
-            let couldSendNow = timeIntervalSinceLast >= _parent._dueTime
-
-            if couldSendNow {
-                self.sendNow(element: element)
-                return
-            }
-
-            if !_parent._latest {
-                return
-            }
-
-            let isThereAlreadyInFlightRequest = _lastUnsentElement != nil
-            
-            _lastUnsentElement = element
-
-            if isThereAlreadyInFlightRequest {
-                return
-            }
-
-            let scheduler = _parent._scheduler
-            let dueTime = _parent._dueTime
-
-            let d = SingleAssignmentDisposable()
-            self.cancellable.disposable = d
-
-            d.setDisposable(scheduler.scheduleRelative(0, dueTime: dueTime - timeIntervalSinceLast, action: self.propagate))
-        case .error:
-            _lastUnsentElement = nil
-            forwardOn(event)
-            dispose()
-        case .completed:
-            if let _ = _lastUnsentElement {
-                _completed = true
-            }
-            else {
-                forwardOn(.completed)
-                dispose()
-            }
-        }
-    }
-
-    private func sendNow(element: Element) {
-        _lastUnsentElement = nil
-        self.forwardOn(.next(element))
-        // in case element processing takes a while, this should give some more room
-        _lastSentTime = _parent._scheduler.now
-    }
-    
-    func propagate(_: Int) -> Disposable {
-        _lock.lock(); defer { _lock.unlock() } // {
-            if let lastUnsentElement = _lastUnsentElement {
-                sendNow(element: lastUnsentElement)
-            }
-
-            if _completed {
-                forwardOn(.completed)
-                dispose()
-            }
-        // }
-        return Disposables.create()
-    }
-}
-
-final fileprivate class Throttle<Element> : Producer<Element> {
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _dueTime: RxTimeInterval
-    fileprivate let _latest: Bool
-    fileprivate let _scheduler: SchedulerType
-
-    init(source: Observable<Element>, dueTime: RxTimeInterval, latest: Bool, scheduler: SchedulerType) {
-        _source = source
-        _dueTime = dueTime
-        _latest = latest
-        _scheduler = scheduler
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = ThrottleSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-    
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Timeout.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Timeout.swift
deleted file mode 100644
index 7008de82861..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Timeout.swift
+++ /dev/null
@@ -1,152 +0,0 @@
-//
-//  Timeout.swift
-//  RxSwift
-//
-//  Created by Tomi Koskinen on 13/11/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Applies a timeout policy for each element in the observable sequence. If the next element isn't received within the specified timeout duration starting from its predecessor, a TimeoutError is propagated to the observer.
-
-     - seealso: [timeout operator on reactivex.io](http://reactivex.io/documentation/operators/timeout.html)
-
-     - parameter dueTime: Maximum duration between values before a timeout occurs.
-     - parameter scheduler: Scheduler to run the timeout timer on.
-     - returns: An observable sequence with a `RxError.timeout` in case of a timeout.
-     */
-    public func timeout(_ dueTime: RxTimeInterval, scheduler: SchedulerType)
-        -> Observable<E> {
-            return Timeout(source: self.asObservable(), dueTime: dueTime, other: Observable.error(RxError.timeout), scheduler: scheduler)
-    }
-
-    /**
-     Applies a timeout policy for each element in the observable sequence, using the specified scheduler to run timeout timers. If the next element isn't received within the specified timeout duration starting from its predecessor, the other observable sequence is used to produce future messages from that point on.
-
-     - seealso: [timeout operator on reactivex.io](http://reactivex.io/documentation/operators/timeout.html)
-
-     - parameter dueTime: Maximum duration between values before a timeout occurs.
-     - parameter other: Sequence to return in case of a timeout.
-     - parameter scheduler: Scheduler to run the timeout timer on.
-     - returns: The source sequence switching to the other sequence in case of a timeout.
-     */
-    public func timeout<O: ObservableConvertibleType>(_ dueTime: RxTimeInterval, other: O, scheduler: SchedulerType)
-        -> Observable<E> where E == O.E {
-            return Timeout(source: self.asObservable(), dueTime: dueTime, other: other.asObservable(), scheduler: scheduler)
-    }
-}
-
-final fileprivate class TimeoutSink<O: ObserverType>: Sink<O>, LockOwnerType, ObserverType {
-    typealias E = O.E
-    typealias Parent = Timeout<E>
-    
-    private let _parent: Parent
-    
-    let _lock = RecursiveLock()
-
-    private let _timerD = SerialDisposable()
-    private let _subscription = SerialDisposable()
-    
-    private var _id = 0
-    private var _switched = false
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        let original = SingleAssignmentDisposable()
-        _subscription.disposable = original
-        
-        _createTimeoutTimer()
-        
-        original.setDisposable(_parent._source.subscribe(self))
-        
-        return Disposables.create(_subscription, _timerD)
-    }
-
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            var onNextWins = false
-            
-            _lock.performLocked() {
-                onNextWins = !self._switched
-                if onNextWins {
-                    self._id = self._id &+ 1
-                }
-            }
-            
-            if onNextWins {
-                forwardOn(event)
-                self._createTimeoutTimer()
-            }
-        case .error, .completed:
-            var onEventWins = false
-            
-            _lock.performLocked() {
-                onEventWins = !self._switched
-                if onEventWins {
-                    self._id = self._id &+ 1
-                }
-            }
-            
-            if onEventWins {
-                forwardOn(event)
-                self.dispose()
-            }
-        }
-    }
-    
-    private func _createTimeoutTimer() {
-        if _timerD.isDisposed {
-            return
-        }
-        
-        let nextTimer = SingleAssignmentDisposable()
-        _timerD.disposable = nextTimer
-        
-        let disposeSchedule = _parent._scheduler.scheduleRelative(_id, dueTime: _parent._dueTime) { state in
-            
-            var timerWins = false
-            
-            self._lock.performLocked() {
-                self._switched = (state == self._id)
-                timerWins = self._switched
-            }
-            
-            if timerWins {
-                self._subscription.disposable = self._parent._other.subscribe(self.forwarder())
-            }
-            
-            return Disposables.create()
-        }
-
-        nextTimer.setDisposable(disposeSchedule)
-    }
-}
-
-
-final fileprivate class Timeout<Element> : Producer<Element> {
-    
-    fileprivate let _source: Observable<Element>
-    fileprivate let _dueTime: RxTimeInterval
-    fileprivate let _other: Observable<Element>
-    fileprivate let _scheduler: SchedulerType
-    
-    init(source: Observable<Element>, dueTime: RxTimeInterval, other: Observable<Element>, scheduler: SchedulerType) {
-        _source = source
-        _dueTime = dueTime
-        _other = other
-        _scheduler = scheduler
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Element {
-        let sink = TimeoutSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Timer.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Timer.swift
deleted file mode 100644
index f62be1cce82..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Timer.swift
+++ /dev/null
@@ -1,111 +0,0 @@
-//
-//  Timer.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/7/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable where Element : SignedInteger {
-    /**
-     Returns an observable sequence that produces a value after each period, using the specified scheduler to run timers and to send out observer messages.
-
-     - seealso: [interval operator on reactivex.io](http://reactivex.io/documentation/operators/interval.html)
-
-     - parameter period: Period for producing the values in the resulting sequence.
-     - parameter scheduler: Scheduler to run the timer on.
-     - returns: An observable sequence that produces a value after each period.
-     */
-    public static func interval(_ period: RxTimeInterval, scheduler: SchedulerType)
-        -> Observable<E> {
-        return Timer(dueTime: period,
-                     period: period,
-                     scheduler: scheduler
-        )
-    }
-}
-
-extension Observable where Element: SignedInteger {
-    /**
-     Returns an observable sequence that periodically produces a value after the specified initial relative due time has elapsed, using the specified scheduler to run timers.
-
-     - seealso: [timer operator on reactivex.io](http://reactivex.io/documentation/operators/timer.html)
-
-     - parameter dueTime: Relative time at which to produce the first value.
-     - parameter period: Period to produce subsequent values.
-     - parameter scheduler: Scheduler to run timers on.
-     - returns: An observable sequence that produces a value after due time has elapsed and then each period.
-     */
-    public static func timer(_ dueTime: RxTimeInterval, period: RxTimeInterval? = nil, scheduler: SchedulerType)
-        -> Observable<E> {
-        return Timer(
-            dueTime: dueTime,
-            period: period,
-            scheduler: scheduler
-        )
-    }
-}
-
-final fileprivate class TimerSink<O: ObserverType> : Sink<O> where O.E : SignedInteger  {
-    typealias Parent = Timer<O.E>
-    
-    private let _parent: Parent
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        return _parent._scheduler.schedulePeriodic(0 as O.E, startAfter: _parent._dueTime, period: _parent._period!) { state in
-            self.forwardOn(.next(state))
-            return state &+ 1
-        }
-    }
-}
-
-final fileprivate class TimerOneOffSink<O: ObserverType> : Sink<O> where O.E : SignedInteger {
-    typealias Parent = Timer<O.E>
-    
-    private let _parent: Parent
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        return _parent._scheduler.scheduleRelative(self, dueTime: _parent._dueTime) { (`self`) -> Disposable in
-            self.forwardOn(.next(0))
-            self.forwardOn(.completed)
-            self.dispose()
-
-            return Disposables.create()
-        }
-    }
-}
-
-final fileprivate class Timer<E: SignedInteger>: Producer<E> {
-    fileprivate let _scheduler: SchedulerType
-    fileprivate let _dueTime: RxTimeInterval
-    fileprivate let _period: RxTimeInterval?
-    
-    init(dueTime: RxTimeInterval, period: RxTimeInterval?, scheduler: SchedulerType) {
-        _scheduler = scheduler
-        _dueTime = dueTime
-        _period = period
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        if let _ = _period {
-            let sink = TimerSink(parent: self, observer: observer, cancel: cancel)
-            let subscription = sink.run()
-            return (sink: sink, subscription: subscription)
-        }
-        else {
-            let sink = TimerOneOffSink(parent: self, observer: observer, cancel: cancel)
-            let subscription = sink.run()
-            return (sink: sink, subscription: subscription)
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ToArray.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ToArray.swift
deleted file mode 100644
index 93fcb80e11a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/ToArray.swift
+++ /dev/null
@@ -1,66 +0,0 @@
-//
-//  ToArray.swift
-//  RxSwift
-//
-//  Created by Junior B. on 20/10/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-
-extension ObservableType {
-
-    /**
-    Converts an Observable into another Observable that emits the whole sequence as a single array and then terminates.
-    
-    For aggregation behavior see `reduce`.
-
-    - seealso: [toArray operator on reactivex.io](http://reactivex.io/documentation/operators/to.html)
-    
-    - returns: An observable sequence containing all the emitted elements as array.
-    */
-    public func toArray()
-        -> Observable<[E]> {
-        return ToArray(source: self.asObservable())
-    }
-}
-
-final fileprivate class ToArraySink<SourceType, O: ObserverType> : Sink<O>, ObserverType where O.E == [SourceType] {
-    typealias Parent = ToArray<SourceType>
-    
-    let _parent: Parent
-    var _list = Array<SourceType>()
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<SourceType>) {
-        switch event {
-        case .next(let value):
-            self._list.append(value)
-        case .error(let e):
-            forwardOn(.error(e))
-            self.dispose()
-        case .completed:
-            forwardOn(.next(_list))
-            forwardOn(.completed)
-            self.dispose()
-        }
-    }
-}
-
-final fileprivate class ToArray<SourceType> : Producer<[SourceType]> {
-    let _source: Observable<SourceType>
-
-    init(source: Observable<SourceType>) {
-        _source = source
-    }
-    
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == [SourceType] {
-        let sink = ToArraySink(parent: self, observer: observer, cancel: cancel)
-        let subscription = _source.subscribe(sink)
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Using.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Using.swift
deleted file mode 100644
index 6c32a98b5a9..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Using.swift
+++ /dev/null
@@ -1,90 +0,0 @@
-//
-//  Using.swift
-//  RxSwift
-//
-//  Created by Yury Korolev on 10/15/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Constructs an observable sequence that depends on a resource object, whose lifetime is tied to the resulting observable sequence's lifetime.
-
-     - seealso: [using operator on reactivex.io](http://reactivex.io/documentation/operators/using.html)
-
-     - parameter resourceFactory: Factory function to obtain a resource object.
-     - parameter observableFactory: Factory function to obtain an observable sequence that depends on the obtained resource.
-     - returns: An observable sequence whose lifetime controls the lifetime of the dependent resource object.
-     */
-    public static func using<Resource: Disposable>(_ resourceFactory: @escaping () throws -> Resource, observableFactory: @escaping (Resource) throws -> Observable<E>) -> Observable<E> {
-        return Using(resourceFactory: resourceFactory, observableFactory: observableFactory)
-    }
-}
-
-final fileprivate class UsingSink<ResourceType: Disposable, O: ObserverType> : Sink<O>, ObserverType {
-    typealias SourceType = O.E
-    typealias Parent = Using<SourceType, ResourceType>
-
-    private let _parent: Parent
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        var disposable = Disposables.create()
-        
-        do {
-            let resource = try _parent._resourceFactory()
-            disposable = resource
-            let source = try _parent._observableFactory(resource)
-            
-            return Disposables.create(
-                source.subscribe(self),
-                disposable
-            )
-        } catch let error {
-            return Disposables.create(
-                Observable.error(error).subscribe(self),
-                disposable
-            )
-        }
-    }
-    
-    func on(_ event: Event<SourceType>) {
-        switch event {
-        case let .next(value):
-            forwardOn(.next(value))
-        case let .error(error):
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final fileprivate class Using<SourceType, ResourceType: Disposable>: Producer<SourceType> {
-    
-    typealias E = SourceType
-    
-    typealias ResourceFactory = () throws -> ResourceType
-    typealias ObservableFactory = (ResourceType) throws -> Observable<SourceType>
-    
-    fileprivate let _resourceFactory: ResourceFactory
-    fileprivate let _observableFactory: ObservableFactory
-    
-    
-    init(resourceFactory: @escaping ResourceFactory, observableFactory: @escaping ObservableFactory) {
-        _resourceFactory = resourceFactory
-        _observableFactory = observableFactory
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == E {
-        let sink = UsingSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Window.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Window.swift
deleted file mode 100644
index c862dfba78a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Window.swift
+++ /dev/null
@@ -1,170 +0,0 @@
-//
-//  Window.swift
-//  RxSwift
-//
-//  Created by Junior B. on 29/10/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Projects each element of an observable sequence into a window that is completed when either it’s full or a given amount of time has elapsed.
-
-     - seealso: [window operator on reactivex.io](http://reactivex.io/documentation/operators/window.html)
-
-     - parameter timeSpan: Maximum time length of a window.
-     - parameter count: Maximum element count of a window.
-     - parameter scheduler: Scheduler to run windowing timers on.
-     - returns: An observable sequence of windows (instances of `Observable`).
-     */
-    public func window(timeSpan: RxTimeInterval, count: Int, scheduler: SchedulerType)
-        -> Observable<Observable<E>> {
-            return WindowTimeCount(source: self.asObservable(), timeSpan: timeSpan, count: count, scheduler: scheduler)
-    }
-}
-
-final fileprivate class WindowTimeCountSink<Element, O: ObserverType>
-    : Sink<O>
-    , ObserverType
-    , LockOwnerType
-    , SynchronizedOnType where O.E == Observable<Element> {
-    typealias Parent = WindowTimeCount<Element>
-    typealias E = Element
-    
-    private let _parent: Parent
-    
-    let _lock = RecursiveLock()
-    
-    private var _subject = PublishSubject<Element>()
-    private var _count = 0
-    private var _windowId = 0
-    
-    private let _timerD = SerialDisposable()
-    private let _refCountDisposable: RefCountDisposable
-    private let _groupDisposable = CompositeDisposable()
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        
-        let _ = _groupDisposable.insert(_timerD)
-        
-        _refCountDisposable = RefCountDisposable(disposable: _groupDisposable)
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        
-        forwardOn(.next(AddRef(source: _subject, refCount: _refCountDisposable).asObservable()))
-        createTimer(_windowId)
-        
-        let _ = _groupDisposable.insert(_parent._source.subscribe(self))
-        return _refCountDisposable
-    }
-    
-    func startNewWindowAndCompleteCurrentOne() {
-        _subject.on(.completed)
-        _subject = PublishSubject<Element>()
-        
-        forwardOn(.next(AddRef(source: _subject, refCount: _refCountDisposable).asObservable()))
-    }
-
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        var newWindow = false
-        var newId = 0
-        
-        switch event {
-        case .next(let element):
-            _subject.on(.next(element))
-            
-            do {
-                let _ = try incrementChecked(&_count)
-            } catch (let e) {
-                _subject.on(.error(e as Swift.Error))
-                dispose()
-            }
-            
-            if (_count == _parent._count) {
-                newWindow = true
-                _count = 0
-                _windowId += 1
-                newId = _windowId
-                self.startNewWindowAndCompleteCurrentOne()
-            }
-            
-        case .error(let error):
-            _subject.on(.error(error))
-            forwardOn(.error(error))
-            dispose()
-        case .completed:
-            _subject.on(.completed)
-            forwardOn(.completed)
-            dispose()
-        }
-
-        if newWindow {
-            createTimer(newId)
-        }
-    }
-    
-    func createTimer(_ windowId: Int) {
-        if _timerD.isDisposed {
-            return
-        }
-        
-        if _windowId != windowId {
-            return
-        }
-
-        let nextTimer = SingleAssignmentDisposable()
-
-        _timerD.disposable = nextTimer
-
-        let scheduledRelative = _parent._scheduler.scheduleRelative(windowId, dueTime: _parent._timeSpan) { previousWindowId in
-            
-            var newId = 0
-            
-            self._lock.performLocked {
-                if previousWindowId != self._windowId {
-                    return
-                }
-                
-                self._count = 0
-                self._windowId = self._windowId &+ 1
-                newId = self._windowId
-                self.startNewWindowAndCompleteCurrentOne()
-            }
-            
-            self.createTimer(newId)
-            
-            return Disposables.create()
-        }
-
-        nextTimer.setDisposable(scheduledRelative)
-    }
-}
-
-final fileprivate class WindowTimeCount<Element> : Producer<Observable<Element>> {
-    
-    fileprivate let _timeSpan: RxTimeInterval
-    fileprivate let _count: Int
-    fileprivate let _scheduler: SchedulerType
-    fileprivate let _source: Observable<Element>
-    
-    init(source: Observable<Element>, timeSpan: RxTimeInterval, count: Int, scheduler: SchedulerType) {
-        _source = source
-        _timeSpan = timeSpan
-        _count = count
-        _scheduler = scheduler
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == Observable<Element> {
-        let sink = WindowTimeCountSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift
deleted file mode 100644
index 35205e4fdcd..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/WithLatestFrom.swift
+++ /dev/null
@@ -1,149 +0,0 @@
-//
-//  WithLatestFrom.swift
-//  RxSwift
-//
-//  Created by Yury Korolev on 10/19/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension ObservableType {
-
-    /**
-     Merges two observable sequences into one observable sequence by combining each element from self with the latest element from the second source, if any.
-
-     - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-     - parameter second: Second observable source.
-     - parameter resultSelector: Function to invoke for each element from the self combined with the latest element from the second source, if any.
-     - returns: An observable sequence containing the result of combining each element of the self  with the latest element from the second source, if any, using the specified result selector function.
-     */
-    public func withLatestFrom<SecondO: ObservableConvertibleType, ResultType>(_ second: SecondO, resultSelector: @escaping (E, SecondO.E) throws -> ResultType) -> Observable<ResultType> {
-        return WithLatestFrom(first: asObservable(), second: second.asObservable(), resultSelector: resultSelector)
-    }
-
-    /**
-     Merges two observable sequences into one observable sequence by using latest element from the second sequence every time when `self` emitts an element.
-
-     - seealso: [combineLatest operator on reactivex.io](http://reactivex.io/documentation/operators/combinelatest.html)
-
-     - parameter second: Second observable source.
-     - returns: An observable sequence containing the result of combining each element of the self  with the latest element from the second source, if any, using the specified result selector function.
-     */
-    public func withLatestFrom<SecondO: ObservableConvertibleType>(_ second: SecondO) -> Observable<SecondO.E> {
-        return WithLatestFrom(first: asObservable(), second: second.asObservable(), resultSelector: { $1 })
-    }
-}
-
-final fileprivate class WithLatestFromSink<FirstType, SecondType, O: ObserverType>
-    : Sink<O>
-    , ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias ResultType = O.E
-    typealias Parent = WithLatestFrom<FirstType, SecondType, ResultType>
-    typealias E = FirstType
-    
-    fileprivate let _parent: Parent
-    
-    var _lock = RecursiveLock()
-    fileprivate var _latest: SecondType?
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func run() -> Disposable {
-        let sndSubscription = SingleAssignmentDisposable()
-        let sndO = WithLatestFromSecond(parent: self, disposable: sndSubscription)
-        
-        sndSubscription.setDisposable(_parent._second.subscribe(sndO))
-        let fstSubscription = _parent._first.subscribe(self)
-
-        return Disposables.create(fstSubscription, sndSubscription)
-    }
-
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case let .next(value):
-            guard let latest = _latest else { return }
-            do {
-                let res = try _parent._resultSelector(value, latest)
-                
-                forwardOn(.next(res))
-            } catch let e {
-                forwardOn(.error(e))
-                dispose()
-            }
-        case .completed:
-            forwardOn(.completed)
-            dispose()
-        case let .error(error):
-            forwardOn(.error(error))
-            dispose()
-        }
-    }
-}
-
-final fileprivate class WithLatestFromSecond<FirstType, SecondType, O: ObserverType>
-    : ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    
-    typealias ResultType = O.E
-    typealias Parent = WithLatestFromSink<FirstType, SecondType, O>
-    typealias E = SecondType
-    
-    private let _parent: Parent
-    private let _disposable: Disposable
-
-    var _lock: RecursiveLock {
-        return _parent._lock
-    }
-
-    init(parent: Parent, disposable: Disposable) {
-        _parent = parent
-        _disposable = disposable
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        switch event {
-        case let .next(value):
-            _parent._latest = value
-        case .completed:
-            _disposable.dispose()
-        case let .error(error):
-            _parent.forwardOn(.error(error))
-            _parent.dispose()
-        }
-    }
-}
-
-final fileprivate class WithLatestFrom<FirstType, SecondType, ResultType>: Producer<ResultType> {
-    typealias ResultSelector = (FirstType, SecondType) throws -> ResultType
-    
-    fileprivate let _first: Observable<FirstType>
-    fileprivate let _second: Observable<SecondType>
-    fileprivate let _resultSelector: ResultSelector
-
-    init(first: Observable<FirstType>, second: Observable<SecondType>, resultSelector: @escaping ResultSelector) {
-        _first = first
-        _second = second
-        _resultSelector = resultSelector
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == ResultType {
-        let sink = WithLatestFromSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift
deleted file mode 100644
index 6559491b8cc..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip+Collection.swift
+++ /dev/null
@@ -1,169 +0,0 @@
-//
-//  Zip+Collection.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 8/30/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-extension Observable {
-    /**
-     Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-     - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-     - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-     - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-     */
-    public static func zip<C: Collection>(_ collection: C, _ resultSelector: @escaping ([C.Iterator.Element.E]) throws -> Element) -> Observable<Element>
-        where C.Iterator.Element: ObservableType {
-        return ZipCollectionType(sources: collection, resultSelector: resultSelector)
-    }
-
-    /**
-     Merges the specified observable sequences into one observable sequence whenever all of the observable sequences have produced an element at a corresponding index.
-
-     - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-     - returns: An observable sequence containing the result of combining elements of the sources.
-     */
-    public static func zip<C: Collection>(_ collection: C) -> Observable<[Element]>
-        where C.Iterator.Element: ObservableType, C.Iterator.Element.E == Element {
-        return ZipCollectionType(sources: collection, resultSelector: { $0 })
-    }
-    
-}
-
-final fileprivate class ZipCollectionTypeSink<C: Collection, O: ObserverType>
-    : Sink<O> where C.Iterator.Element : ObservableConvertibleType {
-    typealias R = O.E
-    typealias Parent = ZipCollectionType<C, R>
-    typealias SourceElement = C.Iterator.Element.E
-    
-    private let _parent: Parent
-    
-    private let _lock = RecursiveLock()
-    
-    // state
-    private var _numberOfValues = 0
-    private var _values: [Queue<SourceElement>]
-    private var _isDone: [Bool]
-    private var _numberOfDone = 0
-    private var _subscriptions: [SingleAssignmentDisposable]
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        _values = [Queue<SourceElement>](repeating: Queue(capacity: 4), count: parent.count)
-        _isDone = [Bool](repeating: false, count: parent.count)
-        _subscriptions = Array<SingleAssignmentDisposable>()
-        _subscriptions.reserveCapacity(parent.count)
-        
-        for _ in 0 ..< parent.count {
-            _subscriptions.append(SingleAssignmentDisposable())
-        }
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-    
-    func on(_ event: Event<SourceElement>, atIndex: Int) {
-        _lock.lock(); defer { _lock.unlock() } // {
-            switch event {
-            case .next(let element):
-                _values[atIndex].enqueue(element)
-                
-                if _values[atIndex].count == 1 {
-                    _numberOfValues += 1
-                }
-                
-                if _numberOfValues < _parent.count {
-                    if _numberOfDone == _parent.count - 1 {
-                        self.forwardOn(.completed)
-                        self.dispose()
-                    }
-                    return
-                }
-                
-                do {
-                    var arguments = [SourceElement]()
-                    arguments.reserveCapacity(_parent.count)
-                    
-                    // recalculate number of values
-                    _numberOfValues = 0
-                    
-                    for i in 0 ..< _values.count {
-                        arguments.append(_values[i].dequeue()!)
-                        if _values[i].count > 0 {
-                            _numberOfValues += 1
-                        }
-                    }
-                    
-                    let result = try _parent.resultSelector(arguments)
-                    self.forwardOn(.next(result))
-                }
-                catch let error {
-                    self.forwardOn(.error(error))
-                    self.dispose()
-                }
-                
-            case .error(let error):
-                self.forwardOn(.error(error))
-                self.dispose()
-            case .completed:
-                if _isDone[atIndex] {
-                    return
-                }
-                
-                _isDone[atIndex] = true
-                _numberOfDone += 1
-                
-                if _numberOfDone == _parent.count {
-                    self.forwardOn(.completed)
-                    self.dispose()
-                }
-                else {
-                    _subscriptions[atIndex].dispose()
-                }
-            }
-        // }
-    }
-    
-    func run() -> Disposable {
-        var j = 0
-        for i in _parent.sources {
-            let index = j
-            let source = i.asObservable()
-
-            let disposable = source.subscribe(AnyObserver { event in
-                self.on(event, atIndex: index)
-                })
-            _subscriptions[j].setDisposable(disposable)
-            j += 1
-        }
-
-        if _parent.sources.isEmpty {
-            self.forwardOn(.completed)
-        }
-        
-        return Disposables.create(_subscriptions)
-    }
-}
-
-final fileprivate class ZipCollectionType<C: Collection, R> : Producer<R> where C.Iterator.Element : ObservableConvertibleType {
-    typealias ResultSelector = ([C.Iterator.Element.E]) throws -> R
-    
-    let sources: C
-    let resultSelector: ResultSelector
-    let count: Int
-    
-    init(sources: C, resultSelector: @escaping ResultSelector) {
-        self.sources = sources
-        self.resultSelector = resultSelector
-        self.count = Int(self.sources.count.toIntMax())
-    }
-    
-    override func run<O : ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = ZipCollectionTypeSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift
deleted file mode 100644
index 602b49ef1c4..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip+arity.swift
+++ /dev/null
@@ -1,948 +0,0 @@
-// This file is autogenerated. Take a look at `Preprocessor` target in RxSwift project 
-//
-//  Zip+arity.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/23/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-
-
-// 2
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType>
-        (_ source1: O1, _ source2: O2, resultSelector: @escaping (O1.E, O2.E) throws -> E)
-        -> Observable<E> {
-        return Zip2(
-            source1: source1.asObservable(), source2: source2.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType>
-        (_ source1: O1, _ source2: O2)
-        -> Observable<(O1.E, O2.E)> {
-        return Zip2(
-            source1: source1.asObservable(), source2: source2.asObservable(),
-            resultSelector: { ($0, $1) }
-        )
-    }
-}
-
-final class ZipSink2_<E1, E2, O: ObserverType> : ZipSink<O> {
-    typealias R = O.E
-    typealias Parent = Zip2<E1, E2, R>
-
-    let _parent: Parent
-
-    var _values1: Queue<E1> = Queue(capacity: 2)
-    var _values2: Queue<E2> = Queue(capacity: 2)
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 2, observer: observer, cancel: cancel)
-    }
-
-    override func hasElements(_ index: Int) -> Bool {
-        switch (index) {
-        case 0: return _values1.count > 0
-        case 1: return _values2.count > 0
-
-        default:
-            rxFatalError("Unhandled case (Function)")
-        }
-
-        return false
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-
-        let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1)
-        let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2)
-
-        subscription1.setDisposable(_parent.source1.subscribe(observer1))
-        subscription2.setDisposable(_parent.source2.subscribe(observer2))
-
-        return Disposables.create([
-           subscription1,
-           subscription2
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!)
-    }
-}
-
-final class Zip2<E1, E2, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2) throws -> R
-
-    let source1: Observable<E1>
-    let source2: Observable<E2>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, resultSelector: @escaping ResultSelector) {
-        self.source1 = source1
-        self.source2 = source2
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = ZipSink2_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 3
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, resultSelector: @escaping (O1.E, O2.E, O3.E) throws -> E)
-        -> Observable<E> {
-        return Zip3(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3)
-        -> Observable<(O1.E, O2.E, O3.E)> {
-        return Zip3(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(),
-            resultSelector: { ($0, $1, $2) }
-        )
-    }
-}
-
-final class ZipSink3_<E1, E2, E3, O: ObserverType> : ZipSink<O> {
-    typealias R = O.E
-    typealias Parent = Zip3<E1, E2, E3, R>
-
-    let _parent: Parent
-
-    var _values1: Queue<E1> = Queue(capacity: 2)
-    var _values2: Queue<E2> = Queue(capacity: 2)
-    var _values3: Queue<E3> = Queue(capacity: 2)
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 3, observer: observer, cancel: cancel)
-    }
-
-    override func hasElements(_ index: Int) -> Bool {
-        switch (index) {
-        case 0: return _values1.count > 0
-        case 1: return _values2.count > 0
-        case 2: return _values3.count > 0
-
-        default:
-            rxFatalError("Unhandled case (Function)")
-        }
-
-        return false
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-
-        let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1)
-        let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2)
-        let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3)
-
-        subscription1.setDisposable(_parent.source1.subscribe(observer1))
-        subscription2.setDisposable(_parent.source2.subscribe(observer2))
-        subscription3.setDisposable(_parent.source3.subscribe(observer3))
-
-        return Disposables.create([
-           subscription1,
-           subscription2,
-           subscription3
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!)
-    }
-}
-
-final class Zip3<E1, E2, E3, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3) throws -> R
-
-    let source1: Observable<E1>
-    let source2: Observable<E2>
-    let source3: Observable<E3>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, resultSelector: @escaping ResultSelector) {
-        self.source1 = source1
-        self.source2 = source2
-        self.source3 = source3
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = ZipSink3_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 4
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E) throws -> E)
-        -> Observable<E> {
-        return Zip4(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4)
-        -> Observable<(O1.E, O2.E, O3.E, O4.E)> {
-        return Zip4(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(),
-            resultSelector: { ($0, $1, $2, $3) }
-        )
-    }
-}
-
-final class ZipSink4_<E1, E2, E3, E4, O: ObserverType> : ZipSink<O> {
-    typealias R = O.E
-    typealias Parent = Zip4<E1, E2, E3, E4, R>
-
-    let _parent: Parent
-
-    var _values1: Queue<E1> = Queue(capacity: 2)
-    var _values2: Queue<E2> = Queue(capacity: 2)
-    var _values3: Queue<E3> = Queue(capacity: 2)
-    var _values4: Queue<E4> = Queue(capacity: 2)
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 4, observer: observer, cancel: cancel)
-    }
-
-    override func hasElements(_ index: Int) -> Bool {
-        switch (index) {
-        case 0: return _values1.count > 0
-        case 1: return _values2.count > 0
-        case 2: return _values3.count > 0
-        case 3: return _values4.count > 0
-
-        default:
-            rxFatalError("Unhandled case (Function)")
-        }
-
-        return false
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-
-        let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1)
-        let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2)
-        let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3)
-        let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4)
-
-        subscription1.setDisposable(_parent.source1.subscribe(observer1))
-        subscription2.setDisposable(_parent.source2.subscribe(observer2))
-        subscription3.setDisposable(_parent.source3.subscribe(observer3))
-        subscription4.setDisposable(_parent.source4.subscribe(observer4))
-
-        return Disposables.create([
-           subscription1,
-           subscription2,
-           subscription3,
-           subscription4
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!)
-    }
-}
-
-final class Zip4<E1, E2, E3, E4, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4) throws -> R
-
-    let source1: Observable<E1>
-    let source2: Observable<E2>
-    let source3: Observable<E3>
-    let source4: Observable<E4>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, resultSelector: @escaping ResultSelector) {
-        self.source1 = source1
-        self.source2 = source2
-        self.source3 = source3
-        self.source4 = source4
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = ZipSink4_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 5
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E) throws -> E)
-        -> Observable<E> {
-        return Zip5(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5)
-        -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E)> {
-        return Zip5(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(),
-            resultSelector: { ($0, $1, $2, $3, $4) }
-        )
-    }
-}
-
-final class ZipSink5_<E1, E2, E3, E4, E5, O: ObserverType> : ZipSink<O> {
-    typealias R = O.E
-    typealias Parent = Zip5<E1, E2, E3, E4, E5, R>
-
-    let _parent: Parent
-
-    var _values1: Queue<E1> = Queue(capacity: 2)
-    var _values2: Queue<E2> = Queue(capacity: 2)
-    var _values3: Queue<E3> = Queue(capacity: 2)
-    var _values4: Queue<E4> = Queue(capacity: 2)
-    var _values5: Queue<E5> = Queue(capacity: 2)
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 5, observer: observer, cancel: cancel)
-    }
-
-    override func hasElements(_ index: Int) -> Bool {
-        switch (index) {
-        case 0: return _values1.count > 0
-        case 1: return _values2.count > 0
-        case 2: return _values3.count > 0
-        case 3: return _values4.count > 0
-        case 4: return _values5.count > 0
-
-        default:
-            rxFatalError("Unhandled case (Function)")
-        }
-
-        return false
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-        let subscription5 = SingleAssignmentDisposable()
-
-        let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1)
-        let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2)
-        let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3)
-        let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4)
-        let observer5 = ZipObserver(lock: _lock, parent: self, index: 4, setNextValue: { self._values5.enqueue($0) }, this: subscription5)
-
-        subscription1.setDisposable(_parent.source1.subscribe(observer1))
-        subscription2.setDisposable(_parent.source2.subscribe(observer2))
-        subscription3.setDisposable(_parent.source3.subscribe(observer3))
-        subscription4.setDisposable(_parent.source4.subscribe(observer4))
-        subscription5.setDisposable(_parent.source5.subscribe(observer5))
-
-        return Disposables.create([
-           subscription1,
-           subscription2,
-           subscription3,
-           subscription4,
-           subscription5
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!, _values5.dequeue()!)
-    }
-}
-
-final class Zip5<E1, E2, E3, E4, E5, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4, E5) throws -> R
-
-    let source1: Observable<E1>
-    let source2: Observable<E2>
-    let source3: Observable<E3>
-    let source4: Observable<E4>
-    let source5: Observable<E5>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, source5: Observable<E5>, resultSelector: @escaping ResultSelector) {
-        self.source1 = source1
-        self.source2 = source2
-        self.source3 = source3
-        self.source4 = source4
-        self.source5 = source5
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = ZipSink5_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 6
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E) throws -> E)
-        -> Observable<E> {
-        return Zip6(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6)
-        -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E)> {
-        return Zip6(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(),
-            resultSelector: { ($0, $1, $2, $3, $4, $5) }
-        )
-    }
-}
-
-final class ZipSink6_<E1, E2, E3, E4, E5, E6, O: ObserverType> : ZipSink<O> {
-    typealias R = O.E
-    typealias Parent = Zip6<E1, E2, E3, E4, E5, E6, R>
-
-    let _parent: Parent
-
-    var _values1: Queue<E1> = Queue(capacity: 2)
-    var _values2: Queue<E2> = Queue(capacity: 2)
-    var _values3: Queue<E3> = Queue(capacity: 2)
-    var _values4: Queue<E4> = Queue(capacity: 2)
-    var _values5: Queue<E5> = Queue(capacity: 2)
-    var _values6: Queue<E6> = Queue(capacity: 2)
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 6, observer: observer, cancel: cancel)
-    }
-
-    override func hasElements(_ index: Int) -> Bool {
-        switch (index) {
-        case 0: return _values1.count > 0
-        case 1: return _values2.count > 0
-        case 2: return _values3.count > 0
-        case 3: return _values4.count > 0
-        case 4: return _values5.count > 0
-        case 5: return _values6.count > 0
-
-        default:
-            rxFatalError("Unhandled case (Function)")
-        }
-
-        return false
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-        let subscription5 = SingleAssignmentDisposable()
-        let subscription6 = SingleAssignmentDisposable()
-
-        let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1)
-        let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2)
-        let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3)
-        let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4)
-        let observer5 = ZipObserver(lock: _lock, parent: self, index: 4, setNextValue: { self._values5.enqueue($0) }, this: subscription5)
-        let observer6 = ZipObserver(lock: _lock, parent: self, index: 5, setNextValue: { self._values6.enqueue($0) }, this: subscription6)
-
-        subscription1.setDisposable(_parent.source1.subscribe(observer1))
-        subscription2.setDisposable(_parent.source2.subscribe(observer2))
-        subscription3.setDisposable(_parent.source3.subscribe(observer3))
-        subscription4.setDisposable(_parent.source4.subscribe(observer4))
-        subscription5.setDisposable(_parent.source5.subscribe(observer5))
-        subscription6.setDisposable(_parent.source6.subscribe(observer6))
-
-        return Disposables.create([
-           subscription1,
-           subscription2,
-           subscription3,
-           subscription4,
-           subscription5,
-           subscription6
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!, _values5.dequeue()!, _values6.dequeue()!)
-    }
-}
-
-final class Zip6<E1, E2, E3, E4, E5, E6, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4, E5, E6) throws -> R
-
-    let source1: Observable<E1>
-    let source2: Observable<E2>
-    let source3: Observable<E3>
-    let source4: Observable<E4>
-    let source5: Observable<E5>
-    let source6: Observable<E6>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, source5: Observable<E5>, source6: Observable<E6>, resultSelector: @escaping ResultSelector) {
-        self.source1 = source1
-        self.source2 = source2
-        self.source3 = source3
-        self.source4 = source4
-        self.source5 = source5
-        self.source6 = source6
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = ZipSink6_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 7
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType, O7: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E) throws -> E)
-        -> Observable<E> {
-        return Zip7(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType, O7: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7)
-        -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E)> {
-        return Zip7(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(),
-            resultSelector: { ($0, $1, $2, $3, $4, $5, $6) }
-        )
-    }
-}
-
-final class ZipSink7_<E1, E2, E3, E4, E5, E6, E7, O: ObserverType> : ZipSink<O> {
-    typealias R = O.E
-    typealias Parent = Zip7<E1, E2, E3, E4, E5, E6, E7, R>
-
-    let _parent: Parent
-
-    var _values1: Queue<E1> = Queue(capacity: 2)
-    var _values2: Queue<E2> = Queue(capacity: 2)
-    var _values3: Queue<E3> = Queue(capacity: 2)
-    var _values4: Queue<E4> = Queue(capacity: 2)
-    var _values5: Queue<E5> = Queue(capacity: 2)
-    var _values6: Queue<E6> = Queue(capacity: 2)
-    var _values7: Queue<E7> = Queue(capacity: 2)
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 7, observer: observer, cancel: cancel)
-    }
-
-    override func hasElements(_ index: Int) -> Bool {
-        switch (index) {
-        case 0: return _values1.count > 0
-        case 1: return _values2.count > 0
-        case 2: return _values3.count > 0
-        case 3: return _values4.count > 0
-        case 4: return _values5.count > 0
-        case 5: return _values6.count > 0
-        case 6: return _values7.count > 0
-
-        default:
-            rxFatalError("Unhandled case (Function)")
-        }
-
-        return false
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-        let subscription5 = SingleAssignmentDisposable()
-        let subscription6 = SingleAssignmentDisposable()
-        let subscription7 = SingleAssignmentDisposable()
-
-        let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1)
-        let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2)
-        let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3)
-        let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4)
-        let observer5 = ZipObserver(lock: _lock, parent: self, index: 4, setNextValue: { self._values5.enqueue($0) }, this: subscription5)
-        let observer6 = ZipObserver(lock: _lock, parent: self, index: 5, setNextValue: { self._values6.enqueue($0) }, this: subscription6)
-        let observer7 = ZipObserver(lock: _lock, parent: self, index: 6, setNextValue: { self._values7.enqueue($0) }, this: subscription7)
-
-        subscription1.setDisposable(_parent.source1.subscribe(observer1))
-        subscription2.setDisposable(_parent.source2.subscribe(observer2))
-        subscription3.setDisposable(_parent.source3.subscribe(observer3))
-        subscription4.setDisposable(_parent.source4.subscribe(observer4))
-        subscription5.setDisposable(_parent.source5.subscribe(observer5))
-        subscription6.setDisposable(_parent.source6.subscribe(observer6))
-        subscription7.setDisposable(_parent.source7.subscribe(observer7))
-
-        return Disposables.create([
-           subscription1,
-           subscription2,
-           subscription3,
-           subscription4,
-           subscription5,
-           subscription6,
-           subscription7
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!, _values5.dequeue()!, _values6.dequeue()!, _values7.dequeue()!)
-    }
-}
-
-final class Zip7<E1, E2, E3, E4, E5, E6, E7, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4, E5, E6, E7) throws -> R
-
-    let source1: Observable<E1>
-    let source2: Observable<E2>
-    let source3: Observable<E3>
-    let source4: Observable<E4>
-    let source5: Observable<E5>
-    let source6: Observable<E6>
-    let source7: Observable<E7>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, source5: Observable<E5>, source6: Observable<E6>, source7: Observable<E7>, resultSelector: @escaping ResultSelector) {
-        self.source1 = source1
-        self.source2 = source2
-        self.source3 = source3
-        self.source4 = source4
-        self.source5 = source5
-        self.source6 = source6
-        self.source7 = source7
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = ZipSink7_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
-
-// 8
-
-extension Observable {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType, O7: ObservableType, O8: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, _ source8: O8, resultSelector: @escaping (O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E, O8.E) throws -> E)
-        -> Observable<E> {
-        return Zip8(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), source8: source8.asObservable(),
-            resultSelector: resultSelector
-        )
-    }
-}
-
-extension ObservableType where E == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources.
-    */
-    public static func zip<O1: ObservableType, O2: ObservableType, O3: ObservableType, O4: ObservableType, O5: ObservableType, O6: ObservableType, O7: ObservableType, O8: ObservableType>
-        (_ source1: O1, _ source2: O2, _ source3: O3, _ source4: O4, _ source5: O5, _ source6: O6, _ source7: O7, _ source8: O8)
-        -> Observable<(O1.E, O2.E, O3.E, O4.E, O5.E, O6.E, O7.E, O8.E)> {
-        return Zip8(
-            source1: source1.asObservable(), source2: source2.asObservable(), source3: source3.asObservable(), source4: source4.asObservable(), source5: source5.asObservable(), source6: source6.asObservable(), source7: source7.asObservable(), source8: source8.asObservable(),
-            resultSelector: { ($0, $1, $2, $3, $4, $5, $6, $7) }
-        )
-    }
-}
-
-final class ZipSink8_<E1, E2, E3, E4, E5, E6, E7, E8, O: ObserverType> : ZipSink<O> {
-    typealias R = O.E
-    typealias Parent = Zip8<E1, E2, E3, E4, E5, E6, E7, E8, R>
-
-    let _parent: Parent
-
-    var _values1: Queue<E1> = Queue(capacity: 2)
-    var _values2: Queue<E2> = Queue(capacity: 2)
-    var _values3: Queue<E3> = Queue(capacity: 2)
-    var _values4: Queue<E4> = Queue(capacity: 2)
-    var _values5: Queue<E5> = Queue(capacity: 2)
-    var _values6: Queue<E6> = Queue(capacity: 2)
-    var _values7: Queue<E7> = Queue(capacity: 2)
-    var _values8: Queue<E8> = Queue(capacity: 2)
-
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        _parent = parent
-        super.init(arity: 8, observer: observer, cancel: cancel)
-    }
-
-    override func hasElements(_ index: Int) -> Bool {
-        switch (index) {
-        case 0: return _values1.count > 0
-        case 1: return _values2.count > 0
-        case 2: return _values3.count > 0
-        case 3: return _values4.count > 0
-        case 4: return _values5.count > 0
-        case 5: return _values6.count > 0
-        case 6: return _values7.count > 0
-        case 7: return _values8.count > 0
-
-        default:
-            rxFatalError("Unhandled case (Function)")
-        }
-
-        return false
-    }
-
-    func run() -> Disposable {
-        let subscription1 = SingleAssignmentDisposable()
-        let subscription2 = SingleAssignmentDisposable()
-        let subscription3 = SingleAssignmentDisposable()
-        let subscription4 = SingleAssignmentDisposable()
-        let subscription5 = SingleAssignmentDisposable()
-        let subscription6 = SingleAssignmentDisposable()
-        let subscription7 = SingleAssignmentDisposable()
-        let subscription8 = SingleAssignmentDisposable()
-
-        let observer1 = ZipObserver(lock: _lock, parent: self, index: 0, setNextValue: { self._values1.enqueue($0) }, this: subscription1)
-        let observer2 = ZipObserver(lock: _lock, parent: self, index: 1, setNextValue: { self._values2.enqueue($0) }, this: subscription2)
-        let observer3 = ZipObserver(lock: _lock, parent: self, index: 2, setNextValue: { self._values3.enqueue($0) }, this: subscription3)
-        let observer4 = ZipObserver(lock: _lock, parent: self, index: 3, setNextValue: { self._values4.enqueue($0) }, this: subscription4)
-        let observer5 = ZipObserver(lock: _lock, parent: self, index: 4, setNextValue: { self._values5.enqueue($0) }, this: subscription5)
-        let observer6 = ZipObserver(lock: _lock, parent: self, index: 5, setNextValue: { self._values6.enqueue($0) }, this: subscription6)
-        let observer7 = ZipObserver(lock: _lock, parent: self, index: 6, setNextValue: { self._values7.enqueue($0) }, this: subscription7)
-        let observer8 = ZipObserver(lock: _lock, parent: self, index: 7, setNextValue: { self._values8.enqueue($0) }, this: subscription8)
-
-        subscription1.setDisposable(_parent.source1.subscribe(observer1))
-        subscription2.setDisposable(_parent.source2.subscribe(observer2))
-        subscription3.setDisposable(_parent.source3.subscribe(observer3))
-        subscription4.setDisposable(_parent.source4.subscribe(observer4))
-        subscription5.setDisposable(_parent.source5.subscribe(observer5))
-        subscription6.setDisposable(_parent.source6.subscribe(observer6))
-        subscription7.setDisposable(_parent.source7.subscribe(observer7))
-        subscription8.setDisposable(_parent.source8.subscribe(observer8))
-
-        return Disposables.create([
-           subscription1,
-           subscription2,
-           subscription3,
-           subscription4,
-           subscription5,
-           subscription6,
-           subscription7,
-           subscription8
-        ])
-    }
-
-    override func getResult() throws -> R {
-        return try _parent._resultSelector(_values1.dequeue()!, _values2.dequeue()!, _values3.dequeue()!, _values4.dequeue()!, _values5.dequeue()!, _values6.dequeue()!, _values7.dequeue()!, _values8.dequeue()!)
-    }
-}
-
-final class Zip8<E1, E2, E3, E4, E5, E6, E7, E8, R> : Producer<R> {
-    typealias ResultSelector = (E1, E2, E3, E4, E5, E6, E7, E8) throws -> R
-
-    let source1: Observable<E1>
-    let source2: Observable<E2>
-    let source3: Observable<E3>
-    let source4: Observable<E4>
-    let source5: Observable<E5>
-    let source6: Observable<E6>
-    let source7: Observable<E7>
-    let source8: Observable<E8>
-
-    let _resultSelector: ResultSelector
-
-    init(source1: Observable<E1>, source2: Observable<E2>, source3: Observable<E3>, source4: Observable<E4>, source5: Observable<E5>, source6: Observable<E6>, source7: Observable<E7>, source8: Observable<E8>, resultSelector: @escaping ResultSelector) {
-        self.source1 = source1
-        self.source2 = source2
-        self.source3 = source3
-        self.source4 = source4
-        self.source5 = source5
-        self.source6 = source6
-        self.source7 = source7
-        self.source8 = source8
-
-        _resultSelector = resultSelector
-    }
-
-    override func run<O: ObserverType>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O.E == R {
-        let sink = ZipSink8_(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip.swift
deleted file mode 100644
index a283bf2b23f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observables/Zip.swift
+++ /dev/null
@@ -1,155 +0,0 @@
-//
-//  Zip.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/23/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol ZipSinkProtocol : class
-{
-    func next(_ index: Int)
-    func fail(_ error: Swift.Error)
-    func done(_ index: Int)
-}
-
-class ZipSink<O: ObserverType> : Sink<O>, ZipSinkProtocol {
-    typealias Element = O.E
-    
-    let _arity: Int
-
-    let _lock = RecursiveLock()
-
-    // state
-    private var _isDone: [Bool]
-    
-    init(arity: Int, observer: O, cancel: Cancelable) {
-        _isDone = [Bool](repeating: false, count: arity)
-        _arity = arity
-        
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func getResult() throws -> Element {
-        rxAbstractMethod()
-    }
-    
-    func hasElements(_ index: Int) -> Bool {
-        rxAbstractMethod()
-    }
-    
-    func next(_ index: Int) {
-        var hasValueAll = true
-        
-        for i in 0 ..< _arity {
-            if !hasElements(i) {
-                hasValueAll = false
-                break
-            }
-        }
-        
-        if hasValueAll {
-            do {
-                let result = try getResult()
-                self.forwardOn(.next(result))
-            }
-            catch let e {
-                self.forwardOn(.error(e))
-                dispose()
-            }
-        }
-        else {
-            var allOthersDone = true
-            
-            let arity = _isDone.count
-            for i in 0 ..< arity {
-                if i != index && !_isDone[i] {
-                    allOthersDone = false
-                    break
-                }
-            }
-            
-            if allOthersDone {
-                forwardOn(.completed)
-                self.dispose()
-            }
-        }
-    }
-    
-    func fail(_ error: Swift.Error) {
-        forwardOn(.error(error))
-        dispose()
-    }
-    
-    func done(_ index: Int) {
-        _isDone[index] = true
-        
-        var allDone = true
-        
-        for done in _isDone {
-            if !done {
-                allDone = false
-                break
-            }
-        }
-        
-        if allDone {
-            forwardOn(.completed)
-            dispose()
-        }
-    }
-}
-
-final class ZipObserver<ElementType>
-    : ObserverType
-    , LockOwnerType
-    , SynchronizedOnType {
-    typealias E = ElementType
-    typealias ValueSetter = (ElementType) -> ()
-
-    private var _parent: ZipSinkProtocol?
-    
-    let _lock: RecursiveLock
-    
-    // state
-    private let _index: Int
-    private let _this: Disposable
-    private let _setNextValue: ValueSetter
-    
-    init(lock: RecursiveLock, parent: ZipSinkProtocol, index: Int, setNextValue: @escaping ValueSetter, this: Disposable) {
-        _lock = lock
-        _parent = parent
-        _index = index
-        _this = this
-        _setNextValue = setNextValue
-    }
-    
-    func on(_ event: Event<E>) {
-        synchronizedOn(event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) {
-        if let _ = _parent {
-            switch event {
-            case .next(_):
-                break
-            case .error(_):
-                _this.dispose()
-            case .completed:
-                _this.dispose()
-            }
-        }
-        
-        if let parent = _parent {
-            switch event {
-            case .next(let value):
-                _setNextValue(value)
-                parent.next(_index)
-            case .error(let error):
-                parent.fail(error)
-            case .completed:
-                parent.done(_index)
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObserverType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObserverType.swift
deleted file mode 100644
index 21a5722c691..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/ObserverType.swift
+++ /dev/null
@@ -1,40 +0,0 @@
-//
-//  ObserverType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Supports push-style iteration over an observable sequence.
-public protocol ObserverType {
-    /// The type of elements in sequence that observer can observe.
-    associatedtype E
-
-    /// Notify observer about sequence event.
-    ///
-    /// - parameter event: Event that occurred.
-    func on(_ event: Event<E>)
-}
-
-/// Convenience API extensions to provide alternate next, error, completed events
-extension ObserverType {
-    
-    /// Convenience method equivalent to `on(.next(element: E))`
-    ///
-    /// - parameter element: Next element to send to observer(s)
-    public final func onNext(_ element: E) {
-        on(.next(element))
-    }
-    
-    /// Convenience method equivalent to `on(.completed)`
-    public final func onCompleted() {
-        on(.completed)
-    }
-    
-    /// Convenience method equivalent to `on(.error(Swift.Error))`
-    /// - parameter error: Swift.Error to send to observer(s)
-    public final func onError(_ error: Swift.Error) {
-        on(.error(error))
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift
deleted file mode 100644
index 54e83f54859..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/AnonymousObserver.swift
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-//  AnonymousObserver.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-final class AnonymousObserver<ElementType> : ObserverBase<ElementType> {
-    typealias Element = ElementType
-    
-    typealias EventHandler = (Event<Element>) -> Void
-    
-    private let _eventHandler : EventHandler
-    
-    init(_ eventHandler: @escaping EventHandler) {
-#if TRACE_RESOURCES
-        let _ = Resources.incrementTotal()
-#endif
-        _eventHandler = eventHandler
-    }
-
-    override func onCore(_ event: Event<Element>) {
-        return _eventHandler(event)
-    }
-    
-#if TRACE_RESOURCES
-    deinit {
-        let _ = Resources.decrementTotal()
-    }
-#endif
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift
deleted file mode 100644
index 3811565226d..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/ObserverBase.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-//  ObserverBase.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/15/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-class ObserverBase<ElementType> : Disposable, ObserverType {
-    typealias E = ElementType
-
-    private var _isStopped: AtomicInt = 0
-
-    func on(_ event: Event<E>) {
-        switch event {
-        case .next:
-            if _isStopped == 0 {
-                onCore(event)
-            }
-        case .error, .completed:
-            if AtomicCompareAndSwap(0, 1, &_isStopped) {
-                onCore(event)
-            }
-        }
-    }
-
-    func onCore(_ event: Event<E>) {
-        rxAbstractMethod()
-    }
-
-    func dispose() {
-        _ = AtomicCompareAndSwap(0, 1, &_isStopped)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift
deleted file mode 100644
index 332e6d2e4f8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Observers/TailRecursiveSink.swift
+++ /dev/null
@@ -1,150 +0,0 @@
-//
-//  TailRecursiveSink.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/21/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-enum TailRecursiveSinkCommand {
-    case moveNext
-    case dispose
-}
-
-#if DEBUG || TRACE_RESOURCES
-    public var maxTailRecursiveSinkStackSize = 0
-#endif
-
-/// This class is usually used with `Generator` version of the operators.
-class TailRecursiveSink<S: Sequence, O: ObserverType>
-    : Sink<O>
-    , InvocableWithValueType where S.Iterator.Element: ObservableConvertibleType, S.Iterator.Element.E == O.E {
-    typealias Value = TailRecursiveSinkCommand
-    typealias E = O.E
-    typealias SequenceGenerator = (generator: S.Iterator, remaining: IntMax?)
-
-    var _generators: [SequenceGenerator] = []
-    var _isDisposed = false
-    var _subscription = SerialDisposable()
-
-    // this is thread safe object
-    var _gate = AsyncLock<InvocableScheduledItem<TailRecursiveSink<S, O>>>()
-
-    override init(observer: O, cancel: Cancelable) {
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func run(_ sources: SequenceGenerator) -> Disposable {
-        _generators.append(sources)
-
-        schedule(.moveNext)
-
-        return _subscription
-    }
-
-    func invoke(_ command: TailRecursiveSinkCommand) {
-        switch command {
-        case .dispose:
-            disposeCommand()
-        case .moveNext:
-            moveNextCommand()
-        }
-    }
-
-    // simple implementation for now
-    func schedule(_ command: TailRecursiveSinkCommand) {
-        _gate.invoke(InvocableScheduledItem(invocable: self, state: command))
-    }
-
-    func done() {
-        forwardOn(.completed)
-        dispose()
-    }
-
-    func extract(_ observable: Observable<E>) -> SequenceGenerator? {
-        rxAbstractMethod()
-    }
-
-    // should be done on gate locked
-
-    private func moveNextCommand() {
-        var next: Observable<E>? = nil
-
-        repeat {
-            guard let (g, left) = _generators.last else {
-                break
-            }
-            
-            if _isDisposed {
-                return
-            }
-
-            _generators.removeLast()
-            
-            var e = g
-
-            guard let nextCandidate = e.next()?.asObservable() else {
-                continue
-            }
-
-            // `left` is a hint of how many elements are left in generator.
-            // In case this is the last element, then there is no need to push
-            // that generator on stack.
-            //
-            // This is an optimization used to make sure in tail recursive case
-            // there is no memory leak in case this operator is used to generate non terminating
-            // sequence.
-
-            if let knownOriginalLeft = left {
-                // `- 1` because generator.next() has just been called
-                if knownOriginalLeft - 1 >= 1 {
-                    _generators.append((e, knownOriginalLeft - 1))
-                }
-            }
-            else {
-                _generators.append((e, nil))
-            }
-
-            let nextGenerator = extract(nextCandidate)
-
-            if let nextGenerator = nextGenerator {
-                _generators.append(nextGenerator)
-                #if DEBUG || TRACE_RESOURCES
-                    if maxTailRecursiveSinkStackSize < _generators.count {
-                        maxTailRecursiveSinkStackSize = _generators.count
-                    }
-                #endif
-            }
-            else {
-                next = nextCandidate
-            }
-        } while next == nil
-
-        guard let existingNext = next else  {
-            done()
-            return
-        }
-
-        let disposable = SingleAssignmentDisposable()
-        _subscription.disposable = disposable
-        disposable.setDisposable(subscribeToNext(existingNext))
-    }
-
-    func subscribeToNext(_ source: Observable<E>) -> Disposable {
-        rxAbstractMethod()
-    }
-
-    func disposeCommand() {
-        _isDisposed = true
-        _generators.removeAll(keepingCapacity: false)
-    }
-
-    override func dispose() {
-        super.dispose()
-        
-        _subscription.dispose()
-        
-        schedule(.dispose)
-    }
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Rx.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Rx.swift
deleted file mode 100644
index cda826cf3b8..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Rx.swift
+++ /dev/null
@@ -1,134 +0,0 @@
-//
-//  Rx.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/14/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-#if TRACE_RESOURCES
-    fileprivate var resourceCount: AtomicInt = 0
-
-    /// Resource utilization information
-    public struct Resources {
-        /// Counts internal Rx resource allocations (Observables, Observers, Disposables, etc.). This provides a simple way to detect leaks during development.
-        public static var total: Int32 {
-            return resourceCount.valueSnapshot()
-        }
-
-        /// Increments `Resources.total` resource count.
-        ///
-        /// - returns: New resource count
-        public static func incrementTotal() -> Int32 {
-            return AtomicIncrement(&resourceCount)
-        }
-
-        /// Decrements `Resources.total` resource count
-        ///
-        /// - returns: New resource count
-        public static func decrementTotal() -> Int32 {
-            return AtomicDecrement(&resourceCount)
-        }
-    }
-#endif
-
-/// Swift does not implement abstract methods. This method is used as a runtime check to ensure that methods which intended to be abstract (i.e., they should be implemented in subclasses) are not called directly on the superclass.
-func rxAbstractMethod(file: StaticString = #file, line: UInt = #line) -> Swift.Never {
-    rxFatalError("Abstract method", file: file, line: line)
-}
-
-func rxFatalError(_ lastMessage: @autoclosure () -> String, file: StaticString = #file, line: UInt = #line) -> Swift.Never  {
-    // The temptation to comment this line is great, but please don't, it's for your own good. The choice is yours.
-    fatalError(lastMessage(), file: file, line: line)
-}
-
-func rxFatalErrorInDebug(_ lastMessage: @autoclosure () -> String, file: StaticString = #file, line: UInt = #line) {
-    #if DEBUG
-        fatalError(lastMessage(), file: file, line: line)
-    #else
-        print("\(file):\(line): \(lastMessage())")
-    #endif
-}
-
-func incrementChecked(_ i: inout Int) throws -> Int {
-    if i == Int.max {
-        throw RxError.overflow
-    }
-    defer { i += 1 }
-    return i
-}
-
-func decrementChecked(_ i: inout Int) throws -> Int {
-    if i == Int.min {
-        throw RxError.overflow
-    }
-    defer { i -= 1 }
-    return i
-}
-
-#if DEBUG
-    import class Foundation.Thread
-    final class SynchronizationTracker {
-        private let _lock = RecursiveLock()
-
-        public enum SychronizationErrorMessages: String {
-            case variable = "Two different threads are trying to assign the same `Variable.value` unsynchronized.\n    This is undefined behavior because the end result (variable value) is nondeterministic and depends on the \n    operating system thread scheduler. This will cause random behavior of your program.\n"
-            case `default` = "Two different unsynchronized threads are trying to send some event simultaneously.\n    This is undefined behavior because the ordering of the effects caused by these events is nondeterministic and depends on the \n    operating system thread scheduler. This will result in a random behavior of your program.\n"
-        }
-
-        private var _threads = Dictionary<UnsafeMutableRawPointer, Int>()
-
-        private func synchronizationError(_ message: String) {
-            #if FATAL_SYNCHRONIZATION
-                rxFatalError(message)
-            #else
-                print(message)
-            #endif
-        }
-        
-        func register(synchronizationErrorMessage: SychronizationErrorMessages) {
-            _lock.lock(); defer { _lock.unlock() }
-            let pointer = Unmanaged.passUnretained(Thread.current).toOpaque()
-            let count = (_threads[pointer] ?? 0) + 1
-
-            if count > 1 {
-                synchronizationError(
-                    "⚠️ Reentrancy anomaly was detected. ⚠️\n" +
-                    "  > Debugging: To debug this issue you can set a breakpoint in \(#file):\(#line) and observe the call stack.\n" +
-                    "  > Problem: This behavior is breaking the observable sequence grammar. `next (error | completed)?`\n" +
-                    "    This behavior breaks the grammar because there is overlapping between sequence events.\n" +
-                    "    Observable sequence is trying to send an event before sending of previous event has finished.\n" +
-                    "  > Interpretation: This could mean that there is some kind of unexpected cyclic dependency in your code,\n" +
-                    "    or that the system is not behaving in the expected way.\n" +
-                    "  > Remedy: If this is the expected behavior this message can be suppressed by adding `.observeOn(MainScheduler.asyncInstance)`\n" +
-                    "    or by enqueing sequence events in some other way.\n"
-                )
-            }
-            
-            _threads[pointer] = count
-
-            if _threads.count > 1 {
-                synchronizationError(
-                    "⚠️ Synchronization anomaly was detected. ⚠️\n" +
-                    "  > Debugging: To debug this issue you can set a breakpoint in \(#file):\(#line) and observe the call stack.\n" +
-                    "  > Problem: This behavior is breaking the observable sequence grammar. `next (error | completed)?`\n" +
-                    "    This behavior breaks the grammar because there is overlapping between sequence events.\n" +
-                    "    Observable sequence is trying to send an event before sending of previous event has finished.\n" +
-                    "  > Interpretation: " + synchronizationErrorMessage.rawValue +
-                    "  > Remedy: If this is the expected behavior this message can be suppressed by adding `.observeOn(MainScheduler.asyncInstance)`\n" +
-                    "    or by synchronizing sequence events in some other way.\n"
-                )
-            }
-        }
-
-        func unregister() {
-            _lock.lock(); defer { _lock.unlock() }
-            let pointer = Unmanaged.passUnretained(Thread.current).toOpaque()
-            _threads[pointer] = (_threads[pointer] ?? 1) - 1
-            if _threads[pointer] == 0 {
-                _threads[pointer] = nil
-            }
-        }
-    }
-
-#endif
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/RxMutableBox.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/RxMutableBox.swift
deleted file mode 100644
index 55302ea2e5d..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/RxMutableBox.swift
+++ /dev/null
@@ -1,27 +0,0 @@
-//
-//  RxMutableBox.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/22/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Creates mutable reference wrapper for any type.
-final class RxMutableBox<T>: CustomDebugStringConvertible {
-    /// Wrapped value
-    var value: T
-
-    /// Creates reference wrapper for `value`.
-    ///
-    /// - parameter value: Value to wrap.
-    init (_ value: T) {
-        self.value = value
-    }
-}
-
-extension RxMutableBox {
-    /// - returns: Box description.
-    var debugDescription: String {
-        return "MutatingBox(\(self.value))"
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/SchedulerType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/SchedulerType.swift
deleted file mode 100644
index bdfcf8b0179..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/SchedulerType.swift
+++ /dev/null
@@ -1,71 +0,0 @@
-//
-//  SchedulerType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.TimeInterval
-import struct Foundation.Date
-
-// Type that represents time interval in the context of RxSwift.
-public typealias RxTimeInterval = TimeInterval
-
-/// Type that represents absolute time in the context of RxSwift.
-public typealias RxTime = Date
-
-/// Represents an object that schedules units of work.
-public protocol SchedulerType: ImmediateSchedulerType {
-
-    /// - returns: Current time.
-    var now : RxTime {
-        get
-    }
-
-    /**
-    Schedules an action to be executed.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter dueTime: Relative time after which to execute the action.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    func scheduleRelative<StateType>(_ state: StateType, dueTime: RxTimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable
- 
-    /**
-    Schedules a periodic piece of work.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter startAfter: Period after which initial work should be run.
-    - parameter period: Period for running the work periodically.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    func schedulePeriodic<StateType>(_ state: StateType, startAfter: RxTimeInterval, period: RxTimeInterval, action: @escaping (StateType) -> StateType) -> Disposable
-}
-
-extension SchedulerType {
-
-    /**
-    Periodic task will be emulated using recursive scheduling.
-
-    - parameter state: Initial state passed to the action upon the first iteration.
-    - parameter startAfter: Period after which initial work should be run.
-    - parameter period: Period for running the work periodically.
-    - returns: The disposable object used to cancel the scheduled recurring action (best effort).
-    */
-    public func schedulePeriodic<StateType>(_ state: StateType, startAfter: RxTimeInterval, period: RxTimeInterval, action: @escaping (StateType) -> StateType) -> Disposable {
-        let schedule = SchedulePeriodicRecursive(scheduler: self, startAfter: startAfter, period: period, action: action, state: state)
-            
-        return schedule.start()
-    }
-
-    func scheduleRecursive<State>(_ state: State, dueTime: RxTimeInterval, action: @escaping (State, AnyRecursiveScheduler<State>) -> ()) -> Disposable {
-        let scheduler = AnyRecursiveScheduler(scheduler: self, action: action)
-         
-        scheduler.schedule(state, dueTime: dueTime)
-            
-        return Disposables.create(with: scheduler.dispose)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift
deleted file mode 100644
index c6acaa19d95..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ConcurrentDispatchQueueScheduler.swift
+++ /dev/null
@@ -1,82 +0,0 @@
-//
-//  ConcurrentDispatchQueueScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 7/5/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.Date
-import struct Foundation.TimeInterval
-import Dispatch
-
-/// Abstracts the work that needs to be performed on a specific `dispatch_queue_t`. You can also pass a serial dispatch queue, it shouldn't cause any problems.
-///
-/// This scheduler is suitable when some work needs to be performed in background.
-public class ConcurrentDispatchQueueScheduler: SchedulerType {
-    public typealias TimeInterval = Foundation.TimeInterval
-    public typealias Time = Date
-    
-    public var now : Date {
-        return Date()
-    }
-
-    let configuration: DispatchQueueConfiguration
-    
-    /// Constructs new `ConcurrentDispatchQueueScheduler` that wraps `queue`.
-    ///
-    /// - parameter queue: Target dispatch queue.
-    public init(queue: DispatchQueue, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) {
-        configuration = DispatchQueueConfiguration(queue: queue, leeway: leeway)
-    }
-    
-    /// Convenience init for scheduler that wraps one of the global concurrent dispatch queues.
-    ///
-    /// - parameter qos: Target global dispatch queue, by quality of service class.
-    @available(iOS 8, OSX 10.10, *)
-    public convenience init(qos: DispatchQoS, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) {
-        self.init(queue: DispatchQueue(
-            label: "rxswift.queue.\(qos)",
-            qos: qos,
-            attributes: [DispatchQueue.Attributes.concurrent],
-            target: nil),
-            leeway: leeway
-        )
-    }
-
-    /**
-    Schedules an action to be executed immediately.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public final func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        return self.configuration.schedule(state, action: action)
-    }
-    
-    /**
-    Schedules an action to be executed.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter dueTime: Relative time after which to execute the action.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public final func scheduleRelative<StateType>(_ state: StateType, dueTime: Foundation.TimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable {
-        return self.configuration.scheduleRelative(state, dueTime: dueTime, action: action)
-    }
-    
-    /**
-    Schedules a periodic piece of work.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter startAfter: Period after which initial work should be run.
-    - parameter period: Period for running the work periodically.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public func schedulePeriodic<StateType>(_ state: StateType, startAfter: TimeInterval, period: TimeInterval, action: @escaping (StateType) -> StateType) -> Disposable {
-        return self.configuration.schedulePeriodic(state, startAfter: startAfter, period: period, action: action)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift
deleted file mode 100644
index a98ad218a08..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ConcurrentMainScheduler.swift
+++ /dev/null
@@ -1,88 +0,0 @@
-//
-//  ConcurrentMainScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/17/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.Date
-import struct Foundation.TimeInterval
-import Dispatch
-
-/**
-Abstracts work that needs to be performed on `MainThread`. In case `schedule` methods are called from main thread, it will perform action immediately without scheduling.
-
-This scheduler is optimized for `subscribeOn` operator. If you want to observe observable sequence elements on main thread using `observeOn` operator,
-`MainScheduler` is more suitable for that purpose.
-*/
-public final class ConcurrentMainScheduler : SchedulerType {
-    public typealias TimeInterval = Foundation.TimeInterval
-    public typealias Time = Date
-
-    private let _mainScheduler: MainScheduler
-    private let _mainQueue: DispatchQueue
-
-    /// - returns: Current time.
-    public var now : Date {
-        return _mainScheduler.now as Date
-    }
-
-    private init(mainScheduler: MainScheduler) {
-        _mainQueue = DispatchQueue.main
-        _mainScheduler = mainScheduler
-    }
-
-    /// Singleton instance of `ConcurrentMainScheduler`
-    public static let instance = ConcurrentMainScheduler(mainScheduler: MainScheduler.instance)
-
-    /**
-    Schedules an action to be executed immediately.
-
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        if DispatchQueue.isMain {
-            return action(state)
-        }
-
-        let cancel = SingleAssignmentDisposable()
-
-        _mainQueue.async {
-            if cancel.isDisposed {
-                return
-            }
-
-            cancel.setDisposable(action(state))
-        }
-
-        return cancel
-    }
-
-    /**
-    Schedules an action to be executed.
-
-    - parameter state: State passed to the action to be executed.
-    - parameter dueTime: Relative time after which to execute the action.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public final func scheduleRelative<StateType>(_ state: StateType, dueTime: Foundation.TimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable {
-        return _mainScheduler.scheduleRelative(state, dueTime: dueTime, action: action)
-    }
-
-    /**
-    Schedules a periodic piece of work.
-
-    - parameter state: State passed to the action to be executed.
-    - parameter startAfter: Period after which initial work should be run.
-    - parameter period: Period for running the work periodically.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public func schedulePeriodic<StateType>(_ state: StateType, startAfter: TimeInterval, period: TimeInterval, action: @escaping (StateType) -> StateType) -> Disposable {
-        return _mainScheduler.schedulePeriodic(state, startAfter: startAfter, period: period, action: action)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift
deleted file mode 100644
index cbdb98d91ba..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/CurrentThreadScheduler.swift
+++ /dev/null
@@ -1,136 +0,0 @@
-//
-//  CurrentThreadScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 8/30/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import class Foundation.NSObject
-import protocol Foundation.NSCopying
-import class Foundation.Thread
-import Dispatch
-
-#if os(Linux)
-    import struct Foundation.pthread_key_t
-    import func Foundation.pthread_setspecific
-    import func Foundation.pthread_getspecific
-    import func Foundation.pthread_key_create
-    
-    fileprivate enum CurrentThreadSchedulerQueueKey {
-        fileprivate static let instance = "RxSwift.CurrentThreadScheduler.Queue"
-    }
-#else
-    fileprivate class CurrentThreadSchedulerQueueKey: NSObject, NSCopying {
-        static let instance = CurrentThreadSchedulerQueueKey()
-        private override init() {
-            super.init()
-        }
-
-        override var hash: Int {
-            return 0
-        }
-
-        public func copy(with zone: NSZone? = nil) -> Any {
-            return self
-        }
-    }
-#endif
-
-/// Represents an object that schedules units of work on the current thread.
-///
-/// This is the default scheduler for operators that generate elements.
-///
-/// This scheduler is also sometimes called `trampoline scheduler`.
-public class CurrentThreadScheduler : ImmediateSchedulerType {
-    typealias ScheduleQueue = RxMutableBox<Queue<ScheduledItemType>>
-
-    /// The singleton instance of the current thread scheduler.
-    public static let instance = CurrentThreadScheduler()
-
-    private static var isScheduleRequiredKey: pthread_key_t = { () -> pthread_key_t in
-        let key = UnsafeMutablePointer<pthread_key_t>.allocate(capacity: 1)
-        if pthread_key_create(key, nil) != 0 {
-            rxFatalError("isScheduleRequired key creation failed")
-        }
-
-        return key.pointee
-    }()
-
-    private static var scheduleInProgressSentinel: UnsafeRawPointer = { () -> UnsafeRawPointer in
-        return UnsafeRawPointer(UnsafeMutablePointer<Int>.allocate(capacity: 1))
-    }()
-
-    static var queue : ScheduleQueue? {
-        get {
-            return Thread.getThreadLocalStorageValueForKey(CurrentThreadSchedulerQueueKey.instance)
-        }
-        set {
-            Thread.setThreadLocalStorageValue(newValue, forKey: CurrentThreadSchedulerQueueKey.instance)
-        }
-    }
-
-    /// Gets a value that indicates whether the caller must call a `schedule` method.
-    public static fileprivate(set) var isScheduleRequired: Bool {
-        get {
-            return pthread_getspecific(CurrentThreadScheduler.isScheduleRequiredKey) == nil
-        }
-        set(isScheduleRequired) {
-            if pthread_setspecific(CurrentThreadScheduler.isScheduleRequiredKey, isScheduleRequired ? nil : scheduleInProgressSentinel) != 0 {
-                rxFatalError("pthread_setspecific failed")
-            }
-        }
-    }
-
-    /**
-    Schedules an action to be executed as soon as possible on current thread.
-
-    If this method is called on some thread that doesn't have `CurrentThreadScheduler` installed, scheduler will be
-    automatically installed and uninstalled after all work is performed.
-
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        if CurrentThreadScheduler.isScheduleRequired {
-            CurrentThreadScheduler.isScheduleRequired = false
-
-            let disposable = action(state)
-
-            defer {
-                CurrentThreadScheduler.isScheduleRequired = true
-                CurrentThreadScheduler.queue = nil
-            }
-
-            guard let queue = CurrentThreadScheduler.queue else {
-                return disposable
-            }
-
-            while let latest = queue.value.dequeue() {
-                if latest.isDisposed {
-                    continue
-                }
-                latest.invoke()
-            }
-
-            return disposable
-        }
-
-        let existingQueue = CurrentThreadScheduler.queue
-
-        let queue: RxMutableBox<Queue<ScheduledItemType>>
-        if let existingQueue = existingQueue {
-            queue = existingQueue
-        }
-        else {
-            queue = RxMutableBox(Queue<ScheduledItemType>(capacity: 1))
-            CurrentThreadScheduler.queue = queue
-        }
-
-        let scheduledItem = ScheduledItem(action: action, state: state)
-        queue.value.enqueue(scheduledItem)
-
-        return scheduledItem
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift
deleted file mode 100644
index 8f76a1407be..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/HistoricalScheduler.swift
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-//  HistoricalScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 12/27/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.Date
-
-/// Provides a virtual time scheduler that uses `Date` for absolute time and `NSTimeInterval` for relative time.
-public class HistoricalScheduler: VirtualTimeScheduler<HistoricalSchedulerTimeConverter> {
-
-    /**
-      Creates a new historical scheduler with initial clock value.
-     
-     - parameter initialClock: Initial value for virtual clock.
-    */
-    public init(initialClock: RxTime = Date(timeIntervalSince1970: 0)) {
-        super.init(initialClock: initialClock, converter: HistoricalSchedulerTimeConverter())
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift
deleted file mode 100644
index 3602d2d0472..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/HistoricalSchedulerTimeConverter.swift
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-//  HistoricalSchedulerTimeConverter.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 12/27/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.Date
-
-/// Converts historial virtual time into real time.
-///
-/// Since historical virtual time is also measured in `Date`, this converter is identity function.
-public struct HistoricalSchedulerTimeConverter : VirtualTimeConverterType {
-    /// Virtual time unit used that represents ticks of virtual clock.
-    public typealias VirtualTimeUnit = RxTime
-
-    /// Virtual time unit used to represent differences of virtual times.
-    public typealias VirtualTimeIntervalUnit = RxTimeInterval
-
-    /// Returns identical value of argument passed because historical virtual time is equal to real time, just
-    /// decoupled from local machine clock.
-    public func convertFromVirtualTime(_ virtualTime: VirtualTimeUnit) -> RxTime {
-        return virtualTime
-    }
-
-    /// Returns identical value of argument passed because historical virtual time is equal to real time, just
-    /// decoupled from local machine clock.
-    public func convertToVirtualTime(_ time: RxTime) -> VirtualTimeUnit {
-        return time
-    }
-
-    /// Returns identical value of argument passed because historical virtual time is equal to real time, just
-    /// decoupled from local machine clock.
-    public func convertFromVirtualTimeInterval(_ virtualTimeInterval: VirtualTimeIntervalUnit) -> RxTimeInterval {
-        return virtualTimeInterval
-    }
-
-    /// Returns identical value of argument passed because historical virtual time is equal to real time, just
-    /// decoupled from local machine clock.
-    public func convertToVirtualTimeInterval(_ timeInterval: RxTimeInterval) -> VirtualTimeIntervalUnit {
-        return timeInterval
-    }
-
-    /**
-     Offsets `Date` by time interval.
-     
-     - parameter time: Time.
-     - parameter timeInterval: Time interval offset.
-     - returns: Time offsetted by time interval.
-    */
-    public func offsetVirtualTime(_ time: VirtualTimeUnit, offset: VirtualTimeIntervalUnit) -> VirtualTimeUnit {
-        return time.addingTimeInterval(offset)
-    }
-
-    /// Compares two `Date`s.
-    public func compareVirtualTime(_ lhs: VirtualTimeUnit, _ rhs: VirtualTimeUnit) -> VirtualTimeComparison {
-        switch lhs.compare(rhs as Date) {
-        case .orderedAscending:
-            return .lessThan
-        case .orderedSame:
-            return .equal
-        case .orderedDescending:
-            return .greaterThan
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift
deleted file mode 100644
index f6b5db941b2..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/ImmediateScheduler.swift
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-//  ImmediateScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 10/17/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents an object that schedules units of work to run immediately on the current thread.
-private final class ImmediateScheduler : ImmediateSchedulerType {
-
-    private let _asyncLock = AsyncLock<AnonymousInvocable>()
-
-    /**
-    Schedules an action to be executed immediately.
-
-    In case `schedule` is called recursively from inside of `action` callback, scheduled `action` will be enqueued
-    and executed after current `action`. (`AsyncLock` behavior)
-
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        let disposable = SingleAssignmentDisposable()
-        _asyncLock.invoke(AnonymousInvocable {
-            if disposable.isDisposed {
-                return
-            }
-            disposable.setDisposable(action(state))
-        })
-
-        return disposable
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift
deleted file mode 100644
index 8d1d965b63a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/AnonymousInvocable.swift
+++ /dev/null
@@ -1,19 +0,0 @@
-//
-//  AnonymousInvocable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 11/7/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-struct AnonymousInvocable : InvocableType {
-    private let _action: () -> ()
-
-    init(_ action: @escaping () -> ()) {
-        _action = action
-    }
-
-    func invoke() {
-        _action()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift
deleted file mode 100644
index dc191b15850..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/DispatchQueueConfiguration.swift
+++ /dev/null
@@ -1,104 +0,0 @@
-//
-//  DispatchQueueConfiguration.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 7/23/16.
-//  Copyright © 2016 Krunoslav Zaher. All rights reserved.
-//
-
-import Dispatch
-import struct Foundation.TimeInterval
-
-struct DispatchQueueConfiguration {
-    let queue: DispatchQueue
-    let leeway: DispatchTimeInterval
-}
-
-private func dispatchInterval(_ interval: Foundation.TimeInterval) -> DispatchTimeInterval {
-    precondition(interval >= 0.0)
-    // TODO: Replace 1000 with something that actually works 
-    // NSEC_PER_MSEC returns 1000000
-    return DispatchTimeInterval.milliseconds(Int(interval * 1000.0))
-}
-
-extension DispatchQueueConfiguration {
-    func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        let cancel = SingleAssignmentDisposable()
-
-        queue.async {
-            if cancel.isDisposed {
-                return
-            }
-
-
-            cancel.setDisposable(action(state))
-        }
-
-        return cancel
-    }
-
-    func scheduleRelative<StateType>(_ state: StateType, dueTime: Foundation.TimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable {
-        let deadline = DispatchTime.now() + dispatchInterval(dueTime)
-
-        let compositeDisposable = CompositeDisposable()
-
-        let timer = DispatchSource.makeTimerSource(queue: queue)
-        timer.scheduleOneshot(deadline: deadline)
-
-        // TODO:
-        // This looks horrible, and yes, it is.
-        // It looks like Apple has made a conceputal change here, and I'm unsure why.
-        // Need more info on this.
-        // It looks like just setting timer to fire and not holding a reference to it
-        // until deadline causes timer cancellation.
-        var timerReference: DispatchSourceTimer? = timer
-        let cancelTimer = Disposables.create {
-            timerReference?.cancel()
-            timerReference = nil
-        }
-
-        timer.setEventHandler(handler: {
-            if compositeDisposable.isDisposed {
-                return
-            }
-            _ = compositeDisposable.insert(action(state))
-            cancelTimer.dispose()
-        })
-        timer.resume()
-
-        _ = compositeDisposable.insert(cancelTimer)
-
-        return compositeDisposable
-    }
-
-    func schedulePeriodic<StateType>(_ state: StateType, startAfter: TimeInterval, period: TimeInterval, action: @escaping (StateType) -> StateType) -> Disposable {
-        let initial = DispatchTime.now() + dispatchInterval(startAfter)
-
-        var timerState = state
-
-        let timer = DispatchSource.makeTimerSource(queue: queue)
-        timer.scheduleRepeating(deadline: initial, interval: dispatchInterval(period), leeway: leeway)
-
-        // TODO:
-        // This looks horrible, and yes, it is.
-        // It looks like Apple has made a conceputal change here, and I'm unsure why.
-        // Need more info on this.
-        // It looks like just setting timer to fire and not holding a reference to it
-        // until deadline causes timer cancellation.
-        var timerReference: DispatchSourceTimer? = timer
-        let cancelTimer = Disposables.create {
-            timerReference?.cancel()
-            timerReference = nil
-        }
-
-        timer.setEventHandler(handler: {
-            if cancelTimer.isDisposed {
-                return
-            }
-            timerState = action(timerState)
-        })
-        timer.resume()
-        
-        return cancelTimer
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift
deleted file mode 100644
index 90445f8d5ab..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/InvocableScheduledItem.swift
+++ /dev/null
@@ -1,22 +0,0 @@
-//
-//  InvocableScheduledItem.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 11/7/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-struct InvocableScheduledItem<I: InvocableWithValueType> : InvocableType {
-
-    let _invocable: I
-    let _state: I.Value
-
-    init(invocable: I, state: I.Value) {
-        _invocable = invocable
-        _state = state
-    }
-
-    func invoke() {
-        _invocable.invoke(_state)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift
deleted file mode 100644
index 454fb34bb7e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItem.swift
+++ /dev/null
@@ -1,35 +0,0 @@
-//
-//  ScheduledItem.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 9/2/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-struct ScheduledItem<T>
-    : ScheduledItemType
-    , InvocableType {
-    typealias Action = (T) -> Disposable
-    
-    private let _action: Action
-    private let _state: T
-
-    private let _disposable = SingleAssignmentDisposable()
-
-    var isDisposed: Bool {
-        return _disposable.isDisposed
-    }
-    
-    init(action: @escaping Action, state: T) {
-        _action = action
-        _state = state
-    }
-    
-    func invoke() {
-         _disposable.setDisposable(_action(_state))
-    }
-    
-    func dispose() {
-        _disposable.dispose()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift
deleted file mode 100644
index ec05efda629..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/Internal/ScheduledItemType.swift
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-//  ScheduledItemType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 11/7/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-protocol ScheduledItemType: Cancelable, InvocableType {
-    func invoke()
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift
deleted file mode 100644
index 7d2ac2187d6..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/MainScheduler.swift
+++ /dev/null
@@ -1,68 +0,0 @@
-//
-//  MainScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import Dispatch
-
-/**
-Abstracts work that needs to be performed on `DispatchQueue.main`. In case `schedule` methods are called from `DispatchQueue.main`, it will perform action immediately without scheduling.
-
-This scheduler is usually used to perform UI work.
-
-Main scheduler is a specialization of `SerialDispatchQueueScheduler`.
-
-This scheduler is optimized for `observeOn` operator. To ensure observable sequence is subscribed on main thread using `subscribeOn`
-operator please use `ConcurrentMainScheduler` because it is more optimized for that purpose.
-*/
-public final class MainScheduler : SerialDispatchQueueScheduler {
-
-    private let _mainQueue: DispatchQueue
-
-    var numberEnqueued: AtomicInt = 0
-
-    /// Initializes new instance of `MainScheduler`.
-    public init() {
-        _mainQueue = DispatchQueue.main
-        super.init(serialQueue: _mainQueue)
-    }
-
-    /// Singleton instance of `MainScheduler`
-    public static let instance = MainScheduler()
-
-    /// Singleton instance of `MainScheduler` that always schedules work asynchronously
-    /// and doesn't perform optimizations for calls scheduled from main queue.
-    public static let asyncInstance = SerialDispatchQueueScheduler(serialQueue: DispatchQueue.main)
-
-    /// In case this method is called on a background thread it will throw an exception.
-    public class func ensureExecutingOnScheduler(errorMessage: String? = nil) {
-        if !DispatchQueue.isMain {
-            rxFatalError(errorMessage ?? "Executing on backgound thread. Please use `MainScheduler.instance.schedule` to schedule work on main thread.")
-        }
-    }
-
-    override func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        let currentNumberEnqueued = AtomicIncrement(&numberEnqueued)
-
-        if DispatchQueue.isMain && currentNumberEnqueued == 1 {
-            let disposable = action(state)
-            _ = AtomicDecrement(&numberEnqueued)
-            return disposable
-        }
-
-        let cancel = SingleAssignmentDisposable()
-
-        _mainQueue.async {
-            if !cancel.isDisposed {
-                _ = action(state)
-            }
-
-            _ = AtomicDecrement(&self.numberEnqueued)
-        }
-
-        return cancel
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift
deleted file mode 100644
index 82d30fbcecc..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/OperationQueueScheduler.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-//  OperationQueueScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 4/4/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import class Foundation.OperationQueue
-import class Foundation.BlockOperation
-import Dispatch
-
-/// Abstracts the work that needs to be performed on a specific `NSOperationQueue`.
-///
-/// This scheduler is suitable for cases when there is some bigger chunk of work that needs to be performed in background and you want to fine tune concurrent processing using `maxConcurrentOperationCount`.
-public class OperationQueueScheduler: ImmediateSchedulerType {
-    public let operationQueue: OperationQueue
-    
-    /// Constructs new instance of `OperationQueueScheduler` that performs work on `operationQueue`.
-    ///
-    /// - parameter operationQueue: Operation queue targeted to perform work on.
-    public init(operationQueue: OperationQueue) {
-        self.operationQueue = operationQueue
-    }
-    
-    /**
-    Schedules an action to be executed recursively.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to execute recursively. The last parameter passed to the action is used to trigger recursive scheduling of the action, passing in recursive invocation state.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        let cancel = SingleAssignmentDisposable()
-
-        let operation = BlockOperation {
-            if cancel.isDisposed {
-                return
-            }
-
-
-            cancel.setDisposable(action(state))
-        }
-
-        self.operationQueue.addOperation(operation)
-        
-        return cancel
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift
deleted file mode 100644
index 24d19cc677e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/RecursiveScheduler.swift
+++ /dev/null
@@ -1,226 +0,0 @@
-//
-//  RecursiveScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/7/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-fileprivate enum ScheduleState {
-    case initial
-    case added(CompositeDisposable.DisposeKey)
-    case done
-}
-
-/// Type erased recursive scheduler.
-final class AnyRecursiveScheduler<State> {
-    
-    typealias Action =  (State, AnyRecursiveScheduler<State>) -> Void
-
-    private let _lock = RecursiveLock()
-    
-    // state
-    private let _group = CompositeDisposable()
-
-    private var _scheduler: SchedulerType
-    private var _action: Action?
-    
-    init(scheduler: SchedulerType, action: @escaping Action) {
-        _action = action
-        _scheduler = scheduler
-    }
-
-    /**
-    Schedules an action to be executed recursively.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter dueTime: Relative time after which to execute the recursive action.
-    */
-    func schedule(_ state: State, dueTime: RxTimeInterval) {
-        var scheduleState: ScheduleState = .initial
-
-        let d = _scheduler.scheduleRelative(state, dueTime: dueTime) { (state) -> Disposable in
-            // best effort
-            if self._group.isDisposed {
-                return Disposables.create()
-            }
-            
-            let action = self._lock.calculateLocked { () -> Action? in
-                switch scheduleState {
-                case let .added(removeKey):
-                    self._group.remove(for: removeKey)
-                case .initial:
-                    break
-                case .done:
-                    break
-                }
-
-                scheduleState = .done
-
-                return self._action
-            }
-            
-            if let action = action {
-                action(state, self)
-            }
-            
-            return Disposables.create()
-        }
-            
-        _lock.performLocked {
-            switch scheduleState {
-            case .added:
-                rxFatalError("Invalid state")
-                break
-            case .initial:
-                if let removeKey = _group.insert(d) {
-                    scheduleState = .added(removeKey)
-                }
-                else {
-                    scheduleState = .done
-                }
-                break
-            case .done:
-                break
-            }
-        }
-    }
-
-    /// Schedules an action to be executed recursively.
-    ///
-    /// - parameter state: State passed to the action to be executed.
-    func schedule(_ state: State) {
-        var scheduleState: ScheduleState = .initial
-
-        let d = _scheduler.schedule(state) { (state) -> Disposable in
-            // best effort
-            if self._group.isDisposed {
-                return Disposables.create()
-            }
-            
-            let action = self._lock.calculateLocked { () -> Action? in
-                switch scheduleState {
-                case let .added(removeKey):
-                    self._group.remove(for: removeKey)
-                case .initial:
-                    break
-                case .done:
-                    break
-                }
-
-                scheduleState = .done
-                
-                return self._action
-            }
-           
-            if let action = action {
-                action(state, self)
-            }
-            
-            return Disposables.create()
-        }
-        
-        _lock.performLocked {
-            switch scheduleState {
-            case .added:
-                rxFatalError("Invalid state")
-                break
-            case .initial:
-                if let removeKey = _group.insert(d) {
-                    scheduleState = .added(removeKey)
-                }
-                else {
-                    scheduleState = .done
-                }
-                break
-            case .done:
-                break
-            }
-        }
-    }
-    
-    func dispose() {
-        _lock.performLocked {
-            _action = nil
-        }
-        _group.dispose()
-    }
-}
-
-/// Type erased recursive scheduler.
-final class RecursiveImmediateScheduler<State> {
-    typealias Action =  (_ state: State, _ recurse: (State) -> Void) -> Void
-    
-    private var _lock = SpinLock()
-    private let _group = CompositeDisposable()
-    
-    private var _action: Action?
-    private let _scheduler: ImmediateSchedulerType
-    
-    init(action: @escaping Action, scheduler: ImmediateSchedulerType) {
-        _action = action
-        _scheduler = scheduler
-    }
-    
-    // immediate scheduling
-    
-    /// Schedules an action to be executed recursively.
-    ///
-    /// - parameter state: State passed to the action to be executed.
-    func schedule(_ state: State) {
-        var scheduleState: ScheduleState = .initial
-
-        let d = _scheduler.schedule(state) { (state) -> Disposable in
-            // best effort
-            if self._group.isDisposed {
-                return Disposables.create()
-            }
-            
-            let action = self._lock.calculateLocked { () -> Action? in
-                switch scheduleState {
-                case let .added(removeKey):
-                    self._group.remove(for: removeKey)
-                case .initial:
-                    break
-                case .done:
-                    break
-                }
-
-                scheduleState = .done
-
-                return self._action
-            }
-            
-            if let action = action {
-                action(state, self.schedule)
-            }
-            
-            return Disposables.create()
-        }
-        
-        _lock.performLocked {
-            switch scheduleState {
-            case .added:
-                rxFatalError("Invalid state")
-                break
-            case .initial:
-                if let removeKey = _group.insert(d) {
-                    scheduleState = .added(removeKey)
-                }
-                else {
-                    scheduleState = .done
-                }
-                break
-            case .done:
-                break
-            }
-        }
-    }
-    
-    func dispose() {
-        _lock.performLocked {
-            _action = nil
-        }
-        _group.dispose()
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift
deleted file mode 100644
index 41f2947a683..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/SchedulerServices+Emulation.swift
+++ /dev/null
@@ -1,61 +0,0 @@
-//
-//  SchedulerServices+Emulation.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 6/6/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-enum SchedulePeriodicRecursiveCommand {
-    case tick
-    case dispatchStart
-}
-
-final class SchedulePeriodicRecursive<State> {
-    typealias RecursiveAction = (State) -> State
-    typealias RecursiveScheduler = AnyRecursiveScheduler<SchedulePeriodicRecursiveCommand>
-
-    private let _scheduler: SchedulerType
-    private let _startAfter: RxTimeInterval
-    private let _period: RxTimeInterval
-    private let _action: RecursiveAction
-
-    private var _state: State
-    private var _pendingTickCount: AtomicInt = 0
-
-    init(scheduler: SchedulerType, startAfter: RxTimeInterval, period: RxTimeInterval, action: @escaping RecursiveAction, state: State) {
-        _scheduler = scheduler
-        _startAfter = startAfter
-        _period = period
-        _action = action
-        _state = state
-    }
-
-    func start() -> Disposable {
-        return _scheduler.scheduleRecursive(SchedulePeriodicRecursiveCommand.tick, dueTime: _startAfter, action: self.tick)
-    }
-
-    func tick(_ command: SchedulePeriodicRecursiveCommand, scheduler: RecursiveScheduler) -> Void {
-        // Tries to emulate periodic scheduling as best as possible.
-        // The problem that could arise is if handling periodic ticks take too long, or
-        // tick interval is short.
-        switch command {
-        case .tick:
-            scheduler.schedule(.tick, dueTime: _period)
-
-            // The idea is that if on tick there wasn't any item enqueued, schedule to perform work immediately.
-            // Else work will be scheduled after previous enqueued work completes.
-            if AtomicIncrement(&_pendingTickCount) == 1 {
-                self.tick(.dispatchStart, scheduler: scheduler)
-            }
-
-        case .dispatchStart:
-            _state = _action(_state)
-            // Start work and schedule check is this last batch of work
-            if AtomicDecrement(&_pendingTickCount) > 0 {
-                // This gives priority to scheduler emulation, it's not perfect, but helps
-                scheduler.schedule(SchedulePeriodicRecursiveCommand.dispatchStart)
-            }
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift
deleted file mode 100644
index 71733d39782..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/SerialDispatchQueueScheduler.swift
+++ /dev/null
@@ -1,123 +0,0 @@
-//
-//  SerialDispatchQueueScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/8/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-import struct Foundation.TimeInterval
-import struct Foundation.Date
-import Dispatch
-
-/**
-Abstracts the work that needs to be performed on a specific `dispatch_queue_t`. It will make sure 
-that even if concurrent dispatch queue is passed, it's transformed into a serial one.
-
-It is extremely important that this scheduler is serial, because
-certain operator perform optimizations that rely on that property.
-
-Because there is no way of detecting is passed dispatch queue serial or
-concurrent, for every queue that is being passed, worst case (concurrent)
-will be assumed, and internal serial proxy dispatch queue will be created.
-
-This scheduler can also be used with internal serial queue alone.
-
-In case some customization need to be made on it before usage,
-internal serial queue can be customized using `serialQueueConfiguration`
-callback.
-*/
-public class SerialDispatchQueueScheduler : SchedulerType {
-    public typealias TimeInterval = Foundation.TimeInterval
-    public typealias Time = Date
-    
-    /// - returns: Current time.
-    public var now : Date {
-        return Date()
-    }
-
-    let configuration: DispatchQueueConfiguration
-    
-    init(serialQueue: DispatchQueue, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) {
-        configuration = DispatchQueueConfiguration(queue: serialQueue, leeway: leeway)
-    }
-
-    /**
-    Constructs new `SerialDispatchQueueScheduler` with internal serial queue named `internalSerialQueueName`.
-    
-    Additional dispatch queue properties can be set after dispatch queue is created using `serialQueueConfiguration`.
-    
-    - parameter internalSerialQueueName: Name of internal serial dispatch queue.
-    - parameter serialQueueConfiguration: Additional configuration of internal serial dispatch queue.
-    */
-    public convenience init(internalSerialQueueName: String, serialQueueConfiguration: ((DispatchQueue) -> Void)? = nil, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) {
-        let queue = DispatchQueue(label: internalSerialQueueName, attributes: [])
-        serialQueueConfiguration?(queue)
-        self.init(serialQueue: queue, leeway: leeway)
-    }
-    
-    /**
-    Constructs new `SerialDispatchQueueScheduler` named `internalSerialQueueName` that wraps `queue`.
-    
-    - parameter queue: Possibly concurrent dispatch queue used to perform work.
-    - parameter internalSerialQueueName: Name of internal serial dispatch queue proxy.
-    */
-    public convenience init(queue: DispatchQueue, internalSerialQueueName: String, leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) {
-        // Swift 3.0 IUO
-        let serialQueue = DispatchQueue(label: internalSerialQueueName,
-                                        attributes: [],
-                                        target: queue)
-        self.init(serialQueue: serialQueue, leeway: leeway)
-    }
-
-    /**
-     Constructs new `SerialDispatchQueueScheduler` that wraps on of the global concurrent dispatch queues.
-     
-     - parameter qos: Identifier for global dispatch queue with specified quality of service class.
-     - parameter internalSerialQueueName: Custom name for internal serial dispatch queue proxy.
-     */
-    @available(iOS 8, OSX 10.10, *)
-    public convenience init(qos: DispatchQoS, internalSerialQueueName: String = "rx.global_dispatch_queue.serial", leeway: DispatchTimeInterval = DispatchTimeInterval.nanoseconds(0)) {
-        self.init(queue: DispatchQueue.global(qos: qos.qosClass), internalSerialQueueName: internalSerialQueueName, leeway: leeway)
-    }
-    
-    /**
-    Schedules an action to be executed immediately.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public final func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        return self.scheduleInternal(state, action: action)
-    }
-
-    func scheduleInternal<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        return self.configuration.schedule(state, action: action)
-    }
-
-    /**
-    Schedules an action to be executed.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter dueTime: Relative time after which to execute the action.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public final func scheduleRelative<StateType>(_ state: StateType, dueTime: Foundation.TimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable {
-        return self.configuration.scheduleRelative(state, dueTime: dueTime, action: action)
-    }
-    
-    /**
-    Schedules a periodic piece of work.
-    
-    - parameter state: State passed to the action to be executed.
-    - parameter startAfter: Period after which initial work should be run.
-    - parameter period: Period for running the work periodically.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public func schedulePeriodic<StateType>(_ state: StateType, startAfter: TimeInterval, period: TimeInterval, action: @escaping (StateType) -> StateType) -> Disposable {
-        return self.configuration.schedulePeriodic(state, startAfter: startAfter, period: period, action: action)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift
deleted file mode 100644
index b207836ef73..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeConverterType.swift
+++ /dev/null
@@ -1,95 +0,0 @@
-//
-//  VirtualTimeConverterType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 12/23/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Parametrization for virtual time used by `VirtualTimeScheduler`s.
-public protocol VirtualTimeConverterType {
-    /// Virtual time unit used that represents ticks of virtual clock.
-    associatedtype VirtualTimeUnit
-
-    /// Virtual time unit used to represent differences of virtual times.
-    associatedtype VirtualTimeIntervalUnit
-
-    /**
-     Converts virtual time to real time.
-     
-     - parameter virtualTime: Virtual time to convert to `Date`.
-     - returns: `Date` corresponding to virtual time.
-    */
-    func convertFromVirtualTime(_ virtualTime: VirtualTimeUnit) -> RxTime
-
-    /**
-     Converts real time to virtual time.
-     
-     - parameter time: `Date` to convert to virtual time.
-     - returns: Virtual time corresponding to `Date`.
-    */
-    func convertToVirtualTime(_ time: RxTime) -> VirtualTimeUnit
-
-    /**
-     Converts from virtual time interval to `NSTimeInterval`.
-     
-     - parameter virtualTimeInterval: Virtual time interval to convert to `NSTimeInterval`.
-     - returns: `NSTimeInterval` corresponding to virtual time interval.
-    */
-    func convertFromVirtualTimeInterval(_ virtualTimeInterval: VirtualTimeIntervalUnit) -> RxTimeInterval
-
-    /**
-     Converts from virtual time interval to `NSTimeInterval`.
-     
-     - parameter timeInterval: `NSTimeInterval` to convert to virtual time interval.
-     - returns: Virtual time interval corresponding to time interval.
-    */
-    func convertToVirtualTimeInterval(_ timeInterval: RxTimeInterval) -> VirtualTimeIntervalUnit
-
-    /**
-     Offsets virtual time by virtual time interval.
-     
-     - parameter time: Virtual time.
-     - parameter offset: Virtual time interval.
-     - returns: Time corresponding to time offsetted by virtual time interval.
-    */
-    func offsetVirtualTime(_ time: VirtualTimeUnit, offset: VirtualTimeIntervalUnit) -> VirtualTimeUnit
-
-    /**
-     This is aditional abstraction because `Date` is unfortunately not comparable.
-     Extending `Date` with `Comparable` would be too risky because of possible collisions with other libraries.
-    */
-    func compareVirtualTime(_ lhs: VirtualTimeUnit, _ rhs: VirtualTimeUnit) -> VirtualTimeComparison
-}
-
-/**
- Virtual time comparison result.
-
- This is aditional abstraction because `Date` is unfortunately not comparable.
- Extending `Date` with `Comparable` would be too risky because of possible collisions with other libraries.
-*/
-public enum VirtualTimeComparison {
-    /// lhs < rhs.
-    case lessThan
-    /// lhs == rhs.
-    case equal
-    /// lhs > rhs.
-    case greaterThan
-}
-
-extension VirtualTimeComparison {
-    /// lhs < rhs.
-    var lessThen: Bool {
-        return self == .lessThan
-    }
-
-    /// lhs > rhs
-    var greaterThan: Bool {
-        return self == .greaterThan
-    }
-
-    /// lhs == rhs
-    var equal: Bool {
-        return self == .equal
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift
deleted file mode 100644
index c0e1aa56240..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Schedulers/VirtualTimeScheduler.swift
+++ /dev/null
@@ -1,269 +0,0 @@
-//
-//  VirtualTimeScheduler.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/14/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Base class for virtual time schedulers using a priority queue for scheduled items.
-open class VirtualTimeScheduler<Converter: VirtualTimeConverterType>
-    : SchedulerType {
-
-    public typealias VirtualTime = Converter.VirtualTimeUnit
-    public typealias VirtualTimeInterval = Converter.VirtualTimeIntervalUnit
-
-    private var _running : Bool
-
-    private var _clock: VirtualTime
-
-    fileprivate var _schedulerQueue : PriorityQueue<VirtualSchedulerItem<VirtualTime>>
-    private var _converter: Converter
-
-    private var _nextId = 0
-
-    /// - returns: Current time.
-    public var now: RxTime {
-        return _converter.convertFromVirtualTime(clock)
-    }
-
-    /// - returns: Scheduler's absolute time clock value.
-    public var clock: VirtualTime {
-        return _clock
-    }
-
-    /// Creates a new virtual time scheduler.
-    ///
-    /// - parameter initialClock: Initial value for the clock.
-    public init(initialClock: VirtualTime, converter: Converter) {
-        _clock = initialClock
-        _running = false
-        _converter = converter
-        _schedulerQueue = PriorityQueue(hasHigherPriority: {
-            switch converter.compareVirtualTime($0.time, $1.time) {
-            case .lessThan:
-                return true
-            case .equal:
-                return $0.id < $1.id
-            case .greaterThan:
-                return false
-            }
-        }, isEqual: { $0 === $1 })
-        #if TRACE_RESOURCES
-            let _ = Resources.incrementTotal()
-        #endif
-    }
-
-    /**
-    Schedules an action to be executed immediately.
-
-    - parameter state: State passed to the action to be executed.
-    - parameter action: Action to be executed.
-    - returns: The disposable object used to cancel the scheduled action (best effort).
-    */
-    public func schedule<StateType>(_ state: StateType, action: @escaping (StateType) -> Disposable) -> Disposable {
-        return self.scheduleRelative(state, dueTime: 0.0) { a in
-            return action(a)
-        }
-    }
-
-    /**
-     Schedules an action to be executed.
-
-     - parameter state: State passed to the action to be executed.
-     - parameter dueTime: Relative time after which to execute the action.
-     - parameter action: Action to be executed.
-     - returns: The disposable object used to cancel the scheduled action (best effort).
-     */
-    public func scheduleRelative<StateType>(_ state: StateType, dueTime: RxTimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable {
-        let time = self.now.addingTimeInterval(dueTime)
-        let absoluteTime = _converter.convertToVirtualTime(time)
-        let adjustedTime = self.adjustScheduledTime(absoluteTime)
-        return scheduleAbsoluteVirtual(state, time: adjustedTime, action: action)
-    }
-
-    /**
-     Schedules an action to be executed after relative time has passed.
-
-     - parameter state: State passed to the action to be executed.
-     - parameter time: Absolute time when to execute the action. If this is less or equal then `now`, `now + 1`  will be used.
-     - parameter action: Action to be executed.
-     - returns: The disposable object used to cancel the scheduled action (best effort).
-     */
-    public func scheduleRelativeVirtual<StateType>(_ state: StateType, dueTime: VirtualTimeInterval, action: @escaping (StateType) -> Disposable) -> Disposable {
-        let time = _converter.offsetVirtualTime(self.clock, offset: dueTime)
-        return scheduleAbsoluteVirtual(state, time: time, action: action)
-    }
-
-    /**
-     Schedules an action to be executed at absolute virtual time.
-
-     - parameter state: State passed to the action to be executed.
-     - parameter time: Absolute time when to execute the action.
-     - parameter action: Action to be executed.
-     - returns: The disposable object used to cancel the scheduled action (best effort).
-     */
-    public func scheduleAbsoluteVirtual<StateType>(_ state: StateType, time: Converter.VirtualTimeUnit, action: @escaping (StateType) -> Disposable) -> Disposable {
-        MainScheduler.ensureExecutingOnScheduler()
-
-        let compositeDisposable = CompositeDisposable()
-
-        let item = VirtualSchedulerItem(action: {
-            let dispose = action(state)
-            return dispose
-        }, time: time, id: _nextId)
-
-        _nextId += 1
-
-        _schedulerQueue.enqueue(item)
-        
-        _ = compositeDisposable.insert(item)
-        
-        return compositeDisposable
-    }
-
-    /// Adjusts time of scheduling before adding item to schedule queue.
-    open func adjustScheduledTime(_ time: Converter.VirtualTimeUnit) -> Converter.VirtualTimeUnit {
-        return time
-    }
-
-    /// Starts the virtual time scheduler.
-    public func start() {
-        MainScheduler.ensureExecutingOnScheduler()
-
-        if _running {
-            return
-        }
-
-        _running = true
-        repeat {
-            guard let next = findNext() else {
-                break
-            }
-
-            if _converter.compareVirtualTime(next.time, self.clock).greaterThan  {
-                _clock = next.time
-            }
-
-            next.invoke()
-            _schedulerQueue.remove(next)
-        } while _running
-
-        _running = false
-    }
-
-    func findNext() -> VirtualSchedulerItem<VirtualTime>? {
-        while let front = _schedulerQueue.peek() {
-            if front.isDisposed {
-                _schedulerQueue.remove(front)
-                continue
-            }
-
-            return front
-        }
-
-        return nil
-    }
-
-    /// Advances the scheduler's clock to the specified time, running all work till that point.
-    ///
-    /// - parameter virtualTime: Absolute time to advance the scheduler's clock to.
-    public func advanceTo(_ virtualTime: VirtualTime) {
-        MainScheduler.ensureExecutingOnScheduler()
-
-        if _running {
-            fatalError("Scheduler is already running")
-        }
-
-        _running = true
-        repeat {
-            guard let next = findNext() else {
-                break
-            }
-
-            if _converter.compareVirtualTime(next.time, virtualTime).greaterThan {
-                break
-            }
-
-            if _converter.compareVirtualTime(next.time, self.clock).greaterThan  {
-                _clock = next.time
-            }
-
-            next.invoke()
-            _schedulerQueue.remove(next)
-        } while _running
-
-        _clock = virtualTime
-        _running = false
-    }
-
-    /// Advances the scheduler's clock by the specified relative time.
-    public func sleep(_ virtualInterval: VirtualTimeInterval) {
-        MainScheduler.ensureExecutingOnScheduler()
-
-        let sleepTo = _converter.offsetVirtualTime(clock, offset: virtualInterval)
-        if _converter.compareVirtualTime(sleepTo, clock).lessThen {
-            fatalError("Can't sleep to past.")
-        }
-
-        _clock = sleepTo
-    }
-
-    /// Stops the virtual time scheduler.
-    public func stop() {
-        MainScheduler.ensureExecutingOnScheduler()
-
-        _running = false
-    }
-
-    #if TRACE_RESOURCES
-        deinit {
-            _ = Resources.decrementTotal()
-        }
-    #endif
-}
-
-// MARK: description
-
-extension VirtualTimeScheduler: CustomDebugStringConvertible {
-    /// A textual representation of `self`, suitable for debugging.
-    public var debugDescription: String {
-        return self._schedulerQueue.debugDescription
-    }
-}
-
-final class VirtualSchedulerItem<Time>
-    : Disposable {
-    typealias Action = () -> Disposable
-    
-    let action: Action
-    let time: Time
-    let id: Int
-
-    var isDisposed: Bool {
-        return disposable.isDisposed
-    }
-    
-    var disposable = SingleAssignmentDisposable()
-    
-    init(action: @escaping Action, time: Time, id: Int) {
-        self.action = action
-        self.time = time
-        self.id = id
-    }
-
-    func invoke() {
-         self.disposable.setDisposable(action())
-    }
-    
-    func dispose() {
-        self.disposable.dispose()
-    }
-}
-
-extension VirtualSchedulerItem
-    : CustomDebugStringConvertible {
-    var debugDescription: String {
-        return "\(time)"
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift
deleted file mode 100644
index 520207d8794..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/AsyncSubject.swift
+++ /dev/null
@@ -1,155 +0,0 @@
-//
-//  AsyncSubject.swift
-//  RxSwift
-//
-//  Created by Victor Galán on 07/01/2017.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-/// An AsyncSubject emits the last value (and only the last value) emitted by the source Observable,
-/// and only after that source Observable completes.
-///
-/// (If the source Observable does not emit any values, the AsyncSubject also completes without emitting any values.)
-public final class AsyncSubject<Element>
-    : Observable<Element>
-    , SubjectType
-    , ObserverType
-    , SynchronizedUnsubscribeType {
-    public typealias SubjectObserverType = AsyncSubject<Element>
-
-    typealias Observers = AnyObserver<Element>.s
-    typealias DisposeKey = Observers.KeyType
-
-    /// Indicates whether the subject has any observers
-    public var hasObservers: Bool {
-        _lock.lock(); defer { _lock.unlock() }
-        return _observers.count > 0
-    }
-
-    let _lock = RecursiveLock()
-
-    // state
-    private var _observers = Observers()
-    private var _isStopped = false
-    private var _stoppedEvent = nil as Event<Element>? {
-        didSet {
-            _isStopped = _stoppedEvent != nil
-        }
-    }
-    private var _lastElement: Element?
-
-    #if DEBUG
-        fileprivate let _synchronizationTracker = SynchronizationTracker()
-    #endif
-
-
-    /// Creates a subject.
-    public override init() {
-        #if TRACE_RESOURCES
-            _ = Resources.incrementTotal()
-        #endif
-        super.init()
-    }
-
-    /// Notifies all subscribed observers about next event.
-    ///
-    /// - parameter event: Event to send to the observers.
-    public func on(_ event: Event<E>) {
-        #if DEBUG
-            _synchronizationTracker.register(synchronizationErrorMessage: .default)
-            defer { _synchronizationTracker.unregister() }
-        #endif
-        let (observers, event) = _synchronized_on(event)
-        switch event {
-        case .next:
-            dispatch(observers, event)
-            dispatch(observers, .completed)
-        case .completed:
-            dispatch(observers, event)
-        case .error:
-            dispatch(observers, event)
-        }
-    }
-
-    func _synchronized_on(_ event: Event<E>) -> (Observers, Event<E>) {
-        _lock.lock(); defer { _lock.unlock() }
-        if _isStopped {
-            return (Observers(), .completed)
-        }
-
-        switch event {
-        case .next(let element):
-            _lastElement = element
-            return (Observers(), .completed)
-        case .error:
-            _stoppedEvent = event
-
-            let observers = _observers
-            _observers.removeAll()
-
-            return (observers, event)
-        case .completed:
-
-            let observers = _observers
-            _observers.removeAll()
-
-            if let lastElement = _lastElement {
-                _stoppedEvent = .next(lastElement)
-                return (observers, .next(lastElement))
-            }
-            else {
-                _stoppedEvent = event
-                return (observers, .completed)
-            }
-        }
-    }
-
-    /// Subscribes an observer to the subject.
-    ///
-    /// - parameter observer: Observer to subscribe to the subject.
-    /// - returns: Disposable object that can be used to unsubscribe the observer from the subject.
-    public override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        _lock.lock(); defer { _lock.unlock() }
-        return _synchronized_subscribe(observer)
-    }
-
-    func _synchronized_subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        if let stoppedEvent = _stoppedEvent {
-            switch stoppedEvent {
-            case .next:
-                observer.on(stoppedEvent)
-                observer.on(.completed)
-            case .completed:
-                observer.on(stoppedEvent)
-            case .error:
-                observer.on(stoppedEvent)
-            }
-            return Disposables.create()
-        }
-
-        let key = _observers.insert(observer.on)
-
-        return SubscriptionDisposable(owner: self, key: key)
-    }
-
-    func synchronizedUnsubscribe(_ disposeKey: DisposeKey) {
-        _lock.lock(); defer { _lock.unlock() }
-        _synchronized_unsubscribe(disposeKey)
-    }
-    
-    func _synchronized_unsubscribe(_ disposeKey: DisposeKey) {
-        _ = _observers.removeKey(disposeKey)
-    }
-    
-    /// Returns observer interface for subject.
-    public func asObserver() -> AsyncSubject<Element> {
-        return self
-    }
-
-    #if TRACE_RESOURCES
-    deinit {
-        _ = Resources.decrementTotal()
-    }
-    #endif
-}
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift
deleted file mode 100644
index f2de851a7c3..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/BehaviorSubject.swift
+++ /dev/null
@@ -1,166 +0,0 @@
-//
-//  BehaviorSubject.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/23/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents a value that changes over time.
-///
-/// Observers can subscribe to the subject to receive the last (or initial) value and all subsequent notifications.
-public final class BehaviorSubject<Element>
-    : Observable<Element>
-    , SubjectType
-    , ObserverType
-    , SynchronizedUnsubscribeType
-    , Disposable {
-    public typealias SubjectObserverType = BehaviorSubject<Element>
-
-    typealias Observers = AnyObserver<Element>.s
-    typealias DisposeKey = Observers.KeyType
-    
-    /// Indicates whether the subject has any observers
-    public var hasObservers: Bool {
-        _lock.lock()
-        let value = _observers.count > 0
-        _lock.unlock()
-        return value
-    }
-    
-    let _lock = RecursiveLock()
-    
-    // state
-    private var _isDisposed = false
-    private var _element: Element
-    private var _observers = Observers()
-    private var _stoppedEvent: Event<Element>?
-
-    #if DEBUG
-        fileprivate let _synchronizationTracker = SynchronizationTracker()
-    #endif
-
-    /// Indicates whether the subject has been disposed.
-    public var isDisposed: Bool {
-        return _isDisposed
-    }
- 
-    /// Initializes a new instance of the subject that caches its last value and starts with the specified value.
-    ///
-    /// - parameter value: Initial value sent to observers when no other value has been received by the subject yet.
-    public init(value: Element) {
-        _element = value
-
-        #if TRACE_RESOURCES
-            _ = Resources.incrementTotal()
-        #endif
-    }
-    
-    /// Gets the current value or throws an error.
-    ///
-    /// - returns: Latest value.
-    public func value() throws -> Element {
-        _lock.lock(); defer { _lock.unlock() } // {
-            if _isDisposed {
-                throw RxError.disposed(object: self)
-            }
-            
-            if let error = _stoppedEvent?.error {
-                // intentionally throw exception
-                throw error
-            }
-            else {
-                return _element
-            }
-        //}
-    }
-    
-    /// Notifies all subscribed observers about next event.
-    ///
-    /// - parameter event: Event to send to the observers.
-    public func on(_ event: Event<E>) {
-        #if DEBUG
-            _synchronizationTracker.register(synchronizationErrorMessage: .default)
-            defer { _synchronizationTracker.unregister() }
-        #endif
-        dispatch(_synchronized_on(event), event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) -> Observers {
-        _lock.lock(); defer { _lock.unlock() }
-        if _stoppedEvent != nil || _isDisposed {
-            return Observers()
-        }
-        
-        switch event {
-        case .next(let element):
-            _element = element
-        case .error, .completed:
-            _stoppedEvent = event
-        }
-        
-        return _observers
-    }
-    
-    /// Subscribes an observer to the subject.
-    ///
-    /// - parameter observer: Observer to subscribe to the subject.
-    /// - returns: Disposable object that can be used to unsubscribe the observer from the subject.
-    public override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        _lock.lock()
-        let subscription = _synchronized_subscribe(observer)
-        _lock.unlock()
-        return subscription
-    }
-
-    func _synchronized_subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        if _isDisposed {
-            observer.on(.error(RxError.disposed(object: self)))
-            return Disposables.create()
-        }
-        
-        if let stoppedEvent = _stoppedEvent {
-            observer.on(stoppedEvent)
-            return Disposables.create()
-        }
-        
-        let key = _observers.insert(observer.on)
-        observer.on(.next(_element))
-    
-        return SubscriptionDisposable(owner: self, key: key)
-    }
-
-    func synchronizedUnsubscribe(_ disposeKey: DisposeKey) {
-        _lock.lock()
-        _synchronized_unsubscribe(disposeKey)
-        _lock.unlock()
-    }
-
-    func _synchronized_unsubscribe(_ disposeKey: DisposeKey) {
-        if _isDisposed {
-            return
-        }
-
-        _ = _observers.removeKey(disposeKey)
-    }
-
-    /// Returns observer interface for subject.
-    public func asObserver() -> BehaviorSubject<Element> {
-        return self
-    }
-
-    /// Unsubscribe all observers and release resources.
-    public func dispose() {
-        _lock.lock()
-        _isDisposed = true
-        _observers.removeAll()
-        _stoppedEvent = nil
-        _lock.unlock()
-    }
-
-    #if TRACE_RESOURCES
-        deinit {
-        _ = Resources.decrementTotal()
-        }
-    #endif
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift
deleted file mode 100644
index d847ce86983..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/PublishSubject.swift
+++ /dev/null
@@ -1,150 +0,0 @@
-//
-//  PublishSubject.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 2/11/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents an object that is both an observable sequence as well as an observer.
-///
-/// Each notification is broadcasted to all subscribed observers.
-public final class PublishSubject<Element>
-    : Observable<Element>
-    , SubjectType
-    , Cancelable
-    , ObserverType
-    , SynchronizedUnsubscribeType {
-    public typealias SubjectObserverType = PublishSubject<Element>
-
-    typealias Observers = AnyObserver<Element>.s
-    typealias DisposeKey = Observers.KeyType
-    
-    /// Indicates whether the subject has any observers
-    public var hasObservers: Bool {
-        _lock.lock()
-        let count = _observers.count > 0
-        _lock.unlock()
-        return count
-    }
-    
-    private let _lock = RecursiveLock()
-    
-    // state
-    private var _isDisposed = false
-    private var _observers = Observers()
-    private var _stopped = false
-    private var _stoppedEvent = nil as Event<Element>?
-
-    #if DEBUG
-        fileprivate let _synchronizationTracker = SynchronizationTracker()
-    #endif
-
-    /// Indicates whether the subject has been isDisposed.
-    public var isDisposed: Bool {
-        return _isDisposed
-    }
-    
-    /// Creates a subject.
-    public override init() {
-        super.init()
-        #if TRACE_RESOURCES
-            _ = Resources.incrementTotal()
-        #endif
-    }
-    
-    /// Notifies all subscribed observers about next event.
-    ///
-    /// - parameter event: Event to send to the observers.
-    public func on(_ event: Event<Element>) {
-        #if DEBUG
-            _synchronizationTracker.register(synchronizationErrorMessage: .default)
-            defer { _synchronizationTracker.unregister() }
-        #endif
-        dispatch(_synchronized_on(event), event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) -> Observers {
-        _lock.lock(); defer { _lock.unlock() }
-        switch event {
-        case .next(_):
-            if _isDisposed || _stopped {
-                return Observers()
-            }
-            
-            return _observers
-        case .completed, .error:
-            if _stoppedEvent == nil {
-                _stoppedEvent = event
-                _stopped = true
-                let observers = _observers
-                _observers.removeAll()
-                return observers
-            }
-
-            return Observers()
-        }
-    }
-    
-    /**
-    Subscribes an observer to the subject.
-    
-    - parameter observer: Observer to subscribe to the subject.
-    - returns: Disposable object that can be used to unsubscribe the observer from the subject.
-    */
-    public override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        _lock.lock()
-        let subscription = _synchronized_subscribe(observer)
-        _lock.unlock()
-        return subscription
-    }
-
-    func _synchronized_subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        if let stoppedEvent = _stoppedEvent {
-            observer.on(stoppedEvent)
-            return Disposables.create()
-        }
-        
-        if _isDisposed {
-            observer.on(.error(RxError.disposed(object: self)))
-            return Disposables.create()
-        }
-        
-        let key = _observers.insert(observer.on)
-        return SubscriptionDisposable(owner: self, key: key)
-    }
-
-    func synchronizedUnsubscribe(_ disposeKey: DisposeKey) {
-        _lock.lock()
-        _synchronized_unsubscribe(disposeKey)
-        _lock.unlock()
-    }
-
-    func _synchronized_unsubscribe(_ disposeKey: DisposeKey) {
-        _ = _observers.removeKey(disposeKey)
-    }
-    
-    /// Returns observer interface for subject.
-    public func asObserver() -> PublishSubject<Element> {
-        return self
-    }
-    
-    /// Unsubscribe all observers and release resources.
-    public func dispose() {
-        _lock.lock()
-        _synchronized_dispose()
-        _lock.unlock()
-    }
-
-    final func _synchronized_dispose() {
-        _isDisposed = true
-        _observers.removeAll()
-        _stoppedEvent = nil
-    }
-
-    #if TRACE_RESOURCES
-        deinit {
-            _ = Resources.decrementTotal()
-        }
-    #endif
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift
deleted file mode 100644
index 54abc35b24f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/ReplaySubject.swift
+++ /dev/null
@@ -1,281 +0,0 @@
-//
-//  ReplaySubject.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 4/14/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents an object that is both an observable sequence as well as an observer.
-///
-/// Each notification is broadcasted to all subscribed and future observers, subject to buffer trimming policies.
-public class ReplaySubject<Element>
-    : Observable<Element>
-    , SubjectType
-    , ObserverType
-    , Disposable {
-    public typealias SubjectObserverType = ReplaySubject<Element>
-
-    typealias Observers = AnyObserver<Element>.s
-    typealias DisposeKey = Observers.KeyType
-
-    /// Indicates whether the subject has any observers
-    public var hasObservers: Bool {
-        _lock.lock()
-        let value = _observers.count > 0
-        _lock.unlock()
-        return value
-    }
-    
-    fileprivate let _lock = RecursiveLock()
-    
-    // state
-    fileprivate var _isDisposed = false
-    fileprivate var _isStopped = false
-    fileprivate var _stoppedEvent = nil as Event<Element>? {
-        didSet {
-            _isStopped = _stoppedEvent != nil
-        }
-    }
-    fileprivate var _observers = Observers()
-
-    #if DEBUG
-        fileprivate let _synchronizationTracker = SynchronizationTracker()
-    #endif
-
-    func unsubscribe(_ key: DisposeKey) {
-        rxAbstractMethod()
-    }
-
-    final var isStopped: Bool {
-        return _isStopped
-    }
-    
-    /// Notifies all subscribed observers about next event.
-    ///
-    /// - parameter event: Event to send to the observers.
-    public func on(_ event: Event<E>) {
-        rxAbstractMethod()
-    }
-    
-    /// Returns observer interface for subject.
-    public func asObserver() -> SubjectObserverType {
-        return self
-    }
-    
-    /// Unsubscribe all observers and release resources.
-    public func dispose() {
-    }
-
-    /// Creates new instance of `ReplaySubject` that replays at most `bufferSize` last elements of sequence.
-    ///
-    /// - parameter bufferSize: Maximal number of elements to replay to observer after subscription.
-    /// - returns: New instance of replay subject.
-    public static func create(bufferSize: Int) -> ReplaySubject<Element> {
-        if bufferSize == 1 {
-            return ReplayOne()
-        }
-        else {
-            return ReplayMany(bufferSize: bufferSize)
-        }
-    }
-
-    /// Creates a new instance of `ReplaySubject` that buffers all the elements of a sequence.
-    /// To avoid filling up memory, developer needs to make sure that the use case will only ever store a 'reasonable'
-    /// number of elements.
-    public static func createUnbounded() -> ReplaySubject<Element> {
-        return ReplayAll()
-    }
-
-    #if TRACE_RESOURCES
-        override init() {
-            _ = Resources.incrementTotal()
-        }
-
-        deinit {
-            _ = Resources.decrementTotal()
-        }
-    #endif
-}
-
-fileprivate class ReplayBufferBase<Element>
-    : ReplaySubject<Element>
-    , SynchronizedUnsubscribeType {
-    
-    func trim() {
-        rxAbstractMethod()
-    }
-    
-    func addValueToBuffer(_ value: Element) {
-        rxAbstractMethod()
-    }
-    
-    func replayBuffer<O: ObserverType>(_ observer: O) where O.E == Element {
-        rxAbstractMethod()
-    }
-    
-    override func on(_ event: Event<Element>) {
-        #if DEBUG
-            _synchronizationTracker.register(synchronizationErrorMessage: .default)
-            defer { _synchronizationTracker.unregister() }
-        #endif
-        dispatch(_synchronized_on(event), event)
-    }
-
-    func _synchronized_on(_ event: Event<E>) -> Observers {
-        _lock.lock(); defer { _lock.unlock() }
-        if _isDisposed {
-            return Observers()
-        }
-        
-        if _isStopped {
-            return Observers()
-        }
-        
-        switch event {
-        case .next(let element):
-            addValueToBuffer(element)
-            trim()
-            return _observers
-        case .error, .completed:
-            _stoppedEvent = event
-            trim()
-            let observers = _observers
-            _observers.removeAll()
-            return observers
-        }
-    }
-    
-    override func subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == Element {
-        _lock.lock()
-        let subscription = _synchronized_subscribe(observer)
-        _lock.unlock()
-        return subscription
-    }
-
-    func _synchronized_subscribe<O : ObserverType>(_ observer: O) -> Disposable where O.E == E {
-        if _isDisposed {
-            observer.on(.error(RxError.disposed(object: self)))
-            return Disposables.create()
-        }
-     
-        let anyObserver = observer.asObserver()
-        
-        replayBuffer(anyObserver)
-        if let stoppedEvent = _stoppedEvent {
-            observer.on(stoppedEvent)
-            return Disposables.create()
-        }
-        else {
-            let key = _observers.insert(observer.on)
-            return SubscriptionDisposable(owner: self, key: key)
-        }
-    }
-
-    func synchronizedUnsubscribe(_ disposeKey: DisposeKey) {
-        _lock.lock()
-        _synchronized_unsubscribe(disposeKey)
-        _lock.unlock()
-    }
-
-    func _synchronized_unsubscribe(_ disposeKey: DisposeKey) {
-        if _isDisposed {
-            return
-        }
-        
-        _ = _observers.removeKey(disposeKey)
-    }
-    
-    override func dispose() {
-        super.dispose()
-
-        synchronizedDispose()
-    }
-
-    func synchronizedDispose() {
-        _lock.lock()
-        _synchronized_dispose()
-        _lock.unlock()
-    }
-
-    func _synchronized_dispose() {
-        _isDisposed = true
-        _observers.removeAll()
-    }
-}
-
-fileprivate final class ReplayOne<Element> : ReplayBufferBase<Element> {
-    private var _value: Element?
-    
-    override init() {
-        super.init()
-    }
-    
-    override func trim() {
-        
-    }
-    
-    override func addValueToBuffer(_ value: Element) {
-        _value = value
-    }
-
-    override func replayBuffer<O: ObserverType>(_ observer: O) where O.E == Element {
-        if let value = _value {
-            observer.on(.next(value))
-        }
-    }
-
-    override func _synchronized_dispose() {
-        super._synchronized_dispose()
-        _value = nil
-    }
-}
-
-fileprivate class ReplayManyBase<Element> : ReplayBufferBase<Element> {
-    fileprivate var _queue: Queue<Element>
-    
-    init(queueSize: Int) {
-        _queue = Queue(capacity: queueSize + 1)
-    }
-    
-    override func addValueToBuffer(_ value: Element) {
-        _queue.enqueue(value)
-    }
-
-    override func replayBuffer<O: ObserverType>(_ observer: O) where O.E == Element {
-        for item in _queue {
-            observer.on(.next(item))
-        }
-    }
-
-    override func _synchronized_dispose() {
-        super._synchronized_dispose()
-        _queue = Queue(capacity: 0)
-    }
-}
-
-fileprivate final class ReplayMany<Element> : ReplayManyBase<Element> {
-    private let _bufferSize: Int
-    
-    init(bufferSize: Int) {
-        _bufferSize = bufferSize
-        
-        super.init(queueSize: bufferSize)
-    }
-    
-    override func trim() {
-        while _queue.count > _bufferSize {
-            _ = _queue.dequeue()
-        }
-    }
-}
-
-fileprivate final class ReplayAll<Element> : ReplayManyBase<Element> {
-    init() {
-        super.init(queueSize: 0)
-    }
-    
-    override func trim() {
-        
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift
deleted file mode 100644
index 6fb3b6ec630..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/SubjectType.swift
+++ /dev/null
@@ -1,21 +0,0 @@
-//
-//  SubjectType.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/1/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Represents an object that is both an observable sequence as well as an observer.
-public protocol SubjectType: ObservableType {
-    /// The type of the observer that represents this subject.
-    ///
-    /// Usually this type is type of subject itself, but it doesn't have to be.
-    associatedtype SubjectObserverType: ObserverType
-
-    /// Returns observer interface for subject.
-    ///
-    /// - returns: Observer interface for subject.
-    func asObserver() -> SubjectObserverType
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/Variable.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/Variable.swift
deleted file mode 100644
index ba058f87ea1..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Subjects/Variable.swift
+++ /dev/null
@@ -1,67 +0,0 @@
-//
-//  Variable.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/28/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-/// Variable is a wrapper for `BehaviorSubject`.
-///
-/// Unlike `BehaviorSubject` it can't terminate with error, and when variable is deallocated
-/// it will complete its observable sequence (`asObservable`).
-public final class Variable<Element> {
-
-    public typealias E = Element
-    
-    private let _subject: BehaviorSubject<Element>
-    
-    private var _lock = SpinLock()
-
-    // state
-    private var _value: E
-
-    #if DEBUG
-        fileprivate let _synchronizationTracker = SynchronizationTracker()
-    #endif
-
-    /// Gets or sets current value of variable.
-    ///
-    /// Whenever a new value is set, all the observers are notified of the change.
-    ///
-    /// Even if the newly set value is same as the old value, observers are still notified for change.
-    public var value: E {
-        get {
-            _lock.lock(); defer { _lock.unlock() }
-            return _value
-        }
-        set(newValue) {
-            #if DEBUG
-                _synchronizationTracker.register(synchronizationErrorMessage: .variable)
-                defer { _synchronizationTracker.unregister() }
-            #endif
-            _lock.lock()
-            _value = newValue
-            _lock.unlock()
-
-            _subject.on(.next(newValue))
-        }
-    }
-    
-    /// Initializes variable with initial value.
-    ///
-    /// - parameter value: Initial variable value.
-    public init(_ value: Element) {
-        _value = value
-        _subject = BehaviorSubject(value: value)
-    }
-    
-    /// - returns: Canonical interface for push style sequence
-    public func asObservable() -> Observable<E> {
-        return _subject
-    }
-
-    deinit {
-        _subject.on(.completed)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift
deleted file mode 100644
index c02c9e5147e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/Completable+AndThen.swift
+++ /dev/null
@@ -1,132 +0,0 @@
-//
-//  Completable+AndThen.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 7/2/17.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-extension PrimitiveSequenceType where TraitType == CompletableTrait, ElementType == Never {
-    /**
-     Concatenates the second observable sequence to `self` upon successful termination of `self`.
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - parameter second: Second observable sequence.
-     - returns: An observable sequence that contains the elements of `self`, followed by those of the second sequence.
-     */
-    public func andThen<E>(_ second: Single<E>) -> Single<E> {
-        let completable = self.primitiveSequence.asObservable()
-        return Single(raw: ConcatCompletable(completable: completable, second: second.asObservable()))
-    }
-
-    /**
-     Concatenates the second observable sequence to `self` upon successful termination of `self`.
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - parameter second: Second observable sequence.
-     - returns: An observable sequence that contains the elements of `self`, followed by those of the second sequence.
-     */
-    public func andThen<E>(_ second: Maybe<E>) -> Maybe<E> {
-        let completable = self.primitiveSequence.asObservable()
-        return Maybe(raw: ConcatCompletable(completable: completable, second: second.asObservable()))
-    }
-
-    /**
-     Concatenates the second observable sequence to `self` upon successful termination of `self`.
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - parameter second: Second observable sequence.
-     - returns: An observable sequence that contains the elements of `self`, followed by those of the second sequence.
-     */
-    public func andThen(_ second: Completable) -> Completable {
-        let completable = self.primitiveSequence.asObservable()
-        return Completable(raw: ConcatCompletable(completable: completable, second: second.asObservable()))
-    }
-
-    /**
-     Concatenates the second observable sequence to `self` upon successful termination of `self`.
-
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-
-     - parameter second: Second observable sequence.
-     - returns: An observable sequence that contains the elements of `self`, followed by those of the second sequence.
-     */
-    public func andThen<E>(_ second: Observable<E>) -> Observable<E> {
-        let completable = self.primitiveSequence.asObservable()
-        return ConcatCompletable(completable: completable, second: second.asObservable())
-    }
-}
-
-final fileprivate class ConcatCompletable<Element> : Producer<Element> {
-    fileprivate let _completable: Observable<Never>
-    fileprivate let _second: Observable<Element>
-
-    init(completable: Observable<Never>, second: Observable<Element>) {
-        self._completable = completable
-        self._second = second
-    }
-
-    override func run<O>(_ observer: O, cancel: Cancelable) -> (sink: Disposable, subscription: Disposable) where O : ObserverType, O.E == Element {
-        let sink = ConcatCompletableSink(parent: self, observer: observer, cancel: cancel)
-        let subscription = sink.run()
-        return (sink: sink, subscription: subscription)
-    }
-}
-
-final fileprivate class ConcatCompletableSink<O: ObserverType>
-    : Sink<O>
-    , ObserverType {
-    typealias E = Never
-    typealias Parent = ConcatCompletable<O.E>
-
-    private let _parent: Parent
-    private let _subscription = SerialDisposable()
-    
-    init(parent: Parent, observer: O, cancel: Cancelable) {
-        self._parent = parent
-        super.init(observer: observer, cancel: cancel)
-    }
-
-    func on(_ event: Event<E>) {
-        switch event {
-        case .error(let error):
-            self.forwardOn(.error(error))
-            self.dispose()
-        case .next:
-            break
-        case .completed:
-            let otherSink = ConcatCompletableSinkOther(parent: self)
-            _subscription.disposable = _parent._second.subscribe(otherSink)
-        }
-    }
-
-    func run() -> Disposable {
-        let subscription = SingleAssignmentDisposable()
-        _subscription.disposable = subscription
-        subscription.setDisposable(_parent._completable.subscribe(self))
-        return _subscription
-    }
-}
-
-final fileprivate class ConcatCompletableSinkOther<O: ObserverType>
-    : ObserverType {
-    typealias E = O.E
-
-    typealias Parent = ConcatCompletableSink<O>
-    
-    private let _parent: Parent
-
-    init(parent: Parent) {
-        self._parent = parent
-    }
-
-    func on(_ event: Event<O.E>) {
-        _parent.forwardOn(event)
-        if event.isStopEvent {
-            _parent.dispose()
-        }
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift
deleted file mode 100644
index 2ab2d1a7789..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence+Zip+arity.swift
+++ /dev/null
@@ -1,276 +0,0 @@
-// This file is autogenerated. Take a look at `Preprocessor` target in RxSwift project 
-//
-//  PrimitiveSequence+Zip+arity.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 5/23/15.
-//  Copyright © 2015 Krunoslav Zaher. All rights reserved.
-//
-
-
-
-// 2
-
-extension PrimitiveSequenceType {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, resultSelector: @escaping (E1, E2) throws -> ElementType)
-        -> PrimitiveSequence<TraitType, ElementType> {
-            return PrimitiveSequence(raw: Observable.zip(
-            source1.asObservable(), source2.asObservable(),
-                resultSelector: resultSelector)
-            )
-    }
-}
-
-extension PrimitiveSequenceType where ElementType == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>)
-        -> PrimitiveSequence<TraitType, (E1, E2)> {
-        return PrimitiveSequence(raw: Observable.zip(
-                source1.asObservable(), source2.asObservable())
-            )
-    }
-}
-
-
-
-// 3
-
-extension PrimitiveSequenceType {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, resultSelector: @escaping (E1, E2, E3) throws -> ElementType)
-        -> PrimitiveSequence<TraitType, ElementType> {
-            return PrimitiveSequence(raw: Observable.zip(
-            source1.asObservable(), source2.asObservable(), source3.asObservable(),
-                resultSelector: resultSelector)
-            )
-    }
-}
-
-extension PrimitiveSequenceType where ElementType == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>)
-        -> PrimitiveSequence<TraitType, (E1, E2, E3)> {
-        return PrimitiveSequence(raw: Observable.zip(
-                source1.asObservable(), source2.asObservable(), source3.asObservable())
-            )
-    }
-}
-
-
-
-// 4
-
-extension PrimitiveSequenceType {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, resultSelector: @escaping (E1, E2, E3, E4) throws -> ElementType)
-        -> PrimitiveSequence<TraitType, ElementType> {
-            return PrimitiveSequence(raw: Observable.zip(
-            source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(),
-                resultSelector: resultSelector)
-            )
-    }
-}
-
-extension PrimitiveSequenceType where ElementType == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>)
-        -> PrimitiveSequence<TraitType, (E1, E2, E3, E4)> {
-        return PrimitiveSequence(raw: Observable.zip(
-                source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable())
-            )
-    }
-}
-
-
-
-// 5
-
-extension PrimitiveSequenceType {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4, E5>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, _ source5: PrimitiveSequence<TraitType, E5>, resultSelector: @escaping (E1, E2, E3, E4, E5) throws -> ElementType)
-        -> PrimitiveSequence<TraitType, ElementType> {
-            return PrimitiveSequence(raw: Observable.zip(
-            source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(), source5.asObservable(),
-                resultSelector: resultSelector)
-            )
-    }
-}
-
-extension PrimitiveSequenceType where ElementType == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4, E5>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, _ source5: PrimitiveSequence<TraitType, E5>)
-        -> PrimitiveSequence<TraitType, (E1, E2, E3, E4, E5)> {
-        return PrimitiveSequence(raw: Observable.zip(
-                source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(), source5.asObservable())
-            )
-    }
-}
-
-
-
-// 6
-
-extension PrimitiveSequenceType {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4, E5, E6>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, _ source5: PrimitiveSequence<TraitType, E5>, _ source6: PrimitiveSequence<TraitType, E6>, resultSelector: @escaping (E1, E2, E3, E4, E5, E6) throws -> ElementType)
-        -> PrimitiveSequence<TraitType, ElementType> {
-            return PrimitiveSequence(raw: Observable.zip(
-            source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(), source5.asObservable(), source6.asObservable(),
-                resultSelector: resultSelector)
-            )
-    }
-}
-
-extension PrimitiveSequenceType where ElementType == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4, E5, E6>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, _ source5: PrimitiveSequence<TraitType, E5>, _ source6: PrimitiveSequence<TraitType, E6>)
-        -> PrimitiveSequence<TraitType, (E1, E2, E3, E4, E5, E6)> {
-        return PrimitiveSequence(raw: Observable.zip(
-                source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(), source5.asObservable(), source6.asObservable())
-            )
-    }
-}
-
-
-
-// 7
-
-extension PrimitiveSequenceType {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4, E5, E6, E7>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, _ source5: PrimitiveSequence<TraitType, E5>, _ source6: PrimitiveSequence<TraitType, E6>, _ source7: PrimitiveSequence<TraitType, E7>, resultSelector: @escaping (E1, E2, E3, E4, E5, E6, E7) throws -> ElementType)
-        -> PrimitiveSequence<TraitType, ElementType> {
-            return PrimitiveSequence(raw: Observable.zip(
-            source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(), source5.asObservable(), source6.asObservable(), source7.asObservable(),
-                resultSelector: resultSelector)
-            )
-    }
-}
-
-extension PrimitiveSequenceType where ElementType == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4, E5, E6, E7>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, _ source5: PrimitiveSequence<TraitType, E5>, _ source6: PrimitiveSequence<TraitType, E6>, _ source7: PrimitiveSequence<TraitType, E7>)
-        -> PrimitiveSequence<TraitType, (E1, E2, E3, E4, E5, E6, E7)> {
-        return PrimitiveSequence(raw: Observable.zip(
-                source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(), source5.asObservable(), source6.asObservable(), source7.asObservable())
-            )
-    }
-}
-
-
-
-// 8
-
-extension PrimitiveSequenceType {
-    /**
-    Merges the specified observable sequences into one observable sequence by using the selector function whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - parameter resultSelector: Function to invoke for each series of elements at corresponding indexes in the sources.
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4, E5, E6, E7, E8>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, _ source5: PrimitiveSequence<TraitType, E5>, _ source6: PrimitiveSequence<TraitType, E6>, _ source7: PrimitiveSequence<TraitType, E7>, _ source8: PrimitiveSequence<TraitType, E8>, resultSelector: @escaping (E1, E2, E3, E4, E5, E6, E7, E8) throws -> ElementType)
-        -> PrimitiveSequence<TraitType, ElementType> {
-            return PrimitiveSequence(raw: Observable.zip(
-            source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(), source5.asObservable(), source6.asObservable(), source7.asObservable(), source8.asObservable(),
-                resultSelector: resultSelector)
-            )
-    }
-}
-
-extension PrimitiveSequenceType where ElementType == Any {
-    /**
-    Merges the specified observable sequences into one observable sequence of tuples whenever all of the observable sequences have produced an element at a corresponding index.
-
-    - seealso: [zip operator on reactivex.io](http://reactivex.io/documentation/operators/zip.html)
-
-    - returns: An observable sequence containing the result of combining elements of the sources using the specified result selector function.
-    */
-    public static func zip<E1, E2, E3, E4, E5, E6, E7, E8>(_ source1: PrimitiveSequence<TraitType, E1>, _ source2: PrimitiveSequence<TraitType, E2>, _ source3: PrimitiveSequence<TraitType, E3>, _ source4: PrimitiveSequence<TraitType, E4>, _ source5: PrimitiveSequence<TraitType, E5>, _ source6: PrimitiveSequence<TraitType, E6>, _ source7: PrimitiveSequence<TraitType, E7>, _ source8: PrimitiveSequence<TraitType, E8>)
-        -> PrimitiveSequence<TraitType, (E1, E2, E3, E4, E5, E6, E7, E8)> {
-        return PrimitiveSequence(raw: Observable.zip(
-                source1.asObservable(), source2.asObservable(), source3.asObservable(), source4.asObservable(), source5.asObservable(), source6.asObservable(), source7.asObservable(), source8.asObservable())
-            )
-    }
-}
-
-
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift
deleted file mode 100644
index 3261e420984..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/RxSwift/RxSwift/Traits/PrimitiveSequence.swift
+++ /dev/null
@@ -1,796 +0,0 @@
-//
-//  PrimitiveSequence.swift
-//  RxSwift
-//
-//  Created by Krunoslav Zaher on 3/5/17.
-//  Copyright © 2017 Krunoslav Zaher. All rights reserved.
-//
-
-/// Observable sequences containing 0 or 1 element.
-public struct PrimitiveSequence<Trait, Element> {
-    fileprivate let source: Observable<Element>
-
-    init(raw: Observable<Element>) {
-        self.source = raw
-    }
-}
-
-/// Sequence containing exactly 1 element
-public enum SingleTrait { }
-/// Represents a push style sequence containing 1 element.
-public typealias Single<Element> = PrimitiveSequence<SingleTrait, Element>
-
-/// Sequence containing 0 or 1 elements
-public enum MaybeTrait { }
-/// Represents a push style sequence containing 0 or 1 element.
-public typealias Maybe<Element> = PrimitiveSequence<MaybeTrait, Element>
-
-/// Sequence containing 0 elements
-public enum CompletableTrait { }
-/// Represents a push style sequence containing 0 elements.
-public typealias Completable = PrimitiveSequence<CompletableTrait, Swift.Never>
-
-/// Observable sequences containing 0 or 1 element
-public protocol PrimitiveSequenceType {
-    /// Additional constraints
-    associatedtype TraitType
-    /// Sequence element type
-    associatedtype ElementType
-
-    // Converts `self` to primitive sequence.
-    ///
-    /// - returns: Observable sequence that represents `self`.
-    var primitiveSequence: PrimitiveSequence<TraitType, ElementType> { get }
-}
-
-extension PrimitiveSequence: PrimitiveSequenceType {
-    /// Additional constraints
-    public typealias TraitType = Trait
-    /// Sequence element type
-    public typealias ElementType = Element
-
-    // Converts `self` to primitive sequence.
-    ///
-    /// - returns: Observable sequence that represents `self`.
-    public var primitiveSequence: PrimitiveSequence<TraitType, ElementType> {
-        return self
-    }
-}
-
-extension PrimitiveSequence: ObservableConvertibleType {
-    /// Type of elements in sequence.
-    public typealias E = Element
-
-    /// Converts `self` to `Observable` sequence.
-    ///
-    /// - returns: Observable sequence that represents `self`.
-    public func asObservable() -> Observable<E> {
-        return source
-    }
-}
-
-// <Single>
-
-public enum SingleEvent<Element> {
-    /// One and only sequence element is produced. (underlying observable sequence emits: `.next(Element)`, `.completed`)
-    case success(Element)
-
-    /// Sequence terminated with an error. (underlying observable sequence emits: `.error(Error)`)
-    case error(Swift.Error)
-}
-
-extension PrimitiveSequenceType where TraitType == SingleTrait {
-    public typealias SingleObserver = (SingleEvent<ElementType>) -> ()
-
-    /**
-     Creates an observable sequence from a specified subscribe method implementation.
-
-     - seealso: [create operator on reactivex.io](http://reactivex.io/documentation/operators/create.html)
-
-     - parameter subscribe: Implementation of the resulting observable sequence's `subscribe` method.
-     - returns: The observable sequence with the specified implementation for the `subscribe` method.
-     */
-    public static func create(subscribe: @escaping (@escaping SingleObserver) -> Disposable) -> PrimitiveSequence<TraitType, ElementType> {
-        let source = Observable<ElementType>.create { observer in
-            return subscribe { event in
-                switch event {
-                case .success(let element):
-                    observer.on(.next(element))
-                    observer.on(.completed)
-                case .error(let error):
-                    observer.on(.error(error))
-                }
-            }
-        }
-
-        return PrimitiveSequence(raw: source)
-    }
-
-
-    /**
-     Subscribes `observer` to receive events for this sequence.
-
-     - returns: Subscription for `observer` that can be used to cancel production of sequence elements and free resources.
-     */
-    public func subscribe(_ observer: @escaping (SingleEvent<ElementType>) -> ()) -> Disposable {
-        var stopped = false
-        return self.primitiveSequence.asObservable().subscribe { event in
-            if stopped { return }
-            stopped = true
-
-            switch event {
-            case .next(let element):
-                observer(.success(element))
-            case .error(let error):
-                observer(.error(error))
-            case .completed:
-                rxFatalErrorInDebug("Singles can't emit a completion event")
-            }
-        }
-    }
-
-    /**
-     Subscribes a success handler, and an error handler for this sequence.
-
-     - parameter onSuccess: Action to invoke for each element in the observable sequence.
-     - parameter onError: Action to invoke upon errored termination of the observable sequence.
-     - returns: Subscription object used to unsubscribe from the observable sequence.
-     */
-    public func subscribe(onSuccess: ((ElementType) -> Void)? = nil, onError: ((Swift.Error) -> Void)? = nil) -> Disposable {
-        return self.primitiveSequence.subscribe { event in
-            switch event {
-            case .success(let element):
-                onSuccess?(element)
-            case .error(let error):
-                onError?(error)
-            }
-        }
-    }
-}
-
-// </Single>
-
-// <Maybe>
-
-public enum MaybeEvent<Element> {
-    /// One and only sequence element is produced. (underlying observable sequence emits: `.next(Element)`, `.completed`)
-    case success(Element)
-
-    /// Sequence terminated with an error. (underlying observable sequence emits: `.error(Error)`)
-    case error(Swift.Error)
-
-    /// Sequence completed successfully.
-    case completed
-}
-
-public extension PrimitiveSequenceType where TraitType == MaybeTrait {
-    public typealias MaybeObserver = (MaybeEvent<ElementType>) -> ()
-
-    /**
-     Creates an observable sequence from a specified subscribe method implementation.
-
-     - seealso: [create operator on reactivex.io](http://reactivex.io/documentation/operators/create.html)
-
-     - parameter subscribe: Implementation of the resulting observable sequence's `subscribe` method.
-     - returns: The observable sequence with the specified implementation for the `subscribe` method.
-     */
-    public static func create(subscribe: @escaping (@escaping MaybeObserver) -> Disposable) -> PrimitiveSequence<TraitType, ElementType> {
-        let source = Observable<ElementType>.create { observer in
-            return subscribe { event in
-                switch event {
-                case .success(let element):
-                    observer.on(.next(element))
-                    observer.on(.completed)
-                case .error(let error):
-                    observer.on(.error(error))
-                case .completed:
-                    observer.on(.completed)
-                }
-            }
-        }
-
-        return PrimitiveSequence(raw: source)
-    }
-
-    /**
-     Subscribes `observer` to receive events for this sequence.
-
-     - returns: Subscription for `observer` that can be used to cancel production of sequence elements and free resources.
-     */
-    public func subscribe(_ observer: @escaping (MaybeEvent<ElementType>) -> ()) -> Disposable {
-        var stopped = false
-        return self.primitiveSequence.asObservable().subscribe { event in
-            if stopped { return }
-            stopped = true
-
-            switch event {
-            case .next(let element):
-                observer(.success(element))
-            case .error(let error):
-                observer(.error(error))
-            case .completed:
-                observer(.completed)
-            }
-        }
-    }
-
-    /**
-     Subscribes a success handler, an error handler, and a completion handler for this sequence.
-
-     - parameter onSuccess: Action to invoke for each element in the observable sequence.
-     - parameter onError: Action to invoke upon errored termination of the observable sequence.
-     - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence.
-     - returns: Subscription object used to unsubscribe from the observable sequence.
-     */
-    public func subscribe(onSuccess: ((ElementType) -> Void)? = nil, onError: ((Swift.Error) -> Void)? = nil, onCompleted: (() -> Void)? = nil) -> Disposable {
-        return self.primitiveSequence.subscribe { event in
-            switch event {
-            case .success(let element):
-                onSuccess?(element)
-            case .error(let error):
-                onError?(error)
-            case .completed:
-                onCompleted?()
-            }
-        }
-    }
-}
-
-// </Maybe>
-
-// <Completable>
-
-public enum CompletableEvent {
-    /// Sequence terminated with an error. (underlying observable sequence emits: `.error(Error)`)
-    case error(Swift.Error)
-
-    /// Sequence completed successfully.
-    case completed
-}
-
-public extension PrimitiveSequenceType where TraitType == CompletableTrait, ElementType == Swift.Never {
-    public typealias CompletableObserver = (CompletableEvent) -> ()
-
-    /**
-     Creates an observable sequence from a specified subscribe method implementation.
-
-     - seealso: [create operator on reactivex.io](http://reactivex.io/documentation/operators/create.html)
-
-     - parameter subscribe: Implementation of the resulting observable sequence's `subscribe` method.
-     - returns: The observable sequence with the specified implementation for the `subscribe` method.
-     */
-    public static func create(subscribe: @escaping (@escaping CompletableObserver) -> Disposable) -> PrimitiveSequence<TraitType, ElementType> {
-        let source = Observable<ElementType>.create { observer in
-            return subscribe { event in
-                switch event {
-                case .error(let error):
-                    observer.on(.error(error))
-                case .completed:
-                    observer.on(.completed)
-                }
-            }
-        }
-
-        return PrimitiveSequence(raw: source)
-    }
-
-    /**
-     Subscribes `observer` to receive events for this sequence.
-
-     - returns: Subscription for `observer` that can be used to cancel production of sequence elements and free resources.
-     */
-    public func subscribe(_ observer: @escaping (CompletableEvent) -> ()) -> Disposable {
-        var stopped = false
-        return self.primitiveSequence.asObservable().subscribe { event in
-            if stopped { return }
-            stopped = true
-
-            switch event {
-            case .next:
-                rxFatalError("Completables can't emit values")
-            case .error(let error):
-                observer(.error(error))
-            case .completed:
-                observer(.completed)
-            }
-        }
-    }
-
-    /**
-     Subscribes a completion handler and an error handler for this sequence.
-
-     - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence.
-     - parameter onError: Action to invoke upon errored termination of the observable sequence.
-     - returns: Subscription object used to unsubscribe from the observable sequence.
-     */
-    public func subscribe(onCompleted: (() -> Void)? = nil, onError: ((Swift.Error) -> Void)? = nil) -> Disposable {
-        return self.primitiveSequence.subscribe { event in
-            switch event {
-            case .error(let error):
-                onError?(error)
-            case .completed:
-                onCompleted?()
-            }
-        }
-    }
-}
-
-// </Completable>
-
-extension PrimitiveSequence {
-    /**
-     Returns an observable sequence that invokes the specified factory function whenever a new observer subscribes.
-
-     - seealso: [defer operator on reactivex.io](http://reactivex.io/documentation/operators/defer.html)
-
-     - parameter observableFactory: Observable factory function to invoke for each observer that subscribes to the resulting sequence.
-     - returns: An observable sequence whose observers trigger an invocation of the given observable factory function.
-     */
-    public static func deferred(_ observableFactory: @escaping () throws -> PrimitiveSequence<Trait, Element>)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: Observable.deferred {
-            try observableFactory().asObservable()
-        })
-    }
-
-    /**
-     Returns an observable sequence that contains a single element.
-
-     - seealso: [just operator on reactivex.io](http://reactivex.io/documentation/operators/just.html)
-
-     - parameter element: Single element in the resulting observable sequence.
-     - returns: An observable sequence containing the single specified element.
-     */
-    public static func just(_ element: Element) -> PrimitiveSequence<Trait, ElementType> {
-        return PrimitiveSequence(raw: Observable.just(element))
-    }
-
-    /**
-     Returns an observable sequence that contains a single element.
-
-     - seealso: [just operator on reactivex.io](http://reactivex.io/documentation/operators/just.html)
-
-     - parameter element: Single element in the resulting observable sequence.
-     - parameter: Scheduler to send the single element on.
-     - returns: An observable sequence containing the single specified element.
-     */
-    public static func just(_ element: Element, scheduler: ImmediateSchedulerType) -> PrimitiveSequence<Trait, ElementType> {
-        return PrimitiveSequence(raw: Observable.just(element, scheduler: scheduler))
-    }
-
-    /**
-     Returns an observable sequence that terminates with an `error`.
-
-     - seealso: [throw operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html)
-
-     - returns: The observable sequence that terminates with specified error.
-     */
-    public static func error(_ error: Swift.Error) -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: Observable.error(error))
-    }
-
-
-    /**
-     Returns a non-terminating observable sequence, which can be used to denote an infinite duration.
-
-     - seealso: [never operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html)
-
-     - returns: An observable sequence whose observers will never get called.
-     */
-    public static func never() -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: Observable.never())
-    }
-
-    /**
-     Time shifts the observable sequence by delaying the subscription with the specified relative time duration, using the specified scheduler to run timers.
-
-     - seealso: [delay operator on reactivex.io](http://reactivex.io/documentation/operators/delay.html)
-
-     - parameter dueTime: Relative time shift of the subscription.
-     - parameter scheduler: Scheduler to run the subscription delay timer on.
-     - returns: Time-shifted sequence.
-     */
-    public func delaySubscription(_ dueTime: RxTimeInterval, scheduler: SchedulerType)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.delaySubscription(dueTime, scheduler: scheduler))
-    }
-
-    /**
-     Returns an observable sequence by the source observable sequence shifted forward in time by a specified delay. Error events from the source observable sequence are not delayed.
-
-     - seealso: [delay operator on reactivex.io](http://reactivex.io/documentation/operators/delay.html)
-
-     - parameter dueTime: Relative time shift of the source by.
-     - parameter scheduler: Scheduler to run the subscription delay timer on.
-     - returns: the source Observable shifted in time by the specified delay.
-     */
-    public func delay(_ dueTime: RxTimeInterval, scheduler: SchedulerType)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.delay(dueTime, scheduler: scheduler))
-    }
-
-    /**
-     Invokes an action for each event in the observable sequence, and propagates all observer messages through the result sequence.
-
-     - seealso: [do operator on reactivex.io](http://reactivex.io/documentation/operators/do.html)
-
-     - parameter onNext: Action to invoke for each element in the observable sequence.
-     - parameter onError: Action to invoke upon errored termination of the observable sequence.
-     - parameter onCompleted: Action to invoke upon graceful termination of the observable sequence.
-     - parameter onSubscribe: Action to invoke before subscribing to source observable sequence.
-     - parameter onSubscribed: Action to invoke after subscribing to source observable sequence.
-     - parameter onDispose: Action to invoke after subscription to source observable has been disposed for any reason. It can be either because sequence terminates for some reason or observer subscription being disposed.
-     - returns: The source sequence with the side-effecting behavior applied.
-     */
-    public func `do`(onNext: ((E) throws -> Void)? = nil, onError: ((Swift.Error) throws -> Void)? = nil, onCompleted: (() throws -> Void)? = nil, onSubscribe: (() -> ())? = nil, onSubscribed: (() -> ())? = nil, onDispose: (() -> ())? = nil)
-        -> PrimitiveSequence<Trait, Element> {
-            return PrimitiveSequence(raw: source.do(
-                onNext: onNext,
-                onError: onError,
-                onCompleted: onCompleted,
-                onSubscribe: onSubscribe,
-                onSubscribed: onSubscribed,
-                onDispose: onDispose)
-            )
-    }
-
-    /**
-     Filters the elements of an observable sequence based on a predicate.
-
-     - seealso: [filter operator on reactivex.io](http://reactivex.io/documentation/operators/filter.html)
-
-     - parameter predicate: A function to test each source element for a condition.
-     - returns: An observable sequence that contains elements from the input sequence that satisfy the condition.
-     */
-    public func filter(_ predicate: @escaping (E) throws -> Bool)
-        -> Maybe<Element> {
-        return Maybe(raw: source.filter(predicate))
-    }
-
-    /**
-     Projects each element of an observable sequence into a new form.
-
-     - seealso: [map operator on reactivex.io](http://reactivex.io/documentation/operators/map.html)
-
-     - parameter transform: A transform function to apply to each source element.
-     - returns: An observable sequence whose elements are the result of invoking the transform function on each element of source.
-
-     */
-    public func map<R>(_ transform: @escaping (E) throws -> R)
-        -> PrimitiveSequence<Trait, R> {
-        return PrimitiveSequence<Trait, R>(raw: source.map(transform))
-    }
-
-    /**
-     Projects each element of an observable sequence to an observable sequence and merges the resulting observable sequences into one observable sequence.
-
-     - seealso: [flatMap operator on reactivex.io](http://reactivex.io/documentation/operators/flatmap.html)
-
-     - parameter selector: A transform function to apply to each element.
-     - returns: An observable sequence whose elements are the result of invoking the one-to-many transform function on each element of the input sequence.
-     */
-    public func flatMap<R>(_ selector: @escaping (ElementType) throws -> PrimitiveSequence<Trait, R>)
-        -> PrimitiveSequence<Trait, R> {
-        return PrimitiveSequence<Trait, R>(raw: source.flatMap(selector))
-    }
-
-    /**
-     Wraps the source sequence in order to run its observer callbacks on the specified scheduler.
-
-     This only invokes observer callbacks on a `scheduler`. In case the subscription and/or unsubscription
-     actions have side-effects that require to be run on a scheduler, use `subscribeOn`.
-
-     - seealso: [observeOn operator on reactivex.io](http://reactivex.io/documentation/operators/observeon.html)
-
-     - parameter scheduler: Scheduler to notify observers on.
-     - returns: The source sequence whose observations happen on the specified scheduler.
-     */
-    public func observeOn(_ scheduler: ImmediateSchedulerType)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.observeOn(scheduler))
-    }
-
-    /**
-    Wraps the source sequence in order to run its subscription and unsubscription logic on the specified 
-    scheduler. 
-    
-    This operation is not commonly used.
-    
-    This only performs the side-effects of subscription and unsubscription on the specified scheduler. 
-    
-    In order to invoke observer callbacks on a `scheduler`, use `observeOn`.
-
-    - seealso: [subscribeOn operator on reactivex.io](http://reactivex.io/documentation/operators/subscribeon.html)
-    
-    - parameter scheduler: Scheduler to perform subscription and unsubscription actions on.
-    - returns: The source sequence whose subscriptions and unsubscriptions happen on the specified scheduler.
-    */
-    public func subscribeOn(_ scheduler: ImmediateSchedulerType)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.subscribeOn(scheduler))
-    }
-
-    /**
-     Continues an observable sequence that is terminated by an error with the observable sequence produced by the handler.
-
-     - seealso: [catch operator on reactivex.io](http://reactivex.io/documentation/operators/catch.html)
-
-     - parameter handler: Error handler function, producing another observable sequence.
-     - returns: An observable sequence containing the source sequence's elements, followed by the elements produced by the handler's resulting observable sequence in case an error occurred.
-     */
-    public func catchError(_ handler: @escaping (Swift.Error) throws -> PrimitiveSequence<Trait, Element>)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.catchError { try handler($0).asObservable() })
-    }
-
-    /**
-     Repeats the source observable sequence the specified number of times in case of an error or until it successfully terminates.
-
-     If you encounter an error and want it to retry once, then you must use `retry(2)`
-
-     - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html)
-
-     - parameter maxAttemptCount: Maximum number of times to repeat the sequence.
-     - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully.
-     */
-    public func retry(_ maxAttemptCount: Int)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.retry(maxAttemptCount))
-    }
-
-    /**
-     Repeats the source observable sequence on error when the notifier emits a next value.
-     If the source observable errors and the notifier completes, it will complete the source sequence.
-
-     - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html)
-
-     - parameter notificationHandler: A handler that is passed an observable sequence of errors raised by the source observable and returns and observable that either continues, completes or errors. This behavior is then applied to the source observable.
-     - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully or is notified to error or complete.
-     */
-    public func retryWhen<TriggerObservable: ObservableType, Error: Swift.Error>(_ notificationHandler: @escaping (Observable<Error>) -> TriggerObservable)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.retryWhen(notificationHandler))
-    }
-
-    /**
-     Repeats the source observable sequence on error when the notifier emits a next value.
-     If the source observable errors and the notifier completes, it will complete the source sequence.
-
-     - seealso: [retry operator on reactivex.io](http://reactivex.io/documentation/operators/retry.html)
-
-     - parameter notificationHandler: A handler that is passed an observable sequence of errors raised by the source observable and returns and observable that either continues, completes or errors. This behavior is then applied to the source observable.
-     - returns: An observable sequence producing the elements of the given sequence repeatedly until it terminates successfully or is notified to error or complete.
-     */
-    public func retryWhen<TriggerObservable: ObservableType>(_ notificationHandler: @escaping (Observable<Swift.Error>) -> TriggerObservable)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.retryWhen(notificationHandler))
-    }
-
-    /**
-     Prints received events for all observers on standard output.
-
-     - seealso: [do operator on reactivex.io](http://reactivex.io/documentation/operators/do.html)
-
-     - parameter identifier: Identifier that is printed together with event description to standard output.
-     - parameter trimOutput: Should output be trimmed to max 40 characters.
-     - returns: An observable sequence whose events are printed to standard output.
-     */
-    public func debug(_ identifier: String? = nil, trimOutput: Bool = false, file: String = #file, line: UInt = #line, function: String = #function)
-        -> PrimitiveSequence<Trait, Element> {
-            return PrimitiveSequence(raw: source.debug(identifier, trimOutput: trimOutput, file: file, line: line, function: function))
-    }
-    
-    /**
-     Constructs an observable sequence that depends on a resource object, whose lifetime is tied to the resulting observable sequence's lifetime.
-     
-     - seealso: [using operator on reactivex.io](http://reactivex.io/documentation/operators/using.html)
-     
-     - parameter resourceFactory: Factory function to obtain a resource object.
-     - parameter primitiveSequenceFactory: Factory function to obtain an observable sequence that depends on the obtained resource.
-     - returns: An observable sequence whose lifetime controls the lifetime of the dependent resource object.
-     */
-    public static func using<Resource: Disposable>(_ resourceFactory: @escaping () throws -> Resource, primitiveSequenceFactory: @escaping (Resource) throws -> PrimitiveSequence<Trait, Element>)
-        -> PrimitiveSequence<Trait, Element> {
-            return PrimitiveSequence(raw: Observable.using(resourceFactory, observableFactory: { (resource: Resource) throws -> Observable<E> in
-                return try primitiveSequenceFactory(resource).asObservable()
-            }))
-    }
-
-    /**
-     Applies a timeout policy for each element in the observable sequence. If the next element isn't received within the specified timeout duration starting from its predecessor, a TimeoutError is propagated to the observer.
-
-     - seealso: [timeout operator on reactivex.io](http://reactivex.io/documentation/operators/timeout.html)
-
-     - parameter dueTime: Maximum duration between values before a timeout occurs.
-     - parameter scheduler: Scheduler to run the timeout timer on.
-     - returns: An observable sequence with a `RxError.timeout` in case of a timeout.
-     */
-    public func timeout(_ dueTime: RxTimeInterval, scheduler: SchedulerType)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.timeout(dueTime, scheduler: scheduler))
-    }
-
-    /**
-     Applies a timeout policy for each element in the observable sequence, using the specified scheduler to run timeout timers. If the next element isn't received within the specified timeout duration starting from its predecessor, the other observable sequence is used to produce future messages from that point on.
-
-     - seealso: [timeout operator on reactivex.io](http://reactivex.io/documentation/operators/timeout.html)
-
-     - parameter dueTime: Maximum duration between values before a timeout occurs.
-     - parameter other: Sequence to return in case of a timeout.
-     - parameter scheduler: Scheduler to run the timeout timer on.
-     - returns: The source sequence switching to the other sequence in case of a timeout.
-     */
-    public func timeout(_ dueTime: RxTimeInterval, other: PrimitiveSequence<Trait, Element>, scheduler: SchedulerType)
-        -> PrimitiveSequence<Trait, Element> {
-        return PrimitiveSequence(raw: source.timeout(dueTime, other: other.source, scheduler: scheduler))
-    }
-}
-
-extension PrimitiveSequenceType where ElementType: SignedInteger
-{
-    /**
-     Returns an observable sequence that periodically produces a value after the specified initial relative due time has elapsed, using the specified scheduler to run timers.
-
-     - seealso: [timer operator on reactivex.io](http://reactivex.io/documentation/operators/timer.html)
-
-     - parameter dueTime: Relative time at which to produce the first value.
-     - parameter scheduler: Scheduler to run timers on.
-     - returns: An observable sequence that produces a value after due time has elapsed and then each period.
-     */
-    public static func timer(_ dueTime: RxTimeInterval, scheduler: SchedulerType)
-        -> PrimitiveSequence<TraitType, ElementType>  {
-        return PrimitiveSequence(raw: Observable<ElementType>.timer(dueTime, scheduler: scheduler))
-    }
-}
-
-extension PrimitiveSequenceType where TraitType == MaybeTrait {
-    /**
-     Returns an empty observable sequence, using the specified scheduler to send out the single `Completed` message.
-
-     - seealso: [empty operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html)
-
-     - returns: An observable sequence with no elements.
-     */
-    public static func empty() -> PrimitiveSequence<MaybeTrait, ElementType> {
-        return PrimitiveSequence(raw: Observable.empty())
-    }
-}
-
-extension PrimitiveSequenceType where TraitType == CompletableTrait, ElementType == Never {
-    /**
-     Returns an empty observable sequence, using the specified scheduler to send out the single `Completed` message.
-
-     - seealso: [empty operator on reactivex.io](http://reactivex.io/documentation/operators/empty-never-throw.html)
-
-     - returns: An observable sequence with no elements.
-     */
-    public static func empty() -> PrimitiveSequence<CompletableTrait, Never> {
-        return PrimitiveSequence(raw: Observable.empty())
-    }
-    
-    /**
-     Concatenates the second observable sequence to `self` upon successful termination of `self`.
-     
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-     
-     - parameter second: Second observable sequence.
-     - returns: An observable sequence that contains the elements of `self`, followed by those of the second sequence.
-     */
-    public func concat(_ second: PrimitiveSequence<CompletableTrait, Never>) -> PrimitiveSequence<CompletableTrait, Never> {
-        return Completable.concat(primitiveSequence, second)
-    }
-    
-    /**
-     Concatenates all observable sequences in the given sequence, as long as the previous observable sequence terminated successfully.
-     
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-     
-     - returns: An observable sequence that contains the elements of each given sequence, in sequential order.
-     */
-    public static func concat<S: Sequence>(_ sequence: S) -> PrimitiveSequence<CompletableTrait, Never>
-        where S.Iterator.Element == PrimitiveSequence<CompletableTrait, Never> {
-            let source = Observable.concat(sequence.lazy.map { $0.asObservable() })
-            return PrimitiveSequence<CompletableTrait, Never>(raw: source)
-    }
-    
-    /**
-     Concatenates all observable sequences in the given sequence, as long as the previous observable sequence terminated successfully.
-     
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-     
-     - returns: An observable sequence that contains the elements of each given sequence, in sequential order.
-     */
-    public static func concat<C: Collection>(_ collection: C) -> PrimitiveSequence<CompletableTrait, Never>
-        where C.Iterator.Element == PrimitiveSequence<CompletableTrait, Never> {
-            let source = Observable.concat(collection.map { $0.asObservable() })
-            return PrimitiveSequence<CompletableTrait, Never>(raw: source)
-    }
-    
-    /**
-     Concatenates all observable sequences in the given sequence, as long as the previous observable sequence terminated successfully.
-     
-     - seealso: [concat operator on reactivex.io](http://reactivex.io/documentation/operators/concat.html)
-     
-     - returns: An observable sequence that contains the elements of each given sequence, in sequential order.
-     */
-    public static func concat(_ sources: PrimitiveSequence<CompletableTrait, Never> ...) -> PrimitiveSequence<CompletableTrait, Never> {
-        let source = Observable.concat(sources.map { $0.asObservable() })
-        return PrimitiveSequence<CompletableTrait, Never>(raw: source)
-    }
-    
-    /**
-     Merges elements from all observable sequences from collection into a single observable sequence.
-     
-     - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html)
-     
-     - parameter sources: Collection of observable sequences to merge.
-     - returns: The observable sequence that merges the elements of the observable sequences.
-     */
-    public static func merge<C: Collection>(_ sources: C) -> PrimitiveSequence<CompletableTrait, Never>
-        where C.Iterator.Element == PrimitiveSequence<CompletableTrait, Never> {
-            let source = Observable.merge(sources.map { $0.asObservable() })
-            return PrimitiveSequence<CompletableTrait, Never>(raw: source)
-    }
-    
-    /**
-     Merges elements from all observable sequences from array into a single observable sequence.
-     
-     - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html)
-     
-     - parameter sources: Array of observable sequences to merge.
-     - returns: The observable sequence that merges the elements of the observable sequences.
-     */
-    public static func merge(_ sources: [PrimitiveSequence<CompletableTrait, Never>]) -> PrimitiveSequence<CompletableTrait, Never> {
-        let source = Observable.merge(sources.map { $0.asObservable() })
-        return PrimitiveSequence<CompletableTrait, Never>(raw: source)
-    }
-    
-    /**
-     Merges elements from all observable sequences into a single observable sequence.
-     
-     - seealso: [merge operator on reactivex.io](http://reactivex.io/documentation/operators/merge.html)
-     
-     - parameter sources: Collection of observable sequences to merge.
-     - returns: The observable sequence that merges the elements of the observable sequences.
-     */
-    public static func merge(_ sources: PrimitiveSequence<CompletableTrait, Never>...) -> PrimitiveSequence<CompletableTrait, Never> {
-        let source = Observable.merge(sources.map { $0.asObservable() })
-        return PrimitiveSequence<CompletableTrait, Never>(raw: source)
-    }
-}
-
-extension ObservableType {
-    /**
-     The `asSingle` operator throws a `RxError.noElements` or `RxError.moreThanOneElement`
-     if the source Observable does not emit exactly one element before successfully completing.
-
-     - seealso: [single operator on reactivex.io](http://reactivex.io/documentation/operators/first.html)
-
-     - returns: An observable sequence that emits a single element or throws an exception if more (or none) of them are emitted.
-     */
-    public func asSingle() -> Single<E> {
-        return PrimitiveSequence(raw: AsSingle(source: self.asObservable()))
-    }
-
-    /**
-     The `asMaybe` operator throws a ``RxError.moreThanOneElement`
-     if the source Observable does not emit at most one element before successfully completing.
-
-     - seealso: [single operator on reactivex.io](http://reactivex.io/documentation/operators/first.html)
-
-     - returns: An observable sequence that emits a single element, completes or throws an exception if more of them are emitted.
-     */
-    public func asMaybe() -> Maybe<E> {
-        return PrimitiveSequence(raw: AsMaybe(source: self.asObservable()))
-    }
-}
-
-extension ObservableType where E == Never {
-    /**
-    - returns: An observable sequence that completes.
-     */
-    public func asCompletable()
-        -> Completable {
-        return PrimitiveSequence(raw: self.asObservable())
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig
deleted file mode 100644
index 6b8baab300a..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Alamofire/Alamofire.xcconfig	
+++ /dev/null
@@ -1,9 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/Alamofire
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/Alamofire
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist
deleted file mode 100644
index c1c4a98b9a1..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Alamofire/Info.plist	
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-  <key>CFBundleDevelopmentRegion</key>
-  <string>en</string>
-  <key>CFBundleExecutable</key>
-  <string>${EXECUTABLE_NAME}</string>
-  <key>CFBundleIdentifier</key>
-  <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
-  <key>CFBundleInfoDictionaryVersion</key>
-  <string>6.0</string>
-  <key>CFBundleName</key>
-  <string>${PRODUCT_NAME}</string>
-  <key>CFBundlePackageType</key>
-  <string>FMWK</string>
-  <key>CFBundleShortVersionString</key>
-  <string>4.5.0</string>
-  <key>CFBundleSignature</key>
-  <string>????</string>
-  <key>CFBundleVersion</key>
-  <string>${CURRENT_PROJECT_VERSION}</string>
-  <key>NSPrincipalClass</key>
-  <string></string>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig
deleted file mode 100644
index 97e02319e76..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/PetstoreClient/PetstoreClient.xcconfig	
+++ /dev/null
@@ -1,10 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/../..
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown
deleted file mode 100644
index b01719693ed..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.markdown	
+++ /dev/null
@@ -1,38 +0,0 @@
-# Acknowledgements
-This application makes use of the following third party libraries:
-
-## Alamofire
-
-Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-
-
-## RxSwift
-
-**The MIT License**
-**Copyright © 2015 Krunoslav Zaher**
-**All rights reserved.**
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
-Generated by CocoaPods - https://cocoapods.org
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist
deleted file mode 100644
index 1c18dab6f7d..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-acknowledgements.plist	
+++ /dev/null
@@ -1,76 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>PreferenceSpecifiers</key>
-	<array>
-		<dict>
-			<key>FooterText</key>
-			<string>This application makes use of the following third party libraries:</string>
-			<key>Title</key>
-			<string>Acknowledgements</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>Copyright (c) 2014-2016 Alamofire Software Foundation (http://alamofire.org/)
-
-Permission is hereby granted, free of charge, to any person obtaining a copy
-of this software and associated documentation files (the "Software"), to deal
-in the Software without restriction, including without limitation the rights
-to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
-copies of the Software, and to permit persons to whom the Software is
-furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in
-all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
-IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
-FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
-AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
-LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
-OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
-THE SOFTWARE.
-</string>
-			<key>License</key>
-			<string>MIT</string>
-			<key>Title</key>
-			<string>Alamofire</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>**The MIT License**
-**Copyright © 2015 Krunoslav Zaher**
-**All rights reserved.**
-
-Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
-
-The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software.
-
-THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.</string>
-			<key>License</key>
-			<string>MIT</string>
-			<key>Title</key>
-			<string>RxSwift</string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-		<dict>
-			<key>FooterText</key>
-			<string>Generated by CocoaPods - https://cocoapods.org</string>
-			<key>Title</key>
-			<string></string>
-			<key>Type</key>
-			<string>PSGroupSpecifier</string>
-		</dict>
-	</array>
-	<key>StringsTable</key>
-	<string>Acknowledgements</string>
-	<key>Title</key>
-	<string>Acknowledgements</string>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh
deleted file mode 100755
index c1c9203b646..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh	
+++ /dev/null
@@ -1,157 +0,0 @@
-#!/bin/sh
-set -e
-set -u
-set -o pipefail
-
-if [ -z ${FRAMEWORKS_FOLDER_PATH+x} ]; then
-    # If FRAMEWORKS_FOLDER_PATH is not set, then there's nowhere for us to copy
-    # frameworks to, so exit 0 (signalling the script phase was successful).
-    exit 0
-fi
-
-echo "mkdir -p ${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-mkdir -p "${CONFIGURATION_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-COCOAPODS_PARALLEL_CODE_SIGN="${COCOAPODS_PARALLEL_CODE_SIGN:-false}"
-SWIFT_STDLIB_PATH="${DT_TOOLCHAIN_DIR}/usr/lib/swift/${PLATFORM_NAME}"
-
-# Used as a return value for each invocation of `strip_invalid_archs` function.
-STRIP_BINARY_RETVAL=0
-
-# This protects against multiple targets copying the same framework dependency at the same time. The solution
-# was originally proposed here: https://lists.samba.org/archive/rsync/2008-February/020158.html
-RSYNC_PROTECT_TMP_FILES=(--filter "P .*.??????")
-
-# Copies and strips a vendored framework
-install_framework()
-{
-  if [ -r "${BUILT_PRODUCTS_DIR}/$1" ]; then
-    local source="${BUILT_PRODUCTS_DIR}/$1"
-  elif [ -r "${BUILT_PRODUCTS_DIR}/$(basename "$1")" ]; then
-    local source="${BUILT_PRODUCTS_DIR}/$(basename "$1")"
-  elif [ -r "$1" ]; then
-    local source="$1"
-  fi
-
-  local destination="${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}"
-
-  if [ -L "${source}" ]; then
-      echo "Symlinked..."
-      source="$(readlink "${source}")"
-  fi
-
-  # Use filter instead of exclude so missing patterns don't throw errors.
-  echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${destination}\""
-  rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${destination}"
-
-  local basename
-  basename="$(basename -s .framework "$1")"
-  binary="${destination}/${basename}.framework/${basename}"
-  if ! [ -r "$binary" ]; then
-    binary="${destination}/${basename}"
-  fi
-
-  # Strip invalid architectures so "fat" simulator / device frameworks work on device
-  if [[ "$(file "$binary")" == *"dynamically linked shared library"* ]]; then
-    strip_invalid_archs "$binary"
-  fi
-
-  # Resign the code if required by the build settings to avoid unstable apps
-  code_sign_if_enabled "${destination}/$(basename "$1")"
-
-  # Embed linked Swift runtime libraries. No longer necessary as of Xcode 7.
-  if [ "${XCODE_VERSION_MAJOR}" -lt 7 ]; then
-    local swift_runtime_libs
-    swift_runtime_libs=$(xcrun otool -LX "$binary" | grep --color=never @rpath/libswift | sed -E s/@rpath\\/\(.+dylib\).*/\\1/g | uniq -u  && exit ${PIPESTATUS[0]})
-    for lib in $swift_runtime_libs; do
-      echo "rsync -auv \"${SWIFT_STDLIB_PATH}/${lib}\" \"${destination}\""
-      rsync -auv "${SWIFT_STDLIB_PATH}/${lib}" "${destination}"
-      code_sign_if_enabled "${destination}/${lib}"
-    done
-  fi
-}
-
-# Copies and strips a vendored dSYM
-install_dsym() {
-  local source="$1"
-  if [ -r "$source" ]; then
-    # Copy the dSYM into a the targets temp dir.
-    echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${source}\" \"${DERIVED_FILES_DIR}\""
-    rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${source}" "${DERIVED_FILES_DIR}"
-
-    local basename
-    basename="$(basename -s .framework.dSYM "$source")"
-    binary="${DERIVED_FILES_DIR}/${basename}.framework.dSYM/Contents/Resources/DWARF/${basename}"
-
-    # Strip invalid architectures so "fat" simulator / device frameworks work on device
-    if [[ "$(file "$binary")" == *"Mach-O dSYM companion"* ]]; then
-      strip_invalid_archs "$binary"
-    fi
-
-    if [[ $STRIP_BINARY_RETVAL == 1 ]]; then
-      # Move the stripped file into its final destination.
-      echo "rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter \"- CVS/\" --filter \"- .svn/\" --filter \"- .git/\" --filter \"- .hg/\" --filter \"- Headers\" --filter \"- PrivateHeaders\" --filter \"- Modules\" \"${DERIVED_FILES_DIR}/${basename}.framework.dSYM\" \"${DWARF_DSYM_FOLDER_PATH}\""
-      rsync --delete -av "${RSYNC_PROTECT_TMP_FILES[@]}" --filter "- CVS/" --filter "- .svn/" --filter "- .git/" --filter "- .hg/" --filter "- Headers" --filter "- PrivateHeaders" --filter "- Modules" "${DERIVED_FILES_DIR}/${basename}.framework.dSYM" "${DWARF_DSYM_FOLDER_PATH}"
-    else
-      # The dSYM was not stripped at all, in this case touch a fake folder so the input/output paths from Xcode do not reexecute this script because the file is missing.
-      touch "${DWARF_DSYM_FOLDER_PATH}/${basename}.framework.dSYM"
-    fi
-  fi
-}
-
-# Signs a framework with the provided identity
-code_sign_if_enabled() {
-  if [ -n "${EXPANDED_CODE_SIGN_IDENTITY}" -a "${CODE_SIGNING_REQUIRED:-}" != "NO" -a "${CODE_SIGNING_ALLOWED}" != "NO" ]; then
-    # Use the current code_sign_identitiy
-    echo "Code Signing $1 with Identity ${EXPANDED_CODE_SIGN_IDENTITY_NAME}"
-    local code_sign_cmd="/usr/bin/codesign --force --sign ${EXPANDED_CODE_SIGN_IDENTITY} ${OTHER_CODE_SIGN_FLAGS:-} --preserve-metadata=identifier,entitlements '$1'"
-
-    if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
-      code_sign_cmd="$code_sign_cmd &"
-    fi
-    echo "$code_sign_cmd"
-    eval "$code_sign_cmd"
-  fi
-}
-
-# Strip invalid architectures
-strip_invalid_archs() {
-  binary="$1"
-  # Get architectures for current target binary
-  binary_archs="$(lipo -info "$binary" | rev | cut -d ':' -f1 | awk '{$1=$1;print}' | rev)"
-  # Intersect them with the architectures we are building for
-  intersected_archs="$(echo ${ARCHS[@]} ${binary_archs[@]} | tr ' ' '\n' | sort | uniq -d)"
-  # If there are no archs supported by this binary then warn the user
-  if [[ -z "$intersected_archs" ]]; then
-    echo "warning: [CP] Vendored binary '$binary' contains architectures ($binary_archs) none of which match the current build architectures ($ARCHS)."
-    STRIP_BINARY_RETVAL=0
-    return
-  fi
-  stripped=""
-  for arch in $binary_archs; do
-    if ! [[ "${ARCHS}" == *"$arch"* ]]; then
-      # Strip non-valid architectures in-place
-      lipo -remove "$arch" -output "$binary" "$binary" || exit 1
-      stripped="$stripped $arch"
-    fi
-  done
-  if [[ "$stripped" ]]; then
-    echo "Stripped $binary of architectures:$stripped"
-  fi
-  STRIP_BINARY_RETVAL=1
-}
-
-
-if [[ "$CONFIGURATION" == "Debug" ]]; then
-  install_framework "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework"
-fi
-if [[ "$CONFIGURATION" == "Release" ]]; then
-  install_framework "${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework"
-  install_framework "${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework"
-fi
-if [ "${COCOAPODS_PARALLEL_CODE_SIGN}" == "true" ]; then
-  wait
-fi
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig
deleted file mode 100644
index e9c582e16a6..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig	
+++ /dev/null
@@ -1,11 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "PetstoreClient" -framework "RxSwift"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig
deleted file mode 100644
index e9c582e16a6..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig	
+++ /dev/null
@@ -1,11 +0,0 @@
-ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers"
-OTHER_LDFLAGS = $(inherited) -framework "Alamofire" -framework "PetstoreClient" -framework "RxSwift"
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig
deleted file mode 100644
index 7629eed9e69..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig	
+++ /dev/null
@@ -1,8 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig
deleted file mode 100644
index 7629eed9e69..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig	
+++ /dev/null
@@ -1,8 +0,0 @@
-FRAMEWORK_SEARCH_PATHS = $(inherited) "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire" "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient" "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift"
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-LD_RUNPATH_SEARCH_PATHS = $(inherited) '@executable_path/Frameworks' '@loader_path/Frameworks'
-OTHER_CFLAGS = $(inherited) -iquote "${PODS_CONFIGURATION_BUILD_DIR}/Alamofire/Alamofire.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/PetstoreClient/PetstoreClient.framework/Headers" -iquote "${PODS_CONFIGURATION_BUILD_DIR}/RxSwift/RxSwift.framework/Headers"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_PODFILE_DIR_PATH = ${SRCROOT}/.
-PODS_ROOT = ${SRCROOT}/Pods
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/RxSwift/Info.plist b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/RxSwift/Info.plist
deleted file mode 100644
index 646f73cab55..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/RxSwift/Info.plist	
+++ /dev/null
@@ -1,26 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-  <key>CFBundleDevelopmentRegion</key>
-  <string>en</string>
-  <key>CFBundleExecutable</key>
-  <string>${EXECUTABLE_NAME}</string>
-  <key>CFBundleIdentifier</key>
-  <string>${PRODUCT_BUNDLE_IDENTIFIER}</string>
-  <key>CFBundleInfoDictionaryVersion</key>
-  <string>6.0</string>
-  <key>CFBundleName</key>
-  <string>${PRODUCT_NAME}</string>
-  <key>CFBundlePackageType</key>
-  <string>FMWK</string>
-  <key>CFBundleShortVersionString</key>
-  <string>3.6.1</string>
-  <key>CFBundleSignature</key>
-  <string>????</string>
-  <key>CFBundleVersion</key>
-  <string>${CURRENT_PROJECT_VERSION}</string>
-  <key>NSPrincipalClass</key>
-  <string></string>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/RxSwift/RxSwift.xcconfig b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/RxSwift/RxSwift.xcconfig
deleted file mode 100644
index b6cce651c27..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/Pods/Target Support Files/RxSwift/RxSwift.xcconfig	
+++ /dev/null
@@ -1,9 +0,0 @@
-CONFIGURATION_BUILD_DIR = ${PODS_CONFIGURATION_BUILD_DIR}/RxSwift
-GCC_PREPROCESSOR_DEFINITIONS = $(inherited) COCOAPODS=1
-OTHER_SWIFT_FLAGS = $(inherited) "-D" "COCOAPODS"
-PODS_BUILD_DIR = ${BUILD_DIR}
-PODS_CONFIGURATION_BUILD_DIR = ${PODS_BUILD_DIR}/$(CONFIGURATION)$(EFFECTIVE_PLATFORM_NAME)
-PODS_ROOT = ${SRCROOT}
-PODS_TARGET_SRCROOT = ${PODS_ROOT}/RxSwift
-PRODUCT_BUNDLE_IDENTIFIER = org.cocoapods.${PRODUCT_NAME:rfc1034identifier}
-SKIP_INSTALL = YES
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
deleted file mode 100644
index 1db674bd3aa..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.pbxproj
+++ /dev/null
@@ -1,531 +0,0 @@
-// !$*UTF8*$!
-{
-	archiveVersion = 1;
-	classes = {
-	};
-	objectVersion = 46;
-	objects = {
-
-/* Begin PBXBuildFile section */
-		B024164FBFF71BF644D4419A /* Pods_SwaggerClient.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 177A58DD5CF63F2989335DCC /* Pods_SwaggerClient.framework */; };
-		B1D0246C8960F47A60098F37 /* Pods_SwaggerClientTests.framework in Frameworks */ = {isa = PBXBuildFile; fileRef = 6F96A0131101344CC5406CB3 /* Pods_SwaggerClientTests.framework */; };
-		EAEC0BC21D4E30CE00C908A3 /* AppDelegate.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BC11D4E30CE00C908A3 /* AppDelegate.swift */; };
-		EAEC0BC41D4E30CE00C908A3 /* ViewController.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BC31D4E30CE00C908A3 /* ViewController.swift */; };
-		EAEC0BC71D4E30CE00C908A3 /* Main.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EAEC0BC51D4E30CE00C908A3 /* Main.storyboard */; };
-		EAEC0BC91D4E30CE00C908A3 /* Assets.xcassets in Resources */ = {isa = PBXBuildFile; fileRef = EAEC0BC81D4E30CE00C908A3 /* Assets.xcassets */; };
-		EAEC0BCC1D4E30CE00C908A3 /* LaunchScreen.storyboard in Resources */ = {isa = PBXBuildFile; fileRef = EAEC0BCA1D4E30CE00C908A3 /* LaunchScreen.storyboard */; };
-		EAEC0BE41D4E330700C908A3 /* PetAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BE31D4E330700C908A3 /* PetAPITests.swift */; };
-		EAEC0BE61D4E379000C908A3 /* StoreAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BE51D4E379000C908A3 /* StoreAPITests.swift */; };
-		EAEC0BE81D4E38CB00C908A3 /* UserAPITests.swift in Sources */ = {isa = PBXBuildFile; fileRef = EAEC0BE71D4E38CB00C908A3 /* UserAPITests.swift */; };
-/* End PBXBuildFile section */
-
-/* Begin PBXContainerItemProxy section */
-		EAEC0BD31D4E30CE00C908A3 /* PBXContainerItemProxy */ = {
-			isa = PBXContainerItemProxy;
-			containerPortal = EAEC0BB61D4E30CE00C908A3 /* Project object */;
-			proxyType = 1;
-			remoteGlobalIDString = EAEC0BBD1D4E30CE00C908A3;
-			remoteInfo = SwaggerClient;
-		};
-/* End PBXContainerItemProxy section */
-
-/* Begin PBXFileReference section */
-		177A58DD5CF63F2989335DCC /* Pods_SwaggerClient.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClient.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		2DEFA8828BD4E38FA5262F53 /* Pods-SwaggerClient.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.release.xcconfig"; sourceTree = "<group>"; };
-		4EF2021609D112A6F5AE0F55 /* Pods-SwaggerClientTests.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.debug.xcconfig"; sourceTree = "<group>"; };
-		6F96A0131101344CC5406CB3 /* Pods_SwaggerClientTests.framework */ = {isa = PBXFileReference; explicitFileType = wrapper.framework; includeInIndex = 0; path = Pods_SwaggerClientTests.framework; sourceTree = BUILT_PRODUCTS_DIR; };
-		8D99518E8E05FD856A952698 /* Pods-SwaggerClient.debug.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClient.debug.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient.debug.xcconfig"; sourceTree = "<group>"; };
-		EAEC0BBE1D4E30CE00C908A3 /* SwaggerClient.app */ = {isa = PBXFileReference; explicitFileType = wrapper.application; includeInIndex = 0; path = SwaggerClient.app; sourceTree = BUILT_PRODUCTS_DIR; };
-		EAEC0BC11D4E30CE00C908A3 /* AppDelegate.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = AppDelegate.swift; sourceTree = "<group>"; };
-		EAEC0BC31D4E30CE00C908A3 /* ViewController.swift */ = {isa = PBXFileReference; lastKnownFileType = sourcecode.swift; path = ViewController.swift; sourceTree = "<group>"; };
-		EAEC0BC61D4E30CE00C908A3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/Main.storyboard; sourceTree = "<group>"; };
-		EAEC0BC81D4E30CE00C908A3 /* Assets.xcassets */ = {isa = PBXFileReference; lastKnownFileType = folder.assetcatalog; path = Assets.xcassets; sourceTree = "<group>"; };
-		EAEC0BCB1D4E30CE00C908A3 /* Base */ = {isa = PBXFileReference; lastKnownFileType = file.storyboard; name = Base; path = Base.lproj/LaunchScreen.storyboard; sourceTree = "<group>"; };
-		EAEC0BCD1D4E30CE00C908A3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		EAEC0BD21D4E30CE00C908A3 /* SwaggerClientTests.xctest */ = {isa = PBXFileReference; explicitFileType = wrapper.cfbundle; includeInIndex = 0; path = SwaggerClientTests.xctest; sourceTree = BUILT_PRODUCTS_DIR; };
-		EAEC0BD81D4E30CE00C908A3 /* Info.plist */ = {isa = PBXFileReference; lastKnownFileType = text.plist.xml; path = Info.plist; sourceTree = "<group>"; };
-		EAEC0BE31D4E330700C908A3 /* PetAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = PetAPITests.swift; sourceTree = "<group>"; };
-		EAEC0BE51D4E379000C908A3 /* StoreAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = StoreAPITests.swift; sourceTree = "<group>"; };
-		EAEC0BE71D4E38CB00C908A3 /* UserAPITests.swift */ = {isa = PBXFileReference; fileEncoding = 4; lastKnownFileType = sourcecode.swift; path = UserAPITests.swift; sourceTree = "<group>"; };
-		EFD8AB05F53C74985527D117 /* Pods-SwaggerClientTests.release.xcconfig */ = {isa = PBXFileReference; includeInIndex = 1; lastKnownFileType = text.xcconfig; name = "Pods-SwaggerClientTests.release.xcconfig"; path = "Pods/Target Support Files/Pods-SwaggerClientTests/Pods-SwaggerClientTests.release.xcconfig"; sourceTree = "<group>"; };
-/* End PBXFileReference section */
-
-/* Begin PBXFrameworksBuildPhase section */
-		EAEC0BBB1D4E30CE00C908A3 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				B024164FBFF71BF644D4419A /* Pods_SwaggerClient.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		EAEC0BCF1D4E30CE00C908A3 /* Frameworks */ = {
-			isa = PBXFrameworksBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				B1D0246C8960F47A60098F37 /* Pods_SwaggerClientTests.framework in Frameworks */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXFrameworksBuildPhase section */
-
-/* Begin PBXGroup section */
-		55DC454FF5FFEF8A9CBC1CA3 /* Frameworks */ = {
-			isa = PBXGroup;
-			children = (
-				177A58DD5CF63F2989335DCC /* Pods_SwaggerClient.framework */,
-				6F96A0131101344CC5406CB3 /* Pods_SwaggerClientTests.framework */,
-			);
-			name = Frameworks;
-			sourceTree = "<group>";
-		};
-		CB19142D951AB5DD885404A8 /* Pods */ = {
-			isa = PBXGroup;
-			children = (
-				8D99518E8E05FD856A952698 /* Pods-SwaggerClient.debug.xcconfig */,
-				2DEFA8828BD4E38FA5262F53 /* Pods-SwaggerClient.release.xcconfig */,
-				4EF2021609D112A6F5AE0F55 /* Pods-SwaggerClientTests.debug.xcconfig */,
-				EFD8AB05F53C74985527D117 /* Pods-SwaggerClientTests.release.xcconfig */,
-			);
-			name = Pods;
-			sourceTree = "<group>";
-		};
-		EAEC0BB51D4E30CE00C908A3 = {
-			isa = PBXGroup;
-			children = (
-				EAEC0BC01D4E30CE00C908A3 /* SwaggerClient */,
-				EAEC0BD51D4E30CE00C908A3 /* SwaggerClientTests */,
-				EAEC0BBF1D4E30CE00C908A3 /* Products */,
-				CB19142D951AB5DD885404A8 /* Pods */,
-				55DC454FF5FFEF8A9CBC1CA3 /* Frameworks */,
-			);
-			sourceTree = "<group>";
-		};
-		EAEC0BBF1D4E30CE00C908A3 /* Products */ = {
-			isa = PBXGroup;
-			children = (
-				EAEC0BBE1D4E30CE00C908A3 /* SwaggerClient.app */,
-				EAEC0BD21D4E30CE00C908A3 /* SwaggerClientTests.xctest */,
-			);
-			name = Products;
-			sourceTree = "<group>";
-		};
-		EAEC0BC01D4E30CE00C908A3 /* SwaggerClient */ = {
-			isa = PBXGroup;
-			children = (
-				EAEC0BC11D4E30CE00C908A3 /* AppDelegate.swift */,
-				EAEC0BC31D4E30CE00C908A3 /* ViewController.swift */,
-				EAEC0BC51D4E30CE00C908A3 /* Main.storyboard */,
-				EAEC0BC81D4E30CE00C908A3 /* Assets.xcassets */,
-				EAEC0BCA1D4E30CE00C908A3 /* LaunchScreen.storyboard */,
-				EAEC0BCD1D4E30CE00C908A3 /* Info.plist */,
-			);
-			path = SwaggerClient;
-			sourceTree = "<group>";
-		};
-		EAEC0BD51D4E30CE00C908A3 /* SwaggerClientTests */ = {
-			isa = PBXGroup;
-			children = (
-				EAEC0BD81D4E30CE00C908A3 /* Info.plist */,
-				EAEC0BE31D4E330700C908A3 /* PetAPITests.swift */,
-				EAEC0BE51D4E379000C908A3 /* StoreAPITests.swift */,
-				EAEC0BE71D4E38CB00C908A3 /* UserAPITests.swift */,
-			);
-			path = SwaggerClientTests;
-			sourceTree = "<group>";
-		};
-/* End PBXGroup section */
-
-/* Begin PBXNativeTarget section */
-		EAEC0BBD1D4E30CE00C908A3 /* SwaggerClient */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = EAEC0BDB1D4E30CE00C908A3 /* Build configuration list for PBXNativeTarget "SwaggerClient" */;
-			buildPhases = (
-				898E536ECC2C4811DDDF67C1 /* [CP] Check Pods Manifest.lock */,
-				EAEC0BBA1D4E30CE00C908A3 /* Sources */,
-				EAEC0BBB1D4E30CE00C908A3 /* Frameworks */,
-				EAEC0BBC1D4E30CE00C908A3 /* Resources */,
-				8A7961360961F06AADAF17C9 /* [CP] Embed Pods Frameworks */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-			);
-			name = SwaggerClient;
-			productName = SwaggerClient;
-			productReference = EAEC0BBE1D4E30CE00C908A3 /* SwaggerClient.app */;
-			productType = "com.apple.product-type.application";
-		};
-		EAEC0BD11D4E30CE00C908A3 /* SwaggerClientTests */ = {
-			isa = PBXNativeTarget;
-			buildConfigurationList = EAEC0BDE1D4E30CE00C908A3 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */;
-			buildPhases = (
-				82CB35D52E274C6177DAC0DD /* [CP] Check Pods Manifest.lock */,
-				EAEC0BCE1D4E30CE00C908A3 /* Sources */,
-				EAEC0BCF1D4E30CE00C908A3 /* Frameworks */,
-				EAEC0BD01D4E30CE00C908A3 /* Resources */,
-			);
-			buildRules = (
-			);
-			dependencies = (
-				EAEC0BD41D4E30CE00C908A3 /* PBXTargetDependency */,
-			);
-			name = SwaggerClientTests;
-			productName = SwaggerClientTests;
-			productReference = EAEC0BD21D4E30CE00C908A3 /* SwaggerClientTests.xctest */;
-			productType = "com.apple.product-type.bundle.unit-test";
-		};
-/* End PBXNativeTarget section */
-
-/* Begin PBXProject section */
-		EAEC0BB61D4E30CE00C908A3 /* Project object */ = {
-			isa = PBXProject;
-			attributes = {
-				LastSwiftUpdateCheck = 0730;
-				LastUpgradeCheck = 0800;
-				ORGANIZATIONNAME = Swagger;
-				TargetAttributes = {
-					EAEC0BBD1D4E30CE00C908A3 = {
-						CreatedOnToolsVersion = 7.3.1;
-						LastSwiftMigration = 0800;
-					};
-					EAEC0BD11D4E30CE00C908A3 = {
-						CreatedOnToolsVersion = 7.3.1;
-						LastSwiftMigration = 0800;
-						TestTargetID = EAEC0BBD1D4E30CE00C908A3;
-					};
-				};
-			};
-			buildConfigurationList = EAEC0BB91D4E30CE00C908A3 /* Build configuration list for PBXProject "SwaggerClient" */;
-			compatibilityVersion = "Xcode 3.2";
-			developmentRegion = English;
-			hasScannedForEncodings = 0;
-			knownRegions = (
-				en,
-				Base,
-			);
-			mainGroup = EAEC0BB51D4E30CE00C908A3;
-			productRefGroup = EAEC0BBF1D4E30CE00C908A3 /* Products */;
-			projectDirPath = "";
-			projectRoot = "";
-			targets = (
-				EAEC0BBD1D4E30CE00C908A3 /* SwaggerClient */,
-				EAEC0BD11D4E30CE00C908A3 /* SwaggerClientTests */,
-			);
-		};
-/* End PBXProject section */
-
-/* Begin PBXResourcesBuildPhase section */
-		EAEC0BBC1D4E30CE00C908A3 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				EAEC0BCC1D4E30CE00C908A3 /* LaunchScreen.storyboard in Resources */,
-				EAEC0BC91D4E30CE00C908A3 /* Assets.xcassets in Resources */,
-				EAEC0BC71D4E30CE00C908A3 /* Main.storyboard in Resources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		EAEC0BD01D4E30CE00C908A3 /* Resources */ = {
-			isa = PBXResourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXResourcesBuildPhase section */
-
-/* Begin PBXShellScriptBuildPhase section */
-		82CB35D52E274C6177DAC0DD /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-SwaggerClientTests-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-		898E536ECC2C4811DDDF67C1 /* [CP] Check Pods Manifest.lock */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${PODS_PODFILE_DIR_PATH}/Podfile.lock",
-				"${PODS_ROOT}/Manifest.lock",
-			);
-			name = "[CP] Check Pods Manifest.lock";
-			outputPaths = (
-				"$(DERIVED_FILE_DIR)/Pods-SwaggerClient-checkManifestLockResult.txt",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "diff \"${PODS_PODFILE_DIR_PATH}/Podfile.lock\" \"${PODS_ROOT}/Manifest.lock\" > /dev/null\nif [ $? != 0 ] ; then\n    # print error to STDERR\n    echo \"error: The sandbox is not in sync with the Podfile.lock. Run 'pod install' or update your CocoaPods installation.\" >&2\n    exit 1\nfi\n# This output is used by Xcode 'outputs' to avoid re-running this script phase.\necho \"SUCCESS\" > \"${SCRIPT_OUTPUT_FILE_0}\"\n";
-			showEnvVarsInLog = 0;
-		};
-		8A7961360961F06AADAF17C9 /* [CP] Embed Pods Frameworks */ = {
-			isa = PBXShellScriptBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-			);
-			inputPaths = (
-				"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh",
-				"${BUILT_PRODUCTS_DIR}/Alamofire/Alamofire.framework",
-				"${BUILT_PRODUCTS_DIR}/PetstoreClient/PetstoreClient.framework",
-				"${BUILT_PRODUCTS_DIR}/RxSwift/RxSwift.framework",
-			);
-			name = "[CP] Embed Pods Frameworks";
-			outputPaths = (
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/Alamofire.framework",
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/PetstoreClient.framework",
-				"${TARGET_BUILD_DIR}/${FRAMEWORKS_FOLDER_PATH}/RxSwift.framework",
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-			shellPath = /bin/sh;
-			shellScript = "\"${SRCROOT}/Pods/Target Support Files/Pods-SwaggerClient/Pods-SwaggerClient-frameworks.sh\"\n";
-			showEnvVarsInLog = 0;
-		};
-/* End PBXShellScriptBuildPhase section */
-
-/* Begin PBXSourcesBuildPhase section */
-		EAEC0BBA1D4E30CE00C908A3 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				EAEC0BC41D4E30CE00C908A3 /* ViewController.swift in Sources */,
-				EAEC0BC21D4E30CE00C908A3 /* AppDelegate.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-		EAEC0BCE1D4E30CE00C908A3 /* Sources */ = {
-			isa = PBXSourcesBuildPhase;
-			buildActionMask = 2147483647;
-			files = (
-				EAEC0BE81D4E38CB00C908A3 /* UserAPITests.swift in Sources */,
-				EAEC0BE61D4E379000C908A3 /* StoreAPITests.swift in Sources */,
-				EAEC0BE41D4E330700C908A3 /* PetAPITests.swift in Sources */,
-			);
-			runOnlyForDeploymentPostprocessing = 0;
-		};
-/* End PBXSourcesBuildPhase section */
-
-/* Begin PBXTargetDependency section */
-		EAEC0BD41D4E30CE00C908A3 /* PBXTargetDependency */ = {
-			isa = PBXTargetDependency;
-			target = EAEC0BBD1D4E30CE00C908A3 /* SwaggerClient */;
-			targetProxy = EAEC0BD31D4E30CE00C908A3 /* PBXContainerItemProxy */;
-		};
-/* End PBXTargetDependency section */
-
-/* Begin PBXVariantGroup section */
-		EAEC0BC51D4E30CE00C908A3 /* Main.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				EAEC0BC61D4E30CE00C908A3 /* Base */,
-			);
-			name = Main.storyboard;
-			sourceTree = "<group>";
-		};
-		EAEC0BCA1D4E30CE00C908A3 /* LaunchScreen.storyboard */ = {
-			isa = PBXVariantGroup;
-			children = (
-				EAEC0BCB1D4E30CE00C908A3 /* Base */,
-			);
-			name = LaunchScreen.storyboard;
-			sourceTree = "<group>";
-		};
-/* End PBXVariantGroup section */
-
-/* Begin XCBuildConfiguration section */
-		EAEC0BD91D4E30CE00C908A3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = dwarf;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				ENABLE_TESTABILITY = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_DYNAMIC_NO_PIC = NO;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_OPTIMIZATION_LEVEL = 0;
-				GCC_PREPROCESSOR_DEFINITIONS = (
-					"DEBUG=1",
-					"$(inherited)",
-				);
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				MTL_ENABLE_DEBUG_INFO = YES;
-				ONLY_ACTIVE_ARCH = YES;
-				SDKROOT = iphoneos;
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-			};
-			name = Debug;
-		};
-		EAEC0BDA1D4E30CE00C908A3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			buildSettings = {
-				ALWAYS_SEARCH_USER_PATHS = NO;
-				CLANG_ANALYZER_NONNULL = YES;
-				CLANG_CXX_LANGUAGE_STANDARD = "gnu++0x";
-				CLANG_CXX_LIBRARY = "libc++";
-				CLANG_ENABLE_MODULES = YES;
-				CLANG_ENABLE_OBJC_ARC = YES;
-				CLANG_WARN_BOOL_CONVERSION = YES;
-				CLANG_WARN_CONSTANT_CONVERSION = YES;
-				CLANG_WARN_DIRECT_OBJC_ISA_USAGE = YES_ERROR;
-				CLANG_WARN_EMPTY_BODY = YES;
-				CLANG_WARN_ENUM_CONVERSION = YES;
-				CLANG_WARN_INFINITE_RECURSION = YES;
-				CLANG_WARN_INT_CONVERSION = YES;
-				CLANG_WARN_OBJC_ROOT_CLASS = YES_ERROR;
-				CLANG_WARN_SUSPICIOUS_MOVE = YES;
-				CLANG_WARN_UNREACHABLE_CODE = YES;
-				CLANG_WARN__DUPLICATE_METHOD_MATCH = YES;
-				"CODE_SIGN_IDENTITY[sdk=iphoneos*]" = "iPhone Developer";
-				COPY_PHASE_STRIP = NO;
-				DEBUG_INFORMATION_FORMAT = "dwarf-with-dsym";
-				ENABLE_NS_ASSERTIONS = NO;
-				ENABLE_STRICT_OBJC_MSGSEND = YES;
-				GCC_C_LANGUAGE_STANDARD = gnu99;
-				GCC_NO_COMMON_BLOCKS = YES;
-				GCC_WARN_64_TO_32_BIT_CONVERSION = YES;
-				GCC_WARN_ABOUT_RETURN_TYPE = YES_ERROR;
-				GCC_WARN_UNDECLARED_SELECTOR = YES;
-				GCC_WARN_UNINITIALIZED_AUTOS = YES_AGGRESSIVE;
-				GCC_WARN_UNUSED_FUNCTION = YES;
-				GCC_WARN_UNUSED_VARIABLE = YES;
-				IPHONEOS_DEPLOYMENT_TARGET = 9.3;
-				MTL_ENABLE_DEBUG_INFO = NO;
-				SDKROOT = iphoneos;
-				SWIFT_OPTIMIZATION_LEVEL = "-Owholemodule";
-				VALIDATE_PRODUCT = YES;
-			};
-			name = Release;
-		};
-		EAEC0BDC1D4E30CE00C908A3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 8D99518E8E05FD856A952698 /* Pods-SwaggerClient.debug.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Debug;
-		};
-		EAEC0BDD1D4E30CE00C908A3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 2DEFA8828BD4E38FA5262F53 /* Pods-SwaggerClient.release.xcconfig */;
-			buildSettings = {
-				ALWAYS_EMBED_SWIFT_STANDARD_LIBRARIES = YES;
-				ASSETCATALOG_COMPILER_APPICON_NAME = AppIcon;
-				INFOPLIST_FILE = SwaggerClient/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClient;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-				TARGETED_DEVICE_FAMILY = "1,2";
-			};
-			name = Release;
-		};
-		EAEC0BDF1D4E30CE00C908A3 /* Debug */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = 4EF2021609D112A6F5AE0F55 /* Pods-SwaggerClientTests.debug.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				CLANG_ENABLE_MODULES = YES;
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_OPTIMIZATION_LEVEL = "-Onone";
-				SWIFT_VERSION = 3.0;
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Debug;
-		};
-		EAEC0BE01D4E30CE00C908A3 /* Release */ = {
-			isa = XCBuildConfiguration;
-			baseConfigurationReference = EFD8AB05F53C74985527D117 /* Pods-SwaggerClientTests.release.xcconfig */;
-			buildSettings = {
-				BUNDLE_LOADER = "$(TEST_HOST)";
-				CLANG_ENABLE_MODULES = YES;
-				INFOPLIST_FILE = SwaggerClientTests/Info.plist;
-				LD_RUNPATH_SEARCH_PATHS = "$(inherited) @executable_path/Frameworks @loader_path/Frameworks";
-				PRODUCT_BUNDLE_IDENTIFIER = com.swagger.SwaggerClientTests;
-				PRODUCT_NAME = "$(TARGET_NAME)";
-				SWIFT_VERSION = 3.0;
-				TEST_HOST = "$(BUILT_PRODUCTS_DIR)/SwaggerClient.app/SwaggerClient";
-			};
-			name = Release;
-		};
-/* End XCBuildConfiguration section */
-
-/* Begin XCConfigurationList section */
-		EAEC0BB91D4E30CE00C908A3 /* Build configuration list for PBXProject "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				EAEC0BD91D4E30CE00C908A3 /* Debug */,
-				EAEC0BDA1D4E30CE00C908A3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		EAEC0BDB1D4E30CE00C908A3 /* Build configuration list for PBXNativeTarget "SwaggerClient" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				EAEC0BDC1D4E30CE00C908A3 /* Debug */,
-				EAEC0BDD1D4E30CE00C908A3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-		EAEC0BDE1D4E30CE00C908A3 /* Build configuration list for PBXNativeTarget "SwaggerClientTests" */ = {
-			isa = XCConfigurationList;
-			buildConfigurations = (
-				EAEC0BDF1D4E30CE00C908A3 /* Debug */,
-				EAEC0BE01D4E30CE00C908A3 /* Release */,
-			);
-			defaultConfigurationIsVisible = 0;
-			defaultConfigurationName = Release;
-		};
-/* End XCConfigurationList section */
-	};
-	rootObject = EAEC0BB61D4E30CE00C908A3 /* Project object */;
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 13bdd8ab8b7..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/project.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,7 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "self:SwaggerClient.xcodeproj">
-   </FileRef>
-</Workspace>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
deleted file mode 100644
index 7e4b2d97f31..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcodeproj/xcshareddata/xcschemes/SwaggerClient.xcscheme
+++ /dev/null
@@ -1,101 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Scheme
-   LastUpgradeVersion = "0800"
-   version = "1.3">
-   <BuildAction
-      parallelizeBuildables = "YES"
-      buildImplicitDependencies = "YES">
-      <BuildActionEntries>
-         <BuildActionEntry
-            buildForTesting = "YES"
-            buildForRunning = "YES"
-            buildForProfiling = "YES"
-            buildForArchiving = "YES"
-            buildForAnalyzing = "YES">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "EAEC0BBD1D4E30CE00C908A3"
-               BuildableName = "SwaggerClient.app"
-               BlueprintName = "SwaggerClient"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </BuildActionEntry>
-      </BuildActionEntries>
-   </BuildAction>
-   <TestAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      shouldUseLaunchSchemeArgsEnv = "YES">
-      <Testables>
-         <TestableReference
-            skipped = "NO">
-            <BuildableReference
-               BuildableIdentifier = "primary"
-               BlueprintIdentifier = "EAEC0BD11D4E30CE00C908A3"
-               BuildableName = "SwaggerClientTests.xctest"
-               BlueprintName = "SwaggerClientTests"
-               ReferencedContainer = "container:SwaggerClient.xcodeproj">
-            </BuildableReference>
-         </TestableReference>
-      </Testables>
-      <MacroExpansion>
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "EAEC0BBD1D4E30CE00C908A3"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </MacroExpansion>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </TestAction>
-   <LaunchAction
-      buildConfiguration = "Debug"
-      selectedDebuggerIdentifier = "Xcode.DebuggerFoundation.Debugger.LLDB"
-      selectedLauncherIdentifier = "Xcode.DebuggerFoundation.Launcher.LLDB"
-      launchStyle = "0"
-      useCustomWorkingDirectory = "NO"
-      ignoresPersistentStateOnLaunch = "NO"
-      debugDocumentVersioning = "YES"
-      debugServiceExtension = "internal"
-      allowLocationSimulation = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "EAEC0BBD1D4E30CE00C908A3"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-      <AdditionalOptions>
-      </AdditionalOptions>
-   </LaunchAction>
-   <ProfileAction
-      buildConfiguration = "Release"
-      shouldUseLaunchSchemeArgsEnv = "YES"
-      savedToolIdentifier = ""
-      useCustomWorkingDirectory = "NO"
-      debugDocumentVersioning = "YES">
-      <BuildableProductRunnable
-         runnableDebuggingMode = "0">
-         <BuildableReference
-            BuildableIdentifier = "primary"
-            BlueprintIdentifier = "EAEC0BBD1D4E30CE00C908A3"
-            BuildableName = "SwaggerClient.app"
-            BlueprintName = "SwaggerClient"
-            ReferencedContainer = "container:SwaggerClient.xcodeproj">
-         </BuildableReference>
-      </BuildableProductRunnable>
-   </ProfileAction>
-   <AnalyzeAction
-      buildConfiguration = "Debug">
-   </AnalyzeAction>
-   <ArchiveAction
-      buildConfiguration = "Release"
-      revealArchiveInOrganizer = "YES">
-   </ArchiveAction>
-</Scheme>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
deleted file mode 100644
index 9b3fa18954f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient.xcworkspace/contents.xcworkspacedata
+++ /dev/null
@@ -1,10 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<Workspace
-   version = "1.0">
-   <FileRef
-      location = "group:SwaggerClient.xcodeproj">
-   </FileRef>
-   <FileRef
-      location = "group:Pods/Pods.xcodeproj">
-   </FileRef>
-</Workspace>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/AppDelegate.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/AppDelegate.swift
deleted file mode 100644
index cd894e005de..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/AppDelegate.swift
+++ /dev/null
@@ -1,45 +0,0 @@
-//
-//  AppDelegate.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-@UIApplicationMain
-class AppDelegate: UIResponder, UIApplicationDelegate {
-
-    var window: UIWindow?
-
-
-    func application(_ application: UIApplication, didFinishLaunchingWithOptions launchOptions: [UIApplicationLaunchOptionsKey: Any]?) -> Bool {
-        // Override point for customization after application launch.
-        return true
-    }
-
-    func applicationWillResignActive(_ application: UIApplication) {
-        // Sent when the application is about to move from active to inactive state. This can occur for certain types of temporary interruptions (such as an incoming phone call or SMS message) or when the user quits the application and it begins the transition to the background state.
-        // Use this method to pause ongoing tasks, disable timers, and throttle down OpenGL ES frame rates. Games should use this method to pause the game.
-    }
-
-    func applicationDidEnterBackground(_ application: UIApplication) {
-        // Use this method to release shared resources, save user data, invalidate timers, and store enough application state information to restore your application to its current state in case it is terminated later.
-        // If your application supports background execution, this method is called instead of applicationWillTerminate: when the user quits.
-    }
-
-    func applicationWillEnterForeground(_ application: UIApplication) {
-        // Called as part of the transition from the background to the inactive state; here you can undo many of the changes made on entering the background.
-    }
-
-    func applicationDidBecomeActive(_ application: UIApplication) {
-        // Restart any tasks that were paused (or not yet started) while the application was inactive. If the application was previously in the background, optionally refresh the user interface.
-    }
-
-    func applicationWillTerminate(_ application: UIApplication) {
-        // Called when the application is about to terminate. Save data if appropriate. See also applicationDidEnterBackground:.
-    }
-
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
deleted file mode 100644
index b8236c65348..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Assets.xcassets/AppIcon.appiconset/Contents.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
-  "images" : [
-    {
-      "idiom" : "iphone",
-      "size" : "20x20",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "20x20",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "29x29",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "40x40",
-      "scale" : "3x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "2x"
-    },
-    {
-      "idiom" : "iphone",
-      "size" : "60x60",
-      "scale" : "3x"
-    }
-  ],
-  "info" : {
-    "version" : 1,
-    "author" : "xcode"
-  }
-}
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
deleted file mode 100644
index 2e721e1833f..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/LaunchScreen.storyboard
+++ /dev/null
@@ -1,27 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="8150" systemVersion="15A204g" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" launchScreen="YES" useTraitCollections="YES" initialViewController="01J-lp-oVM">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="8122"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="EHf-IW-A2E">
-            <objects>
-                <viewController id="01J-lp-oVM" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="Llm-lL-Icb"/>
-                        <viewControllerLayoutGuide type="bottom" id="xb3-aO-Qok"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="Ze5-6b-2t3">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <animations/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="iYj-Kq-Ea1" userLabel="First Responder" sceneMemberID="firstResponder"/>
-            </objects>
-            <point key="canvasLocation" x="53" y="375"/>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
deleted file mode 100644
index 3a2a49bad8c..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Base.lproj/Main.storyboard
+++ /dev/null
@@ -1,25 +0,0 @@
-<?xml version="1.0" encoding="UTF-8" standalone="no"?>
-<document type="com.apple.InterfaceBuilder3.CocoaTouch.Storyboard.XIB" version="3.0" toolsVersion="6211" systemVersion="14A298i" targetRuntime="iOS.CocoaTouch" propertyAccessControl="none" useAutolayout="YES" useTraitCollections="YES" initialViewController="BYZ-38-t0r">
-    <dependencies>
-        <plugIn identifier="com.apple.InterfaceBuilder.IBCocoaTouchPlugin" version="6204"/>
-    </dependencies>
-    <scenes>
-        <!--View Controller-->
-        <scene sceneID="tne-QT-ifu">
-            <objects>
-                <viewController id="BYZ-38-t0r" customClass="ViewController" customModuleProvider="target" sceneMemberID="viewController">
-                    <layoutGuides>
-                        <viewControllerLayoutGuide type="top" id="y3c-jy-aDJ"/>
-                        <viewControllerLayoutGuide type="bottom" id="wfy-db-euE"/>
-                    </layoutGuides>
-                    <view key="view" contentMode="scaleToFill" id="8bC-Xf-vdC">
-                        <rect key="frame" x="0.0" y="0.0" width="600" height="600"/>
-                        <autoresizingMask key="autoresizingMask" widthSizable="YES" heightSizable="YES"/>
-                        <color key="backgroundColor" white="1" alpha="1" colorSpace="custom" customColorSpace="calibratedWhite"/>
-                    </view>
-                </viewController>
-                <placeholder placeholderIdentifier="IBFirstResponder" id="dkx-z0-nzr" sceneMemberID="firstResponder"/>
-            </objects>
-        </scene>
-    </scenes>
-</document>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Info.plist b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Info.plist
deleted file mode 100644
index 3d8b6fc4a70..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/Info.plist
+++ /dev/null
@@ -1,58 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>APPL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>LSRequiresIPhoneOS</key>
-	<true/>
-	<key>UILaunchStoryboardName</key>
-	<string>LaunchScreen</string>
-	<key>UIMainStoryboardFile</key>
-	<string>Main</string>
-	<key>UIRequiredDeviceCapabilities</key>
-	<array>
-		<string>armv7</string>
-	</array>
-	<key>UISupportedInterfaceOrientations</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>UISupportedInterfaceOrientations~ipad</key>
-	<array>
-		<string>UIInterfaceOrientationPortrait</string>
-		<string>UIInterfaceOrientationPortraitUpsideDown</string>
-		<string>UIInterfaceOrientationLandscapeLeft</string>
-		<string>UIInterfaceOrientationLandscapeRight</string>
-	</array>
-	<key>NSAppTransportSecurity</key>
-	<dict>
-		<key>NSExceptionDomains</key>
-		<dict>
-			<key>petstore.swagger.io</key>
-			<dict>
-				<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-				<true/>
-			</dict>
-		</dict>
-	</dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/ViewController.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/ViewController.swift
deleted file mode 100644
index 14180180be4..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClient/ViewController.swift
+++ /dev/null
@@ -1,24 +0,0 @@
-//
-//  ViewController.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import UIKit
-
-class ViewController: UIViewController {
-
-    override func viewDidLoad() {
-        super.viewDidLoad()
-        // Do any additional setup after loading the view, typically from a nib.
-    }
-
-    override func didReceiveMemoryWarning() {
-        super.didReceiveMemoryWarning()
-        // Dispose of any resources that can be recreated.
-    }
-
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/Info.plist b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/Info.plist
deleted file mode 100644
index 619bf44ed70..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/Info.plist
+++ /dev/null
@@ -1,35 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
-<plist version="1.0">
-<dict>
-	<key>CFBundleDevelopmentRegion</key>
-	<string>en</string>
-	<key>CFBundleExecutable</key>
-	<string>$(EXECUTABLE_NAME)</string>
-	<key>CFBundleIdentifier</key>
-	<string>$(PRODUCT_BUNDLE_IDENTIFIER)</string>
-	<key>CFBundleInfoDictionaryVersion</key>
-	<string>6.0</string>
-	<key>CFBundleName</key>
-	<string>$(PRODUCT_NAME)</string>
-	<key>CFBundlePackageType</key>
-	<string>BNDL</string>
-	<key>CFBundleShortVersionString</key>
-	<string>1.0</string>
-	<key>CFBundleSignature</key>
-	<string>????</string>
-	<key>CFBundleVersion</key>
-	<string>1</string>
-	<key>NSAppTransportSecurity</key>
-	<dict>
-		<key>NSExceptionDomains</key>
-		<dict>
-			<key>petstore.swagger.io</key>
-			<dict>
-				<key>NSTemporaryExceptionAllowsInsecureHTTPLoads</key>
-				<true/>
-			</dict>
-		</dict>
-	</dict>
-</dict>
-</plist>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
deleted file mode 100644
index 1d1d03d9c0e..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/PetAPITests.swift
+++ /dev/null
@@ -1,78 +0,0 @@
-//
-//  PetAPITests.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import RxSwift
-import XCTest
-@testable import SwaggerClient
-
-class PetAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-    let disposeBag = DisposeBag()
-
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-
-    func test1CreatePet() {
-        let expectation = self.expectation(description: "testCreatePet")
-        let newPet = Pet()
-        let category = PetstoreClient.Category()
-        category.id = 1234
-        category.name = "eyeColor"
-        newPet.category = category
-        newPet.id = 1000
-        newPet.name = "Fluffy"
-        newPet.status = .available
-        PetAPI.addPet(body: newPet).subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType in
-                XCTFail("error creating pet")
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func test2GetPet() {
-        let expectation = self.expectation(description: "testGetPet")
-        PetAPI.getPetById(petId: 1000).subscribe(onNext: { pet in
-            XCTAssert(pet.id == 1000, "invalid id")
-            XCTAssert(pet.name == "Fluffy", "invalid name")
-            expectation.fulfill()
-            }, onError: { errorType in
-                XCTFail("error getting pet")
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func test3DeletePet() {
-        let expectation = self.expectation(description: "testDeletePet")
-        PetAPI.deletePet(petId: 1000).subscribe(onNext: {
-                expectation.fulfill()
-            }, onError: { errorType in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error deleting pet")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
deleted file mode 100644
index 150afad08bd..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/StoreAPITests.swift
+++ /dev/null
@@ -1,97 +0,0 @@
-//
-//  StoreAPITests.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import RxSwift
-import XCTest
-@testable import SwaggerClient
-
-class StoreAPITests: XCTestCase {
-
-    let isoDateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-    let testTimeout = 10.0
-    let disposeBag = DisposeBag()
-
-    func test1PlaceOrder() {
-        let order = Order()
-        let shipDate = Date()
-        order.id = 1000
-        order.petId = 1000
-        order.complete = false
-        order.quantity = 10
-        order.shipDate = shipDate
-        // use explicit naming to reference the enum so that we test we don't regress on enum naming
-        order.status = Order.Status.placed
-        let expectation = self.expectation(description: "testPlaceOrder")
-        StoreAPI.placeOrder(body: order).subscribe(onNext: { order in
-            XCTAssert(order.id == 1000, "invalid id")
-            XCTAssert(order.quantity == 10, "invalid quantity")
-            XCTAssert(order.status == .placed, "invalid status")
-            XCTAssert(order.shipDate!.isEqual(shipDate, format: self.isoDateFormat),
-                "Date should be idempotent")
-
-            expectation.fulfill()
-        }, onError: { errorType in
-            XCTFail("error placing order")
-        }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func test2GetOrder() {
-        let expectation = self.expectation(description: "testGetOrder")
-        StoreAPI.getOrderById(orderId: 1000).subscribe(onNext: { order -> Void in
-            XCTAssert(order.id == 1000, "invalid id")
-            XCTAssert(order.quantity == 10, "invalid quantity")
-            XCTAssert(order.status == .placed, "invalid status")
-            expectation.fulfill()
-            }, onError: { errorType in
-                XCTFail("error placing order")
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func test3DeleteOrder() {
-        let expectation = self.expectation(description: "testDeleteOrder")
-        StoreAPI.deleteOrder(orderId: "1000").subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType -> Void in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error deleting order")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-}
-
-private extension Date {
-
-    /**
-     Returns true if the dates are equal given the format string.
-
-     - parameter date:   The date to compare to.
-     - parameter format: The format string to use to compare.
-
-     - returns: true if the dates are equal, given the format string.
-     */
-    func isEqual(_ date: Date, format: String) -> Bool {
-        let fmt = DateFormatter()
-        fmt.dateFormat = format
-        return fmt.string(from: self).isEqual(fmt.string(from: date))
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
deleted file mode 100644
index dca3e169ebf..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/SwaggerClientTests/UserAPITests.swift
+++ /dev/null
@@ -1,173 +0,0 @@
-//
-//  UserAPITests.swift
-//  SwaggerClient
-//
-//  Created by Tony Wang on 7/31/16.
-//  Copyright © 2016 Swagger. All rights reserved.
-//
-
-import PetstoreClient
-import RxSwift
-import XCTest
-@testable import SwaggerClient
-
-class UserAPITests: XCTestCase {
-
-    let testTimeout = 10.0
-    let disposeBag = DisposeBag()
-
-    override func setUp() {
-        super.setUp()
-        // Put setup code here. This method is called before the invocation of each test method in the class.
-    }
-
-    override func tearDown() {
-        // Put teardown code here. This method is called after the invocation of each test method in the class.
-        super.tearDown()
-    }
-
-    func testLogin() {
-        let expectation = self.expectation(description: "testLogin")
-        UserAPI.loginUser(username: "swiftTester", password: "swift").subscribe(onNext: { _ in
-            expectation.fulfill()
-            }, onError: { errorType in
-                // The server isn't returning JSON - and currently the alamofire implementation
-                // always parses responses as JSON, so making an exception for this here
-                // Error Domain=NSCocoaErrorDomain Code=3840 "Invalid value around character 0."
-                // UserInfo={NSDebugDescription=Invalid value around character 0.}
-                let error = errorType as NSError
-                if error.code == 3840 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error logging in")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func testLogout() {
-        let expectation = self.expectation(description: "testLogout")
-        UserAPI.logoutUser().subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error logging out")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func test1CreateUser() {
-        let expectation = self.expectation(description: "testCreateUser")
-        let newUser = User()
-        newUser.email = "test@test.com"
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-        UserAPI.createUser(body: newUser).subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error creating user")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-    
-    func testCreateUserWithArray() {
-        let expectation = self.expectation(description: "testCreateUserWithArray")
-        let newUser = User()
-        newUser.email = "test@test.com"
-        newUser.firstName = "Test"
-        newUser.lastName = "Tester"
-        newUser.id = 1000
-        newUser.password = "test!"
-        newUser.phone = "867-5309"
-        newUser.username = "test@test.com"
-        newUser.userStatus = 0
-        
-        let newUser2 = User()
-        newUser2.email = "test2@test.com"
-        newUser2.firstName = "Test2"
-        newUser2.lastName = "Tester2"
-        newUser2.id = 1001
-        newUser2.password = "test2!"
-        newUser2.phone = "867-5302"
-        newUser2.username = "test2@test.com"
-        newUser2.userStatus = 0
-
-        _ = UserAPI.createUsersWithArrayInput(body: [newUser, newUser2]).subscribe(onNext: {
-            expectation.fulfill()
-        }, onError: { _ in
-            XCTFail("error creating users")
-        })
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func test2GetUser() {
-        let expectation = self.expectation(description: "testGetUser")
-        UserAPI.getUserByName(username: "test@test.com").subscribe(onNext: {user -> Void in
-            XCTAssert(user.userStatus == 0, "invalid userStatus")
-            XCTAssert(user.email == "test@test.com", "invalid email")
-            XCTAssert(user.firstName == "Test", "invalid firstName")
-            XCTAssert(user.lastName == "Tester", "invalid lastName")
-            XCTAssert(user.password == "test!", "invalid password")
-            XCTAssert(user.phone == "867-5309", "invalid phone")
-            expectation.fulfill()
-            }, onError: { errorType in
-                XCTFail("error getting user")
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func test3DeleteUser() {
-        let expectation = self.expectation(description: "testDeleteUser")
-        UserAPI.deleteUser(username: "test@test.com").subscribe(onNext: {
-            expectation.fulfill()
-            }, onError: { errorType -> Void in
-                // The server gives us no data back so alamofire parsing fails - at least
-                // verify that is the error we get here
-                // Error Domain=com.alamofire.error Code=-6006 "JSON could not be serialized. Input data was nil or zero
-                // length." UserInfo={NSLocalizedFailureReason=JSON could not be serialized. Input data was nil or zero
-                // length.}
-                let error = errorType as NSError
-                if error.code == -6006 {
-                    expectation.fulfill()
-                } else {
-                    XCTFail("error deleting user")
-                }
-            }, onCompleted: nil, onDisposed: nil).addDisposableTo(disposeBag)
-        self.waitForExpectations(timeout: testTimeout, handler: nil)
-    }
-
-    func testPathParamsAreEscaped() {
-        // The path for this operation is /user/{userId}. In order to make a usable path,
-        // then we must make sure that {userId} is percent-escaped when it is substituted
-        // into the path. So we intentionally introduce a path with spaces.
-        let userRequestBuilder = UserAPI.getUserByNameWithRequestBuilder(username: "User Name With Spaces")
-        let urlContainsSpace = userRequestBuilder.URLString.contains(" ")
-
-        XCTAssert(!urlContainsSpace, "Expected URL to be escaped, but it was not.")
-    }
-
-}
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/pom.xml b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/pom.xml
deleted file mode 100644
index 29e61aa13a9..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/pom.xml
+++ /dev/null
@@ -1,43 +0,0 @@
-<project>
-    <modelVersion>4.0.0</modelVersion>
-    <groupId>io.swagger</groupId>
-    <artifactId>Swift3RxSwiftPetstoreClientTests</artifactId>
-    <packaging>pom</packaging>
-    <version>1.0-SNAPSHOT</version>
-    <name>Swift3 RxSwift Swagger Petstore Client</name>
-    <build>
-        <plugins>
-            <plugin>
-                <artifactId>maven-dependency-plugin</artifactId>
-                <executions>
-                    <execution>
-                        <phase>package</phase>
-                        <goals>
-                            <goal>copy-dependencies</goal>
-                        </goals>
-                        <configuration>
-                            <outputDirectory>${project.build.directory}</outputDirectory>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-            <plugin>
-                <groupId>org.codehaus.mojo</groupId>
-                <artifactId>exec-maven-plugin</artifactId>
-                <version>1.2.1</version>
-                <executions>
-                    <execution>
-                        <id>xcodebuild-test</id>
-                        <phase>integration-test</phase>
-                        <goals>
-                            <goal>exec</goal>
-                        </goals>
-                        <configuration>
-                            <executable>./run_xcodebuild.sh</executable>
-                        </configuration>
-                    </execution>
-                </executions>
-            </plugin>
-        </plugins>
-    </build>
-</project>
diff --git a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/run_xcodebuild.sh b/samples/client/petstore/swift3/rxswift/SwaggerClientTests/run_xcodebuild.sh
deleted file mode 100755
index f1d49608668..00000000000
--- a/samples/client/petstore/swift3/rxswift/SwaggerClientTests/run_xcodebuild.sh
+++ /dev/null
@@ -1,3 +0,0 @@
-#!/bin/sh
-
-xcodebuild -workspace "SwaggerClient.xcworkspace" -scheme "SwaggerClient" test -destination "platform=iOS Simulator,name=iPhone 6,OS=9.3" | xcpretty && exit ${PIPESTATUS[0]}
diff --git a/samples/client/petstore/swift3/rxswift/git_push.sh b/samples/client/petstore/swift3/rxswift/git_push.sh
deleted file mode 100644
index 20057f67ade..00000000000
--- a/samples/client/petstore/swift3/rxswift/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="GIT_USER_ID"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="GIT_REPO_ID"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="Minor update"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
diff --git a/samples/client/petstore/swift3/unwraprequired/.gitignore b/samples/client/petstore/swift3/unwraprequired/.gitignore
deleted file mode 100644
index fc4e330f8fa..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/.gitignore
+++ /dev/null
@@ -1,63 +0,0 @@
-# Xcode
-#
-# gitignore contributors: remember to update Global/Xcode.gitignore, Objective-C.gitignore & Swift.gitignore
-
-## Build generated
-build/
-DerivedData
-
-## Various settings
-*.pbxuser
-!default.pbxuser
-*.mode1v3
-!default.mode1v3
-*.mode2v3
-!default.mode2v3
-*.perspectivev3
-!default.perspectivev3
-xcuserdata
-
-## Other
-*.xccheckout
-*.moved-aside
-*.xcuserstate
-*.xcscmblueprint
-
-## Obj-C/Swift specific
-*.hmap
-*.ipa
-
-## Playgrounds
-timeline.xctimeline
-playground.xcworkspace
-
-# Swift Package Manager
-#
-# Add this line if you want to avoid checking in source code from Swift Package Manager dependencies.
-# Packages/
-.build/
-
-# CocoaPods
-#
-# We recommend against adding the Pods directory to your .gitignore. However
-# you should judge for yourself, the pros and cons are mentioned at:
-# https://guides.cocoapods.org/using/using-cocoapods.html#should-i-check-the-pods-directory-into-source-control
-#
-# Pods/
-
-# Carthage
-#
-# Add this line if you want to avoid checking in source code from Carthage dependencies.
-# Carthage/Checkouts
-
-Carthage/Build
-
-# fastlane
-#
-# It is recommended to not store the screenshots in the git repo. Instead, use fastlane to re-generate the
-# screenshots whenever they are needed.
-# For more information about the recommended setup visit:
-# https://github.com/fastlane/fastlane/blob/master/docs/Gitignore.md
-
-fastlane/report.xml
-fastlane/screenshots
diff --git a/samples/client/petstore/swift3/unwraprequired/.openapi-generator-ignore b/samples/client/petstore/swift3/unwraprequired/.openapi-generator-ignore
deleted file mode 100644
index c5fa491b4c5..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/.openapi-generator-ignore
+++ /dev/null
@@ -1,23 +0,0 @@
-# Swagger Codegen Ignore
-# Generated by swagger-codegen https://github.com/swagger-api/swagger-codegen
-
-# Use this file to prevent files from being overwritten by the generator.
-# The patterns follow closely to .gitignore or .dockerignore.
-
-# As an example, the C# client generator defines ApiClient.cs.
-# You can make changes and tell Swagger Codgen to ignore just this file by uncommenting the following line:
-#ApiClient.cs
-
-# You can match any string of characters against a directory, file or extension with a single asterisk (*):
-#foo/*/qux
-# The above matches foo/bar/qux and foo/baz/qux, but not foo/bar/baz/qux
-
-# You can recursively match patterns against a directory, file or extension with a double asterisk (**):
-#foo/**/qux
-# This matches foo/bar/qux, foo/baz/qux, and foo/bar/baz/qux
-
-# You can also negate patterns with an exclamation (!).
-# For example, you can ignore all files in a docs folder with the file extension .md:
-#docs/*.md
-# Then explicitly reverse the ignore rule for a single file:
-#!docs/README.md
diff --git a/samples/client/petstore/swift3/unwraprequired/.openapi-generator/VERSION b/samples/client/petstore/swift3/unwraprequired/.openapi-generator/VERSION
deleted file mode 100644
index 6d94c9c2e12..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/.openapi-generator/VERSION
+++ /dev/null
@@ -1 +0,0 @@
-3.3.0-SNAPSHOT
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/unwraprequired/Cartfile b/samples/client/petstore/swift3/unwraprequired/Cartfile
deleted file mode 100644
index 4abedca178d..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/Cartfile
+++ /dev/null
@@ -1 +0,0 @@
-github "Alamofire/Alamofire" ~> 4.5
\ No newline at end of file
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient.podspec b/samples/client/petstore/swift3/unwraprequired/PetstoreClient.podspec
deleted file mode 100644
index 1ff9b50b5e0..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient.podspec
+++ /dev/null
@@ -1,14 +0,0 @@
-Pod::Spec.new do |s|
-  s.name = 'PetstoreClient'
-  s.ios.deployment_target = '9.0'
-  s.osx.deployment_target = '10.11'
-  s.tvos.deployment_target = '9.0'
-  s.version = '0.0.1'
-  s.source = { :git => 'git@github.com:OpenAPITools/openapi-generator.git', :tag => 'v1.0.0' }
-  s.authors = ''
-  s.license = 'Proprietary'
-  s.homepage = 'https://github.com/openapitools/openapi-generator'
-  s.summary = 'PetstoreClient'
-  s.source_files = 'PetstoreClient/Classes/**/*.swift'
-  s.dependency 'Alamofire', '~> 4.5.0'
-end
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIHelper.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
deleted file mode 100644
index d99d4858ff8..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIHelper.swift
+++ /dev/null
@@ -1,75 +0,0 @@
-// APIHelper.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-class APIHelper {
-    static func rejectNil(_ source: [String:Any?]) -> [String:Any]? {
-        var destination = [String:Any]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = value
-            }
-        }
-
-        if destination.isEmpty {
-            return nil
-        }
-        return destination
-    }
-
-    static func rejectNilHeaders(_ source: [String:Any?]) -> [String:String] {
-        var destination = [String:String]()
-        for (key, nillableValue) in source {
-            if let value: Any = nillableValue {
-                destination[key] = "\(value)"
-            }
-        }
-        return destination
-    }
-
-    static func convertBoolToString(_ source: [String: Any]?) -> [String:Any]? {
-        guard let source = source else {
-            return nil
-        }
-        var destination = [String:Any]()
-        let theTrue = NSNumber(value: true as Bool)
-        let theFalse = NSNumber(value: false as Bool)
-        for (key, value) in source {
-            switch value {
-            case let x where x as? NSNumber === theTrue || x as? NSNumber === theFalse:
-                destination[key] = "\(value as! Bool)" as Any?
-            default:
-                destination[key] = value
-            }
-        }
-        return destination
-    }
-
-    static func mapValuesToQueryItems(values: [String:Any?]) -> [URLQueryItem]? {
-        let returnValues = values
-            .filter { $0.1 != nil }
-            .map { (item: (_key: String, _value: Any?)) -> [URLQueryItem] in
-                if let value = item._value as? Array<String> {
-                    return value.map { (v) -> URLQueryItem in
-                        URLQueryItem(
-                            name: item._key,
-                            value: v
-                        )
-                    }
-                } else {
-                    return [URLQueryItem(
-                        name: item._key,
-                        value: "\(item._value!)"
-                    )]
-                }
-            }
-            .flatMap { $0 }
-
-        if returnValues.isEmpty { return nil }
-        return returnValues
-    }
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs.swift
deleted file mode 100644
index c474dd4a9fa..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs.swift
+++ /dev/null
@@ -1,77 +0,0 @@
-// APIs.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class PetstoreClientAPI {
-    open static var basePath = "http://petstore.swagger.io:80/v2"
-    open static var credential: URLCredential?
-    open static var customHeaders: [String:String] = [:]
-    open static var requestBuilderFactory: RequestBuilderFactory = AlamofireRequestBuilderFactory()
-}
-
-open class APIBase {
-    func toParameters(_ encodable: JSONEncodable?) -> [String: Any]? {
-        let encoded: Any? = encodable?.encodeToJSON()
-
-        if encoded! is [Any] {
-            var dictionary = [String:Any]()
-            for (index, item) in (encoded as! [Any]).enumerated() {
-                dictionary["\(index)"] = item
-            }
-            return dictionary
-        } else {
-            return encoded as? [String:Any]
-        }
-    }
-}
-
-open class RequestBuilder<T> {
-    var credential: URLCredential?
-    var headers: [String:String]
-    public let parameters: Any?
-    public let isBody: Bool
-    public let method: String
-    public let URLString: String
-
-    /// Optional block to obtain a reference to the request's progress instance when available.
-    public var onProgressReady: ((Progress) -> ())?
-
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String:String] = [:]) {
-        self.method = method
-        self.URLString = URLString
-        self.parameters = parameters
-        self.isBody = isBody
-        self.headers = headers
-
-        addHeaders(PetstoreClientAPI.customHeaders)
-    }
-
-    open func addHeaders(_ aHeaders:[String:String]) {
-        for (header, value) in aHeaders {
-            addHeader(name: header, value: value)
-        }
-    }
-
-    open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) { }
-
-    @discardableResult public func addHeader(name: String, value: String) -> Self {
-        if !value.isEmpty {
-            headers[name] = value
-        }
-        return self
-    }
-
-    open func addCredential() -> Self {
-        self.credential = PetstoreClientAPI.credential
-        return self
-    }
-}
-
-public protocol RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
deleted file mode 100644
index ea37e8c5966..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/AnotherFakeAPI.swift
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// AnotherFakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class AnotherFakeAPI: APIBase {
-    /**
-     To test special tags
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testSpecialTags(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testSpecialTagsWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test special tags
-     - PATCH /another-fake/dummy
-     - To test special tags
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testSpecialTagsWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/another-fake/dummy"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
deleted file mode 100644
index e44709f2459..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/FakeAPI.swift
+++ /dev/null
@@ -1,405 +0,0 @@
-//
-// FakeAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class FakeAPI: APIBase {
-    /**
-     - parameter body: (body) Input boolean as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterBooleanSerialize(body: Bool? = nil, completion: @escaping ((_ data: Bool?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterBooleanSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/boolean
-     - Test serialization of outer boolean types
-     - parameter body: (body) Input boolean as post body (optional)
-     - returns: RequestBuilder<Bool> 
-     */
-    open class func fakeOuterBooleanSerializeWithRequestBuilder(body: Bool? = nil) -> RequestBuilder<Bool> {
-        let path = "/fake/outer/boolean"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Bool>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterCompositeSerialize(outerComposite: OuterComposite? = nil, completion: @escaping ((_ data: OuterComposite?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: outerComposite).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/composite
-     - Test serialization of object with outer number type
-     - parameter outerComposite: (body) Input composite as post body (optional)
-     - returns: RequestBuilder<OuterComposite> 
-     */
-    open class func fakeOuterCompositeSerializeWithRequestBuilder(outerComposite: OuterComposite? = nil) -> RequestBuilder<OuterComposite> {
-        let path = "/fake/outer/composite"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = outerComposite?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<OuterComposite>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input number as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterNumberSerialize(body: Double? = nil, completion: @escaping ((_ data: Double?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterNumberSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/number
-     - Test serialization of outer number types
-     - parameter body: (body) Input number as post body (optional)
-     - returns: RequestBuilder<Double> 
-     */
-    open class func fakeOuterNumberSerializeWithRequestBuilder(body: Double? = nil) -> RequestBuilder<Double> {
-        let path = "/fake/outer/number"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Double>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     - parameter body: (body) Input string as post body (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func fakeOuterStringSerialize(body: String? = nil, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        fakeOuterStringSerializeWithRequestBuilder(body: body).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     - POST /fake/outer/string
-     - Test serialization of outer string types
-     - parameter body: (body) Input string as post body (optional)
-     - returns: RequestBuilder<String> 
-     */
-    open class func fakeOuterStringSerializeWithRequestBuilder(body: String? = nil) -> RequestBuilder<String> {
-        let path = "/fake/outer/string"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = body?.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     To test \"client\" model
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClientModel(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClientModelWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test \"client\" model
-     - PATCH /fake
-     - To test \"client\" model
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClientModelWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEndpointParameters(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEndpointParametersWithRequestBuilder(number: number, double: double, patternWithoutDelimiter: patternWithoutDelimiter, byte: byte, integer: integer, int32: int32, int64: int64, float: float, string: string, binary: binary, date: date, dateTime: dateTime, password: password, callback: callback).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - POST /fake
-     - Fake endpoint for testing various parameters 假端點 偽のエンドポイント 가짜 엔드 포인트 
-     - BASIC:
-       - type: http
-       - name: http_basic_test
-     - parameter number: (form) None 
-     - parameter double: (form) None 
-     - parameter patternWithoutDelimiter: (form) None 
-     - parameter byte: (form) None 
-     - parameter integer: (form) None (optional)
-     - parameter int32: (form) None (optional)
-     - parameter int64: (form) None (optional)
-     - parameter float: (form) None (optional)
-     - parameter string: (form) None (optional)
-     - parameter binary: (form) None (optional)
-     - parameter date: (form) None (optional)
-     - parameter dateTime: (form) None (optional)
-     - parameter password: (form) None (optional)
-     - parameter callback: (form) None (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEndpointParametersWithRequestBuilder(number: Double, double: Double, patternWithoutDelimiter: String, byte: Data, integer: Int32? = nil, int32: Int32? = nil, int64: Int64? = nil, float: Float? = nil, string: String? = nil, binary: URL? = nil, date: ISOFullDate? = nil, dateTime: Date? = nil, password: String? = nil, callback: String? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "integer": integer?.encodeToJSON(),
-            "int32": int32?.encodeToJSON(),
-            "int64": int64?.encodeToJSON(),
-            "number": number,
-            "float": float,
-            "double": double,
-            "string": string,
-            "pattern_without_delimiter": patternWithoutDelimiter,
-            "byte": byte,
-            "binary": binary,
-            "date": date?.encodeToJSON(),
-            "dateTime": dateTime?.encodeToJSON(),
-            "password": password,
-            "callback": callback
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     * enum for parameter enumHeaderStringArray
-     */
-    public enum EnumHeaderStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumHeaderString
-     */
-    public enum EnumHeaderString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryStringArray
-     */
-    public enum EnumQueryStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumQueryString
-     */
-    public enum EnumQueryString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryInteger
-     */
-    public enum EnumQueryInteger_testEnumParameters: Int32 { 
-        case _1 = 1
-        case number2 = -2
-    }
-
-    /**
-     * enum for parameter enumFormStringArray
-     */
-    public enum EnumFormStringArray_testEnumParameters: String { 
-        case greaterThan = "">""
-        case dollar = ""$""
-    }
-
-    /**
-     * enum for parameter enumFormString
-     */
-    public enum EnumFormString_testEnumParameters: String { 
-        case abc = "_abc"
-        case efg = "-efg"
-        case xyz = "(xyz)"
-    }
-
-    /**
-     * enum for parameter enumQueryDouble
-     */
-    public enum EnumQueryDouble_testEnumParameters: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-
-    /**
-     To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testEnumParameters(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testEnumParametersWithRequestBuilder(enumHeaderStringArray: enumHeaderStringArray, enumHeaderString: enumHeaderString, enumQueryStringArray: enumQueryStringArray, enumQueryString: enumQueryString, enumQueryInteger: enumQueryInteger, enumFormStringArray: enumFormStringArray, enumFormString: enumFormString, enumQueryDouble: enumQueryDouble).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     To test enum parameters
-     - GET /fake
-     - To test enum parameters
-     - parameter enumHeaderStringArray: (header) Header parameter enum test (string array) (optional)
-     - parameter enumHeaderString: (header) Header parameter enum test (string) (optional)
-     - parameter enumQueryStringArray: (query) Query parameter enum test (string array) (optional)
-     - parameter enumQueryString: (query) Query parameter enum test (string) (optional)
-     - parameter enumQueryInteger: (query) Query parameter enum test (double) (optional)
-     - parameter enumFormStringArray: (form) Form parameter enum test (string array) (optional)
-     - parameter enumFormString: (form) Form parameter enum test (string) (optional)
-     - parameter enumQueryDouble: (form) Query parameter enum test (double) (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testEnumParametersWithRequestBuilder(enumHeaderStringArray: [String]? = nil, enumHeaderString: EnumHeaderString_testEnumParameters? = nil, enumQueryStringArray: [String]? = nil, enumQueryString: EnumQueryString_testEnumParameters? = nil, enumQueryInteger: EnumQueryInteger_testEnumParameters? = nil, enumFormStringArray: [String]? = nil, enumFormString: EnumFormString_testEnumParameters? = nil, enumQueryDouble: EnumQueryDouble_testEnumParameters? = nil) -> RequestBuilder<Void> {
-        let path = "/fake"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "enum_form_string_array": enumFormStringArray,
-            "enum_form_string": enumFormString?.rawValue,
-            "enum_query_double": enumQueryDouble?.rawValue
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "enum_query_string_array": enumQueryStringArray,
-            "enum_query_string": enumQueryString?.rawValue,
-            "enum_query_integer": enumQueryInteger?.rawValue
-        ])
-        let nillableHeaders: [String: Any?] = [
-            "enum_header_string_array": enumHeaderStringArray,
-            "enum_header_string": enumHeaderString?.rawValue
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     test json serialization of form data
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testJsonFormData(param: String, param2: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        testJsonFormDataWithRequestBuilder(param: param, param2: param2).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     test json serialization of form data
-     - GET /fake/jsonFormData
-     - parameter param: (form) field1 
-     - parameter param2: (form) field2 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func testJsonFormDataWithRequestBuilder(param: String, param2: String) -> RequestBuilder<Void> {
-        let path = "/fake/jsonFormData"
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "param": param,
-            "param2": param2
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
deleted file mode 100644
index 20514a3b6e6..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/FakeClassnameTags123API.swift
+++ /dev/null
@@ -1,47 +0,0 @@
-//
-// FakeClassnameTags123API.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class FakeClassnameTags123API: APIBase {
-    /**
-     To test class name in snake case
-     - parameter client: (body) client model 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func testClassname(client: Client, completion: @escaping ((_ data: Client?, _ error: ErrorResponse?) -> Void)) {
-        testClassnameWithRequestBuilder(client: client).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     To test class name in snake case
-     - PATCH /fake_classname_test
-     - To test class name in snake case
-     - API Key:
-       - type: apiKey api_key_query (QUERY)
-       - name: api_key_query
-     - parameter client: (body) client model 
-     - returns: RequestBuilder<Client> 
-     */
-    open class func testClassnameWithRequestBuilder(client: Client) -> RequestBuilder<Client> {
-        let path = "/fake_classname_test"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = client.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Client>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PATCH", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
deleted file mode 100644
index 8648214c730..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/PetAPI.swift
+++ /dev/null
@@ -1,333 +0,0 @@
-//
-// PetAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class PetAPI: APIBase {
-    /**
-     Add a new pet to the store
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func addPet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        addPetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Add a new pet to the store
-     - POST /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func addPetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Deletes a pet
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deletePet(petId: Int64, apiKey: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deletePetWithRequestBuilder(petId: petId, apiKey: apiKey).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Deletes a pet
-     - DELETE /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) Pet id to delete 
-     - parameter apiKey: (header)  (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deletePetWithRequestBuilder(petId: Int64, apiKey: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-        let nillableHeaders: [String: Any?] = [
-            "api_key": apiKey
-        ]
-        let headerParameters = APIHelper.rejectNilHeaders(nillableHeaders)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false, headers: headerParameters)
-    }
-
-    /**
-     * enum for parameter status
-     */
-    public enum Status_findPetsByStatus: String { 
-        case available = ""available""
-        case pending = ""pending""
-        case sold = ""sold""
-    }
-
-    /**
-     Finds Pets by status
-     - parameter status: (query) Status values that need to be considered for filter 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByStatus(status: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByStatusWithRequestBuilder(status: status).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Finds Pets by status
-     - GET /pet/findByStatus
-     - Multiple status values can be provided with comma separated strings
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter status: (query) Status values that need to be considered for filter 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByStatusWithRequestBuilder(status: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByStatus"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "status": status
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Finds Pets by tags
-     - parameter tags: (query) Tags to filter by 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func findPetsByTags(tags: [String], completion: @escaping ((_ data: [Pet]?, _ error: ErrorResponse?) -> Void)) {
-        findPetsByTagsWithRequestBuilder(tags: tags).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Finds Pets by tags
-     - GET /pet/findByTags
-     - Multiple tags can be provided with comma separated strings. Use tag1, tag2, tag3 for testing.
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter tags: (query) Tags to filter by 
-     - returns: RequestBuilder<[Pet]> 
-     */
-    open class func findPetsByTagsWithRequestBuilder(tags: [String]) -> RequestBuilder<[Pet]> {
-        let path = "/pet/findByTags"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "tags": tags
-        ])
-
-        let requestBuilder: RequestBuilder<[Pet]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find pet by ID
-     - parameter petId: (path) ID of pet to return 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getPetById(petId: Int64, completion: @escaping ((_ data: Pet?, _ error: ErrorResponse?) -> Void)) {
-        getPetByIdWithRequestBuilder(petId: petId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Find pet by ID
-     - GET /pet/{petId}
-     - Returns a single pet
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - parameter petId: (path) ID of pet to return 
-     - returns: RequestBuilder<Pet> 
-     */
-    open class func getPetByIdWithRequestBuilder(petId: Int64) -> RequestBuilder<Pet> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Pet>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Update an existing pet
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePet(pet: Pet, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithRequestBuilder(pet: pet).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Update an existing pet
-     - PUT /pet
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter pet: (body) Pet object that needs to be added to the store 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithRequestBuilder(pet: Pet) -> RequestBuilder<Void> {
-        let path = "/pet"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = pet.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Updates a pet in the store with form data
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updatePetWithForm(petId: Int64, name: String? = nil, status: String? = nil, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updatePetWithFormWithRequestBuilder(petId: petId, name: name, status: status).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Updates a pet in the store with form data
-     - POST /pet/{petId}
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet that needs to be updated 
-     - parameter name: (form) Updated name of the pet (optional)
-     - parameter status: (form) Updated status of the pet (optional)
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updatePetWithFormWithRequestBuilder(petId: Int64, name: String? = nil, status: String? = nil) -> RequestBuilder<Void> {
-        var path = "/pet/{petId}"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "name": name,
-            "status": status
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     uploads an image
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func uploadFile(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil, completion: @escaping ((_ data: ApiResponse?, _ error: ErrorResponse?) -> Void)) {
-        uploadFileWithRequestBuilder(petId: petId, additionalMetadata: additionalMetadata, file: file).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     uploads an image
-     - POST /pet/{petId}/uploadImage
-     - OAuth:
-       - type: oauth2
-       - name: petstore_auth
-     - parameter petId: (path) ID of pet to update 
-     - parameter additionalMetadata: (form) Additional data to pass to server (optional)
-     - parameter file: (form) file to upload (optional)
-     - returns: RequestBuilder<ApiResponse> 
-     */
-    open class func uploadFileWithRequestBuilder(petId: Int64, additionalMetadata: String? = nil, file: URL? = nil) -> RequestBuilder<ApiResponse> {
-        var path = "/pet/{petId}/uploadImage"
-        let petIdPreEscape = "\(petId)"
-        let petIdPostEscape = petIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{petId}", with: petIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let formParams: [String:Any?] = [
-            "additionalMetadata": additionalMetadata,
-            "file": file
-        ]
-
-        let nonNullParameters = APIHelper.rejectNil(formParams)
-        let parameters = APIHelper.convertBoolToString(nonNullParameters)
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<ApiResponse>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
deleted file mode 100644
index 66dbd6f25d8..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/StoreAPI.swift
+++ /dev/null
@@ -1,143 +0,0 @@
-//
-// StoreAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class StoreAPI: APIBase {
-    /**
-     Delete purchase order by ID
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteOrder(orderId: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteOrderWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Delete purchase order by ID
-     - DELETE /store/order/{order_id}
-     - For valid response try integer IDs with value < 1000. Anything above 1000 or nonintegers will generate API errors
-     - parameter orderId: (path) ID of the order that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteOrderWithRequestBuilder(orderId: String) -> RequestBuilder<Void> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Returns pet inventories by status
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getInventory(completion: @escaping ((_ data: [String:Int32]?, _ error: ErrorResponse?) -> Void)) {
-        getInventoryWithRequestBuilder().execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Returns pet inventories by status
-     - GET /store/inventory
-     - Returns a map of status codes to quantities
-     - API Key:
-       - type: apiKey api_key 
-       - name: api_key
-     - returns: RequestBuilder<[String:Int32]> 
-     */
-    open class func getInventoryWithRequestBuilder() -> RequestBuilder<[String:Int32]> {
-        let path = "/store/inventory"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<[String:Int32]>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Find purchase order by ID
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getOrderById(orderId: Int64, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        getOrderByIdWithRequestBuilder(orderId: orderId).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Find purchase order by ID
-     - GET /store/order/{order_id}
-     - For valid response try integer IDs with value <= 5 or > 10. Other values will generated exceptions
-     - parameter orderId: (path) ID of pet that needs to be fetched 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func getOrderByIdWithRequestBuilder(orderId: Int64) -> RequestBuilder<Order> {
-        var path = "/store/order/{order_id}"
-        let orderIdPreEscape = "\(orderId)"
-        let orderIdPostEscape = orderIdPreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{order_id}", with: orderIdPostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Place an order for a pet
-     - parameter order: (body) order placed for purchasing the pet 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func placeOrder(order: Order, completion: @escaping ((_ data: Order?, _ error: ErrorResponse?) -> Void)) {
-        placeOrderWithRequestBuilder(order: order).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Place an order for a pet
-     - POST /store/order
-     - parameter order: (body) order placed for purchasing the pet 
-     - returns: RequestBuilder<Order> 
-     */
-    open class func placeOrderWithRequestBuilder(order: Order) -> RequestBuilder<Order> {
-        let path = "/store/order"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = order.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Order>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
deleted file mode 100644
index eee28ea249a..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/APIs/UserAPI.swift
+++ /dev/null
@@ -1,272 +0,0 @@
-//
-// UserAPI.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-
-open class UserAPI: APIBase {
-    /**
-     Create user
-     - parameter user: (body) Created user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUser(user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUserWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Create user
-     - POST /user
-     - This can only be done by the logged in user.
-     - parameter user: (body) Created user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUserWithRequestBuilder(user: User) -> RequestBuilder<Void> {
-        let path = "/user"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithArrayInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithArrayInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithArray
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithArrayInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithArray"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Creates list of users with given input array
-     - parameter user: (body) List of user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func createUsersWithListInput(user: [User], completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        createUsersWithListInputWithRequestBuilder(user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Creates list of users with given input array
-     - POST /user/createWithList
-     - parameter user: (body) List of user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func createUsersWithListInputWithRequestBuilder(user: [User]) -> RequestBuilder<Void> {
-        let path = "/user/createWithList"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "POST", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-    /**
-     Delete user
-     - parameter username: (path) The name that needs to be deleted 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func deleteUser(username: String, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        deleteUserWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Delete user
-     - DELETE /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) The name that needs to be deleted 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func deleteUserWithRequestBuilder(username: String) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "DELETE", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Get user by user name
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func getUserByName(username: String, completion: @escaping ((_ data: User?, _ error: ErrorResponse?) -> Void)) {
-        getUserByNameWithRequestBuilder(username: username).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Get user by user name
-     - GET /user/{username}
-     - parameter username: (path) The name that needs to be fetched. Use user1 for testing.  
-     - returns: RequestBuilder<User> 
-     */
-    open class func getUserByNameWithRequestBuilder(username: String) -> RequestBuilder<User> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<User>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs user into the system
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func loginUser(username: String, password: String, completion: @escaping ((_ data: String?, _ error: ErrorResponse?) -> Void)) {
-        loginUserWithRequestBuilder(username: username, password: password).execute { (response, error) -> Void in
-            completion(response?.body, error)
-        }
-    }
-
-
-    /**
-     Logs user into the system
-     - GET /user/login
-     - responseHeaders: [X-Rate-Limit(Int32), X-Expires-After(Date)]
-     - parameter username: (query) The user name for login 
-     - parameter password: (query) The password for login in clear text 
-     - returns: RequestBuilder<String> 
-     */
-    open class func loginUserWithRequestBuilder(username: String, password: String) -> RequestBuilder<String> {
-        let path = "/user/login"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        var url = URLComponents(string: URLString)
-        url?.queryItems = APIHelper.mapValuesToQueryItems(values:[
-            "username": username,
-            "password": password
-        ])
-
-        let requestBuilder: RequestBuilder<String>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Logs out current logged in user session
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func logoutUser(completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        logoutUserWithRequestBuilder().execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Logs out current logged in user session
-     - GET /user/logout
-     - returns: RequestBuilder<Void> 
-     */
-    open class func logoutUserWithRequestBuilder() -> RequestBuilder<Void> {
-        let path = "/user/logout"
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters: [String:Any]? = nil
-        
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "GET", URLString: (url?.string ?? URLString), parameters: parameters, isBody: false)
-    }
-
-    /**
-     Updated user
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - parameter completion: completion handler to receive the data and the error objects
-     */
-    open class func updateUser(username: String, user: User, completion: @escaping ((_ error: ErrorResponse?) -> Void)) {
-        updateUserWithRequestBuilder(username: username, user: user).execute { (response, error) -> Void in
-            completion(error)
-        }
-    }
-
-
-    /**
-     Updated user
-     - PUT /user/{username}
-     - This can only be done by the logged in user.
-     - parameter username: (path) name that need to be deleted 
-     - parameter user: (body) Updated user object 
-     - returns: RequestBuilder<Void> 
-     */
-    open class func updateUserWithRequestBuilder(username: String, user: User) -> RequestBuilder<Void> {
-        var path = "/user/{username}"
-        let usernamePreEscape = "\(username)"
-        let usernamePostEscape = usernamePreEscape.addingPercentEncoding(withAllowedCharacters: .urlPathAllowed) ?? ""
-        path = path.replacingOccurrences(of: "{username}", with: usernamePostEscape, options: .literal, range: nil)
-        let URLString = PetstoreClientAPI.basePath + path
-        let parameters = user.encodeToJSON()
-
-        let url = URLComponents(string: URLString)
-
-        let requestBuilder: RequestBuilder<Void>.Type = PetstoreClientAPI.requestBuilderFactory.getBuilder()
-
-        return requestBuilder.init(method: "PUT", URLString: (url?.string ?? URLString), parameters: parameters, isBody: true)
-    }
-
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
deleted file mode 100644
index 5be6b2b08cf..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/AlamofireImplementations.swift
+++ /dev/null
@@ -1,374 +0,0 @@
-// AlamofireImplementations.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-class AlamofireRequestBuilderFactory: RequestBuilderFactory {
-    func getBuilder<T>() -> RequestBuilder<T>.Type {
-        return AlamofireRequestBuilder<T>.self
-    }
-}
-
-private struct SynchronizedDictionary<K: Hashable, V> {
-
-    private var dictionary = [K: V]()
-    private let queue = DispatchQueue(
-        label: "SynchronizedDictionary",
-        qos: DispatchQoS.userInitiated,
-        attributes: [DispatchQueue.Attributes.concurrent],
-        autoreleaseFrequency: DispatchQueue.AutoreleaseFrequency.inherit,
-        target: nil
-    )
-
-    public subscript(key: K) -> V? {
-        get {
-            var value: V?
-
-            queue.sync {
-                value = self.dictionary[key]
-            }
-
-            return value
-        }
-        set {
-            queue.sync(flags: DispatchWorkItemFlags.barrier) {
-                self.dictionary[key] = newValue
-            }
-        }
-    }
-
-}
-
-class JSONEncodingWrapper: ParameterEncoding {
-    var bodyParameters: Any?
-    var encoding: JSONEncoding = JSONEncoding()
-
-    public init(parameters: Any?) {
-        self.bodyParameters = parameters
-    }
-
-    public func encode(_ urlRequest: URLRequestConvertible, with parameters: Parameters?) throws -> URLRequest {
-        return try encoding.encode(urlRequest, withJSONObject: bodyParameters)
-    }
-}
-
-// Store manager to retain its reference
-private var managerStore = SynchronizedDictionary<String, Alamofire.SessionManager>()
-
-open class AlamofireRequestBuilder<T>: RequestBuilder<T> {
-    required public init(method: String, URLString: String, parameters: Any?, isBody: Bool, headers: [String : String] = [:]) {
-        super.init(method: method, URLString: URLString, parameters: parameters, isBody: isBody, headers: headers)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the session
-     configuration.
-     */
-    open func createSessionManager() -> Alamofire.SessionManager {
-        let configuration = URLSessionConfiguration.default
-        configuration.httpAdditionalHeaders = buildHeaders()
-        return Alamofire.SessionManager(configuration: configuration)
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the Content-Type
-     that is given to an uploaded form part.
-
-     Return nil to use the default behavior (inferring the Content-Type from
-     the file extension).  Return the desired Content-Type otherwise.
-     */
-    open func contentTypeForFormPart(fileURL: URL) -> String? {
-        return nil
-    }
-
-    /**
-     May be overridden by a subclass if you want to control the request
-     configuration (e.g. to override the cache policy).
-     */
-    open func makeRequest(manager: SessionManager, method: HTTPMethod, encoding: ParameterEncoding, headers: [String:String]) -> DataRequest {
-        return manager.request(URLString, method: method, parameters: parameters as? Parameters, encoding: encoding, headers: headers)
-    }
-
-    override open func execute(_ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        let managerId:String = UUID().uuidString
-        // Create a new manager for each request to customize its request header
-        let manager = createSessionManager()
-        managerStore[managerId] = manager
-
-        let encoding:ParameterEncoding = isBody ? JSONEncodingWrapper(parameters: parameters) : URLEncoding()
-
-        let xMethod = Alamofire.HTTPMethod(rawValue: method)
-
-        let param = parameters as? Parameters
-        let fileKeys = param == nil ? [] : param!.filter { $1 is NSURL }
-                                                           .map { $0.0 }
-
-        if fileKeys.count > 0 {
-            manager.upload(multipartFormData: { mpForm in
-                for (k, v) in param! {
-                    switch v {
-                    case let fileURL as URL:
-                        if let mimeType = self.contentTypeForFormPart(fileURL: fileURL) {
-                            mpForm.append(fileURL, withName: k, fileName: fileURL.lastPathComponent, mimeType: mimeType)
-                        }
-                        else {
-                            mpForm.append(fileURL, withName: k)
-                        }
-                    case let string as String:
-                        mpForm.append(string.data(using: String.Encoding.utf8)!, withName: k)
-                    case let number as NSNumber:
-                        mpForm.append(number.stringValue.data(using: String.Encoding.utf8)!, withName: k)
-                    default:
-                        fatalError("Unprocessable value \(v) with key \(k)")
-                    }
-                }
-                }, to: URLString, method: xMethod!, headers: nil, encodingCompletion: { encodingResult in
-                switch encodingResult {
-                case .success(let upload, _, _):
-                    if let onProgressReady = self.onProgressReady {
-                        onProgressReady(upload.uploadProgress)
-                    }
-                    self.processRequest(request: upload, managerId, completion)
-                case .failure(let encodingError):
-                    completion(nil, ErrorResponse.HttpError(statusCode: 415, data: nil, error: encodingError))
-                }
-            })
-        } else {
-            let request = makeRequest(manager: manager, method: xMethod!, encoding: encoding, headers: headers)
-            if let onProgressReady = self.onProgressReady {
-                onProgressReady(request.progress)
-            }
-            processRequest(request: request, managerId, completion)
-        }
-
-    }
-
-    private func processRequest(request: DataRequest, _ managerId: String, _ completion: @escaping (_ response: Response<T>?, _ error: ErrorResponse?) -> Void) {
-        if let credential = self.credential {
-            request.authenticate(usingCredential: credential)
-        }
-
-        let cleanupRequest = {
-            managerStore[managerId] = nil
-        }
-
-        let validatedRequest = request.validate()
-
-        switch T.self {
-        case is String.Type:
-            validatedRequest.responseString(completionHandler: { (stringResponse) in
-                cleanupRequest()
-
-                if stringResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: stringResponse.response?.statusCode ?? 500, data: stringResponse.data, error: stringResponse.result.error as Error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: stringResponse.response!,
-                        body: ((stringResponse.result.value ?? "") as! T)
-                    ),
-                    nil
-                )
-            })
-        case is Void.Type:
-            validatedRequest.responseData(completionHandler: { (voidResponse) in
-                cleanupRequest()
-
-                if voidResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: voidResponse.response?.statusCode ?? 500, data: voidResponse.data, error: voidResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: voidResponse.response!,
-                        body: nil),
-                    nil
-                )
-            })
-        case is Data.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                if dataResponse.result.isFailure {
-                    completion(
-                        nil,
-                        ErrorResponse.HttpError(statusCode: dataResponse.response?.statusCode ?? 500, data: dataResponse.data, error: dataResponse.result.error!)
-                    )
-                    return
-                }
-
-                completion(
-                    Response(
-                        response: dataResponse.response!,
-                        body: (dataResponse.data as! T)
-                    ),
-                    nil
-                )
-            })
-        case is URL.Type:
-            validatedRequest.responseData(completionHandler: { (dataResponse) in
-                cleanupRequest()
-
-                do {
-
-                    guard !dataResponse.result.isFailure else {
-                        throw DownloadException.responseFailed
-                    }
-
-                    guard let data = dataResponse.data else {
-                        throw DownloadException.responseDataMissing
-                    }
-
-                    guard let request = request.request else {
-                        throw DownloadException.requestMissing
-                    }
-
-                    let fileManager = FileManager.default
-                    let urlRequest = try request.asURLRequest()
-                    let documentsDirectory = fileManager.urls(for: .documentDirectory, in: .userDomainMask)[0]
-                    let requestURL = try self.getURL(from: urlRequest)
-
-                    var requestPath = try self.getPath(from: requestURL)
-
-                    if let headerFileName = self.getFileName(fromContentDisposition: dataResponse.response?.allHeaderFields["Content-Disposition"] as? String) {
-                        requestPath = requestPath.appending("/\(headerFileName)")
-                    }
-
-                    let filePath = documentsDirectory.appendingPathComponent(requestPath)
-                    let directoryPath = filePath.deletingLastPathComponent().path
-
-                    try fileManager.createDirectory(atPath: directoryPath, withIntermediateDirectories: true, attributes: nil)
-                    try data.write(to: filePath, options: .atomic)
-
-                    completion(
-                        Response(
-                            response: dataResponse.response!,
-                            body: (filePath as! T)
-                        ),
-                        nil
-                    )
-
-                } catch let requestParserError as DownloadException {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data:  dataResponse.data, error: requestParserError))
-                } catch let error {
-                    completion(nil, ErrorResponse.HttpError(statusCode: 400, data: dataResponse.data, error: error))
-                }
-                return
-            })
-        default:
-            validatedRequest.responseJSON(options: .allowFragments) { response in
-                cleanupRequest()
-
-                if response.result.isFailure {
-                    completion(nil, ErrorResponse.HttpError(statusCode: response.response?.statusCode ?? 500, data: response.data, error: response.result.error!))
-                    return
-                }
-
-                // handle HTTP 204 No Content
-                // NSNull would crash decoders
-                if response.response?.statusCode == 204 && response.result.value is NSNull{
-                    completion(nil, nil)
-                    return
-                }
-
-                if () is T {
-                    completion(Response(response: response.response!, body: (() as! T)), nil)
-                    return
-                }
-                if let json: Any = response.result.value {
-                    let decoded = Decoders.decode(clazz: T.self, source: json as AnyObject, instance: nil)
-                    switch decoded {
-                    case let .success(object): completion(Response(response: response.response!, body: object), nil)
-                    case let .failure(error): completion(nil, ErrorResponse.DecodeError(response: response.data, decodeError: error))
-                    }
-                    return
-                } else if "" is T {
-                    completion(Response(response: response.response!, body: ("" as! T)), nil)
-                    return
-                }
-
-                completion(nil, ErrorResponse.HttpError(statusCode: 500, data: nil, error: NSError(domain: "localhost", code: 500, userInfo: ["reason": "unreacheable code"])))
-            }
-        }
-    }
-
-    open func buildHeaders() -> [String: String] {
-        var httpHeaders = SessionManager.defaultHTTPHeaders
-        for (key, value) in self.headers {
-            httpHeaders[key] = value
-        }
-        return httpHeaders
-    }
-
-    fileprivate func getFileName(fromContentDisposition contentDisposition : String?) -> String? {
-
-        guard let contentDisposition = contentDisposition else {
-            return nil
-        }
-
-        let items = contentDisposition.components(separatedBy: ";")
-
-        var filename : String? = nil
-
-        for contentItem in items {
-
-            let filenameKey = "filename="
-            guard let range = contentItem.range(of: filenameKey) else {
-                break
-            }
-
-            filename = contentItem
-            return filename?
-                .replacingCharacters(in: range, with:"")
-                .replacingOccurrences(of: "\"", with: "")
-                .trimmingCharacters(in: .whitespacesAndNewlines)
-        }
-
-        return filename
-
-    }
-
-    fileprivate func getPath(from url : URL) throws -> String {
-
-        guard var path = URLComponents(url: url, resolvingAgainstBaseURL: true)?.path else {
-            throw DownloadException.requestMissingPath
-        }
-
-        if path.hasPrefix("/") {
-            path.remove(at: path.startIndex)
-        }
-
-        return path
-
-    }
-
-    fileprivate func getURL(from urlRequest : URLRequest) throws -> URL {
-
-        guard let url = urlRequest.url else {
-            throw DownloadException.requestMissingURL
-        }
-
-        return url
-    }
-}
-
-fileprivate enum DownloadException : Error {
-    case responseDataMissing
-    case responseFailed
-    case requestMissing
-    case requestMissingPath
-    case requestMissingURL
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Configuration.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Configuration.swift
deleted file mode 100644
index b9e2e497683..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Configuration.swift
+++ /dev/null
@@ -1,15 +0,0 @@
-// Configuration.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-open class Configuration {
-
-	// This value is used to configure the date formatter that is used to serialize dates into JSON format.
-	// You must set it prior to encoding any dates, and it will only be read once.
-    open static var dateFormat = "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ"
-
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Extensions.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Extensions.swift
deleted file mode 100644
index e83bfe67cb7..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Extensions.swift
+++ /dev/null
@@ -1,187 +0,0 @@
-// Extensions.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-import Alamofire
-
-extension Bool: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Float: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension Int32: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int32) }
-}
-
-extension Int64: JSONEncodable {
-    func encodeToJSON() -> Any { return NSNumber(value: self as Int64) }
-}
-
-extension Double: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-extension String: JSONEncodable {
-    func encodeToJSON() -> Any { return self as Any }
-}
-
-private func encodeIfPossible<T>(_ object: T) -> Any {
-    if let encodableObject = object as? JSONEncodable {
-        return encodableObject.encodeToJSON()
-    } else {
-        return object as Any
-    }
-}
-
-extension Array: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.map(encodeIfPossible)
-    }
-}
-
-extension Dictionary: JSONEncodable {
-    func encodeToJSON() -> Any {
-        var dictionary = [AnyHashable: Any]()
-        for (key, value) in self {
-            dictionary[key] = encodeIfPossible(value)
-        }
-        return dictionary as Any
-    }
-}
-
-extension Data: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.base64EncodedString(options: Data.Base64EncodingOptions())
-    }
-}
-
-private let dateFormatter: DateFormatter = {
-    let fmt = DateFormatter()
-    fmt.dateFormat = Configuration.dateFormat
-    fmt.locale = Locale(identifier: "en_US_POSIX")
-    return fmt
-}()
-
-extension Date: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return dateFormatter.string(from: self) as Any
-    }
-}
-
-extension UUID: JSONEncodable {
-    func encodeToJSON() -> Any {
-        return self.uuidString
-    }
-}
-
-/// Represents an ISO-8601 full-date (RFC-3339).
-/// ex: 12-31-1999
-/// https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
-public final class ISOFullDate: CustomStringConvertible {
-
-    public let year: Int
-    public let month: Int
-    public let day: Int
-
-    public init(year: Int, month: Int, day: Int) {
-        self.year = year
-        self.month = month
-        self.day = day
-    }
-
-    /**
-     Converts a Date to an ISOFullDate. Only interested in the year, month, day components.
-
-     - parameter date: The date to convert.
-
-     - returns: An ISOFullDate constructed from the year, month, day of the date.
-     */
-    public static func from(date: Date) -> ISOFullDate? {
-        let calendar = Calendar(identifier: .gregorian)
-
-        let components = calendar.dateComponents(
-            [
-                .year,
-                .month,
-                .day,
-            ],
-            from: date
-        )
-
-        guard
-            let year = components.year,
-            let month = components.month,
-            let day = components.day
-        else {
-            return nil
-        }
-
-        return ISOFullDate(
-            year: year,
-            month: month,
-            day: day
-        )
-    }
-
-    /**
-     Converts a ISO-8601 full-date string to an ISOFullDate.
-
-     - parameter string: The ISO-8601 full-date format string to convert.
-
-     - returns: An ISOFullDate constructed from the string.
-     */
-    public static func from(string: String) -> ISOFullDate? {
-        let components = string
-            .characters
-            .split(separator: "-")
-            .map(String.init)
-            .flatMap { Int($0) }
-        guard components.count == 3 else { return nil }
-
-        return ISOFullDate(
-            year: components[0],
-            month: components[1],
-            day: components[2]
-        )
-    }
-
-    /**
-     Converts the receiver to a Date, in the default time zone.
-
-     - returns: A Date from the components of the receiver, in the default time zone.
-     */
-    public func toDate() -> Date? {
-        var components = DateComponents()
-        components.year = year
-        components.month = month
-        components.day = day
-        components.timeZone = TimeZone.ReferenceType.default
-        let calendar = Calendar(identifier: .gregorian)
-        return calendar.date(from: components)
-    }
-
-    // MARK: CustomStringConvertible
-
-    public var description: String {
-        return "\(year)-\(month)-\(day)"
-    }
-
-}
-
-extension ISOFullDate: JSONEncodable {
-    public func encodeToJSON() -> Any {
-        return "\(year)-\(month)-\(day)"
-    }
-}
-
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models.swift
deleted file mode 100644
index ae32e6fab12..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models.swift
+++ /dev/null
@@ -1,1124 +0,0 @@
-// Models.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-protocol JSONEncodable {
-    func encodeToJSON() -> Any
-}
-
-public enum ErrorResponse : Error {
-    case HttpError(statusCode: Int, data: Data?, error: Error)
-    case DecodeError(response: Data?, decodeError: DecodeError)
-}
-
-open class Response<T> {
-    open let statusCode: Int
-    open let header: [String: String]
-    open let body: T?
-
-    public init(statusCode: Int, header: [String: String], body: T?) {
-        self.statusCode = statusCode
-        self.header = header
-        self.body = body
-    }
-
-    public convenience init(response: HTTPURLResponse, body: T?) {
-        let rawHeader = response.allHeaderFields
-        var header = [String:String]()
-        for case let (key, value) as (String, String) in rawHeader {
-            header[key] = value
-        }
-        self.init(statusCode: response.statusCode, header: header, body: body)
-    }
-}
-
-public enum Decoded<ValueType> {
-    case success(ValueType)
-    case failure(DecodeError)
-}
-
-public extension Decoded {
-    var value: ValueType? {
-        switch self {
-        case let .success(value):
-            return value
-        case .failure:
-            return nil
-        }
-    }
-}
-
-public enum DecodeError {
-    case typeMismatch(expected: String, actual: String)
-    case missingKey(key: String)
-    case parseError(message: String)
-}
-
-private var once = Int()
-class Decoders {
-    static fileprivate var decoders = Dictionary<String, ((AnyObject, AnyObject?) -> AnyObject)>()
-
-    static func addDecoder<T>(clazz: T.Type, decoder: @escaping ((AnyObject, AnyObject?) -> Decoded<T>)) {
-        let key = "\(T.self)"
-        decoders[key] = { decoder($0, $1) as AnyObject }
-    }
-
-    static func decode<T>(clazz: T.Type, discriminator: String, source: AnyObject) -> Decoded<T> {
-        let key = discriminator
-        if let decoder = decoders[key], let value = decoder(source, nil) as? Decoded<T> {
-            return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: [T].Type, source: AnyObject) -> Decoded<[T]> {
-        if let sourceArray = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in sourceArray {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value):
-                    values.append(value)
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        switch Decoders.decode(clazz: T.self, source: source, instance: nil) {
-    	    case let .success(value):
-                return .success(value)
-            case let .failure(error):
-                return .failure(error)
-        }
-    }
-
-    static open func decode<T: RawRepresentable>(clazz: T.Type, source: AnyObject) -> Decoded<T> {
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject) -> Decoded<[Key:T]> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value):
-                    dictionary[key] = value
-                case let .failure(error):
-                    return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        guard !(source is NSNull), source != nil else { return .success(nil) }
-        if let value = source as? T.RawValue {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "\(T.RawValue.self) matching a case from the enumeration \(T.self)", actual: String(describing: type(of: source))))
-        }
-    }
-
-    static func decode<T>(clazz: T.Type, source: AnyObject, instance: AnyObject?) -> Decoded<T> {
-        initialize()
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int32.Type {
-            return .success(value)
-        }
-        if let sourceNumber = source as? NSNumber, let value = sourceNumber.int32Value as? T, T.self is Int64.Type {
-     	    return .success(value)
-        }
-        if let intermediate = source as? String, let value = UUID(uuidString: intermediate) as? T, source is String, T.self is UUID.Type {
-            return .success(value)
-        }
-        if let value = source as? T {
-            return .success(value)
-        }
-        if let intermediate = source as? String, let value = Data(base64Encoded: intermediate) as? T {
-            return .success(value)
-        }
-
-        let key = "\(T.self)"
-        if let decoder = decoders[key], let value = decoder(source, instance) as? Decoded<T> {
-           return value
-        } else {
-            return .failure(.typeMismatch(expected: String(describing: clazz), actual: String(describing: source)))
-        }
-    }
-
-    //Convert a Decoded so that its value is optional. DO WE STILL NEED THIS?
-    static func toOptional<T>(decoded: Decoded<T>) -> Decoded<T?> {
-        return .success(decoded.value)
-    }
-
-    static func decodeOptional<T>(clazz: T.Type, source: AnyObject?) -> Decoded<T?> {
-        if let source = source, !(source is NSNull) {
-            switch Decoders.decode(clazz: clazz, source: source, instance: nil) {
-            case let .success(value): return .success(value)
-            case let .failure(error): return .failure(error)
-            }
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> where T: RawRepresentable {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decodeOptional(clazz: T.self, source: sourceValue) {
-                case let .success(value): if let value = value { values.append(value) }
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T>(clazz: [T].Type, source: AnyObject?) -> Decoded<[T]?> {
-        if let source = source as? [AnyObject] {
-            var values = [T]()
-            for sourceValue in source {
-                switch Decoders.decode(clazz: T.self, source: sourceValue, instance: nil) {
-                case let .success(value): values.append(value)
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(values)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T, Key: Hashable>(clazz: [Key:T].Type, source: AnyObject?) -> Decoded<[Key:T]?> {
-        if let sourceDictionary = source as? [Key: AnyObject] {
-            var dictionary = [Key:T]()
-            for (key, value) in sourceDictionary {
-                switch Decoders.decode(clazz: T.self, source: value, instance: nil) {
-                case let .success(value): dictionary[key] = value
-                case let .failure(error): return .failure(error)
-                }
-            }
-            return .success(dictionary)
-        } else {
-            return .success(nil)
-        }
-    }
-
-    static func decodeOptional<T: RawRepresentable, U: AnyObject>(clazz: T, source: AnyObject) -> Decoded<T?> where T.RawValue == U {
-        if let value = source as? U {
-            if let enumValue = T.init(rawValue: value) {
-                return .success(enumValue)
-            } else {
-                return .failure(.typeMismatch(expected: "A value from the enumeration \(T.self)", actual: "\(value)"))
-            }
-        } else {
-            return .failure(.typeMismatch(expected: "String", actual: String(describing: type(of: source))))
-        }
-    }
-
-
-    private static var __once: () = {
-        let formatters = [
-            "yyyy-MM-dd",
-            "yyyy-MM-dd'T'HH:mm:ssZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss.SSSZZZZZ",
-            "yyyy-MM-dd'T'HH:mm:ss'Z'",
-            "yyyy-MM-dd'T'HH:mm:ss.SSS",
-            "yyyy-MM-dd HH:mm:ss"
-        ].map { (format: String) -> DateFormatter in
-            let formatter = DateFormatter()
-            formatter.locale = Locale(identifier: "en_US_POSIX")
-            formatter.dateFormat = format
-            return formatter
-        }
-        // Decoder for Date
-        Decoders.addDecoder(clazz: Date.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Date> in
-           if let sourceString = source as? String {
-                for formatter in formatters {
-                    if let date = formatter.date(from: sourceString) {
-                        return .success(date)
-                    }
-                }
-            }
-            if let sourceInt = source as? Int {
-                // treat as a java date
-                return .success(Date(timeIntervalSince1970: Double(sourceInt / 1000) ))
-            }
-            if source is String || source is Int {
-                return .failure(.parseError(message: "Could not decode date"))
-            } else {
-                return .failure(.typeMismatch(expected: "String or Int", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for ISOFullDate
-        Decoders.addDecoder(clazz: ISOFullDate.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ISOFullDate> in
-            if let string = source as? String,
-               let isoDate = ISOFullDate.from(string: string) {
-                return .success(isoDate)
-            } else {
-            	return .failure(.typeMismatch(expected: "ISO date", actual: "\(source)"))
-            }
-        }
-
-        // Decoder for [AdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [AdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[AdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [AdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for AdditionalPropertiesClass
-        Decoders.addDecoder(clazz: AdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<AdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = AdditionalPropertiesClass()
-                switch Decoders.decodeOptional(clazz: [String:String].self, source: sourceDictionary["map_property"] as AnyObject?) {
-                case let .success(value): _result.mapProperty = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_of_map_property"] as AnyObject?) {
-                case let .success(value): _result.mapOfMapProperty = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "AdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Animal]
-        Decoders.addDecoder(clazz: [Animal].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Animal]> in
-            return Decoders.decode(clazz: [Animal].self, source: source)
-        }
-
-        // Decoder for Animal
-        Decoders.addDecoder(clazz: Animal.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Animal> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                // Check discriminator to support inheritance
-                if let discriminator = sourceDictionary["className"] as? String, instance == nil && discriminator != "Animal"{
-                    return Decoders.decode(clazz: Animal.self, discriminator: discriminator, source: source)
-                }
-                guard let classNameSource = sourceDictionary["className"] as AnyObject? else {
-                    return .failure(.missingKey(key: "className"))
-                }
-                guard let className = Decoders.decode(clazz: String.self.self, source: classNameSource).value else {
-                    return .failure(.typeMismatch(expected: "Animal", actual: "\(classNameSource)"))
-                }
-                let _result = Animal(className: className)
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Animal", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ApiResponse]
-        Decoders.addDecoder(clazz: [ApiResponse].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ApiResponse]> in
-            return Decoders.decode(clazz: [ApiResponse].self, source: source)
-        }
-
-        // Decoder for ApiResponse
-        Decoders.addDecoder(clazz: ApiResponse.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ApiResponse> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = ApiResponse()
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["code"] as AnyObject?) {
-                case let .success(value): _result.code = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["type"] as AnyObject?) {
-                case let .success(value): _result.type = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["message"] as AnyObject?) {
-                case let .success(value): _result.message = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ApiResponse", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = ArrayOfArrayOfNumberOnly()
-                switch Decoders.decodeOptional(clazz: [[Double]].self, source: sourceDictionary["ArrayArrayNumber"] as AnyObject?) {
-                case let .success(value): _result.arrayArrayNumber = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayOfNumberOnly]
-        Decoders.addDecoder(clazz: [ArrayOfNumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayOfNumberOnly]> in
-            return Decoders.decode(clazz: [ArrayOfNumberOnly].self, source: source)
-        }
-
-        // Decoder for ArrayOfNumberOnly
-        Decoders.addDecoder(clazz: ArrayOfNumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayOfNumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = ArrayOfNumberOnly()
-                switch Decoders.decodeOptional(clazz: [Double].self, source: sourceDictionary["ArrayNumber"] as AnyObject?) {
-                case let .success(value): _result.arrayNumber = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayOfNumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ArrayTest]
-        Decoders.addDecoder(clazz: [ArrayTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ArrayTest]> in
-            return Decoders.decode(clazz: [ArrayTest].self, source: source)
-        }
-
-        // Decoder for ArrayTest
-        Decoders.addDecoder(clazz: ArrayTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ArrayTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = ArrayTest()
-                switch Decoders.decodeOptional(clazz: [String].self, source: sourceDictionary["array_of_string"] as AnyObject?) {
-                case let .success(value): _result.arrayOfString = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: [[Int64]].self, source: sourceDictionary["array_array_of_integer"] as AnyObject?) {
-                case let .success(value): _result.arrayArrayOfInteger = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: [[ReadOnlyFirst]].self, source: sourceDictionary["array_array_of_model"] as AnyObject?) {
-                case let .success(value): _result.arrayArrayOfModel = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ArrayTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Capitalization]
-        Decoders.addDecoder(clazz: [Capitalization].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Capitalization]> in
-            return Decoders.decode(clazz: [Capitalization].self, source: source)
-        }
-
-        // Decoder for Capitalization
-        Decoders.addDecoder(clazz: Capitalization.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Capitalization> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = Capitalization()
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["smallCamel"] as AnyObject?) {
-                case let .success(value): _result.smallCamel = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["CapitalCamel"] as AnyObject?) {
-                case let .success(value): _result.capitalCamel = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["small_Snake"] as AnyObject?) {
-                case let .success(value): _result.smallSnake = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["Capital_Snake"] as AnyObject?) {
-                case let .success(value): _result.capitalSnake = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["SCA_ETH_Flow_Points"] as AnyObject?) {
-                case let .success(value): _result.sCAETHFlowPoints = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["ATT_NAME"] as AnyObject?) {
-                case let .success(value): _result.ATT_NAME = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Capitalization", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Cat]
-        Decoders.addDecoder(clazz: [Cat].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Cat]> in
-            return Decoders.decode(clazz: [Cat].self, source: source)
-        }
-
-        // Decoder for Cat
-        Decoders.addDecoder(clazz: Cat.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Cat> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                guard let classNameSource = sourceDictionary["className"] as AnyObject? else {
-                    return .failure(.missingKey(key: "className"))
-                }
-                guard let className = Decoders.decode(clazz: String.self.self, source: classNameSource).value else {
-                    return .failure(.typeMismatch(expected: "Cat", actual: "\(classNameSource)"))
-                }
-                let _result = Cat(className: className)
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["declawed"] as AnyObject?) {
-                case let .success(value): _result.declawed = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Cat", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Category]
-        Decoders.addDecoder(clazz: [Category].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Category]> in
-            return Decoders.decode(clazz: [Category].self, source: source)
-        }
-
-        // Decoder for Category
-        Decoders.addDecoder(clazz: Category.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Category> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = Category()
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Category", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ClassModel]
-        Decoders.addDecoder(clazz: [ClassModel].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ClassModel]> in
-            return Decoders.decode(clazz: [ClassModel].self, source: source)
-        }
-
-        // Decoder for ClassModel
-        Decoders.addDecoder(clazz: ClassModel.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ClassModel> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = ClassModel()
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["_class"] as AnyObject?) {
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ClassModel", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Client]
-        Decoders.addDecoder(clazz: [Client].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Client]> in
-            return Decoders.decode(clazz: [Client].self, source: source)
-        }
-
-        // Decoder for Client
-        Decoders.addDecoder(clazz: Client.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Client> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = Client()
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["client"] as AnyObject?) {
-                case let .success(value): _result.client = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Client", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Dog]
-        Decoders.addDecoder(clazz: [Dog].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Dog]> in
-            return Decoders.decode(clazz: [Dog].self, source: source)
-        }
-
-        // Decoder for Dog
-        Decoders.addDecoder(clazz: Dog.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Dog> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                guard let classNameSource = sourceDictionary["className"] as AnyObject? else {
-                    return .failure(.missingKey(key: "className"))
-                }
-                guard let className = Decoders.decode(clazz: String.self.self, source: classNameSource).value else {
-                    return .failure(.typeMismatch(expected: "Dog", actual: "\(classNameSource)"))
-                }
-                let _result = Dog(className: className)
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["color"] as AnyObject?) {
-                case let .success(value): _result.color = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["breed"] as AnyObject?) {
-                case let .success(value): _result.breed = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Dog", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumArrays]
-        Decoders.addDecoder(clazz: [EnumArrays].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumArrays]> in
-            return Decoders.decode(clazz: [EnumArrays].self, source: source)
-        }
-
-        // Decoder for EnumArrays
-        Decoders.addDecoder(clazz: EnumArrays.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumArrays> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = EnumArrays()
-                switch Decoders.decodeOptional(clazz: EnumArrays.JustSymbol.self, source: sourceDictionary["just_symbol"] as AnyObject?) {
-                case let .success(value): _result.justSymbol = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Array<EnumArrays.ArrayEnum>.self, source: sourceDictionary["array_enum"] as AnyObject?) {
-                case let .success(value): _result.arrayEnum = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumArrays", actual: "\(source)"))
-            }
-        }
-        // Decoder for [EnumClass]
-        Decoders.addDecoder(clazz: [EnumClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumClass]> in
-            return Decoders.decode(clazz: [EnumClass].self, source: source)
-        }
-
-        // Decoder for EnumClass
-        Decoders.addDecoder(clazz: EnumClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumClass> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: EnumClass.self, source: source, instance: instance)
-        }
-        // Decoder for [EnumTest]
-        Decoders.addDecoder(clazz: [EnumTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[EnumTest]> in
-            return Decoders.decode(clazz: [EnumTest].self, source: source)
-        }
-
-        // Decoder for EnumTest
-        Decoders.addDecoder(clazz: EnumTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<EnumTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = EnumTest()
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumString.self, source: sourceDictionary["enum_string"] as AnyObject?) {
-                case let .success(value): _result.enumString = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumInteger.self, source: sourceDictionary["enum_integer"] as AnyObject?) {
-                case let .success(value): _result.enumInteger = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: EnumTest.EnumNumber.self, source: sourceDictionary["enum_number"] as AnyObject?) {
-                case let .success(value): _result.enumNumber = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: OuterEnum.self, source: sourceDictionary["outerEnum"] as AnyObject?) {
-                case let .success(value): _result.outerEnum = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "EnumTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [FormatTest]
-        Decoders.addDecoder(clazz: [FormatTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[FormatTest]> in
-            return Decoders.decode(clazz: [FormatTest].self, source: source)
-        }
-
-        // Decoder for FormatTest
-        Decoders.addDecoder(clazz: FormatTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<FormatTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                guard let numberSource = sourceDictionary["number"] as AnyObject? else {
-                    return .failure(.missingKey(key: "number"))
-                }
-                guard let number = Decoders.decode(clazz: Double.self.self, source: numberSource).value else {
-                    return .failure(.typeMismatch(expected: "FormatTest", actual: "\(numberSource)"))
-                }
-                guard let byteSource = sourceDictionary["byte"] as AnyObject? else {
-                    return .failure(.missingKey(key: "byte"))
-                }
-                guard let byte = Decoders.decode(clazz: Data.self.self, source: byteSource).value else {
-                    return .failure(.typeMismatch(expected: "FormatTest", actual: "\(byteSource)"))
-                }
-                guard let dateSource = sourceDictionary["date"] as AnyObject? else {
-                    return .failure(.missingKey(key: "date"))
-                }
-                guard let date = Decoders.decode(clazz: ISOFullDate.self.self, source: dateSource).value else {
-                    return .failure(.typeMismatch(expected: "FormatTest", actual: "\(dateSource)"))
-                }
-                guard let passwordSource = sourceDictionary["password"] as AnyObject? else {
-                    return .failure(.missingKey(key: "password"))
-                }
-                guard let password = Decoders.decode(clazz: String.self.self, source: passwordSource).value else {
-                    return .failure(.typeMismatch(expected: "FormatTest", actual: "\(passwordSource)"))
-                }
-                let _result = FormatTest(number: number, byte: byte, date: date, password: password)
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["integer"] as AnyObject?) {
-                case let .success(value): _result.integer = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["int32"] as AnyObject?) {
-                case let .success(value): _result.int32 = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["int64"] as AnyObject?) {
-                case let .success(value): _result.int64 = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Float.self, source: sourceDictionary["float"] as AnyObject?) {
-                case let .success(value): _result.float = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["double"] as AnyObject?) {
-                case let .success(value): _result.double = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["string"] as AnyObject?) {
-                case let .success(value): _result.string = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: URL.self, source: sourceDictionary["binary"] as AnyObject?) {
-                case let .success(value): _result.binary = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "FormatTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [HasOnlyReadOnly]
-        Decoders.addDecoder(clazz: [HasOnlyReadOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[HasOnlyReadOnly]> in
-            return Decoders.decode(clazz: [HasOnlyReadOnly].self, source: source)
-        }
-
-        // Decoder for HasOnlyReadOnly
-        Decoders.addDecoder(clazz: HasOnlyReadOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<HasOnlyReadOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = HasOnlyReadOnly()
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["foo"] as AnyObject?) {
-                case let .success(value): _result.foo = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "HasOnlyReadOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [List]
-        Decoders.addDecoder(clazz: [List].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[List]> in
-            return Decoders.decode(clazz: [List].self, source: source)
-        }
-
-        // Decoder for List
-        Decoders.addDecoder(clazz: List.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<List> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = List()
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["123-list"] as AnyObject?) {
-                case let .success(value): _result._123list = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "List", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MapTest]
-        Decoders.addDecoder(clazz: [MapTest].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MapTest]> in
-            return Decoders.decode(clazz: [MapTest].self, source: source)
-        }
-
-        // Decoder for MapTest
-        Decoders.addDecoder(clazz: MapTest.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MapTest> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = MapTest()
-                switch Decoders.decodeOptional(clazz: [String:[String:String]].self, source: sourceDictionary["map_map_of_string"] as AnyObject?) {
-                case let .success(value): _result.mapMapOfString = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: MapTest.MapOfEnumString.self, source: sourceDictionary["map_of_enum_string"] as AnyObject?) {
-                case let .success(value): _result.mapOfEnumString = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MapTest", actual: "\(source)"))
-            }
-        }
-        // Decoder for [MixedPropertiesAndAdditionalPropertiesClass]
-        Decoders.addDecoder(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[MixedPropertiesAndAdditionalPropertiesClass]> in
-            return Decoders.decode(clazz: [MixedPropertiesAndAdditionalPropertiesClass].self, source: source)
-        }
-
-        // Decoder for MixedPropertiesAndAdditionalPropertiesClass
-        Decoders.addDecoder(clazz: MixedPropertiesAndAdditionalPropertiesClass.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<MixedPropertiesAndAdditionalPropertiesClass> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = MixedPropertiesAndAdditionalPropertiesClass()
-                switch Decoders.decodeOptional(clazz: UUID.self, source: sourceDictionary["uuid"] as AnyObject?) {
-                case let .success(value): _result.uuid = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["dateTime"] as AnyObject?) {
-                case let .success(value): _result.dateTime = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: [String:Animal].self, source: sourceDictionary["map"] as AnyObject?) {
-                case let .success(value): _result.map = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "MixedPropertiesAndAdditionalPropertiesClass", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Model200Response]
-        Decoders.addDecoder(clazz: [Model200Response].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Model200Response]> in
-            return Decoders.decode(clazz: [Model200Response].self, source: source)
-        }
-
-        // Decoder for Model200Response
-        Decoders.addDecoder(clazz: Model200Response.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Model200Response> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = Model200Response()
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["name"] as AnyObject?) {
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["class"] as AnyObject?) {
-                case let .success(value): _result._class = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Model200Response", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Name]
-        Decoders.addDecoder(clazz: [Name].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Name]> in
-            return Decoders.decode(clazz: [Name].self, source: source)
-        }
-
-        // Decoder for Name
-        Decoders.addDecoder(clazz: Name.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Name> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                guard let nameSource = sourceDictionary["name"] as AnyObject? else {
-                    return .failure(.missingKey(key: "name"))
-                }
-                guard let name = Decoders.decode(clazz: Int32.self.self, source: nameSource).value else {
-                    return .failure(.typeMismatch(expected: "Name", actual: "\(nameSource)"))
-                }
-                let _result = Name(name: name)
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["snake_case"] as AnyObject?) {
-                case let .success(value): _result.snakeCase = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["property"] as AnyObject?) {
-                case let .success(value): _result.property = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["123Number"] as AnyObject?) {
-                case let .success(value): _result._123number = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Name", actual: "\(source)"))
-            }
-        }
-        // Decoder for [NumberOnly]
-        Decoders.addDecoder(clazz: [NumberOnly].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[NumberOnly]> in
-            return Decoders.decode(clazz: [NumberOnly].self, source: source)
-        }
-
-        // Decoder for NumberOnly
-        Decoders.addDecoder(clazz: NumberOnly.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<NumberOnly> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = NumberOnly()
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["JustNumber"] as AnyObject?) {
-                case let .success(value): _result.justNumber = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "NumberOnly", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Order]
-        Decoders.addDecoder(clazz: [Order].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Order]> in
-            return Decoders.decode(clazz: [Order].self, source: source)
-        }
-
-        // Decoder for Order
-        Decoders.addDecoder(clazz: Order.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Order> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = Order()
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["petId"] as AnyObject?) {
-                case let .success(value): _result.petId = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["quantity"] as AnyObject?) {
-                case let .success(value): _result.quantity = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Date.self, source: sourceDictionary["shipDate"] as AnyObject?) {
-                case let .success(value): _result.shipDate = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Order.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["complete"] as AnyObject?) {
-                case let .success(value): _result.complete = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Order", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterComposite]
-        Decoders.addDecoder(clazz: [OuterComposite].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterComposite]> in
-            return Decoders.decode(clazz: [OuterComposite].self, source: source)
-        }
-
-        // Decoder for OuterComposite
-        Decoders.addDecoder(clazz: OuterComposite.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterComposite> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = OuterComposite()
-                switch Decoders.decodeOptional(clazz: Double.self, source: sourceDictionary["my_number"] as AnyObject?) {
-                case let .success(value): _result.myNumber = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["my_string"] as AnyObject?) {
-                case let .success(value): _result.myString = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Bool.self, source: sourceDictionary["my_boolean"] as AnyObject?) {
-                case let .success(value): _result.myBoolean = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "OuterComposite", actual: "\(source)"))
-            }
-        }
-        // Decoder for [OuterEnum]
-        Decoders.addDecoder(clazz: [OuterEnum].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[OuterEnum]> in
-            return Decoders.decode(clazz: [OuterEnum].self, source: source)
-        }
-
-        // Decoder for OuterEnum
-        Decoders.addDecoder(clazz: OuterEnum.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<OuterEnum> in
-            //TODO: I don't think we need this anymore
-            return Decoders.decode(clazz: OuterEnum.self, source: source, instance: instance)
-        }
-        // Decoder for [Pet]
-        Decoders.addDecoder(clazz: [Pet].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Pet]> in
-            return Decoders.decode(clazz: [Pet].self, source: source)
-        }
-
-        // Decoder for Pet
-        Decoders.addDecoder(clazz: Pet.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Pet> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                guard let nameSource = sourceDictionary["name"] as AnyObject? else {
-                    return .failure(.missingKey(key: "name"))
-                }
-                guard let name = Decoders.decode(clazz: String.self.self, source: nameSource).value else {
-                    return .failure(.typeMismatch(expected: "Pet", actual: "\(nameSource)"))
-                }
-                guard let photoUrlsSource = sourceDictionary["photoUrls"] as AnyObject? else {
-                    return .failure(.missingKey(key: "photoUrls"))
-                }
-                guard let photoUrls = Decoders.decode(clazz: [String].self.self, source: photoUrlsSource).value else {
-                    return .failure(.typeMismatch(expected: "Pet", actual: "\(photoUrlsSource)"))
-                }
-                let _result = Pet(name: name, photoUrls: photoUrls)
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Category.self, source: sourceDictionary["category"] as AnyObject?) {
-                case let .success(value): _result.category = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: [Tag].self, source: sourceDictionary["tags"] as AnyObject?) {
-                case let .success(value): _result.tags = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Pet.Status.self, source: sourceDictionary["status"] as AnyObject?) {
-                case let .success(value): _result.status = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Pet", actual: "\(source)"))
-            }
-        }
-        // Decoder for [ReadOnlyFirst]
-        Decoders.addDecoder(clazz: [ReadOnlyFirst].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[ReadOnlyFirst]> in
-            return Decoders.decode(clazz: [ReadOnlyFirst].self, source: source)
-        }
-
-        // Decoder for ReadOnlyFirst
-        Decoders.addDecoder(clazz: ReadOnlyFirst.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<ReadOnlyFirst> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = ReadOnlyFirst()
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["bar"] as AnyObject?) {
-                case let .success(value): _result.bar = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["baz"] as AnyObject?) {
-                case let .success(value): _result.baz = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "ReadOnlyFirst", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Return]
-        Decoders.addDecoder(clazz: [Return].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Return]> in
-            return Decoders.decode(clazz: [Return].self, source: source)
-        }
-
-        // Decoder for Return
-        Decoders.addDecoder(clazz: Return.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Return> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = Return()
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["return"] as AnyObject?) {
-                case let .success(value): _result._return = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Return", actual: "\(source)"))
-            }
-        }
-        // Decoder for [SpecialModelName]
-        Decoders.addDecoder(clazz: [SpecialModelName].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[SpecialModelName]> in
-            return Decoders.decode(clazz: [SpecialModelName].self, source: source)
-        }
-
-        // Decoder for SpecialModelName
-        Decoders.addDecoder(clazz: SpecialModelName.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<SpecialModelName> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = SpecialModelName()
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["$special[property.name]"] as AnyObject?) {
-                case let .success(value): _result.specialPropertyName = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "SpecialModelName", actual: "\(source)"))
-            }
-        }
-        // Decoder for [Tag]
-        Decoders.addDecoder(clazz: [Tag].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[Tag]> in
-            return Decoders.decode(clazz: [Tag].self, source: source)
-        }
-
-        // Decoder for Tag
-        Decoders.addDecoder(clazz: Tag.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<Tag> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = Tag()
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["name"] as AnyObject?) {
-                case let .success(value): _result.name = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "Tag", actual: "\(source)"))
-            }
-        }
-        // Decoder for [User]
-        Decoders.addDecoder(clazz: [User].self) { (source: AnyObject, instance: AnyObject?) -> Decoded<[User]> in
-            return Decoders.decode(clazz: [User].self, source: source)
-        }
-
-        // Decoder for User
-        Decoders.addDecoder(clazz: User.self) { (source: AnyObject, instance: AnyObject?) -> Decoded<User> in
-            if let sourceDictionary = source as? [AnyHashable: Any] {
-                let _result = User()
-                switch Decoders.decodeOptional(clazz: Int64.self, source: sourceDictionary["id"] as AnyObject?) {
-                case let .success(value): _result.id = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["username"] as AnyObject?) {
-                case let .success(value): _result.username = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["firstName"] as AnyObject?) {
-                case let .success(value): _result.firstName = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["lastName"] as AnyObject?) {
-                case let .success(value): _result.lastName = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["email"] as AnyObject?) {
-                case let .success(value): _result.email = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["password"] as AnyObject?) {
-                case let .success(value): _result.password = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: String.self, source: sourceDictionary["phone"] as AnyObject?) {
-                case let .success(value): _result.phone = value
-                case let .failure(error): break
-                }
-                switch Decoders.decodeOptional(clazz: Int32.self, source: sourceDictionary["userStatus"] as AnyObject?) {
-                case let .success(value): _result.userStatus = value
-                case let .failure(error): break
-                }
-                return .success(_result)
-            } else {
-                return .failure(.typeMismatch(expected: "User", actual: "\(source)"))
-            }
-        }
-    }()
-
-    static fileprivate func initialize() {
-        _ = Decoders.__once
-    }
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
deleted file mode 100644
index c36f0571b30..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/AdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// AdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class AdditionalPropertiesClass: JSONEncodable {
-
-    public var mapProperty: [String:String]?
-    public var mapOfMapProperty: [String:[String:String]]?
-
-
-    public init(mapProperty: [String:String]?=nil, mapOfMapProperty: [String:[String:String]]?=nil) {
-        self.mapProperty = mapProperty
-        self.mapOfMapProperty = mapOfMapProperty
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_property"] = self.mapProperty?.encodeToJSON()
-        nillableDictionary["map_of_map_property"] = self.mapOfMapProperty?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
deleted file mode 100644
index 97896fa392b..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Animal.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// Animal.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Animal: JSONEncodable {
-
-    public var className: String
-    public var color: String?
-
-
-    public init(className: String, color: String?=nil) {
-        self.className = className
-        self.color = color
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["className"] = self.className
-        nillableDictionary["color"] = self.color
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
deleted file mode 100644
index e7bea63f8ed..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/AnimalFarm.swift
+++ /dev/null
@@ -1,11 +0,0 @@
-//
-// AnimalFarm.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public typealias AnimalFarm = [Animal]
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
deleted file mode 100644
index 37b5e5b6e16..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ApiResponse.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// ApiResponse.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ApiResponse: JSONEncodable {
-
-    public var code: Int32?
-    public var type: String?
-    public var message: String?
-
-
-    public init(code: Int32?=nil, type: String?=nil, message: String?=nil) {
-        self.code = code
-        self.type = type
-        self.message = message
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["code"] = self.code?.encodeToJSON()
-        nillableDictionary["type"] = self.type
-        nillableDictionary["message"] = self.message
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
deleted file mode 100644
index b91012dae97..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// ArrayOfArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayArrayNumber: [[Double]]?
-
-
-    public init(arrayArrayNumber: [[Double]]?=nil) {
-        self.arrayArrayNumber = arrayArrayNumber
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayArrayNumber"] = self.arrayArrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
deleted file mode 100644
index 6aea8924058..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayOfNumberOnly.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// ArrayOfNumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayOfNumberOnly: JSONEncodable {
-
-    public var arrayNumber: [Double]?
-
-
-    public init(arrayNumber: [Double]?=nil) {
-        self.arrayNumber = arrayNumber
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["ArrayNumber"] = self.arrayNumber?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
deleted file mode 100644
index ba65a7a9d7e..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ArrayTest.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// ArrayTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ArrayTest: JSONEncodable {
-
-    public var arrayOfString: [String]?
-    public var arrayArrayOfInteger: [[Int64]]?
-    public var arrayArrayOfModel: [[ReadOnlyFirst]]?
-
-
-    public init(arrayOfString: [String]?=nil, arrayArrayOfInteger: [[Int64]]?=nil, arrayArrayOfModel: [[ReadOnlyFirst]]?=nil) {
-        self.arrayOfString = arrayOfString
-        self.arrayArrayOfInteger = arrayArrayOfInteger
-        self.arrayArrayOfModel = arrayArrayOfModel
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["array_of_string"] = self.arrayOfString?.encodeToJSON()
-        nillableDictionary["array_array_of_integer"] = self.arrayArrayOfInteger?.encodeToJSON()
-        nillableDictionary["array_array_of_model"] = self.arrayArrayOfModel?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
deleted file mode 100644
index a7832c805ff..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Capitalization.swift
+++ /dev/null
@@ -1,44 +0,0 @@
-//
-// Capitalization.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Capitalization: JSONEncodable {
-
-    public var smallCamel: String?
-    public var capitalCamel: String?
-    public var smallSnake: String?
-    public var capitalSnake: String?
-    public var sCAETHFlowPoints: String?
-    /** Name of the pet  */
-    public var ATT_NAME: String?
-
-
-    public init(smallCamel: String?=nil, capitalCamel: String?=nil, smallSnake: String?=nil, capitalSnake: String?=nil, sCAETHFlowPoints: String?=nil, ATT_NAME: String?=nil) {
-        self.smallCamel = smallCamel
-        self.capitalCamel = capitalCamel
-        self.smallSnake = smallSnake
-        self.capitalSnake = capitalSnake
-        self.sCAETHFlowPoints = sCAETHFlowPoints
-        self.ATT_NAME = ATT_NAME
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["smallCamel"] = self.smallCamel
-        nillableDictionary["CapitalCamel"] = self.capitalCamel
-        nillableDictionary["small_Snake"] = self.smallSnake
-        nillableDictionary["Capital_Snake"] = self.capitalSnake
-        nillableDictionary["SCA_ETH_Flow_Points"] = self.sCAETHFlowPoints
-        nillableDictionary["ATT_NAME"] = self.ATT_NAME
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
deleted file mode 100644
index 29d48567ab4..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Cat.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Cat.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Cat: Animal {
-
-    public var declawed: Bool?
-
-
-    public init(className: String, color: String?=nil, declawed: Bool?=nil) {
-        self.declawed = declawed
-    }
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["declawed"] = self.declawed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Category.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
deleted file mode 100644
index 61d01b5e094..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Category.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// Category.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Category: JSONEncodable {
-
-    public var id: Int64?
-    public var name: String?
-
-
-    public init(id: Int64?=nil, name: String?=nil) {
-        self.id = id
-        self.name = name
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
deleted file mode 100644
index 08e922901f4..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ClassModel.swift
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// ClassModel.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model with \&quot;_class\&quot; property */
-open class ClassModel: JSONEncodable {
-
-    public var _class: String?
-
-
-    public init(_class: String?=nil) {
-        self._class = _class
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["_class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Client.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
deleted file mode 100644
index e269311644b..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Client.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Client.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Client: JSONEncodable {
-
-    public var client: String?
-
-
-    public init(client: String?=nil) {
-        self.client = client
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["client"] = self.client
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
deleted file mode 100644
index af87de78f47..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Dog.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// Dog.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Dog: Animal {
-
-    public var breed: String?
-
-
-    public init(className: String, color: String?=nil, breed: String?=nil) {
-        self.breed = breed
-    }
-    // MARK: JSONEncodable
-    override open func encodeToJSON() -> Any {
-        var nillableDictionary = super.encodeToJSON() as? [String:Any?] ?? [String:Any?]()
-        nillableDictionary["breed"] = self.breed
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
deleted file mode 100644
index 09995b1c727..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumArrays.swift
+++ /dev/null
@@ -1,39 +0,0 @@
-//
-// EnumArrays.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumArrays: JSONEncodable {
-
-    public enum JustSymbol: String { 
-        case greaterThanOrEqualTo = ">="
-        case dollar = "$"
-    }
-    public enum ArrayEnum: String { 
-        case fish = ""fish""
-        case crab = ""crab""
-    }
-    public var justSymbol: JustSymbol?
-    public var arrayEnum: [ArrayEnum]?
-
-
-    public init(justSymbol: JustSymbol?=nil, arrayEnum: [ArrayEnum]?=nil) {
-        self.justSymbol = justSymbol
-        self.arrayEnum = arrayEnum
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["just_symbol"] = self.justSymbol?.rawValue
-        nillableDictionary["array_enum"] = self.arrayEnum?.map({$0.rawValue}).encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
deleted file mode 100644
index 73a74ff53f7..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumClass.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// EnumClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum EnumClass: String {
-    case abc = "_abc"
-    case efg = "-efg"
-    case xyz = "(xyz)"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
deleted file mode 100644
index 896b7d33b20..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/EnumTest.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// EnumTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class EnumTest: JSONEncodable {
-
-    public enum EnumString: String { 
-        case upper = "UPPER"
-        case lower = "lower"
-        case empty = ""
-    }
-    public enum EnumInteger: Int32 { 
-        case _1 = 1
-        case number1 = -1
-    }
-    public enum EnumNumber: Double { 
-        case _11 = 1.1
-        case number12 = -1.2
-    }
-    public var enumString: EnumString?
-    public var enumInteger: EnumInteger?
-    public var enumNumber: EnumNumber?
-    public var outerEnum: OuterEnum?
-
-
-    public init(enumString: EnumString?=nil, enumInteger: EnumInteger?=nil, enumNumber: EnumNumber?=nil, outerEnum: OuterEnum?=nil) {
-        self.enumString = enumString
-        self.enumInteger = enumInteger
-        self.enumNumber = enumNumber
-        self.outerEnum = outerEnum
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["enum_string"] = self.enumString?.rawValue
-        nillableDictionary["enum_integer"] = self.enumInteger?.rawValue
-        nillableDictionary["enum_number"] = self.enumNumber?.rawValue
-        nillableDictionary["outerEnum"] = self.outerEnum?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
deleted file mode 100644
index 15fc27c6c03..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/FormatTest.swift
+++ /dev/null
@@ -1,64 +0,0 @@
-//
-// FormatTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class FormatTest: JSONEncodable {
-
-    public var integer: Int32?
-    public var int32: Int32?
-    public var int64: Int64?
-    public var number: Double
-    public var float: Float?
-    public var double: Double?
-    public var string: String?
-    public var byte: Data
-    public var binary: URL?
-    public var date: ISOFullDate
-    public var dateTime: Date?
-    public var uuid: UUID?
-    public var password: String
-
-
-    public init(integer: Int32?=nil, int32: Int32?=nil, int64: Int64?=nil, number: Double, float: Float?=nil, double: Double?=nil, string: String?=nil, byte: Data, binary: URL?=nil, date: ISOFullDate, dateTime: Date?=nil, uuid: UUID?=nil, password: String) {
-        self.integer = integer
-        self.int32 = int32
-        self.int64 = int64
-        self.number = number
-        self.float = float
-        self.double = double
-        self.string = string
-        self.byte = byte
-        self.binary = binary
-        self.date = date
-        self.dateTime = dateTime
-        self.uuid = uuid
-        self.password = password
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["integer"] = self.integer?.encodeToJSON()
-        nillableDictionary["int32"] = self.int32?.encodeToJSON()
-        nillableDictionary["int64"] = self.int64?.encodeToJSON()
-        nillableDictionary["number"] = self.number
-        nillableDictionary["float"] = self.float
-        nillableDictionary["double"] = self.double
-        nillableDictionary["string"] = self.string
-        nillableDictionary["byte"] = self.byte.encodeToJSON()
-        nillableDictionary["binary"] = self.binary?.encodeToJSON()
-        nillableDictionary["date"] = self.date.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["password"] = self.password
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
deleted file mode 100644
index a8c92e3c63b..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/HasOnlyReadOnly.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// HasOnlyReadOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class HasOnlyReadOnly: JSONEncodable {
-
-    public var bar: String?
-    public var foo: String?
-
-
-    public init(bar: String?=nil, foo: String?=nil) {
-        self.bar = bar
-        self.foo = foo
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["foo"] = self.foo
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/List.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/List.swift
deleted file mode 100644
index 5f6850d5580..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/List.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// List.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class List: JSONEncodable {
-
-    public var _123list: String?
-
-
-    public init(_123list: String?=nil) {
-        self._123list = _123list
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["123-list"] = self._123list
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
deleted file mode 100644
index b1f04aad6ce..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/MapTest.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// MapTest.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MapTest: JSONEncodable {
-
-    public enum MapOfEnumString: String { 
-        case upper = ""UPPER""
-        case lower = ""lower""
-    }
-    public var mapMapOfString: [String:[String:String]]?
-    public var mapOfEnumString: [String:String]?
-
-
-    public init(mapMapOfString: [String:[String:String]]?=nil, mapOfEnumString: [String:String]?=nil) {
-        self.mapMapOfString = mapMapOfString
-        self.mapOfEnumString = mapOfEnumString
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["map_map_of_string"] = self.mapMapOfString?.encodeToJSON()//TODO: handle enum map scenario
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
deleted file mode 100644
index 8950fd0dff9..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/MixedPropertiesAndAdditionalPropertiesClass.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// MixedPropertiesAndAdditionalPropertiesClass.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class MixedPropertiesAndAdditionalPropertiesClass: JSONEncodable {
-
-    public var uuid: UUID?
-    public var dateTime: Date?
-    public var map: [String:Animal]?
-
-
-    public init(uuid: UUID?=nil, dateTime: Date?=nil, map: [String:Animal]?=nil) {
-        self.uuid = uuid
-        self.dateTime = dateTime
-        self.map = map
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["uuid"] = self.uuid?.encodeToJSON()
-        nillableDictionary["dateTime"] = self.dateTime?.encodeToJSON()
-        nillableDictionary["map"] = self.map?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
deleted file mode 100644
index f8848eb2c28..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Model200Response.swift
+++ /dev/null
@@ -1,32 +0,0 @@
-//
-// Model200Response.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name starting with number */
-open class Model200Response: JSONEncodable {
-
-    public var name: Int32?
-    public var _class: String?
-
-
-    public init(name: Int32?=nil, _class: String?=nil) {
-        self.name = name
-        self._class = _class
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name?.encodeToJSON()
-        nillableDictionary["class"] = self._class
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Name.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
deleted file mode 100644
index e7516a9de73..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Name.swift
+++ /dev/null
@@ -1,38 +0,0 @@
-//
-// Name.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing model name same as property name */
-open class Name: JSONEncodable {
-
-    public var name: Int32
-    public var snakeCase: Int32?
-    public var property: String?
-    public var _123number: Int32?
-
-
-    public init(name: Int32, snakeCase: Int32?=nil, property: String?=nil, _123number: Int32?=nil) {
-        self.name = name
-        self.snakeCase = snakeCase
-        self.property = property
-        self._123number = _123number
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["name"] = self.name.encodeToJSON()
-        nillableDictionary["snake_case"] = self.snakeCase?.encodeToJSON()
-        nillableDictionary["property"] = self.property
-        nillableDictionary["123Number"] = self._123number?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
deleted file mode 100644
index 5d5351f5bba..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/NumberOnly.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// NumberOnly.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class NumberOnly: JSONEncodable {
-
-    public var justNumber: Double?
-
-
-    public init(justNumber: Double?=nil) {
-        self.justNumber = justNumber
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["JustNumber"] = self.justNumber
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Order.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
deleted file mode 100644
index 1406fc09352..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Order.swift
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Order.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Order: JSONEncodable {
-
-    public enum Status: String { 
-        case placed = "placed"
-        case approved = "approved"
-        case delivered = "delivered"
-    }
-    public var id: Int64?
-    public var petId: Int64?
-    public var quantity: Int32?
-    public var shipDate: Date?
-    /** Order Status */
-    public var status: Status?
-    public var complete: Bool?
-
-
-    public init(id: Int64?=nil, petId: Int64?=nil, quantity: Int32?=nil, shipDate: Date?=nil, status: Status?=nil, complete: Bool?=nil) {
-        self.id = id
-        self.petId = petId
-        self.quantity = quantity
-        self.shipDate = shipDate
-        self.status = status
-        self.complete = complete
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["petId"] = self.petId?.encodeToJSON()
-        nillableDictionary["quantity"] = self.quantity?.encodeToJSON()
-        nillableDictionary["shipDate"] = self.shipDate?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-        nillableDictionary["complete"] = self.complete
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
deleted file mode 100644
index 8a9246536fd..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/OuterComposite.swift
+++ /dev/null
@@ -1,34 +0,0 @@
-//
-// OuterComposite.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class OuterComposite: JSONEncodable {
-
-    public var myNumber: Double?
-    public var myString: String?
-    public var myBoolean: Bool?
-
-
-    public init(myNumber: Double?=nil, myString: String?=nil, myBoolean: Bool?=nil) {
-        self.myNumber = myNumber
-        self.myString = myString
-        self.myBoolean = myBoolean
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["my_number"] = self.myNumber
-        nillableDictionary["my_string"] = self.myString
-        nillableDictionary["my_boolean"] = self.myBoolean
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
deleted file mode 100644
index 29609ed6517..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/OuterEnum.swift
+++ /dev/null
@@ -1,17 +0,0 @@
-//
-// OuterEnum.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-public enum OuterEnum: String {
-    case placed = "placed"
-    case approved = "approved"
-    case delivered = "delivered"
-
-    func encodeToJSON() -> Any { return self.rawValue }
-}
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
deleted file mode 100644
index 23806a1afa3..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Pet.swift
+++ /dev/null
@@ -1,49 +0,0 @@
-//
-// Pet.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Pet: JSONEncodable {
-
-    public enum Status: String { 
-        case available = "available"
-        case pending = "pending"
-        case sold = "sold"
-    }
-    public var id: Int64?
-    public var category: Category?
-    public var name: String
-    public var photoUrls: [String]
-    public var tags: [Tag]?
-    /** pet status in the store */
-    public var status: Status?
-
-
-    public init(id: Int64?=nil, category: Category?=nil, name: String, photoUrls: [String], tags: [Tag]?=nil, status: Status?=nil) {
-        self.id = id
-        self.category = category
-        self.name = name
-        self.photoUrls = photoUrls
-        self.tags = tags
-        self.status = status
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["category"] = self.category?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-        nillableDictionary["photoUrls"] = self.photoUrls.encodeToJSON()
-        nillableDictionary["tags"] = self.tags?.encodeToJSON()
-        nillableDictionary["status"] = self.status?.rawValue
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
deleted file mode 100644
index 4ec4fa8ec79..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/ReadOnlyFirst.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// ReadOnlyFirst.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class ReadOnlyFirst: JSONEncodable {
-
-    public var bar: String?
-    public var baz: String?
-
-
-    public init(bar: String?=nil, baz: String?=nil) {
-        self.bar = bar
-        self.baz = baz
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["bar"] = self.bar
-        nillableDictionary["baz"] = self.baz
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Return.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
deleted file mode 100644
index 052f8ff877f..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Return.swift
+++ /dev/null
@@ -1,29 +0,0 @@
-//
-// Return.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-/** Model for testing reserved words */
-open class Return: JSONEncodable {
-
-    public var _return: Int32?
-
-
-    public init(_return: Int32?=nil) {
-        self._return = _return
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["return"] = self._return?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
deleted file mode 100644
index 54b641849c7..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/SpecialModelName.swift
+++ /dev/null
@@ -1,28 +0,0 @@
-//
-// SpecialModelName.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class SpecialModelName: JSONEncodable {
-
-    public var specialPropertyName: Int64?
-
-
-    public init(specialPropertyName: Int64?=nil) {
-        self.specialPropertyName = specialPropertyName
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["$special[property.name]"] = self.specialPropertyName?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
deleted file mode 100644
index 29d070ffeb5..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/Tag.swift
+++ /dev/null
@@ -1,31 +0,0 @@
-//
-// Tag.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class Tag: JSONEncodable {
-
-    public var id: Int64?
-    public var name: String?
-
-
-    public init(id: Int64?=nil, name: String?=nil) {
-        self.id = id
-        self.name = name
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["name"] = self.name
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/User.swift b/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/User.swift
deleted file mode 100644
index 3a8555c104d..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/PetstoreClient/Classes/OpenAPIs/Models/User.swift
+++ /dev/null
@@ -1,50 +0,0 @@
-//
-// User.swift
-//
-// Generated by openapi-generator
-// https://openapi-generator.tech
-//
-
-import Foundation
-
-
-open class User: JSONEncodable {
-
-    public var id: Int64?
-    public var username: String?
-    public var firstName: String?
-    public var lastName: String?
-    public var email: String?
-    public var password: String?
-    public var phone: String?
-    /** User Status */
-    public var userStatus: Int32?
-
-
-    public init(id: Int64?=nil, username: String?=nil, firstName: String?=nil, lastName: String?=nil, email: String?=nil, password: String?=nil, phone: String?=nil, userStatus: Int32?=nil) {
-        self.id = id
-        self.username = username
-        self.firstName = firstName
-        self.lastName = lastName
-        self.email = email
-        self.password = password
-        self.phone = phone
-        self.userStatus = userStatus
-    }
-    // MARK: JSONEncodable
-    open func encodeToJSON() -> Any {
-        var nillableDictionary = [String:Any?]()
-        nillableDictionary["id"] = self.id?.encodeToJSON()
-        nillableDictionary["username"] = self.username
-        nillableDictionary["firstName"] = self.firstName
-        nillableDictionary["lastName"] = self.lastName
-        nillableDictionary["email"] = self.email
-        nillableDictionary["password"] = self.password
-        nillableDictionary["phone"] = self.phone
-        nillableDictionary["userStatus"] = self.userStatus?.encodeToJSON()
-
-        let dictionary: [String:Any] = APIHelper.rejectNil(nillableDictionary) ?? [:]
-        return dictionary
-    }
-}
-
diff --git a/samples/client/petstore/swift3/unwraprequired/git_push.sh b/samples/client/petstore/swift3/unwraprequired/git_push.sh
deleted file mode 100644
index 20057f67ade..00000000000
--- a/samples/client/petstore/swift3/unwraprequired/git_push.sh
+++ /dev/null
@@ -1,52 +0,0 @@
-#!/bin/sh
-# ref: https://help.github.com/articles/adding-an-existing-project-to-github-using-the-command-line/
-#
-# Usage example: /bin/sh ./git_push.sh wing328 openapi-pestore-perl "minor update"
-
-git_user_id=$1
-git_repo_id=$2
-release_note=$3
-
-if [ "$git_user_id" = "" ]; then
-    git_user_id="GIT_USER_ID"
-    echo "[INFO] No command line input provided. Set \$git_user_id to $git_user_id"
-fi
-
-if [ "$git_repo_id" = "" ]; then
-    git_repo_id="GIT_REPO_ID"
-    echo "[INFO] No command line input provided. Set \$git_repo_id to $git_repo_id"
-fi
-
-if [ "$release_note" = "" ]; then
-    release_note="Minor update"
-    echo "[INFO] No command line input provided. Set \$release_note to $release_note"
-fi
-
-# Initialize the local directory as a Git repository
-git init
-
-# Adds the files in the local repository and stages them for commit.
-git add .
-
-# Commits the tracked changes and prepares them to be pushed to a remote repository.
-git commit -m "$release_note"
-
-# Sets the new remote
-git_remote=`git remote`
-if [ "$git_remote" = "" ]; then # git remote not defined
-
-    if [ "$GIT_TOKEN" = "" ]; then
-        echo "[INFO] \$GIT_TOKEN (environment variable) is not set. Using the git credential in your environment."
-        git remote add origin https://github.com/${git_user_id}/${git_repo_id}.git
-    else
-        git remote add origin https://${git_user_id}:${GIT_TOKEN}@github.com/${git_user_id}/${git_repo_id}.git
-    fi
-
-fi
-
-git pull origin master
-
-# Pushes (Forces) the changes in the local repository up to the remote repository
-echo "Git pushing to https://github.com/${git_user_id}/${git_repo_id}.git"
-git push origin master 2>&1 | grep -v 'To https'
-
-- 
GitLab


From 835dcff94a1ce5c4ea97f092d750d30c15091e6e Mon Sep 17 00:00:00 2001
From: William Cheng <wing328hk@gmail.com>
Date: Sat, 16 May 2020 15:23:05 +0800
Subject: [PATCH 2/2] remove swift batch files, update doc

---
 bin/windows/swift-petstore-all.bat         |  3 ---
 bin/windows/swift-petstore-promisekit.bat  | 10 ----------
 bin/windows/swift-petstore-rxswift.bat     | 10 ----------
 bin/windows/swift-petstore.bat             | 10 ----------
 bin/windows/swift3-petstore-all.bat        |  3 ---
 bin/windows/swift3-petstore-promisekit.bat | 10 ----------
 bin/windows/swift3-petstore-rxswift.bat    | 10 ----------
 bin/windows/swift3-petstore.bat            | 10 ----------
 docs/generators.md                         |  2 --
 9 files changed, 68 deletions(-)
 delete mode 100755 bin/windows/swift-petstore-all.bat
 delete mode 100755 bin/windows/swift-petstore-promisekit.bat
 delete mode 100755 bin/windows/swift-petstore-rxswift.bat
 delete mode 100755 bin/windows/swift-petstore.bat
 delete mode 100755 bin/windows/swift3-petstore-all.bat
 delete mode 100755 bin/windows/swift3-petstore-promisekit.bat
 delete mode 100755 bin/windows/swift3-petstore-rxswift.bat
 delete mode 100755 bin/windows/swift3-petstore.bat

diff --git a/bin/windows/swift-petstore-all.bat b/bin/windows/swift-petstore-all.bat
deleted file mode 100755
index e837f4c1ec6..00000000000
--- a/bin/windows/swift-petstore-all.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-call .\bin\windows\swift-petstore.bat
-call .\bin\windows\swift-petstore-promisekit.bat
-call .\bin\windows\swift-petstore-rxswift.bat
diff --git a/bin/windows/swift-petstore-promisekit.bat b/bin/windows/swift-petstore-promisekit.bat
deleted file mode 100755
index c5a984d8dae..00000000000
--- a/bin/windows/swift-petstore-promisekit.bat
+++ /dev/null
@@ -1,10 +0,0 @@
-set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
-
-If Not Exist %executable% (
-  mvn clean package
-)
-
-REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
-set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g swift2-deprecated -c bin\swift-petstore-promisekit.json -o samples\client\petstore\swift\promisekit
-
-java %JAVA_OPTS% -jar %executable% %ags%
diff --git a/bin/windows/swift-petstore-rxswift.bat b/bin/windows/swift-petstore-rxswift.bat
deleted file mode 100755
index 93585bd48ac..00000000000
--- a/bin/windows/swift-petstore-rxswift.bat
+++ /dev/null
@@ -1,10 +0,0 @@
-set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
-
-If Not Exist %executable% (
-  mvn clean package
-)
-
-REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
-set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g swift2-deprecated -c bin\swift-petstore-rxswift.json -o samples\client\petstore\swift\rxswift
-
-java %JAVA_OPTS% -jar %executable% %ags%
diff --git a/bin/windows/swift-petstore.bat b/bin/windows/swift-petstore.bat
deleted file mode 100755
index a5e645405d2..00000000000
--- a/bin/windows/swift-petstore.bat
+++ /dev/null
@@ -1,10 +0,0 @@
-set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
-
-If Not Exist %executable% (
-  mvn clean package
-)
-
-REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
-set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore.yaml -g swift2-deprecated -o samples\client\petstore\swift\default
-
-java %JAVA_OPTS% -jar %executable% %ags%
diff --git a/bin/windows/swift3-petstore-all.bat b/bin/windows/swift3-petstore-all.bat
deleted file mode 100755
index 7f2b6a9b5d9..00000000000
--- a/bin/windows/swift3-petstore-all.bat
+++ /dev/null
@@ -1,3 +0,0 @@
-call .\bin\windows\swift3-petstore.bat
-call .\bin\windows\swift3-petstore-promisekit.bat
-call .\bin\windows\swift3-petstore-rxswift.bat
diff --git a/bin/windows/swift3-petstore-promisekit.bat b/bin/windows/swift3-petstore-promisekit.bat
deleted file mode 100755
index 58651dfd593..00000000000
--- a/bin/windows/swift3-petstore-promisekit.bat
+++ /dev/null
@@ -1,10 +0,0 @@
-set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
-
-If Not Exist %executable% (
-  mvn clean package
-)
-
-REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
-set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g swift3-deprecated -c bin\swift3-petstore-promisekit.json -o samples\client\petstore\swift3\promisekit
-
-java %JAVA_OPTS% -jar %executable% %ags%
diff --git a/bin/windows/swift3-petstore-rxswift.bat b/bin/windows/swift3-petstore-rxswift.bat
deleted file mode 100755
index 8a03903a59a..00000000000
--- a/bin/windows/swift3-petstore-rxswift.bat
+++ /dev/null
@@ -1,10 +0,0 @@
-set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
-
-If Not Exist %executable% (
-  mvn clean package
-)
-
-REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
-set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g swift3-deprecated -c bin\swift3-petstore-rxswift.json -o samples\client\petstore\swift3\rxswift
-
-java %JAVA_OPTS% -jar %executable% %ags%
diff --git a/bin/windows/swift3-petstore.bat b/bin/windows/swift3-petstore.bat
deleted file mode 100755
index ae79dcebddf..00000000000
--- a/bin/windows/swift3-petstore.bat
+++ /dev/null
@@ -1,10 +0,0 @@
-set executable=.\modules\openapi-generator-cli\target\openapi-generator-cli.jar
-
-If Not Exist %executable% (
-  mvn clean package
-)
-
-REM set JAVA_OPTS=%JAVA_OPTS% -Xmx1024M
-set ags=generate -i modules\openapi-generator\src\test\resources\2_0\petstore-with-fake-endpoints-models-for-testing.yaml -g swift3-deprecated -o samples\client\petstore\swift3\default
-
-java %JAVA_OPTS% -jar %executable% %ags%
diff --git a/docs/generators.md b/docs/generators.md
index 97da8e13308..076b8d43503 100644
--- a/docs/generators.md
+++ b/docs/generators.md
@@ -57,8 +57,6 @@ The following generators are available:
 * [scala-httpclient-deprecated (deprecated)](generators/scala-httpclient-deprecated.md)  
 * [scala-sttp (beta)](generators/scala-sttp.md)  
 * [scalaz](generators/scalaz.md)  
-* [swift2-deprecated (deprecated)](generators/swift2-deprecated.md)  
-* [swift3-deprecated (deprecated)](generators/swift3-deprecated.md)  
 * [swift4-deprecated (deprecated)](generators/swift4-deprecated.md)  
 * [swift5 (beta)](generators/swift5.md)  
 * [typescript-angular](generators/typescript-angular.md)  
-- 
GitLab