Skip to content

Commit 5cf336b

Browse files
committed
Fixes for atomic deployment
1 parent a9f05ec commit 5cf336b

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/rust/client_gen.rs

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ use crate::rust::lib_gen::{Module, ModuleDef, ModuleName};
1717
use crate::rust::model_gen::RefCache;
1818
use crate::rust::printer::*;
1919
use crate::rust::types::{
20-
ref_or_box_schema_type, ref_or_schema_type, DataType, ModelType, RustPrinter, RustResult,
20+
ref_or_box_schema_type, ref_or_schema_type, DataType, IntFormat, ModelType, RustPrinter, RustResult
2121
};
2222
use crate::{Error, Result};
2323
use convert_case::{Case, Casing};
@@ -748,6 +748,7 @@ fn render_path_param(method: &Method, name: &str) -> RustResult {
748748
DataType::String => Ok(unit() + &param.name),
749749
DataType::Uuid => Ok(unit() + "&" + &param.name + ".to_string()"),
750750
DataType::Model(_) => Ok(unit() + "&" + &param.name + ".to_string()"),
751+
DataType::Int(IntFormat::U64) => Ok(unit() + "&" + &param.name + ".to_string()"),
751752
_ => Err(Error::unexpected(format!(
752753
"Unexpected param type {name}: {:?}",
753754
param.tpe

0 commit comments

Comments
 (0)