Make response objects camelCase
This commit is contained in:
parent
69babdf5a3
commit
6e0cb0a2dd
1 changed files with 2 additions and 0 deletions
|
|
@ -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,
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue