[kotlin][client] silence deprecation warning (#9656)

* [kotlin][client] silence deprecated warning when used internally

* [kotlin][client] update sample projects
This commit is contained in:
Bruno Coelho
2021-06-08 16:17:20 +01:00
committed by GitHub
parent c379f5bcc4
commit e600f7d149
12 changed files with 14 additions and 0 deletions

View File

@@ -210,6 +210,7 @@ internal class PetApi(basePath: kotlin.String = defaultBasePath) : ApiClient(bas
@Throws(UnsupportedOperationException::class, ClientException::class, ServerException::class)
@Deprecated(message = "This operation is deprecated.")
fun findPetsByTags(tags: kotlin.collections.List<kotlin.String>) : kotlin.collections.List<Pet> {
@Suppress("DEPRECATION")
val localVariableConfig = findPetsByTagsRequestConfig(tags = tags)
val localVarResponse = request<Unit, kotlin.collections.List<Pet>>(