Closed cdanderson closed 8 years ago
I don't think this is an RAML parser issue, this works for me:
#%RAML 0.8
title: Foo
/ping:
get:
securedBy: [null]
description: Responds with an appropriate HTTP status code & message for the state of the API.
@cdanderson You should look at logging it on raml2html as the error is from https://github.com/kevinrenskers/raml2html/blob/master/lib/resource.nunjucks#L65 - I'd guess that it's not handling null
and trying to do something specifically with the assumption of strings.
Thanks for your comments. I've closed the issue here and will investigate further.
I have a resource defined as such:
I'm using raml2html, but parsing my RAML file results in the following error message:
Removing
securedBy: [null]
allows the file to be parsed correctly.