code: private function buildParsedRequests(ApiParseResult $parseResult) : array
      {
          $requests = [];
  
          foreach ($parseResult->getApi()->getResourceGroups() as $apiResourceGroup) {
              foreach ($apiResourceGroup->getResources() as $apiResource) {
                  foreach ($apiResource->getTransitions() as $apiStateTransition) {
                      foreach ($apiStateTransition->getHttpTransactions() as $apiHttpTransaction) {
                          $this->processApiHttpTransactions(
                              $apiHttpTransaction,
                              $apiResourceGroup,
                              $apiResource,
                              $apiStateTransition,
                              $requests
                          );
                      }
                  }
              }
          }
  
          return $requests;
      }
docs: Traverse the document and build parsed requests for spas
  
  @param ApiParseResult $parseResult
  @return ParsedRequest[]