Daniel (dB.) Doubrovkine
Daniel (dB.) Doubrovkine
Yes, please :100:
@soulim it's yours in the next 24 hours, update this issue with links to a branch with some progress if you're not done.
I think a swagger-rb library is definitely on the right track. Did you attempt to start changing grape-swagger to use it?
Whether swagger-rb is 2.0 compliant or not is something that can be resolved on its own. Gutting the implementation of grape-swagger would be a huge step forward, and having all...
Nothing has been done! I say rip out the guts of this gem and keep the tests, make a PR.
I dislike APIs that return two different types of things, but it's a matter of preference, so the proposal makes sense. Want to give it a try?
But is it a grape-swagger problem or a grape problem? Can we do one without the other?
Looks like a bug in grape-swagger, which should raise an error here, short of supporting openapi 3. For Grape though I don't see a reason not to implement it. If...
Go for it @sinscary, no need to ask.
Thanks. At the very least this needs an integration test. I don't like that we're checking against a Rails type. Maybe these objects `respond_to?(:something)` which can make this cleaner. Or...