Skip to content

Commit 2bf4536

Browse files
author
Claudio Loureiro
committed
Run scripts
1 parent 1c3eac5 commit 2bf4536

File tree

6 files changed

+8
-5
lines changed

6 files changed

+8
-5
lines changed

modules/swagger-codegen/src/main/resources/r/NAMESPACE.mustache

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,4 +10,4 @@ export({{{classname}}})
1010
{{#apis}}
1111
export({{{classname}}})
1212
{{/apis}}
13-
{{/apiInfo}}
13+
{{/apiInfo}}
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1 +1 @@
1-
2.4.3-SNAPSHOT
1+
2.4.15-SNAPSHOT

samples/client/petstore/r_test/NAMESPACE

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,3 +9,6 @@ export(Order)
99
export(Pet)
1010
export(Tag)
1111
export(User)
12+
export(PetApi)
13+
export(StoreApi)
14+
export(UserApi)

samples/client/petstore/r_test/R/ApiResponse.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -65,7 +65,7 @@ ApiResponse <- R6::R6Class(
6565
toJSONString = function() {
6666
sprintf(
6767
'{
68-
"code": %s,
68+
"code": %d,
6969
"type": %s,
7070
"message": %s
7171
}',

samples/client/petstore/r_test/R/Order.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -102,7 +102,7 @@ Order <- R6::R6Class(
102102
'{
103103
"id": %d,
104104
"petId": %d,
105-
"quantity": %s,
105+
"quantity": %d,
106106
"shipDate": %s,
107107
"status": %s,
108108
"complete": %s

samples/client/petstore/r_test/R/User.r

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -132,7 +132,7 @@ User <- R6::R6Class(
132132
"email": %s,
133133
"password": %s,
134134
"phone": %s,
135-
"userStatus": %s
135+
"userStatus": %d
136136
}',
137137
self$`id`,
138138
self$`username`,

0 commit comments

Comments
 (0)