Looking for a bit of feedback here. I want to rewrite the grape-swagger gem to make it a bit more flexible/useful, but in looking through grape I realized there are numerous ways of achieving the same thing (ie defining routes, documenting params etc).
I created a sample repo that includes a few of these differences and I just wanted to get your feedback as to which method going forward is going to be the standard API for such definitions.
As an example, when defining params for a route, one can define a desc method with a hash including aparameters key, or they can use the desc method with a block and call the parameters method, OR they can directly provide params using the params block. Should grape-swagger work for all of these methods?
I just want to find out exactly what I should be using to make sure my impl isn't obsolete when it comes out.
If someone can look through the repo, there's lots of comments in there outlining my confusing, and you can also run the app to see what I'm talking about (for param generation for instance). If you can just comment here with a few clarifications that will help me get started.
--
You received this message because you are subscribed to the Google Groups "Grape Framework Discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to ruby-grape+...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.