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

Openapi SDK integration in Yew web app

Open francescobianco opened this issue 1 year ago • 0 comments

Trying to call SDK from Yew component:

wasm_bindgen_futures::spawn_local(async move {
    let users = client.get_users().await.unwrap();
});

Compilation fails with Client not wasm-bindgen compatible. Is there a recommended approach for SDK usage in WASM/Yew projects?

francescobianco avatar Oct 01 '25 09:10 francescobianco