Hi,
While following the vignette on Docker hosting (https://plumber2.posit.co/articles/hosting.html#docker),
I tried to generate a _server.yml file using the recommended code:
# Create _server.yml in the working directory
create_server_yml(
"api.R",
"routes/users.R",
"routes/data.R",
options = list(docs = TRUE, port = 8000, host = "0.0.0.0")
)
However, the options argument no longer exists in the current implementation of create_server_yml() (see:
|
create_server_yml <- function( |
|
..., |
|
path = ".", |
|
constructor = NULL, |
|
freeze_opt = TRUE |
|
) { |
).
As a result, the example from the vignette no longer works with the current version of plumber2.
It would be helpful to update the documentation so that the example code isconsistent with the current API.
Hi,
While following the vignette on Docker hosting (https://plumber2.posit.co/articles/hosting.html#docker),
I tried to generate a
_server.ymlfile using the recommended code:However, the options argument no longer exists in the current implementation of create_server_yml() (see:
plumber2/R/create_server_yml.R
Lines 26 to 31 in b10bbd0
As a result, the example from the vignette no longer works with the current version of
plumber2.It would be helpful to update the documentation so that the example code isconsistent with the current API.