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