swagger_path: Path to Swagger Resources

View source: R/paths.R

swagger_pathR Documentation

Path to Swagger Resources

Description

Retrieves the path to swagger resources.

Usage

swagger_path(version = "5")

Arguments

version

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

Examples


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


swagger documentation built on June 29, 2024, 1:07 a.m.