Skip to content

Commit

Permalink
Currently swagger doc only support character version. (#929)
Browse files Browse the repository at this point in the history
  • Loading branch information
meztez authored Nov 20, 2023
1 parent 0c59025 commit 58e54d3
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 deletions.
4 changes: 2 additions & 2 deletions R/ui.R
Original file line number Diff line number Diff line change
Expand Up @@ -171,8 +171,8 @@ unmount_openapi <- function(pr) {
#' # * via `pr_set_docs()`
#' # * or through URL query string variables
#' pr() %>%
#' # Set default argument `version = 3` for the swagger `index` and `static` functions
#' pr_set_docs("swagger", version = 3) %>%
#' # Set default argument `version = "3"` for the swagger `index` and `static` functions
#' pr_set_docs("swagger", version = "3") %>%
#' pr_get("/plus/<a:int>/<b:int>", function(a, b) { a + b }) %>%
#' pr_run()
#' }
Expand Down
4 changes: 2 additions & 2 deletions man/register_docs.Rd

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

0 comments on commit 58e54d3

Please sign in to comment.