Once you download and setup the swagger editor, there is a folder named config. In that config folder, open defaults.json file.
There is a section in that file as below:
"exampleFiles": [
"default.yaml",
"heroku-pets.yaml",
"minimal.yaml",
"echo.yaml",
"petstore_simple.yaml",
"petstore_full.yaml",
"basic-auth.yaml",
"security.yaml",
"instagram.yaml",
"twitter.yaml"
]"
replace the default.json file name with your yaml file. Copy your yaml file to 'spec-files' folder.
and try to access the swagger-editor.
Hope this will help!!