Filter resource list by api version

use case: I need only api doc for version 3
$swagger->getResourceList(array('apiVersion'=>'3')); => this will return the resource list that contain apiVersion="3"