Skip to content

Openapi SDK deserialization fails in existing Serde models #6

Description

@francescobianco

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?

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions