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,9 +67,7 @@ fn create_ticket_schema_check() {
( (
"password", "password",
false, false,
&::proxmox_schema::StringSchema::new( &::proxmox_schema::StringSchema::new("The secret password or a valid ticket.")
"The secret password or a valid ticket.",
)
.schema(), .schema(),
), ),
( (
@ -170,9 +168,7 @@ fn create_ticket_direct_schema_check() {
( (
"password", "password",
false, false,
&::proxmox_schema::StringSchema::new( &::proxmox_schema::StringSchema::new("The secret password or a valid ticket.")
"The secret password or a valid ticket.",
)
.schema(), .schema(),
), ),
( (

View File

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