Closed mtherieau closed 7 years ago
in cases where a property has type: 'null', get_example_from_prop_spec() throws a TypeError exception like so: https://travis-ci.org/Trax-air/swagger-parser/jobs/214411452#L833
Test case added in: https://github.com/Trax-air/swagger-parser/pull/39 an example of this is in file: tests/null_type.yaml
fix is part of same PR here: https://github.com/Trax-air/swagger-parser/pull/39/commits/3c0d880398142d25bb133b1918e3f92a38be5de9
in cases where a property has type: 'null', get_example_from_prop_spec() throws a TypeError exception like so: https://travis-ci.org/Trax-air/swagger-parser/jobs/214411452#L833
Test case added in: https://github.com/Trax-air/swagger-parser/pull/39 an example of this is in file: tests/null_type.yaml
fix is part of same PR here: https://github.com/Trax-air/swagger-parser/pull/39/commits/3c0d880398142d25bb133b1918e3f92a38be5de9