mirror of
https://git.proxmox.com/git/proxmox
synced 2025-08-12 15:37:18 +00:00
api-macro: formatting
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
5e490dd7a0
commit
d871d6849b
@ -67,10 +67,8 @@ 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(),
|
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"username",
|
"username",
|
||||||
@ -170,10 +168,8 @@ 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(),
|
|
||||||
),
|
),
|
||||||
(
|
(
|
||||||
"username",
|
"username",
|
||||||
|
@ -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]
|
||||||
|
Loading…
Reference in New Issue
Block a user