Skip to content

Commit 5aa761f

Browse files
committed
Fix TruncationDirection by renaming to lowercase
1 parent 4e1df4a commit 5aa761f

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

router/src/http/types.rs

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -194,6 +194,7 @@ impl<'__s> ToSchema<'__s> for PredictInput {
194194
}
195195

196196
#[derive(Debug, Clone, Copy, PartialEq, Deserialize, ToSchema, Eq, Default)]
197+
#[serde(rename_all = "lowercase")]
197198
pub(crate) enum TruncationDirection {
198199
Left,
199200
#[default]

0 commit comments

Comments
 (0)