mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-14 16:12:19 +00:00
acme: formatting fixups
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
b5255f1868
commit
fbb3049768
@ -279,7 +279,7 @@ impl CertificateRevocation<'_> {
|
|||||||
}
|
}
|
||||||
|
|
||||||
/// Status of an ACME account.
|
/// Status of an ACME account.
|
||||||
#[cfg_attr(feature="api-types", proxmox_schema::api())]
|
#[cfg_attr(feature = "api-types", proxmox_schema::api())]
|
||||||
#[derive(Clone, Copy, Eq, PartialEq, Deserialize, Serialize)]
|
#[derive(Clone, Copy, Eq, PartialEq, Deserialize, Serialize)]
|
||||||
#[serde(rename_all = "camelCase")]
|
#[serde(rename_all = "camelCase")]
|
||||||
pub enum AccountStatus {
|
pub enum AccountStatus {
|
||||||
@ -312,8 +312,18 @@ impl AccountStatus {
|
|||||||
|
|
||||||
#[cfg_attr(feature="api-types", proxmox_schema::api(
|
#[cfg_attr(feature="api-types", proxmox_schema::api(
|
||||||
properties: {
|
properties: {
|
||||||
extra: { type: Object, properties: {}, additional_properties: true },
|
extra: {
|
||||||
contact: { type: Array, items: { type: String, description: "Contact Info." }}
|
type: Object,
|
||||||
|
properties: {},
|
||||||
|
additional_properties: true,
|
||||||
|
},
|
||||||
|
contact: {
|
||||||
|
type: Array,
|
||||||
|
items: {
|
||||||
|
type: String,
|
||||||
|
description: "Contact Info.",
|
||||||
|
},
|
||||||
|
},
|
||||||
}
|
}
|
||||||
))]
|
))]
|
||||||
/// ACME Account data. This is the part of the account returned from and possibly sent to the ACME
|
/// ACME Account data. This is the part of the account returned from and possibly sent to the ACME
|
||||||
|
Loading…
Reference in New Issue
Block a user