]> git.proxmox.com Git - pve-manager.git/commitdiff
api: acme: move description to the top
authorThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 13 Nov 2023 11:22:59 +0000 (12:22 +0100)
committerThomas Lamprecht <t.lamprecht@proxmox.com>
Mon, 13 Nov 2023 11:22:59 +0000 (12:22 +0100)
Signed-off-by: Thomas Lamprecht <t.lamprecht@proxmox.com>
PVE/API2/ACMEAccount.pm

index bc45d5ab1c067e5943446e047cae370a5c771d3a..633b8574bbc51d5f39ca40731ab4ab9a2328f89f 100644 (file)
@@ -108,8 +108,8 @@ __PACKAGE__->register_method ({
            name => get_standard_option('pve-acme-account-name'),
            contact => get_standard_option('pve-acme-account-contact'),
            tos_url => {
-               type => 'string',
                description => 'URL of CA TermsOfService - setting this indicates agreement.',
+               type => 'string',
                optional => 1,
            },
            directory => get_standard_option('pve-acme-directory-url', {
@@ -117,14 +117,14 @@ __PACKAGE__->register_method ({
                optional => 1,
            }),
            'eab-kid' => {
-               type => 'string',
                description => 'Key Identifier for External Account Binding.',
+               type => 'string',
                requires => 'eab-hmac-key',
                optional => 1,
            },
            'eab-hmac-key' => {
-               type => 'string',
                description => 'HMAC key for External Account Binding.',
+               type => 'string',
                requires => 'eab-kid',
                optional => 1,
            },
@@ -386,24 +386,24 @@ __PACKAGE__->register_method ({
        additionalProperties => 1,
        properties => {
            termsOfService => {
+               description => 'ACME TermsOfService URL.',
                type => 'string',
                optional => 1,
-               description => 'ACME TermsOfService URL.',
            },
            externalAccountRequired => {
+               description => 'EAB Required'
                type => 'boolean',
                optional => 1,
-               description => 'EAB Required'
            },
            website => {
+               description => 'URL to more information about the ACME server.'
                type => 'string',
                optional => 1,
-               description => 'URL to more information about the ACME server.'
            },
            caaIdentities => {
+               description => 'Hostnames referring to the ACME servers.'
                type => 'string',
                optional => 1,
-               description => 'Hostnames referring to the ACME servers.'
            },
        },
     },