diff --git a/proxmox-router/tests/docs.rs b/proxmox-router/tests/docs.rs index 74bc99b6..0405df77 100644 --- a/proxmox-router/tests/docs.rs +++ b/proxmox-router/tests/docs.rs @@ -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(), - ), ], ), );