Generic for applying information from a plumber2 block to an api
Source:R/parse_plumber_file.R
apply_plumber2_block.Rd
In order to facilitate extensibility of the plumber2 file syntax you can provide your own methods for how to apply information from a plumber2 block to an api.
Arguments
- block
The block that was parsed
- api
The Plumber2 api object to apply it to
- route_name
The name of the route the plumber2 file is associated with. Either the name of the file or the value of the
@routeName
tag- ...
ignored