Transformers are classes implementing the TransformerInterface
interface.
You can set them by using the setTransformer
of the ApiFactory
class.
You can only set one transformer because you can't retrieve the same data in many forms in the same request.