Skip to content

Commit 0ddf0bb

Browse files
committed
fix typo
1 parent 90145b6 commit 0ddf0bb

Some content is hidden

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

94 files changed

+94
-94
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
@@ -88,7 +88,7 @@
8888
#' @description
8989
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
9090
toJSON = function() {
91-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
91+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
9292
return(self$toSimpleType())
9393
},
9494

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -40,7 +40,7 @@
4040
#' @description
4141
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4242
toJSON = function() {
43-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
43+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
4444
return(self$toSimpleType())
4545
},
4646

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@
205205
#' @description
206206
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
207207
toJSON = function() {
208-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
208+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
209209
return(self$toSimpleType())
210210
},
211211

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -155,7 +155,7 @@
155155
#' @description
156156
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
157157
toJSON = function() {
158-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
158+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
159159
return(self$toSimpleType())
160160
},
161161

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Bird <- R6::R6Class(
4242
#' @description
4343
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4444
toJSON = function() {
45-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
45+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
4646
return(self$toSimpleType())
4747
},
4848

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ Category <- R6::R6Class(
4242
#' @description
4343
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
4444
toJSON = function() {
45-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
45+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
4646
return(self$toSimpleType())
4747
},
4848

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -69,7 +69,7 @@ DataQuery <- R6::R6Class(
6969
#' @description
7070
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
7171
toJSON = function() {
72-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
72+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
7373
return(self$toSimpleType())
7474
},
7575

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -89,7 +89,7 @@ DefaultValue <- R6::R6Class(
8989
#' @description
9090
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
9191
toJSON = function() {
92-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
92+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
9393
return(self$toSimpleType())
9494
},
9595

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@ NumberPropertiesOnly <- R6::R6Class(
4848
#' @description
4949
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
5050
toJSON = function() {
51-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
51+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
5252
return(self$toSimpleType())
5353
},
5454

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -77,7 +77,7 @@ Pet <- R6::R6Class(
7777
#' @description
7878
#' Convert to an R object. This method is deprecated. Use `toSimpleType()` instead.
7979
toJSON = function() {
80-
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more learly named. Use '$toJSONString()' to get a JSON string")
80+
.Deprecated(new = "toSimpleType", msg = "Use the '$toSimpleType()' method instead since that is more clearly named. Use '$toJSONString()' to get a JSON string")
8181
return(self$toSimpleType())
8282
},
8383

0 commit comments

Comments
 (0)