mirror of
https://github.com/meilisearch/meilisearch.git
synced 2025-09-05 12:16:32 +00:00
camel case the fields in "origin"
This commit is contained in:
@ -747,6 +747,7 @@ pub enum TaskNetwork {
|
|||||||
Remotes { remote_tasks: BTreeMap<String, RemoteTask> },
|
Remotes { remote_tasks: BTreeMap<String, RemoteTask> },
|
||||||
}
|
}
|
||||||
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, ToSchema)]
|
#[derive(Debug, PartialEq, Clone, Serialize, Deserialize, ToSchema)]
|
||||||
|
#[serde(untagged, rename_all = "camelCase")]
|
||||||
pub struct Origin {
|
pub struct Origin {
|
||||||
pub remote_name: String,
|
pub remote_name: String,
|
||||||
pub task_uid: usize,
|
pub task_uid: usize,
|
||||||
|
Reference in New Issue
Block a user