[kotlin][client] Add new line at the end of all files (#16062)

* [kotlin][client] add new line at end of files

* [kotlin][client] add new line at end of files
This commit is contained in:
Bruno Coelho
2023-07-11 10:07:06 +01:00
committed by GitHub
parent ceb48d3af4
commit f31c2a4b17
221 changed files with 221 additions and 221 deletions

View File

@@ -1 +1 @@
rootProject.name = "kotlin-array-simple-string-multiplatform"
rootProject.name = "kotlin-array-simple-string-multiplatform"

View File

@@ -4,4 +4,4 @@ import kotlinx.coroutines.CoroutineScope
import kotlinx.coroutines.GlobalScope
import kotlinx.coroutines.promise
actual fun <T> runTest(block: suspend (scope : CoroutineScope) -> T): dynamic = GlobalScope.promise { block(this) }
actual fun <T> runTest(block: suspend (scope : CoroutineScope) -> T): dynamic = GlobalScope.promise { block(this) }

View File

@@ -7,4 +7,4 @@ class OAuth : Authentication {
val token: String = accessToken ?: return
headers["Authorization"] = "Bearer $token"
}
}
}

View File

@@ -20,4 +20,4 @@ fun <T : Any?> toMultiValue(items: Iterable<T>, collectionFormat: String, map: (
"multi" -> items.map(map)
else -> listOf(items.joinToString(separator = collectionDelimiter(collectionFormat), transform = map))
}
}
}

View File

@@ -169,4 +169,4 @@ open class ApiClient(
RequestMethod.POST -> HttpMethod.Post
RequestMethod.OPTIONS -> HttpMethod.Options
}
}
}

View File

@@ -27,4 +27,4 @@ class Base64ByteArray(val value: ByteArray) {
override fun toString(): String {
return "Base64ByteArray(${hex(value)})"
}
}
}

View File

@@ -27,4 +27,4 @@ class OctetByteArray(val value: ByteArray) {
override fun toString(): String {
return "OctetByteArray(${hex(value)})"
}
}
}

View File

@@ -15,4 +15,4 @@ data class RequestConfig<T>(
val query: MutableMap<String, List<String>> = mutableMapOf(),
val requiresAuthentication: Boolean,
val body: T? = null
)
)

View File

@@ -5,4 +5,4 @@ package org.openapitools.client.infrastructure
*/
enum class RequestMethod {
GET, DELETE, HEAD, OPTIONS, PATCH, POST, PUT
}
}