I'm running swagger-editor on a docker conatiner and I'm hoping to save specs locally, so I can pick them up and display them in swagge-ui.
Specifically, I have created /app/editor/spec (as set by backendEndpoint) I am setting useBackendForStorage to true.
This breaks swagger-editor and will not save the file locally, regardless of whether I set useYamlBackend to true or false.
YAML Syntax Error
End of the stream or a document separator is expected at line 7, column 9:
margin: 0;
^
Go to line 6
Details
Object
yamlError: YAMLException
name: "YAMLException"
reason: "end of the stream or a document separator is expected"
mark: Mark
message: "JS-YAML: end of the stream or a document separator is expected at line 7, column 9:
margin: 0;
^"
line: 774
column: 38
sourceURL: "http://192.168.59.103:8080/bower_components/js-yaml/dist/js-yaml.js"
Is the feature still under development, or is it supposed to work (which means I'm doing something wrong)?
Thanks,
Emmanuel
PS - I'm also getting the following when I npm start, but I don't believe it's relevent here:
Loading "imagemin.js" tasks...ERROR
>> Error: Cannot find module 'imagemin-gifsicle'