Retrieves the path to swagger resources.
1 |
1 2 3 4 5 | 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.