improve output of swagger bin, use correct filenames

fix output, show correct filename -- instead of `$path//$name.json` use `$path/resources/$name.json`