Currently, in ::Discovery, we parse through the entirety of the api to replace
$refs. I think that's a waste of cycles.
Let's rework the innards of get_method_details to do as little work as possible.
Also, see why we call _extract_resource_methods twice over there, couldn't we
handle the args in the method?
Currently, in ::Discovery, we parse through the entirety of the api to replace
$refs. I think that's a waste of cycles.
Let's rework the innards of get_method_details to do as little work as possible.
Also, see why we call _extract_resource_methods twice over there, couldn't we
handle the args in the method?