Daniel (dB.) Doubrovkine
Daniel (dB.) Doubrovkine
Thanks for the test @infiniteluke. Don't hold back if you find that time ;)
If there's a good reason, sure. Otherwise unless it's difficult or annoying to preserve compatibility with Ruby 2.5, and if we don't want to take advantage of some feature in...
I don't think grape-swagger currently supports it, but there should be a way to do this. I'll label this as a feature request.
Note that we discussed rewriting grape-swagger on top of swagger-rb, see https://github.com/tim-vandecasteele/grape-swagger/issues/137, which would make this much easier.
I don't think so, but it would be nice if we extended all keywords, including what's inside `desc`, similarly to `params` with `use:`. I think I'd like to be able...
Another idea is to define `authenticated_resource` that will call `resource` and add those headers.
It's a good idea @Koilanetroc but would have to look at a PR to be sure.
I bet there's "history" rather than a reason for this one. I don't remember. Maybe git blame it back to a PR?
@kevinelliott Doesn't look like it, feel free to PR.
> It would be good to be able to load manually validators for each API so that we can have scoped validators and don't have name conflicts. agreed