Make response objects camelCase

This commit is contained in:
Andras Schmelczer 2024-12-08 22:03:05 +00:00
parent 69babdf5a3
commit 6e0cb0a2dd
No known key found for this signature in database
GPG key ID: FC8F2C3D3D1A718C

View file

@ -25,6 +25,7 @@ impl StoredDocumentVersion {
}
#[derive(Debug, Clone, Serialize, JsonSchema)]
#[serde(rename_all = "camelCase")]
pub struct DocumentVersionWithoutContent {
pub vault_id: VaultId,
pub document_id: DocumentId,
@ -52,6 +53,7 @@ impl From<StoredDocumentVersion> for DocumentVersionWithoutContent {
}
#[derive(Debug, Clone, Serialize, JsonSchema)]
#[serde(rename_all = "camelCase")]
pub struct DocumentVersion {
pub vault_id: VaultId,
pub document_id: DocumentId,