get_api: Get API

View source: R/operations.R

get_apiR Documentation

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

## Not run: 
# create operation and schema functions
api <- get_api(api_url)
operations <- get_operations(api)
schemas <- get_schemas(api)

## End(Not run)

bergant/rapiclient documentation built on May 15, 2022, 1:17 a.m.