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 March 28, 2026, 9:07 a.m.