mariobox
mariobox copied to clipboard
A Framework For Packaging {plumber} APIs
In https://github.com/ThinkR-open/mariobox/blob/main/R/build_plumber_file.R#L30C1-L35C4, add the `@apiDescription` and `@apiVersion` using the information from DESCRIPTION
Currently ``` r add_endpoint(name = "cleint-info") ``` will yield a function called `get_client-info()` ## Validation - [ ] Running `add_endpoint(name = "cleint-info")` yields a function called `get_client_info()` ## Tech -...
## Validation + [ ] When I run build_plumber_file(), the plumber file is buildignored ## Dev + [ ] usethis::use_build_ignore()
## Validation + [ ] I can run `build_plumber_file()` twice and the file is not appended but replaced ## Tech + [ ] Unlink the file before writing
## Validation - [ ] Transforming an existing empty project detects the name of the project and use it as the name of the package instead of `.` as specified...
## Validation - [ ] Running `add_endpoint()` does not open two useless files to be edited ## Problem If I run `mariobox::add_endpoint("text")`, RStudio opens an empty editor opens up, and...
plumber has a notion of filter, there should be something in the YAML to add them

Log the API package version when Plumber is started, e.g.: ```R run_api