callbackto tell where the API visual documentation is located
When set, it will be called with a character string corresponding to the API visual documentation url. This allows RStudio to locate visual documentation.
pr_set_docs_callback(pr, callback = getOption("plumber.docs.callback", NULL))
A Plumber API. Note: The supplied Plumber API object will also be updated in place as well as returned by the function.
a callback function for taking action on the docs url.
The Plumber router with the new docs callback setting.
options_plumber(), the value must be set before initializing your Plumber router.