openapi-generator/samples/client/petstore/R
Jakob Schelbert e3ba06cabb Fix some bugs for the R client (#6535)
* * 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)
2017-09-27 00:06:53 +08:00
..
.swagger-codegen Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
man Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
R Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
tests Adding R Petstore Client Package (#6307) 2017-08-14 16:06:08 +08:00
.gitignore Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
.Rbuildignore Adding R Petstore Client Package (#6307) 2017-08-14 16:06:08 +08:00
.swagger-codegen-ignore Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
.travis.yml Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
DESCRIPTION Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
git_push.sh Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
NAMESPACE Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
petstore.Rproj Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00
README.md Fix some bugs for the R client (#6535) 2017-09-27 00:06:53 +08:00

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(".")

Author

apiteam@swagger.io