civisanalytics / swagger-diff

Utility for comparing two Swagger specifications.
BSD 3-Clause "New" or "Revised" License
265 stars 32 forks source link

Allow definitions without properties #14

Closed jeffreyc closed 8 years ago

jeffreyc commented 8 years ago

@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.

christophermanning commented 8 years ago

LGTM