swagger_index: Path to Swagger Index

Description Usage Arguments Examples

View source: R/paths.R

Description

Retrieves the path to the swagger index file.

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_index())
} else {
  print(paste("You can use swagger under: ", swagger_index()))
}

swagger documentation built on Oct. 23, 2020, 6:10 p.m.