vmm: Fix OpenAPI definition of for lock granularity

Use CamelCase as per the existing definitions (which allows the removal
of the serde transformation)

Signed-off-by: Rob Bradford <rbradford@meta.com>
This commit is contained in:
Rob Bradford
2026-03-11 08:16:13 -07:00
parent f211170fa2
commit 0a4fe0e41e
2 changed files with 2 additions and 3 deletions

View File

@@ -147,7 +147,6 @@ impl LockGranularity {
/// image. Without a byte-range lock, some NFS implementations may treat the
/// entire file as exclusively locked and prevent such operations (e.g. NetApp).
#[derive(Clone, Copy, Debug, Default, PartialEq, Eq, serde::Deserialize, serde::Serialize)]
#[serde(rename_all = "kebab-case")]
pub enum LockGranularityChoice {
/// Byte-range lock covering [0, size).
#[default]