swagger_path: Path to Swagger Resources

Description Usage Arguments Examples

View source: R/paths.R

Description

Retrieves the path to swagger resources.

Usage

1

Arguments

version

Major version number to be used for Swagger UI. Currently version "3" is compatible with OpenAPI spec 2.0, 3.0.

Examples

1
2
3
4
5
if (interactive()) {
  browseURL(swagger_path())
} else {
  print(paste("You can explore swagger resources under: ", swagger_path()))
}

swagger documentation built on Sept. 13, 2020, 5:18 p.m.