The Swagger specification allows definitions without properties. This fixes an exception when parsing definitions without properties. The example JSON provided also hit an issue with swagger-core, so I folded in that fix, too, as the fix for that issue is still outstanding.
@christophermanning please review?
The Swagger specification allows definitions without properties. This fixes an exception when parsing definitions without properties. The example JSON provided also hit an issue with swagger-core, so I folded in that fix, too, as the fix for that issue is still outstanding.
Fixes #13.