@@ -343,11 +343,12 @@ public void TestUpdateDepthLimitInGraphQLRuntimeSettings(string depthLimit, bool
343343 [ DataRow ( "/updatedPath" , true , DisplayName = "Success in updated GraphQL Path to /updatedPath." ) ]
344344 [ DataRow ( "/updated-Path" , true , DisplayName = "Success in updated GraphQL Path to /updated-Path." ) ]
345345 [ DataRow ( "/updated_Path" , true , DisplayName = "Success in updated GraphQL Path to /updated_Path." ) ]
346+ [ DataRow ( "/api/v2" , true , DisplayName = "Success in updated GraphQL Path to multi-segment path /api/v2." ) ]
346347 [ DataRow ( "updatedPath" , false , DisplayName = "Failure due to '/' missing." ) ]
347348 [ DataRow ( "/updated Path" , false , DisplayName = "Failure due to white spaces." ) ]
348349 [ DataRow ( "/updated.Path" , false , DisplayName = "Failure due to reserved char '.'." ) ]
349350 [ DataRow ( "/updated@Path" , false , DisplayName = "Failure due reserved chars '@'." ) ]
350- [ DataRow ( "/updated/Path " , false , DisplayName = "Failure due reserved chars '/' ." ) ]
351+ [ DataRow ( "/api//v2 " , false , DisplayName = "Failure due to empty path segment ." ) ]
351352 public void TestUpdateGraphQLPathRuntimeSettings ( string path , bool isSuccess )
352353 {
353354 // Initialize the config file.
@@ -405,11 +406,12 @@ public void TestUpdateHostCorsOriginsRuntimeSettings(string path, bool isSuccess
405406 [ DataRow ( "/updatedPath" , true , DisplayName = "Successfully updated Rest Path to /updatedPath." ) ]
406407 [ DataRow ( "/updated-Path" , true , DisplayName = "Successfully updated Rest Path to /updated-Path." ) ]
407408 [ DataRow ( "/updated_Path" , true , DisplayName = "Successfully updated Rest Path to /updated_Path." ) ]
409+ [ DataRow ( "/api/v2" , true , DisplayName = "Successfully updated Rest Path to multi-segment path /api/v2." ) ]
408410 [ DataRow ( "updatedPath" , false , DisplayName = "Failure due to '/' missing." ) ]
409411 [ DataRow ( "/updated Path" , false , DisplayName = "Failure due to white spaces." ) ]
410412 [ DataRow ( "/updated.Path" , false , DisplayName = "Failure due to reserved char '.'." ) ]
411413 [ DataRow ( "/updated@Path" , false , DisplayName = "Failure due reserved chars '@'." ) ]
412- [ DataRow ( "/updated/Path " , false , DisplayName = "Failure due reserved chars '/' ." ) ]
414+ [ DataRow ( "/api//v2 " , false , DisplayName = "Failure due to empty path segment ." ) ]
413415 public void TestUpdateRestPathRuntimeSettings ( string path , bool isSuccess )
414416 {
415417 // Initialize the config file.
0 commit comments