Skip to content

Commit

Permalink
bug fixes (#6743)
Browse files Browse the repository at this point in the history
  • Loading branch information
ramnov authored and wing328 committed Oct 19, 2017
1 parent 1d89ab6 commit 3472c68
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion modules/swagger-codegen/src/main/resources/r/api.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -67,7 +67,7 @@
{{#hasBodyParam}}
{{#bodyParams}}
if (!missing(`{{paramName}}`)) {
body <- `{{paramName}}`$toJSON()
body <- `{{paramName}}`$toJSONString()
}
{{/bodyParams}}
{{/hasBodyParam}}
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
sprintf(
'{
{{#vars}}
"{{baseName}}": {{#isListContainer}}[{{/isListContainer}}{{#isPrimitiveType}}{{#isNumeric}}%d{{/isNumeric}}{{^isNumeric}}"%s"{{/isNumeric}}{{/isPrimitiveType}}{{^isPrimitiveType}}%s{{/isPrimitiveType}}{{#isListContainer}}]{{/isListContainer}}{{#hasMore}},{{/hasMore}}
"{{baseName}}": {{#isListContainer}}[{{/isListContainer}}{{#isPrimitiveType}}{{#isNumeric}}%d{{/isNumeric}}{{^isNumeric}}%s{{/isNumeric}}{{/isPrimitiveType}}{{^isPrimitiveType}}%s{{/isPrimitiveType}}{{#isListContainer}}]{{/isListContainer}}{{#hasMore}},{{/hasMore}}
{{/vars}}
}',
{{#vars}}
Expand Down

0 comments on commit 3472c68

Please sign in to comment.