forked from loafle/openapi-generator-original
update samples
This commit is contained in:
@@ -372,7 +372,7 @@ QueryApi <- R6::R6Class(
|
||||
}
|
||||
|
||||
deserialized_resp_obj <- tryCatch(
|
||||
self$api_client$deserialize(local_var_resp$response, "character", loadNamespace("openapi")),
|
||||
self$api_client$deserialize(local_var_resp$response_as_text(), "character", loadNamespace("openapi")),
|
||||
error = function(e) {
|
||||
stop("Failed to deserialize response")
|
||||
}
|
||||
@@ -473,7 +473,7 @@ QueryApi <- R6::R6Class(
|
||||
}
|
||||
|
||||
deserialized_resp_obj <- tryCatch(
|
||||
self$api_client$deserialize(local_var_resp$response, "character", loadNamespace("openapi")),
|
||||
self$api_client$deserialize(local_var_resp$response_as_text(), "character", loadNamespace("openapi")),
|
||||
error = function(e) {
|
||||
stop("Failed to deserialize response")
|
||||
}
|
||||
@@ -574,7 +574,7 @@ QueryApi <- R6::R6Class(
|
||||
}
|
||||
|
||||
deserialized_resp_obj <- tryCatch(
|
||||
self$api_client$deserialize(local_var_resp$response, "character", loadNamespace("openapi")),
|
||||
self$api_client$deserialize(local_var_resp$response_as_text(), "character", loadNamespace("openapi")),
|
||||
error = function(e) {
|
||||
stop("Failed to deserialize response")
|
||||
}
|
||||
@@ -665,7 +665,7 @@ QueryApi <- R6::R6Class(
|
||||
}
|
||||
|
||||
deserialized_resp_obj <- tryCatch(
|
||||
self$api_client$deserialize(local_var_resp$response, "character", loadNamespace("openapi")),
|
||||
self$api_client$deserialize(local_var_resp$response_as_text(), "character", loadNamespace("openapi")),
|
||||
error = function(e) {
|
||||
stop("Failed to deserialize response")
|
||||
}
|
||||
@@ -756,7 +756,7 @@ QueryApi <- R6::R6Class(
|
||||
}
|
||||
|
||||
deserialized_resp_obj <- tryCatch(
|
||||
self$api_client$deserialize(local_var_resp$response, "character", loadNamespace("openapi")),
|
||||
self$api_client$deserialize(local_var_resp$response_as_text(), "character", loadNamespace("openapi")),
|
||||
error = function(e) {
|
||||
stop("Failed to deserialize response")
|
||||
}
|
||||
@@ -847,7 +847,7 @@ QueryApi <- R6::R6Class(
|
||||
}
|
||||
|
||||
deserialized_resp_obj <- tryCatch(
|
||||
self$api_client$deserialize(local_var_resp$response, "character", loadNamespace("openapi")),
|
||||
self$api_client$deserialize(local_var_resp$response_as_text(), "character", loadNamespace("openapi")),
|
||||
error = function(e) {
|
||||
stop("Failed to deserialize response")
|
||||
}
|
||||
@@ -938,7 +938,7 @@ QueryApi <- R6::R6Class(
|
||||
}
|
||||
|
||||
deserialized_resp_obj <- tryCatch(
|
||||
self$api_client$deserialize(local_var_resp$response, "character", loadNamespace("openapi")),
|
||||
self$api_client$deserialize(local_var_resp$response_as_text(), "character", loadNamespace("openapi")),
|
||||
error = function(e) {
|
||||
stop("Failed to deserialize response")
|
||||
}
|
||||
@@ -1029,7 +1029,7 @@ QueryApi <- R6::R6Class(
|
||||
}
|
||||
|
||||
deserialized_resp_obj <- tryCatch(
|
||||
self$api_client$deserialize(local_var_resp$response, "character", loadNamespace("openapi")),
|
||||
self$api_client$deserialize(local_var_resp$response_as_text(), "character", loadNamespace("openapi")),
|
||||
error = function(e) {
|
||||
stop("Failed to deserialize response")
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user