Darren
Darren
You can define a class that implements `call` method and use that class in helper or in coerce_with. ```ruby class QueryPreprocessor def self.call(query) query.split(/\s+/).map(&:to_i) end end # api route_param :cat_id...
@lstanden The multiple `in: 'body'` are combined in `GrapeSwagger::DocMethods::MoveParams `, which not support `delete` method. https://github.com/ruby-grape/grape-swagger/blob/8e4a39cea858ea336f27814d433ee5b3996108a2/lib/grape-swagger/doc_methods/move_params.rb#L218-L220
@bobbytables You can set swagger documentation version with `doc_version`. You can find it at https://github.com/ruby-grape/grape-swagger#doc_version-.