diff --git a/openstack_cli/src/identity/v4/federation/identity_provider/create.rs b/openstack_cli/src/identity/v4/federation/identity_provider/create.rs index 642c72f46..52b691fe0 100644 --- a/openstack_cli/src/identity/v4/federation/identity_provider/create.rs +++ b/openstack_cli/src/identity/v4/federation/identity_provider/create.rs @@ -125,7 +125,7 @@ struct IdentityProvider { #[arg(action=clap::ArgAction::Append, help_heading = "Body parameters", long)] oidc_response_types: Option>, - /// Additional special provider specific configuration + /// Additional special provider specific configuration. #[arg(help_heading = "Body parameters", long, value_name="key=value", value_parser=parse_key_val::)] provider_config: Option>, } diff --git a/openstack_cli/src/identity/v4/federation/mapping/list.rs b/openstack_cli/src/identity/v4/federation/mapping/list.rs index 894707a6e..af7562c8f 100644 --- a/openstack_cli/src/identity/v4/federation/mapping/list.rs +++ b/openstack_cli/src/identity/v4/federation/mapping/list.rs @@ -70,7 +70,7 @@ struct QueryParameters { #[arg(help_heading = "Query parameters", long)] idp_id: Option, - /// Limit number of entries on the single response page (Maximal 100) + /// Limit number of entries on the single response page (Maximal 100). #[arg( help_heading = "Query parameters", long("page-size"), diff --git a/openstack_sdk/src/api/identity/v4/federation/identity_provider/create.rs b/openstack_sdk/src/api/identity/v4/federation/identity_provider/create.rs index 5bc797834..321803084 100644 --- a/openstack_sdk/src/api/identity/v4/federation/identity_provider/create.rs +++ b/openstack_sdk/src/api/identity/v4/federation/identity_provider/create.rs @@ -103,14 +103,14 @@ pub struct IdentityProvider<'a> { #[builder(default, setter(into))] pub(crate) oidc_response_types: Option>>, - /// Additional special provider specific configuration + /// Additional special provider specific configuration. #[serde(skip_serializing_if = "Option::is_none")] #[builder(default, private, setter(into, name = "_provider_config"))] pub(crate) provider_config: Option, Value>>, } impl<'a> IdentityProviderBuilder<'a> { - /// Additional special provider specific configuration + /// Additional special provider specific configuration. pub fn provider_config(&mut self, iter: I) -> &mut Self where I: Iterator, diff --git a/openstack_sdk/src/api/identity/v4/federation/mapping/list.rs b/openstack_sdk/src/api/identity/v4/federation/mapping/list.rs index c3bff20a3..c6d557404 100644 --- a/openstack_sdk/src/api/identity/v4/federation/mapping/list.rs +++ b/openstack_sdk/src/api/identity/v4/federation/mapping/list.rs @@ -45,7 +45,7 @@ pub struct Request<'a> { #[builder(default, setter(into))] idp_id: Option>, - /// Limit number of entries on the single response page (Maximal 100) + /// Limit number of entries on the single response page (Maximal 100). #[builder(default)] limit: Option, 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..c207b1b97 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 @@ -24,7 +24,7 @@ use serde::Deserialize; use serde::Serialize; use std::borrow::Cow; -/// +/// . #[derive(Builder, Debug, Deserialize, Clone, Serialize)] #[builder(setter(strip_option))] pub struct CredProps { @@ -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)] @@ -50,7 +50,7 @@ pub enum CredProtect { } /// -/// The default option here for Options are None, so it can be derived +/// The default option here for Options are None, so it can be derived. #[derive(Builder, Debug, Deserialize, Clone, Serialize)] #[builder(setter(strip_option))] pub struct Extensions { @@ -59,12 +59,12 @@ pub struct Extensions { #[builder(default, setter(into))] pub(crate) appid: Option, - /// + /// . #[serde(skip_serializing_if = "Option::is_none")] #[builder(default, setter(into))] pub(crate) cred_props: Option, - /// Valid credential protection policies + /// Valid credential protection policies. #[serde(skip_serializing_if = "Option::is_none")] #[builder(default)] pub(crate) cred_protect: Option, @@ -98,7 +98,7 @@ pub enum Transports { Usb, } -/// +/// . #[derive(Builder, Debug, Deserialize, Clone, Serialize)] #[builder(setter(strip_option))] pub struct Response<'a> { @@ -126,7 +126,7 @@ pub struct Request<'a> { pub(crate) description: Option>, /// - /// The default option here for Options are None, so it can be derived + /// The default option here for Options are None, so it can be derived. #[builder(setter(into))] pub(crate) extensions: Extensions, @@ -144,7 +144,7 @@ pub struct Request<'a> { #[builder(setter(into))] pub(crate) raw_id: Cow<'a, str>, - /// + /// . #[builder(setter(into))] pub(crate) response: Response<'a>, diff --git a/openstack_sdk/src/api/identity/v4/user/passkey/register_start.rs b/openstack_sdk/src/api/identity/v4/user/passkey/register_start.rs index 608290c45..caf5dad55 100644 --- a/openstack_sdk/src/api/identity/v4/user/passkey/register_start.rs +++ b/openstack_sdk/src/api/identity/v4/user/passkey/register_start.rs @@ -32,7 +32,7 @@ use std::borrow::Cow; #[derive(Builder, Debug, Deserialize, Clone, Serialize)] #[builder(setter(strip_option))] pub struct Passkey<'a> { - /// Passkey description + /// Passkey description. #[serde(skip_serializing_if = "Option::is_none")] #[builder(default, setter(into))] pub(crate) description: Option>, diff --git a/openstack_types/src/identity/v4/user/passkey/response/register_start.rs b/openstack_types/src/identity/v4/user/passkey/response/register_start.rs index 53ba36ee6..165cdc2cd 100644 --- a/openstack_types/src/identity/v4/user/passkey/response/register_start.rs +++ b/openstack_types/src/identity/v4/user/passkey/response/register_start.rs @@ -22,7 +22,7 @@ use structable::{StructTable, StructTableOptions}; /// RegisterStart response representation #[derive(Clone, Deserialize, Serialize, StructTable)] pub struct RegisterStartResponse { - /// + /// . #[serde(default)] #[structable(optional, serialize)] pub attestation: Option, @@ -32,7 +32,7 @@ pub struct RegisterStartResponse { #[structable(optional, serialize)] pub attestation_formats: Option>, - /// + /// . #[serde(default)] #[structable(optional, serialize)] pub authenticator_selection: Option, @@ -226,7 +226,7 @@ impl std::str::FromStr for UserVerification { } } -/// +/// . /// `AuthenticatorSelection` type #[derive(Clone, Debug, Deserialize, Serialize)] pub struct AuthenticatorSelection { @@ -285,7 +285,7 @@ impl std::str::FromStr for Transports { } } -/// +/// . /// `ExcludeCredentials` type #[derive(Clone, Debug, Deserialize, Serialize)] pub struct ExcludeCredentials { @@ -322,9 +322,9 @@ impl std::str::FromStr for CredentialProtectionPolicy { } } -/// The desired options for the client's use of the credProtect extension +/// The desired options for the client's use of the credProtect extension. /// -/// +/// . /// `CredProtect` type #[derive(Clone, Debug, Deserialize, Serialize)] pub struct CredProtect { @@ -378,7 +378,7 @@ impl std::str::FromStr for Hints { } } -/// Public key cryptographic parameters +/// Public key cryptographic parameters. /// `PubKeyCredParams` type #[derive(Clone, Debug, Deserialize, Serialize)] pub struct PubKeyCredParams {