Removes deprecated "produces" from the endpoint definition