I tried resolving references on the twitter API YAML file:
https://github.com/swagger-api/swagger-editor/blob/master/app/spec-files/twitter.yaml
$json-refs resolve twitter.yaml --force
error: duplicated mapping key at line 236, column 23:
type: string
^
The twitter API seems to contain some circular references in the model definitions - could that be causing the error?