Radish alpha
r
Radicle desktop app
Radicle
Git (anonymous pull)
Log in to clone via SSH
Accept camelCase release_id over HTTP
Daniel Norman committed 7 days ago
commit 31f64e45055a1c23e7d3b9224182436bd5e3d2e9
parent f57254d3d5ff05cb423f43b0dcfa9a4c0d24e14f
1 file changed +7 -0
modified crates/test-http-api/src/api.rs
@@ -640,6 +640,7 @@ struct RidBody {
}

#[derive(Serialize, Deserialize)]
+
#[serde(rename_all = "camelCase")]
struct ReleaseByIdBody {
    pub rid: identity::RepoId,
    pub release_id: String,
@@ -665,6 +666,7 @@ struct CreateOrOpenReleaseBody {
}

#[derive(Serialize, Deserialize)]
+
#[serde(rename_all = "camelCase")]
struct AddArtifactBody {
    pub rid: identity::RepoId,
    pub release_id: String,
@@ -673,6 +675,7 @@ struct AddArtifactBody {
}

#[derive(Serialize, Deserialize)]
+
#[serde(rename_all = "camelCase")]
struct LocationBody {
    pub rid: identity::RepoId,
    pub release_id: String,
@@ -681,6 +684,7 @@ struct LocationBody {
}

#[derive(Serialize, Deserialize)]
+
#[serde(rename_all = "camelCase")]
struct AttestBody {
    pub rid: identity::RepoId,
    pub release_id: String,
@@ -688,6 +692,7 @@ struct AttestBody {
}

#[derive(Serialize, Deserialize)]
+
#[serde(rename_all = "camelCase")]
struct RedactBody {
    pub rid: identity::RepoId,
    pub release_id: String,
@@ -696,6 +701,7 @@ struct RedactBody {
}

#[derive(Serialize, Deserialize)]
+
#[serde(rename_all = "camelCase")]
struct SetMetadataBody {
    pub rid: identity::RepoId,
    pub release_id: String,
@@ -705,6 +711,7 @@ struct SetMetadataBody {
}

#[derive(Serialize, Deserialize)]
+
#[serde(rename_all = "camelCase")]
struct RemoveMetadataBody {
    pub rid: identity::RepoId,
    pub release_id: String,