Route registration is possible with a method or a decorator
deserialize_to raise a specific error when it's not able to deserialize data + doc