-
-
Notifications
You must be signed in to change notification settings - Fork 6.7k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
* [R] fix namespace, use 2-space indentation (#2105) * fix namespace, indentation * use 2-space indentation in model files * update gitignore * use PascalCase for function naming (#2106) * [R] improve .travis.yml, .Rbuildignore (#2109) * update travis * enhance travis.yml * update travis, .Rbuildignore * [R] Add auto-generated documentations, change parameter naming (#2114) * add auto-generated doc for r client * remove module name * replace nil with void * [R] fix object serialization to JSON (#2129) * fix object serialization * fix array property seriziation * fix deserializing array of string * fix array of object deserialization * [R] Fix return type (#2140) * fix return type * update r petstore sample * add auto-generated tests (#2141) * rename file to conform to style guide (#2142) * add authenticaiton support to R (#2153) [R] Add authentication support, minor ApiClient refactor * rename test files * [R] various improvements and bug fixes (#2162) * fix api keys in headers * use optional parameter in function signature * fix property naming * fix doc assignment operator * [R] fix base64 encode (#2171) * fix base64 encode * fix basic http auth * fix typo, update instruction (#2203) * rename test files to conform to style guide (#2206) * [R] improve class constructor (#2208) * update constructor with optional parameter, default value * update r petstore sample * clean up files * regenerate files * Revert "rename test files to conform to style guide (#2206)" This reverts commit 90a6302. * fix query parameter in api client (#2214)
- Loading branch information
Showing
58 changed files
with
3,123 additions
and
1,098 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,3 +1,15 @@ | ||
# ref: https://docs.travis-ci.com/user/languages/r/ | ||
language: r | ||
cache: packages | ||
cache: | ||
directories: | ||
- /home/travis/R/Library | ||
r_packages: | ||
- jsonlite | ||
- httr | ||
# uncomment below to install deps with devtools | ||
#install: | ||
#- R -e 'devtools::install_deps(dep = T)' | ||
script: | ||
- R CMD build . | ||
- R CMD check *tar.gz | ||
- R CMD INSTALL *tar.gz |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
18 changes: 18 additions & 0 deletions
18
modules/openapi-generator/src/main/resources/r/NAMESPACE.mustache
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,8 +1,26 @@ | ||
# Generated by openapi-generator: https://openapi-generator.tech | ||
# Do not edit by hand | ||
|
||
# Core | ||
export(ApiClient) | ||
export(ApiResponse) | ||
|
||
# Models | ||
{{#models}} | ||
{{#model}} | ||
export({{{classname}}}) | ||
{{/model}} | ||
{{/models}} | ||
|
||
# APIs | ||
{{#apiInfo}} | ||
{{#apis}} | ||
{{#operations}} | ||
{{#operation}} | ||
{{#-first}} | ||
export({{{classname}}}) | ||
{{/-first}} | ||
{{/operation}} | ||
{{/operations}} | ||
{{/apis}} | ||
{{/apiInfo}} |
Oops, something went wrong.