mirror of
https://git.proxmox.com/git/proxmox
synced 2025-06-13 16:14:32 +00:00
router: test: sort object schema properties
Signed-off-by: Wolfgang Bumiller <w.bumiller@proxmox.com>
This commit is contained in:
parent
be57fb0122
commit
c99a31c66f
@ -21,6 +21,11 @@ const API_METHOD_SIMPLE1: ApiMethod = ApiMethod::new(
|
||||
&ObjectSchema::new(
|
||||
"Simple API method with one required and one optional argument.",
|
||||
&[
|
||||
(
|
||||
"another-required-arg",
|
||||
false,
|
||||
&StringSchema::new("A second required string argument.").schema(),
|
||||
),
|
||||
(
|
||||
"optional-arg",
|
||||
true,
|
||||
@ -33,11 +38,6 @@ const API_METHOD_SIMPLE1: ApiMethod = ApiMethod::new(
|
||||
false,
|
||||
&StringSchema::new("Required string argument.").schema(),
|
||||
),
|
||||
(
|
||||
"another-required-arg",
|
||||
false,
|
||||
&StringSchema::new("A second required string argument.").schema(),
|
||||
),
|
||||
],
|
||||
),
|
||||
);
|
||||
|
Loading…
Reference in New Issue
Block a user