Retrieves the path to the swagger index file.
swagger_index(version = "3")
Major version number to be used for Swagger UI. Currently version "3" is compatible with OpenAPI spec 2.0, 3.0.
"3"
# NOT RUN { if (interactive()) { browseURL(swagger_index()) } else { print(paste("You can use swagger under: ", swagger_index())) } # }
Run the code above in your browser using DataLab