swagger_path | R Documentation |
Retrieves the path to swagger resources.
swagger_path(version = "5")
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()))
}
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.