refactor(router): add display_name field to connector feature api (#7121)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
AkshayaFoiger
2025-02-07 12:49:46 +05:30
committed by GitHub
parent 9772cb36ee
commit 50784ad1c1
8 changed files with 28 additions and 17 deletions

View File

@ -99,7 +99,8 @@ fn build_connector_feature_details(
.map(|webhook_flows| webhook_flows.to_vec());
feature_matrix::ConnectorFeatureMatrixResponse {
name: connector_name.to_uppercase(),
description: connector_about.map(|about| about.description.clone()),
display_name: connector_about.map(|about| about.display_name.to_string()),
description: connector_about.map(|about| about.description.to_string()),
category: connector_about.map(|about| about.connector_type),
supported_webhook_flows,
supported_payment_methods,