Fix generic error type #302

Merged
merged 1 commit into from Jan 9, 2017

Projects

None yet

2 participants

@zerok
Contributor
zerok commented Jan 2, 2017 edited

Hi 😃

Sadly, it looks like 4.0.0-beta15 (or slightly earlier) introduced a small regression when it comes to rendering generic arrays: Having something like type: array inside a response or request body specification resulted in a generic template render error.

This patch should solve this by requiring also the items property being filled before iterating over it.

@kevinrenskers
Member

Hey, sorry for the slow response. I'll have time this weekend to look at this.

@zerok
Contributor
zerok commented Jan 6, 2017

No worries 😃 Thanks for all your work here!

@kevinrenskers kevinrenskers merged commit 1a1bbef into raml2html:develop Jan 9, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment