Description Usage Arguments Examples
Retrieves the path to the swagger index file.
1 | swagger_index(version = "3")
|
version |
Major version number to be used for Swagger UI. Currently version |
1 2 3 4 5 | if (interactive()) {
browseURL(swagger_index())
} else {
print(paste("You can use swagger under: ", swagger_index()))
}
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.