On 2016-06-20 19:22, Sönke Ludwig wrote:

Serialization formats for query and body parameters are currently unfortunately still hard-coded, but making that customizable is planned. It still shows that the REST generator was initially just intended as a simple means to provide a RESTful RPC mechanism and not to replicate existing REST APIs.

The exact API design for the customization still needs to be worked out. The basic idea would be to define a UDA à la @bodySerializer!TheSerializer, but there are probably some details that require something more complex.

I see. Is it possible to somehow to do with the current version of
vibe.d, using some form of middleware of before hook? I thinking that
request could be modified to something the REST generator expects.

/Jacob Carlborg