api-macro: formatting

Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
Wolfgang Bumiller 2021-12-07 11:51:09 +01:00
parent 5e490dd7a0
commit d871d6849b
2 changed files with 5 additions and 9 deletions

View File

@ -67,10 +67,8 @@ fn create_ticket_schema_check() {
(
"password",
false,
&::proxmox_schema::StringSchema::new(
"The secret password or a valid ticket.",
)
.schema(),
&::proxmox_schema::StringSchema::new("The secret password or a valid ticket.")
.schema(),
),
(
"username",
@ -170,10 +168,8 @@ fn create_ticket_direct_schema_check() {
(
"password",
false,
&::proxmox_schema::StringSchema::new(
"The secret password or a valid ticket.",
)
.schema(),
&::proxmox_schema::StringSchema::new("The secret password or a valid ticket.")
.schema(),
),
(
"username",

View File

@ -1,7 +1,7 @@
//! Test the automatic addition of integer limits.
use proxmox_schema::ApiType;
use proxmox_api_macro::api;
use proxmox_schema::ApiType;
/// An i16: -32768 to 32767.
#[api]