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
+10-3Lines changed: 10 additions & 3 deletions
Original file line number
Diff line number
Diff line change
@@ -142,11 +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}}
145
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
152
154
return(invisible(NULL))
@@ -180,9 +182,12 @@
180
182
#' @param data_file (optional) name of the data file to save the result
181
183
{{/returnType}}
182
184
#' @param ... Other optional arguments
185
+
{{#returnType}}
186
+
#' @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.
187
+
{{/returnType}}
183
188
#'
184
189
#' @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
+2Lines changed: 2 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -94,6 +94,7 @@ AuthApi <- R6::R6Class(
94
94
#'
95
95
#' @param data_file (optional) name of the data file to save the result
96
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.
97
98
#'
98
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
193
194
#' @param ... Other optional arguments
195
+
#' @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.
194
196
#'
195
197
#' @return API response (character) with additional information such as HTTP status code, headers
Copy file name to clipboardExpand all lines: samples/client/echo_api/r/R/body_api.R
+10Lines changed: 10 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -200,6 +200,7 @@ BodyApi <- R6::R6Class(
200
200
#'
201
201
#' @param data_file (optional) name of the data file to save the result
202
202
#' @param ... Other optional arguments
203
+
#' @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.
203
204
#'
204
205
#' @return API response (data.frame) with additional information such as HTTP status code, headers
#' @param data_file (optional) name of the data file to save the result
297
298
#' @param ... Other optional arguments
299
+
#' @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.
298
300
#'
299
301
#' @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
402
404
#' @param ... Other optional arguments
405
+
#' @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.
403
406
#'
404
407
#' @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
506
509
#' @param ... Other optional arguments
510
+
#' @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.
507
511
#'
508
512
#' @return API response (character) with additional information such as HTTP status code, headers
#' @param pet (optional) Pet object that needs to be added to the store
605
609
#' @param data_file (optional) name of the data file to save the result
606
610
#' @param ... Other optional arguments
611
+
#' @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.
607
612
#'
608
613
#' @return API response (Pet) with additional information such as HTTP status code, headers
#' @param data_file (optional) name of the data file to save the result
711
716
#' @param ... Other optional arguments
717
+
#' @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.
712
718
#'
713
719
#' @return API response (character) with additional information such as HTTP status code, headers
#' @param pet (optional) Pet object that needs to be added to the store
815
821
#' @param data_file (optional) name of the data file to save the result
816
822
#' @param ... Other optional arguments
823
+
#' @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.
817
824
#'
818
825
#' @return API response (Pet) with additional information such as HTTP status code, headers
#' @param pet (optional) Pet object that needs to be added to the store
920
927
#' @param data_file (optional) name of the data file to save the result
921
928
#' @param ... Other optional arguments
929
+
#' @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.
922
930
#'
923
931
#' @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
1026
1034
#' @param ... Other optional arguments
1035
+
#' @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.
1027
1036
#'
1028
1037
#' @return API response (StringEnumRef) with additional information such as HTTP status code, headers
#' @param data_file (optional) name of the data file to save the result
1131
1140
#' @param ... Other optional arguments
1141
+
#' @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.
1132
1142
#'
1133
1143
#' @return API response (character) with additional information such as HTTP status code, headers
Copy file name to clipboardExpand all lines: samples/client/echo_api/r/R/form_api.R
+3Lines changed: 3 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -116,6 +116,7 @@ FormApi <- R6::R6Class(
116
116
#' @param string_form (optional) No description
117
117
#' @param data_file (optional) name of the data file to save the result
118
118
#' @param ... Other optional arguments
119
+
#' @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.
119
120
#'
120
121
#' @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
228
229
#' @param ... Other optional arguments
230
+
#' @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.
229
231
#'
230
232
#' @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
342
344
#' @param ... Other optional arguments
345
+
#' @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.
343
346
#'
344
347
#' @return API response (character) with additional information such as HTTP status code, headers
Copy file name to clipboardExpand all lines: samples/client/echo_api/r/R/header_api.R
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -89,6 +89,7 @@ HeaderApi <- R6::R6Class(
89
89
#' @param enum_ref_string_header (optional) No description
90
90
#' @param data_file (optional) name of the data file to save the result
91
91
#' @param ... Other optional arguments
92
+
#' @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.
92
93
#'
93
94
#' @return API response (character) with additional information such as HTTP status code, headers
Copy file name to clipboardExpand all lines: samples/client/echo_api/r/R/path_api.R
+1Lines changed: 1 addition & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -86,6 +86,7 @@ PathApi <- R6::R6Class(
86
86
#' @param enum_ref_string_path
87
87
#' @param data_file (optional) name of the data file to save the result
88
88
#' @param ... Other optional arguments
89
+
#' @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.
89
90
#'
90
91
#' @return API response (character) with additional information such as HTTP status code, headers
0 commit comments