@@ -223,8 +223,8 @@ extension APITestController {
223223            . filter ( \. $id ==  testPropertiesId. rawValue) 
224224            . with ( \. $openAPISource) 
225225            . first ( ) 
226-             . optionalMap  {  ( $0,  $0. $openAPISource. value!)  } 
227226            . unwrap ( or:  Abort ( . badRequest,  reason:  " Given API test properties could not be found. " ) ) 
227+             . map  {  ( $0,  $0. $openAPISource. value!)  } 
228228    } 
229229
230230    /// Attempt to find or create default test properties.
@@ -252,6 +252,7 @@ extension APITestController {
252252                    . query ( on:  db) 
253253                    . filter ( \. $openAPISource. $id ==  sourceId) 
254254                    . filter ( \. $apiHostOverride ==  nil ) 
255+                     . filter ( \. $parser ==  . stable) 
255256                    . first ( orCreate:  DB . APITestProperties ( openAPISourceId:  sourceId,  apiHostOverride:  nil ,  parser:  . stable) ) 
256257                    . map  {  ( $0,  source)  } 
257258        } 
@@ -385,7 +386,7 @@ extension APITestController {
385386            rootPath. map ( \. openAPIPathComponent) , 
386387            use:  self . create
387388        ) 
388-             . tags ( " Testing " ) 
389+             . tags ( " Test Creation " ) 
389390            . summary ( " Run tests " ) 
390391            . description ( """ 
391392Running tests is an asynchronous operation. This route will return immediately if it was able to queue up a new test run. 
@@ -399,15 +400,15 @@ You can monitor the status of your test run with the `GET` `/api_test/{id}` endp
399400            rootPath. map ( \. openAPIPathComponent) , 
400401            use:  self . index
401402        ) 
402-             . tags ( " Testing " ) 
403+             . tags ( " Test Status " ,   " Test Results " ) 
403404            . summary ( " Retrieve all test results " ) 
404405
405406        app. on ( 
406407            . GET, 
407408            rootPath. map ( \. openAPIPathComponent)  +  [ " :id " . description ( idDescription) ] , 
408409            use:  self . show
409410        ) 
410-             . tags ( " Testing " ) 
411+             . tags ( " Test Status " ,   " Test Results " ) 
411412            . summary ( " Retrieve a single test result " ) 
412413
413414        // MARK: File Retrieval
0 commit comments