Swagger Editor - Beginners Questions: Saving, File Name, etc...

2,647 views
Skip to first unread message

Marcio DeBarros

unread,
Sep 20, 2014, 5:12:55 PM9/20/14
to swagger-sw...@googlegroups.com
Hi there, 

I apologize in advance if this question has been ask here already, but my search hasn't returned anything on it. 
I have started using the Swagger Editor to define an existing API, and got it installed. I worked on for a couple of days. I was navigating the location where I have download all the required software, and would run > grunt serve, and my spec would come up. It all was going well until yesterday when I followed the same procedure, and when tried ran > grunt serve, my file didn't come up an instead, the sample API spec came up. 
I did a disk search for words I know are the specification, and nothing came up. So to avoid this from happening again, and since it will be impossible for me to define all my APIs in own session, I would like to know:

1) How can I save "my in progress" work in between sessions ? I found the option to download into a .yaml or .json file. Is this the appropriate way to do it ? and next time I have to import the file again ? 
2) Is there a way to specify the name of the file I am working on, and also the location where that file will be saved ? 


Thank you in advance for any information. 

Regards, 

-MD. 

tony tam

unread,
Sep 20, 2014, 5:24:55 PM9/20/14
to swagger-sw...@googlegroups.com
No need to apologize, the editor is a new project!  The data is stored in local storage for your machine.  If you clear your data on the browser, it's gone.

That said, I suggest downloading the YAML file periodically.  You can save it with whatever name you like, and import it again if needed.
Reply all
Reply to author
Forward
0 new messages