From ae160e9fa84149cc4f9e364280cabbcb59a59054 Mon Sep 17 00:00:00 2001 From: "github-actions[bot]" Date: Tue, 20 Jan 2026 17:00:34 +0000 Subject: [PATCH] refactor: Use as a type for config public_endpoint (#526) In order to skip repeated parsing of the url set in the config as a public_endpoint change it's type in the config so that it is only parsed once during the config load. --- .../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)]