From 9f78a982906422a9a1262a7c4d792d841897db68 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Sun, 18 Jan 2026 12:50:46 +0000 Subject: [PATCH] test: Add webauthn api tests (#522) Add base test for the webauthn credential registration and authentication. To make the testing simpler split api types into smaller pieces adding useful type convertors. --- .../src/api/identity/v4/user/passkey/register_finish.rs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/openstack_sdk/src/api/identity/v4/user/passkey/register_finish.rs b/openstack_sdk/src/api/identity/v4/user/passkey/register_finish.rs index 292e3285e..c4ca5bc51 100644 --- a/openstack_sdk/src/api/identity/v4/user/passkey/register_finish.rs +++ b/openstack_sdk/src/api/identity/v4/user/passkey/register_finish.rs @@ -34,9 +34,9 @@ pub struct CredProps { /// /// Note that this extension is UNSIGNED and may have been altered by page /// javascript. - #[serde()] - #[builder(setter(into))] - pub(crate) rk: bool, + #[serde(skip_serializing_if = "Option::is_none")] + #[builder(default, setter(into))] + pub(crate) rk: Option>, } #[derive(Debug, Deserialize, Clone, Serialize)]