Skip to content

Commit 6b9cedd

Browse files
committed
regenerate samples
1 parent 839ed04 commit 6b9cedd

File tree

95 files changed

+95
-95
lines changed

Some content is hidden

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

95 files changed

+95
-95
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())

0 commit comments

Comments
 (0)