mirror of
https://github.com/valitydev/openapi-generator.git
synced 2024-11-07 10:58:55 +00:00
e3ba06cabb
* * Fix bugs in api.mustache, model.mustache, mostly bracket errors or small typos * Added section about installation in README.mustace TODO: fix tests in testthat TODO: fix bug in description.mustace regarding package name * Updates to sample for R client caused by running ./bin/r-petstore.sh (or .\bin\windows\r-petstore.bat) * Add R specific files to .gitignore * [R] add additional files generated by the petstore sample. (see #6520) |
||
---|---|---|
.. | ||
.swagger-codegen | ||
man | ||
R | ||
tests | ||
.gitignore | ||
.Rbuildignore | ||
.swagger-codegen-ignore | ||
.travis.yml | ||
DESCRIPTION | ||
git_push.sh | ||
NAMESPACE | ||
petstore.Rproj | ||
README.md |
R API client for swagger
This is a sample server Petstore server. You can find out more about Swagger at http://swagger.io or on irc.freenode.net, #swagger. For this sample, you can use the api key special-key
to test the authorization filters.
Overview
This API client was generated by the swagger-codegen project. By using the OpenAPI/Swagger spec from a remote server, you can easily generate an API client.
- API version: 1.0.0
- Package version: 1.0.0
- Build package: io.swagger.codegen.languages.RClientCodegen
Installation
You'll need the devtools
package in order to build the API.
Make sure you have a proper CRAN repository from which you can download packages.
Prerequisites
Install the devtools
package with the following command.
if(!require(devtools)) { install.packages("devtools") }
Installation of the API package
Make sure you set the working directory to where the API code is located. Then execute
library(devtools)
install(".")