optic icon indicating copy to clipboard operation
optic copied to clipboard

API sessions have invalid file names on windows

Open acunniffe opened this issue 7 years ago • 2 comments

Describe the bug The Optic API session naming convention used today is not compatible with most versions of windows. Naming a file or directory

To Reproduce Run API Start on Windows Cancel API Start Run API Spec Error: ENOENT: no such file or directory, open 'D:/Learning/optic/server-example/.api/sessions/2019-09-09T09:40:31.725Z-2019-09-09T09:40:53.179Z.optic_session.json'

Expected behavior API Sessions save and load properly.

acunniffe avatar Sep 09 '19 12:09 acunniffe

Fixed in 9b16b28

acunniffe avatar Sep 09 '19 21:09 acunniffe

Thanks, this fix worked for me

khainx-developer avatar Sep 10 '19 02:09 khainx-developer