danielgtaylor / atom-api-blueprint-preview

Live preview API Blueprint in Atom
MIT License
43 stars 19 forks source link

Issue with headers section ? #4

Closed ludofleury closed 9 years ago

ludofleury commented 10 years ago

screen shot 2014-08-27 at 11 01 51

I can't have the key value of headers section, to confirm the bug, I used the md provided in the example.

bjornfancam commented 10 years ago

I have the same issue

timnew commented 10 years ago

Seems headers and parameters are saved in an array instead of an object, so Object.keys doesn't work quite right. I changed to pull the name from the object itself instead of the index returned by Object.keys, which should be a safer solution, since it works well either the value is array or object.

ludofleury commented 10 years ago

:+1:

sirwolfgang commented 9 years ago

@ludofleury I am noticing a simlar issue on Parameters: image image