fix(openapi): Fix broken mintlify pages (v2) (#8382)

Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com>
This commit is contained in:
Anurag Thakur
2025-06-20 18:22:19 +05:30
committed by GitHub
parent 639b92c133
commit 9319c7a60c
18 changed files with 36 additions and 54 deletions

View File

@ -923,12 +923,7 @@ pub fn payments_update_intent() {}
"X-Profile-Id" = String, Header,
description = "Profile ID associated to the payment intent",
example = "pro_abcdefghijklmnop"
),
(
"X-Client-Secret" = String, Header,
description = "Client Secret Associated with the payment intent",
example = json!({"X-Client-Secret": "12345_pay_0193e41106e07e518940f8b51b9c8121_secret_0193e41107027a928d61d292e6a5dba9"})
),
)
),
request_body(
content = PaymentsConfirmIntentRequest,
@ -1058,11 +1053,6 @@ pub(crate) enum ForceSync {
description = "Profile ID associated to the payment intent",
example = "pro_abcdefghijklmnop"
),
(
"X-Client-Secret" = String, Header,
description = "Client Secret Associated with the payment intent",
example = json!({"X-Client-Secret": "12345_pay_0193e41106e07e518940f8b51b9c8121_secret_0193e41107027a928d61d292e6a5dba9"})
),
),
responses(
(status = 200, description = "Get the payment methods", body = PaymentMethodListResponseForPayments),

View File

@ -1,6 +1,9 @@
use serde_json::json;
use utoipa::OpenApi;
/// Tokenization - Create
///
/// Create a token with customer_id
#[cfg(feature = "v2")]
#[utoipa::path(
post,