RobWin / assertj-swagger

A Swagger assertj test library which compares a contract-first Swagger YAML/JSON file with a code-first Swagger JSON
Apache License 2.0
171 stars 44 forks source link

Avoid null pointer exception if Definition does not contain properties #46

Closed nestabur closed 6 years ago

nestabur commented 6 years ago

Enhanced property resolution with null check in case the definition has no properties (returns null instead of empty map)

coveralls commented 6 years ago

Coverage Status

Coverage increased (+0.2%) to 89.612% when pulling 0ae4b364a6ff9d5456c9e03add86bcec97a0c647 on channelsuite:schema-resolver-avoid-nullpointerexception into ba1594c73717efdce9548359eb6f19beb1512eb3 on RobWin:master.