[kotlin][client] add info if endpoints requires authentication or not (#14445)

* [kotlin][client] add info if endpoints requires authentication or not

* [kotlin][client] update sample projects

* [kotlin][client] add info if endpoints requires authentication or not

* [kotlin][client] update sample projects
This commit is contained in:
Bruno Coelho
2023-01-13 10:29:27 +00:00
committed by GitHub
parent b6ad68baca
commit d348754399
86 changed files with 406 additions and 65 deletions

View File

@@ -107,6 +107,7 @@ class DefaultApi(basePath: kotlin.String = defaultBasePath, client: OkHttpClient
path = "/{ids}".replace("{"+"ids"+"}", encodeURIComponent(ids.joinToString(","))),
query = localVariableQuery,
headers = localVariableHeaders,
requiresAuthentication = false,
body = localVariableBody
)
}

View File

@@ -13,5 +13,6 @@ data class RequestConfig<T>(
val path: String,
val headers: MutableMap<String, String> = mutableMapOf(),
val query: MutableMap<String, List<String>> = mutableMapOf(),
val requiresAuthentication: Boolean,
val body: T? = null
)