allow the use of different serializers depending on the request method
allow swagger to show different serializers for the same api endpoint dependant on the request method