mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-30 01:27:31 +08:00
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:
@ -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),
|
||||
|
||||
@ -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,
|
||||
|
||||
Reference in New Issue
Block a user