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!!
On Tue, Nov 29, 2016 at 8:16 AM, 'Konstantin Litvinov' via Swagger <
[email protected]> wrote:
> I'd like to edit only one specific file with swagger-editor on my server.
> Can I setup swagger-editor to open this file at startup and save data to
> this file at finish?
>
> --
> You received this message because you are subscribed to the Google Groups
> "Swagger" group.
> To unsubscribe from this group and stop receiving emails from it, send an
> email to [email protected].
> For more options, visit https://groups.google.com/d/optout.
>
--
You received this message because you are subscribed to the Google Groups
"Swagger" group.
To unsubscribe from this group and stop receiving emails from it, send an email
to [email protected].
For more options, visit https://groups.google.com/d/optout.