viclovsky / swagger-coverage

Tool which generates full picture of coverage of API tests based on OAS (Swagger) v2 and v3
Apache License 2.0
197 stars 37 forks source link

Check to make sure property schema name is non-null #78

Closed Emilio-Pega closed 3 years ago

Emilio-Pega commented 3 years ago

Check that the schema name is non-null in the Rule so that the rule is not incorrectly added.

In the v3 model the schema.getName() is returning null for properties (what was v2 FormParameter). Instead, we need to check the key of the getProperties() map.