Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Guess OpenAPI response type from serializer #684

Merged
merged 8 commits into from Dec 29, 2020

Conversation

meztez
Copy link
Collaborator

@meztez meztez commented Oct 2, 2020

In response to #420

reprex

a <- pr()
pr_get(a, "/json", function() {"OK"}, serializer = serializer_json)
pr_get(a, "/csv", function() {"OK"}, serializer = serializer_csv())
spec <- a$getApiSpec()

PR task list:

  • Update NEWS
  • Add tests
  • Update documentation with devtools::document()

R/openapi-spec.R Outdated Show resolved Hide resolved
R/openapi-spec.R Outdated Show resolved Hide resolved
R/openapi-spec.R Outdated Show resolved Hide resolved
NEWS.md Outdated Show resolved Hide resolved
@schloerke
Copy link
Collaborator

Fix failure in master branch. Merging

@schloerke schloerke merged commit 49f5fcd into rstudio:master Dec 29, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants