public static void AddSupportedResponseTypeIfNotExists(this ApiDescription actionDescription, int statusCode, Type type = null) { actionDescription.AddSupportedResponseTypeIfNotExists(new ApiResponseType() { Type = type, StatusCode = statusCode }); }