diff --git a/modules/importer/src/model/mod.rs b/modules/importer/src/model/mod.rs index e5122157..2a3aa778 100644 --- a/modules/importer/src/model/mod.rs +++ b/modules/importer/src/model/mod.rs @@ -107,6 +107,7 @@ pub struct ImporterData { } #[derive(Clone, Debug, PartialEq, serde::Serialize, serde::Deserialize, ToSchema)] +#[serde(rename_all = "camelCase")] pub struct Progress { /// The current processed items. pub current: u32, diff --git a/openapi.yaml b/openapi.yaml index c9f46c56..e2a3394b 100644 --- a/openapi.yaml +++ b/openapi.yaml @@ -3054,19 +3054,19 @@ components: - total - percent - rate - - estimated_seconds_remaining - - estimated_completion + - estimatedSecondsRemaining + - estimatedCompletion properties: current: type: integer format: int32 description: The current processed items. minimum: 0 - estimated_completion: + estimatedCompletion: type: string format: date-time description: The estimated time of completion. - estimated_seconds_remaining: + estimatedSecondsRemaining: type: integer format: int64 description: The estimated remaining time in seconds.