mirror of
https://github.com/OpenAPITools/openapi-generator.git
synced 2025-12-03 08:46:55 +00:00
Fix typos (#20442)
This commit is contained in:
@@ -389,7 +389,7 @@ ApiClient <- R6::R6Class(
|
||||
#'
|
||||
#' @param local_var_resp The API response
|
||||
#' @param return_type The target return type for the endpoint (e.g., `"object"`). If `NULL` text will be left as-is.
|
||||
#' @return If the raw response is corecable to text, return the text. Otherwise return the raw resposne.
|
||||
#' @return If the raw response is corecable to text, return the text. Otherwise return the raw response.
|
||||
DeserializeResponse = function(local_var_resp, return_type = NULL) {
|
||||
text <- local_var_resp$response_as_text()
|
||||
if (is.na(text)) {
|
||||
@@ -406,8 +406,8 @@ ApiClient <- R6::R6Class(
|
||||
#' The function will write out data.
|
||||
#'
|
||||
#' 1. If binary data is detected it will use `writeBin`
|
||||
#' 2. If the raw response is coercable to text, the text will be written to a file
|
||||
#' 3. If the raw response is not coercable to text, the raw response will be written
|
||||
#' 2. If the raw response is coercible to text, the text will be written to a file
|
||||
#' 3. If the raw response is not coercible to text, the raw response will be written
|
||||
#'
|
||||
#' @param local_var_resp The API response
|
||||
#' @param file The name of the data file to save the result
|
||||
|
||||
Reference in New Issue
Block a user