tests/testthat/files/filters.R

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

#*@filter nospace
function(){

}

#* @get /
function(req){
  req$args$hello
}
trestletech/plumber documentation built on March 16, 2024, 8:21 a.m.