Skip to content

Commit

Permalink
Consistent naming for Connector Account
Browse files Browse the repository at this point in the history
  • Loading branch information
AnuthaDev committed Nov 7, 2024
1 parent 01f8cc2 commit 48c96dc
Show file tree
Hide file tree
Showing 8 changed files with 15 additions and 15 deletions.
6 changes: 3 additions & 3 deletions api-reference-v2/mint.json
Original file line number Diff line number Diff line change
Expand Up @@ -78,9 +78,9 @@
{
"group": "Connector Account",
"pages": [
"api-reference/merchant-connector-account/merchant-connector--create",
"api-reference/merchant-connector-account/merchant-connector--retrieve",
"api-reference/merchant-connector-account/merchant-connector--update"
"api-reference/connector-account/connector-account--create",
"api-reference/connector-account/connector-account--retrieve",
"api-reference/connector-account/connector-account--update"
]
},
{
Expand Down
12 changes: 6 additions & 6 deletions api-reference-v2/openapi_spec.json
Original file line number Diff line number Diff line change
Expand Up @@ -213,8 +213,8 @@
"tags": [
"Merchant Connector Account"
],
"summary": "Merchant Connector - Create",
"description": "Creates a new Merchant Connector for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/Accounting etc.",
"summary": "Connector Account - Create",
"description": "Creates a new Connector Account for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/Accounting etc.",
"operationId": "Create a Merchant Connector",
"requestBody": {
"content": {
Expand Down Expand Up @@ -290,7 +290,7 @@
"tags": [
"Merchant Connector Account"
],
"summary": "Merchant Connector - Retrieve",
"summary": "Connector Account - Retrieve",
"description": "Retrieves details of a Connector account",
"operationId": "Retrieve a Merchant Connector",
"parameters": [
Expand Down Expand Up @@ -333,8 +333,8 @@
"tags": [
"Merchant Connector Account"
],
"summary": "Merchant Connector - Update",
"description": "To update an existing Merchant Connector account. Helpful in enabling/disabling different payment methods and other settings for the connector",
"summary": "Connector Account - Update",
"description": "To update an existing Connector account. Helpful in enabling/disabling different payment methods and other settings for the connector",
"operationId": "Update a Merchant Connector",
"parameters": [
{
Expand Down Expand Up @@ -20093,7 +20093,7 @@
"type": "apiKey",
"in": "header",
"name": "api-key",
"description": "Admin API keys allow you to perform some privileged actions such as creating a merchant account and Merchant Connector account."
"description": "Admin API keys allow you to perform some privileged actions such as creating a merchant account and Connector account."
},
"api_key": {
"type": "apiKey",
Expand Down
2 changes: 1 addition & 1 deletion crates/openapi/src/openapi_v2.rs
Original file line number Diff line number Diff line change
Expand Up @@ -614,7 +614,7 @@ impl utoipa::Modify for SecurityAddon {
SecurityScheme::ApiKey(ApiKey::Header(ApiKeyValue::with_description(
"api-key",
"Admin API keys allow you to perform some privileged actions such as \
creating a merchant account and Merchant Connector account."
creating a merchant account and Connector account."
))),
),
(
Expand Down
10 changes: 5 additions & 5 deletions crates/openapi/src/routes/merchant_connector_account.rs
Original file line number Diff line number Diff line change
Expand Up @@ -61,9 +61,9 @@
)]
pub async fn connector_create() {}

/// Merchant Connector - Create
/// Connector Account - Create
///
/// Creates a new Merchant Connector for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/Accounting etc.
/// Creates a new Connector Account for the merchant account. The connector could be a payment processor/facilitator/acquirer or a provider of specialized services like Fraud/Accounting etc.
#[cfg(feature = "v2")]
#[utoipa::path(
post,
Expand Down Expand Up @@ -146,7 +146,7 @@ pub async fn connector_create() {}
)]
pub async fn connector_retrieve() {}

/// Merchant Connector - Retrieve
/// Connector Account - Retrieve
///
/// Retrieves details of a Connector account
#[cfg(feature = "v2")]
Expand Down Expand Up @@ -235,9 +235,9 @@ pub async fn connector_list() {}
)]
pub async fn connector_update() {}

/// Merchant Connector - Update
/// Connector Account - Update
///
/// To update an existing Merchant Connector account. Helpful in enabling/disabling different payment methods and other settings for the connector
/// To update an existing Connector account. Helpful in enabling/disabling different payment methods and other settings for the connector
#[cfg(feature = "v2")]
#[utoipa::path(
put,
Expand Down

0 comments on commit 48c96dc

Please sign in to comment.