Skip to content

Commit 0fba5cb

Browse files
committed
wip
1 parent 637e8e9 commit 0fba5cb

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

samples/client/petstore/R-httr2-wrapper/R/api_client.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ ApiClient <- R6::R6Class(
4646
"ApiClient",
4747
public = list(
4848
# base path of all requests
49-
base_path = "http://petstore.swagger.io/v2",
49+
base_path = "http://localhost/v2",
5050
# user agent in the HTTP request
5151
user_agent = "PetstoreAgent",
5252
# default headers in the HTTP request

samples/client/petstore/R-httr2-wrapper/R/nested_one_of.R

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -115,6 +115,7 @@ NestedOneOf <- R6::R6Class(
115115
#' @param ... Parameters passed to `jsonlite::toJSON`
116116
#' @return NestedOneOf in JSON format
117117
toJSONString = function(minify = TRUE, ...) {
118+
browser()
118119
json_obj <- self$toList()
119120

120121
for (key in names(self$additional_properties)) {

0 commit comments

Comments
 (0)