Skip to content

Commit

Permalink
Tidy plumber API (#590)
Browse files Browse the repository at this point in the history
Co-authored-by: James Blair <James Blair blairj09@users.noreply.github.com>
Co-authored-by: Barret Schloerke <schloerke@gmail.com>
Co-authored-by: Carson Sievert <cpsievert1@gmail.com>
  • Loading branch information
4 people committed Jul 22, 2020
1 parent 1b83130 commit 6d6e528
Show file tree
Hide file tree
Showing 18 changed files with 1,340 additions and 2 deletions.
5 changes: 4 additions & 1 deletion DESCRIPTION
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,8 @@ Imports:
crayon,
promises (>= 1.1.0),
sodium,
swagger (> 3.20.3)
swagger (> 3.20.3),
magrittr
LazyData: TRUE
ByteCompile: TRUE
Suggests:
Expand Down Expand Up @@ -70,7 +71,9 @@ Collate:
'plumber-response.R'
'plumber-static.R'
'plumber-step.R'
'pr.R'
'serializer.R'
'session-cookie.R'
'utf8.R'
'utils-pipe.R'
'zzz.R'
18 changes: 18 additions & 0 deletions NAMESPACE
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
# Generated by roxygen2: do not edit by hand

export("%>%")
export(PlumberEndpoint)
export(PlumberStatic)
export(addParser)
Expand Down Expand Up @@ -27,6 +28,22 @@ export(parser_text)
export(parser_yaml)
export(plumb)
export(plumber)
export(pr)
export(pr_cookie)
export(pr_delete)
export(pr_filter)
export(pr_get)
export(pr_handle)
export(pr_head)
export(pr_hook)
export(pr_hooks)
export(pr_mount)
export(pr_post)
export(pr_put)
export(pr_run)
export(pr_set_404)
export(pr_set_error)
export(pr_set_serializer)
export(randomCookieKey)
export(serializer_cat)
export(serializer_content_type)
Expand All @@ -48,5 +65,6 @@ import(promises)
import(stringi)
importFrom(jsonlite,parse_json)
importFrom(jsonlite,toJSON)
importFrom(magrittr,"%>%")
importFrom(stats,runif)
importFrom(webutils,parse_multipart)
2 changes: 2 additions & 0 deletions NEWS.md
Original file line number Diff line number Diff line change
Expand Up @@ -45,6 +45,8 @@ plumber 1.0.0

* Documentation is presented using pkgdown (#570)

* Tidy API for easier programmatic usage (@blairj09, #590)


### Minor new features and improvements

Expand Down
Loading

0 comments on commit 6d6e528

Please sign in to comment.