openapi-rust-sdk icon indicating copy to clipboard operation
openapi-rust-sdk copied to clipboard

Openapi SDK deserialization fails in existing Serde models

Open francescobianco opened this issue 1 year ago • 0 comments

I have existing Serde structs in my project:

#[derive(Serialize, Deserialize)]
struct User { id: u64, name: String }

SDK returns slightly different JSON (user_id instead of id). Is there a recommended way to map SDK responses into existing data structures?

francescobianco avatar Oct 01 '25 09:10 francescobianco