Skip to contents

Retrieve a cached API spec

Usage

bunddev_spec(id, refresh = FALSE)

Arguments

id

Registry id.

refresh

Logical; if TRUE, ignore cached responses and re-fetch from the API (default FALSE).

Value

Parsed OpenAPI specification as a nested list.

Details

Downloads the OpenAPI spec from the registry if it is missing or when refresh = TRUE. Parsed specs are returned as lists.

Examples

if (FALSE) { # \dontrun{
bunddev_spec("smard")
} # }