Is your feature request related to a problem? Please describe.
Hi, again! Our controllers have begun using separate serialisers for each endpoint. For example, ObjectsController#index, #show, #some_other_action would have ObjectIndexSerializer, ObjectSerializer/ObjectShowSerializer, ObjectSomeOtherActionSerializer.
Describe the solution you'd like
It would be cool to be able to have the model annotations on each of these serialisers in addition to the default ObjectSerializer. Also happy if this requires manual configuration, e.g. some YAML file with a mapping.
Describe alternatives you've considered
Nothing springs to mind!
Is your feature request related to a problem? Please describe.
Hi, again! Our controllers have begun using separate serialisers for each endpoint. For example,
ObjectsController#index,#show,#some_other_actionwould haveObjectIndexSerializer,ObjectSerializer/ObjectShowSerializer,ObjectSomeOtherActionSerializer.Describe the solution you'd like
It would be cool to be able to have the model annotations on each of these serialisers in addition to the default
ObjectSerializer. Also happy if this requires manual configuration, e.g. some YAML file with a mapping.Describe alternatives you've considered
Nothing springs to mind!