Serializer can be defined on @Api.