You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: modules/openapi-generator/src/main/resources/r/api.mustache
+17-3Lines changed: 17 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -142,10 +142,13 @@
142
142
#' @param data_file (optional) name of the data file to save the result
143
143
{{/returnType}}
144
144
#' @param ... Other optional arguments
145
+
{{#returnType}}
146
+
#' @param .parse Logical. If \code{TRUE} then the response will be parsed to a generated type. If \code{FALSE} the response will be returned as unparsed text.
if (typeof(stream_callback) =="closure") { # return void if streaming is enabled
151
154
return(invisible(NULL))
@@ -178,9 +181,12 @@
178
181
#' @param data_file (optional) name of the data file to save the result
179
182
{{/returnType}}
180
183
#' @param ... Other optional arguments
184
+
{{#returnType}}
185
+
#' @param .parse Logical. If \code{TRUE} then the response will be parsed to a generated type. If \code{FALSE} the response will be returned as unparsed text.
186
+
{{/returnType}}
181
187
#'
182
188
#' @return API response ({{{returnType}}}{{^returnType}}void{{/returnType}}) with additional information such as HTTP status code, headers
Copy file name to clipboardExpand all lines: samples/client/echo_api/r/R/auth_api.R
+18-6Lines changed: 18 additions & 6 deletions
Original file line number
Diff line number
Diff line change
@@ -73,10 +73,11 @@ AuthApi <- R6::R6Class(
73
73
#'
74
74
#' @param data_file (optional) name of the data file to save the result
75
75
#' @param ... Other optional arguments
76
+
#' @param .parse Logical. If \code{TRUE} then the response will be parsed to a generated type. If \code{FALSE} the response will be returned as unparsed text.
#' @param data_file (optional) name of the data file to save the result
95
96
#' @param ... Other optional arguments
97
+
#' @param .parse Logical. If \code{TRUE} then the response will be parsed to a generated type. If \code{FALSE} the response will be returned as unparsed text.
96
98
#'
97
99
#' @return API response (character) with additional information such as HTTP status code, headers
#' @param data_file (optional) name of the data file to save the result
170
176
#' @param ... Other optional arguments
177
+
#' @param .parse Logical. If \code{TRUE} then the response will be parsed to a generated type. If \code{FALSE} the response will be returned as unparsed text.
#' @param data_file (optional) name of the data file to save the result
190
197
#' @param ... Other optional arguments
198
+
#' @param .parse Logical. If \code{TRUE} then the response will be parsed to a generated type. If \code{FALSE} the response will be returned as unparsed text.
191
199
#'
192
200
#' @return API response (character) with additional information such as HTTP status code, headers
0 commit comments