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"

Please let me know if there is already a way to do that.
Thank you.