From c99a31c66f6bf8f13fefcd6239e8ab68144ed58a Mon Sep 17 00:00:00 2001 From: Wolfgang Bumiller Date: Tue, 14 Jan 2025 10:34:28 +0100 Subject: [PATCH] router: test: sort object schema properties Signed-off-by: Wolfgang Bumiller --- proxmox-router/tests/docs.rs | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) 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(), - ), ], ), );