mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
refactor(api): remove max_length validation for return_url in PaymentsRequest (#8125)
This commit is contained in:
@ -964,7 +964,7 @@ pub struct PaymentsRequest {
|
||||
pub description: Option<String>,
|
||||
|
||||
/// The URL to which you want the user to be redirected after the completion of the payment operation
|
||||
#[schema(value_type = Option<String>, example = "https://hyperswitch.io", max_length = 255)]
|
||||
#[schema(value_type = Option<String>, example = "https://hyperswitch.io")]
|
||||
pub return_url: Option<Url>,
|
||||
|
||||
#[schema(value_type = Option<FutureUsage>, example = "off_session")]
|
||||
|
||||
Reference in New Issue
Block a user