plumber
plumber copied to clipboard
Turn your R code into a web API.
Hi, Most http clients put the abs_path in the GET header. We have the case where it does use absoluteURI. I expected plumber to automatically identify the right endpoint by...
And write up the runtime/execution chapter while here.
Custom image handlers parse the language inside of parens as a list ``` @png (width = 500) ``` Content-type serializers actually require the word `list`. ``` #* @serializer contentType list(type="application/pdf")...
Hello, I wondered if an asset could preempt a filter. It would be a nice feature. Regards
The tutorials at Ch 3.2 Filters is somehow abstract. After reading it many times, I still have no clues what the filters for and how to get it work. I...
Invert the current `@preempt` logic by allowing a filter to impose itself on a particular regex or glob of paths. This way you don't have to remember to annotate every...
The roxygen2 tag `@inheritParams` is used to grab & reuse documentation written elsewhere. http://r-pkgs.had.co.nz/man.html A similar type of tag would be a great feature to have in Plumber! This comes...
```r #' Check health #' @preempt auth1 auth2 #' @tag debug #' @get /health health
The router below works as expected. ```r #* @get /a (function(){ cat("sourced!\n") function() { valueA } })() #* @get /b function() { valueA } valueA
From what I can tell, openApi v3 doesn't support a single path for a static folder. https://swagger.io/specification/#pathsObject Would like to have a swagger paths be created for the content type...