bin
swift4-test.sh +1 -1
docs/generators
kotlin.md +1 -1
samples/client
petstore/swift4
swift4_test_all.sh +1 -1
test/swift4
default
TestClient/Classes/OpenAPIs
APIHelper.swift +3 -3
TestClientApp/Pods
Alamofire/Source
Alamofire.swift +9 -18
MultipartFormData.swift +2 -4
NetworkReachabilityManager.swift +2 -4
ParameterEncoding.swift +1 -2
Request.swift +2 -4
Response.swift +4 -8
ResponseSerialization.swift +18 -36
ServerTrustPolicy.swift +0 -1
SessionDelegate.swift +12 -24
SessionManager.swift +13 -26
TaskDelegate.swift +10 -20
Timeline.swift +1 -2
Validation.swift +2 -4
Pods.xcodeproj
project.pbxproj +176 -166
docs
ModelDoubleArray.md +9 -0
ModelErrorInfoArray.md +9 -0
ModelStringArray.md +9 -0
ModelWithIntAdditionalPropertiesOnly.md +9 -0
ModelWithStringAdditionalPropertiesOnly.md +9 -0
README.md +5 -0
swift4_test_all.sh +0 -0
bitrise.yml +2 -2
+ 1
- 1
@@ -27,7 +27,7 @@ fi
+ 1
- 1
@@ -17,4 +17,4 @@ sidebar_label: kotlin
|library|Library template (sub-template) to use|<dl><dt>**jvm-okhttp4**</dt><dd>[DEFAULT] Platform: Java Virtual Machine. HTTP client: OkHttp 4.2.0 (Android 5.0+ and Java 8+). JSON processing: Moshi 1.8.0.</dd><dt>**jvm-okhttp3**</dt><dd>Platform: Java Virtual Machine. HTTP client: OkHttp 3.12.4 (Android 2.3+ and Java 7+). JSON processing: Moshi 1.8.0.</dd><dt>**multiplatform**</dt><dd>Platform: Kotlin multiplatform. HTTP client: Ktor 1.2.4. JSON processing: Kotlinx Serialization: 0.12.0.</dd><dl>|jvm-okhttp4|
|library|Library template (sub-template) to use|<dl><dt>**jvm-okhttp4**</dt><dd>[DEFAULT] Platform: Java Virtual Machine. HTTP client: OkHttp 4.2.0 (Android 5.0+ and Java 8+). JSON processing: Moshi 1.8.0.</dd><dt>**jvm-okhttp3**</dt><dd>Platform: Java Virtual Machine. HTTP client: OkHttp 3.12.4 (Android 2.3+ and Java 7+). JSON processing: Moshi 1.8.0.</dd><dt>**retrofit2**</dt><dd>Platform: Java Virtual Machine. HTTP client: Retrofit 2.6.2.</dd><dt>**multiplatform**</dt><dd>Platform: Kotlin multiplatform. HTTP client: Ktor 1.2.4. JSON processing: Kotlinx Serialization: 0.12.0.</dd><dl>|jvm-okhttp4|
samples/client/petstore/swift4/swift4_test_all.sh
100644 → 100755
+ 1
- 1
@@ -22,7 +22,7 @@ public struct APIHelper {
@@ -46,7 +46,7 @@ public struct APIHelper {
@@ -54,7 +54,7 @@ public struct APIHelper {
@@ -135,8 +135,7 @@ public func request(
@@ -183,8 +182,7 @@ public func download(
@@ -209,8 +207,7 @@ public func download(
@@ -239,8 +236,7 @@ public func download(
@@ -263,8 +259,7 @@ public func upload(
@@ -297,8 +292,7 @@ public func upload(
@@ -331,8 +325,7 @@ public func upload(
@@ -379,8 +372,7 @@ public func upload(
@@ -416,8 +408,7 @@ public func upload(