Retrieves the path to swagger resources.
swagger_path(version = "3")
version | Major version number to be used for Swagger UI. Currently version |
---|
if (interactive()) { browseURL(swagger_path()) } else { print(paste("You can explore swagger resources under: ", swagger_path())) } #> [1] "You can explore swagger resources under: /home/runner/work/_temp/Library/swagger/dist3"