gettyimages/spray-swagger — pull request #7 by lloydmeta (2014-03-10 07:09:15+00:00)
Title: Use a lazy val for (resourceListing, apiListingMap) tuple in SwaggerHttp...

...Service

This allows programmers to implement the abstract methods as either `def`s or `val`s
without running into runtime NPE due to the confusing-ish way that Scala constructs
a class. In 'most cases' you can mix the two, but not in this case.

I personally ran into this [here](https://github.com/gettyimages/spray-swagger/issues/6) and tracked my issue down to this line.