rapiclient (version 0.1.3)

get_api: Get API

Description

Create API object from Swagger specification

Usage

get_api(url, config = NULL)

Arguments

url

Api url (can be json or yaml format)

config

httr::config() curl options.

Value

API object

See Also

See also get_operations and get_schemas

Examples

Run this code
# NOT RUN {
# create operation and schema functions
api <- get_api(api_url)
operations <- get_operations(api)
schemas <- get_schemas(api)
# }

Run the code above in your browser using DataLab