-
Notifications
You must be signed in to change notification settings - Fork 257
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
Merged: type converters, dynamic image plots, dates/datetimes, open api object schema types, multiline comments, multipart form fix #905
Conversation
Co-authored-by: Barret Schloerke <barret@rstudio.com>
Co-authored-by: Barret Schloerke <barret@rstudio.com>
# Conflicts: # R/options_plumber.R # man/options_plumber.Rd
# Conflicts: # R/openapi-spec.R # R/plumber-step.R
@slodge Thanks for your work on the schemas -- I'm very interested in using this functionality. Is there a way to mark the schema properties as |
It looks like I include a line:
So if you try
then that should hopefully give you a required flag in the spec for I have no info on when/if any of this will make it into a plumber release. I don't believe there is anyone actively committing any time to plumber within Posit at present, and the team indicated that they won't accept these PR features until they've implemented some new "edition"-based versioning code - so I don't see this happening "soon". |
@slodge Awesome. The Thanks for sharing the status of this PR. The "Schema Object" seems to be a useful component of the OpenAPI Specification (at least in version 3.1.0), so it would be great to see this functionality in @schloerke Are you able to provide more color around the issues blocking this PR in terms of timelines? |
@schloerke @taylo5jm is there any kind of timeline for when someone at Posit might give plumber some attention? If we're waiting on "editions" before accepting new functionality, is there a design or draft PR for those so others can assist getting them built? |
I just wanted to follow up on this PR. It would be great to have. |
I suspect that this PR is too large to merge? Is there a suggested path forward for us to have argument type specification and parsing without having to manually cast inside the body of functions? |
The team haven't had time to work on this nor on the previous smaller PRs -
but I do get periodic assurances they are keen to work on things and they
are hopeful to get something integrated soon.
From what they said before (December 2022) I think they want to implement a
new versioning scheme before they accept any new functionality - this seems
sensible, but I don't know any timeline on that.
You can still see the smaller PRs in closed PRs here - your welcome to
reinstate them, but I'd check with posit on their availability and plans
before investing too much effort 👍
Alternatively, it looks increasingly like FastApi might be a good route to
consider - that has ongoing development and good support in Connect.
…On Tue, 7 Nov 2023, 21:39 Josiah Parry, ***@***.***> wrote:
I suspect that this PR is too large to merge? Is there a suggested path
forward for us to have argument type specification and parsing without
having to manually cast inside the body of functions?
—
Reply to this email directly, view it on GitHub
<#905 (comment)>, or
unsubscribe
<https://github.com/notifications/unsubscribe-auth/AAECJHTZJGTEIVFENGOXQQLYDKTCVAVCNFSM6AAAAAAVEUN4USVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBQGIYDQOBSGY>
.
You are receiving this because you were mentioned.Message ID:
***@***.***>
|
@slodge thanks! FastAPI is a python library and out of scope of my interest :) |
I think this is the smaller PR you are interested in -
#889
We closed it because it was too much effort maintaining multiple
long-running feature branches for us internally.
…On Tue, 7 Nov 2023, 22:05 Stuart Lodge, ***@***.***> wrote:
The team haven't had time to work on this nor on the previous smaller PRs
- but I do get periodic assurances they are keen to work on things and they
are hopeful to get something integrated soon.
From what they said before (December 2022) I think they want to implement
a new versioning scheme before they accept any new functionality - this
seems sensible, but I don't know any timeline on that.
You can still see the smaller PRs in closed PRs here - your welcome to
reinstate them, but I'd check with posit on their availability and plans
before investing too much effort 👍
Alternatively, it looks increasingly like FastApi might be a good route to
consider - that has ongoing development and good support in Connect.
On Tue, 7 Nov 2023, 21:39 Josiah Parry, ***@***.***> wrote:
> I suspect that this PR is too large to merge? Is there a suggested path
> forward for us to have argument type specification and parsing without
> having to manually cast inside the body of functions?
>
> —
> Reply to this email directly, view it on GitHub
> <#905 (comment)>,
> or unsubscribe
> <https://github.com/notifications/unsubscribe-auth/AAECJHTZJGTEIVFENGOXQQLYDKTCVAVCNFSM6AAAAAAVEUN4USVHI2DSMVQWIX3LMV43OSLTON2WKQ3PNVWWK3TUHMYTQMBQGIYDQOBSGY>
> .
> You are receiving this because you were mentioned.Message ID:
> ***@***.***>
>
|
|
Fix for file/binary api types in swagger
Add Multiline comment support
Merging updates for multiline comments too
Notes from #911 also merged |
Change print to message in default error logs
As discussed in #920 this PR is too large and complex to merge. Respectfully closing. |
This replaces the previous PRs on type converters, dynamic image plots, dates/datetimes and on open api object schema types - #897 #889 #891 #892
If these changes were ever to go ahead, there's a heap of documentation and some tests to sort out... but that's for future consideration.
Current manual test app:
renders and runs as: