Skip to content

Commit 0e78426

Browse files
committed
regenerate samples
1 parent 4cea825 commit 0e78426

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

96 files changed

+95
-96
lines changed

modules/openapi-generator/src/main/resources/r/modelAnyOf.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@
8686
},
8787

8888
#' @description
89-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
89+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
9090
toJSON = function() {
9191
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
9292
return(self$toSimpleType())

modules/openapi-generator/src/main/resources/r/modelEnum.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@
3838
},
3939

4040
#' @description
41-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
41+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4242
toJSON = function() {
4343
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
4444
return(self$toSimpleType())

modules/openapi-generator/src/main/resources/r/modelGeneric.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -203,7 +203,7 @@
203203
},
204204
205205
#' @description
206-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
206+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
207207
toJSON = function() {
208208
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
209209
return(self$toSimpleType())

modules/openapi-generator/src/main/resources/r/modelOneOf.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -153,7 +153,7 @@
153153
},
154154
155155
#' @description
156-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
156+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
157157
toJSON = function() {
158158
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
159159
return(self$toSimpleType())

samples/client/echo_api/r/R/bird.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Bird <- R6::R6Class(
4040
},
4141

4242
#' @description
43-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
43+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4444
toJSON = function() {
4545
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
4646
return(self$toSimpleType())

samples/client/echo_api/r/R/category.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Category <- R6::R6Class(
4040
},
4141

4242
#' @description
43-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
43+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4444
toJSON = function() {
4545
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
4646
return(self$toSimpleType())

samples/client/echo_api/r/R/data_query.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -67,7 +67,7 @@ DataQuery <- R6::R6Class(
6767
},
6868

6969
#' @description
70-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
70+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
7171
toJSON = function() {
7272
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
7373
return(self$toSimpleType())

samples/client/echo_api/r/R/default_value.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -87,7 +87,7 @@ DefaultValue <- R6::R6Class(
8787
},
8888

8989
#' @description
90-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
90+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
9191
toJSON = function() {
9292
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
9393
return(self$toSimpleType())

samples/client/echo_api/r/R/number_properties_only.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -46,7 +46,7 @@ NumberPropertiesOnly <- R6::R6Class(
4646
},
4747

4848
#' @description
49-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
49+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
5050
toJSON = function() {
5151
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
5252
return(self$toSimpleType())

samples/client/echo_api/r/R/pet.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -75,7 +75,7 @@ Pet <- R6::R6Class(
7575
},
7676

7777
#' @description
78-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
78+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
7979
toJSON = function() {
8080
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
8181
return(self$toSimpleType())

samples/client/echo_api/r/R/query.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -39,7 +39,7 @@ Query <- R6::R6Class(
3939
},
4040

4141
#' @description
42-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
42+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4343
toJSON = function() {
4444
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
4545
return(self$toSimpleType())

samples/client/echo_api/r/R/string_enum_ref.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -37,7 +37,7 @@ StringEnumRef <- R6::R6Class(
3737
},
3838

3939
#' @description
40-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
40+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4141
toJSON = function() {
4242
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
4343
return(self$toSimpleType())

samples/client/echo_api/r/R/tag.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ Tag <- R6::R6Class(
4040
},
4141

4242
#' @description
43-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
43+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4444
toJSON = function() {
4545
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
4646
return(self$toSimpleType())

samples/client/echo_api/r/R/test_form_object_multipart_request_marker.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ TestFormObjectMultipartRequestMarker <- R6::R6Class(
3131
},
3232

3333
#' @description
34-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
34+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
3535
toJSON = function() {
3636
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
3737
return(self$toSimpleType())

samples/client/echo_api/r/R/test_query_style_deep_object_explode_true_object_all_of_query_object_parameter.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -58,7 +58,7 @@ TestQueryStyleDeepObjectExplodeTrueObjectAllOfQueryObjectParameter <- R6::R6Clas
5858
},
5959

6060
#' @description
61-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
61+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
6262
toJSON = function() {
6363
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
6464
return(self$toSimpleType())

samples/client/echo_api/r/R/test_query_style_form_explode_true_array_string_query_object_parameter.R

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,7 +30,7 @@ TestQueryStyleFormExplodeTrueArrayStringQueryObjectParameter <- R6::R6Class(
3030
},
3131

3232
#' @description
33-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
33+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
3434
toJSON = function() {
3535
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
3636
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ AllofTagApiResponse <- R6::R6Class(
7777
},
7878

7979
#' @description
80-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
80+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
8181
toJSON = function() {
8282
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
8383
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ Animal <- R6::R6Class(
5252
},
5353

5454
#' @description
55-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
55+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
5656
toJSON = function() {
5757
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
5858
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -91,7 +91,7 @@ AnyOfPig <- R6::R6Class(
9191
},
9292

9393
#' @description
94-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
94+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
9595
toJSON = function() {
9696
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
9797
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ AnyOfPrimitiveTypeTest <- R6::R6Class(
125125
},
126126

127127
#' @description
128-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
128+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
129129
toJSON = function() {
130130
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
131131
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ BasquePig <- R6::R6Class(
5050
},
5151

5252
#' @description
53-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
53+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
5454
toJSON = function() {
5555
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
5656
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Cat <- R6::R6Class(
6060
},
6161

6262
#' @description
63-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
63+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
6464
toJSON = function() {
6565
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
6666
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Category <- R6::R6Class(
5050
},
5151

5252
#' @description
53-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
53+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
5454
toJSON = function() {
5555
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
5656
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ DanishPig <- R6::R6Class(
5050
},
5151

5252
#' @description
53-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
53+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
5454
toJSON = function() {
5555
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
5656
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -63,7 +63,7 @@ Date <- R6::R6Class(
6363
},
6464

6565
#' @description
66-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
66+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
6767
toJSON = function() {
6868
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
6969
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ Dog <- R6::R6Class(
6060
},
6161

6262
#' @description
63-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
63+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
6464
toJSON = function() {
6565
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
6666
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -41,7 +41,7 @@ DummyModel <- R6::R6Class(
4141
},
4242

4343
#' @description
44-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
44+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4545
toJSON = function() {
4646
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
4747
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -158,7 +158,7 @@ FormatTest <- R6::R6Class(
158158
},
159159

160160
#' @description
161-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
161+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
162162
toJSON = function() {
163163
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
164164
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Mammal <- R6::R6Class(
149149
},
150150

151151
#' @description
152-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
152+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
153153
toJSON = function() {
154154
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
155155
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ ModelApiResponse <- R6::R6Class(
5959
},
6060

6161
#' @description
62-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
62+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
6363
toJSON = function() {
6464
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
6565
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ NestedOneOf <- R6::R6Class(
4848
},
4949

5050
#' @description
51-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
51+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
5252
toJSON = function() {
5353
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
5454
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -125,7 +125,7 @@ OneOfPrimitiveTypeTest <- R6::R6Class(
125125
},
126126

127127
#' @description
128-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
128+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
129129
toJSON = function() {
130130
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
131131
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ Order <- R6::R6Class(
8989
},
9090

9191
#' @description
92-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
92+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
9393
toJSON = function() {
9494
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
9595
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -85,7 +85,7 @@ Pet <- R6::R6Class(
8585
},
8686

8787
#' @description
88-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
88+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
8989
toJSON = function() {
9090
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
9191
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@ PetMap <- R6::R6Class(
4040
},
4141

4242
#' @description
43-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
43+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4444
toJSON = function() {
4545
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
4646
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -149,7 +149,7 @@ Pig <- R6::R6Class(
149149
},
150150

151151
#' @description
152-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
152+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
153153
toJSON = function() {
154154
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
155155
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -97,7 +97,7 @@ Special <- R6::R6Class(
9797
},
9898

9999
#' @description
100-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
100+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
101101
toJSON = function() {
102102
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
103103
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -50,7 +50,7 @@ Tag <- R6::R6Class(
5050
},
5151

5252
#' @description
53-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
53+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
5454
toJSON = function() {
5555
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
5656
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,7 @@ UpdatePetRequest <- R6::R6Class(
4545
},
4646

4747
#' @description
48-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
48+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4949
toJSON = function() {
5050
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
5151
return(self$toSimpleType())

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -104,7 +104,7 @@ User <- R6::R6Class(
104104
},
105105

106106
#' @description
107-
#' Convert to a list. This method was misnamed, it actually returns a list. Use `toSimpleType()` instead.
107+
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
108108
toJSON = function() {
109109
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
110110
return(self$toSimpleType())

0 commit comments

Comments
 (0)