tests/testthat/files/filters.R

#* @filter something
function(req){
  req$args$hello <- 23
}

#*@filter nospace
function(){

}

#* @get /
function(req){
  req$args$hello
}
rstudio/plumber documentation built on April 12, 2025, 7:33 p.m.