mirror of
https://github.com/juspay/hyperswitch.git
synced 2025-10-27 11:24:45 +08:00
fix(refunds): remove to schema from refund aggregate response and exclude it from open api documentation (#6405)
Co-authored-by: github-actions <41898282+github-actions[bot]@users.noreply.github.com> Co-authored-by: Sandeep Kumar <83278309+tsdk02@users.noreply.github.com> Co-authored-by: Sai Harsha Vardhan <56996463+sai-harsha-vardhan@users.noreply.github.com> Co-authored-by: Shankar Singh C <83439957+ShankarSinghC@users.noreply.github.com> Co-authored-by: spritianeja03 <146620839+spritianeja03@users.noreply.github.com> Co-authored-by: Spriti Aneja <spriti.aneja@juspay.in> Co-authored-by: hyperswitch-bot[bot] <148525504+hyperswitch-bot[bot]@users.noreply.github.com> Co-authored-by: Kashif <kashif.dev@protonmail.com>
This commit is contained in:
@ -17045,22 +17045,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"RefundAggregateResponse": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"status_with_count"
|
||||
],
|
||||
"properties": {
|
||||
"status_with_count": {
|
||||
"type": "object",
|
||||
"description": "The list of refund status with their count",
|
||||
"additionalProperties": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RefundErrorDetails": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
|
||||
@ -21824,22 +21824,6 @@
|
||||
}
|
||||
}
|
||||
},
|
||||
"RefundAggregateResponse": {
|
||||
"type": "object",
|
||||
"required": [
|
||||
"status_with_count"
|
||||
],
|
||||
"properties": {
|
||||
"status_with_count": {
|
||||
"type": "object",
|
||||
"description": "The list of refund status with their count",
|
||||
"additionalProperties": {
|
||||
"type": "integer",
|
||||
"format": "int64"
|
||||
}
|
||||
}
|
||||
}
|
||||
},
|
||||
"RefundListRequest": {
|
||||
"allOf": [
|
||||
{
|
||||
|
||||
@ -346,7 +346,7 @@ pub struct RefundListFilters {
|
||||
pub refund_status: Vec<enums::RefundStatus>,
|
||||
}
|
||||
|
||||
#[derive(Clone, Debug, serde::Serialize, ToSchema)]
|
||||
#[derive(Clone, Debug, serde::Serialize)]
|
||||
pub struct RefundAggregateResponse {
|
||||
/// The list of refund status with their count
|
||||
pub status_with_count: HashMap<enums::RefundStatus, i64>,
|
||||
|
||||
@ -491,7 +491,6 @@ Never share your secret api keys. Keep them guarded and secure.
|
||||
api_models::payment_methods::PaymentMethodCollectLinkResponse,
|
||||
api_models::refunds::RefundListRequest,
|
||||
api_models::refunds::RefundListResponse,
|
||||
api_models::refunds::RefundAggregateResponse,
|
||||
api_models::payments::AmountFilter,
|
||||
api_models::mandates::MandateRevokedResponse,
|
||||
api_models::mandates::MandateResponse,
|
||||
|
||||
@ -433,7 +433,6 @@ Never share your secret api keys. Keep them guarded and secure.
|
||||
api_models::payment_methods::PaymentMethodCollectLinkResponse,
|
||||
api_models::refunds::RefundListRequest,
|
||||
api_models::refunds::RefundListResponse,
|
||||
api_models::refunds::RefundAggregateResponse,
|
||||
api_models::payments::AmountFilter,
|
||||
api_models::mandates::MandateRevokedResponse,
|
||||
api_models::mandates::MandateResponse,
|
||||
|
||||
Reference in New Issue
Block a user