formatting fixup
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
055793c481
commit
46c71f7da3
@ -120,13 +120,11 @@ fn keyword_named_parameters_check() {
|
||||
&::proxmox::api::ApiHandler::Async(&api_function_keyword_named_parameters),
|
||||
&::proxmox::api::schema::ObjectSchema::new(
|
||||
"Returns nothing.",
|
||||
&[
|
||||
(
|
||||
"type",
|
||||
false,
|
||||
&::proxmox::api::schema::StringSchema::new("The great Foo").schema(),
|
||||
),
|
||||
],
|
||||
&[(
|
||||
"type",
|
||||
false,
|
||||
&::proxmox::api::schema::StringSchema::new("The great Foo").schema(),
|
||||
)],
|
||||
),
|
||||
)
|
||||
.protected(false);
|
||||
|
@ -45,7 +45,11 @@ pub struct Registration {
|
||||
/// Attestation certificate (in DER format) from which we originally copied the `key_handle`.
|
||||
/// Not necessary for authentication, unless the hardware tokens should be restricted to
|
||||
/// specific provider identities. Optional.
|
||||
#[serde(with = "bytes_as_base64", default, skip_serializing_if = "Vec::is_empty")]
|
||||
#[serde(
|
||||
with = "bytes_as_base64",
|
||||
default,
|
||||
skip_serializing_if = "Vec::is_empty"
|
||||
)]
|
||||
pub certificate: Vec<u8>,
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user