Closed mtherieau closed 7 years ago
in cases where there are multiple options for the type field and those options are specified as a list, get_example_from_prop_spec() throws a TypeError exception like so: https://travis-ci.org/Trax-air/swagger-parser/jobs/214411452#L951
Test case added in https://github.com/Trax-air/swagger-parser/pull/39 an example of this issue is in file: tests/type_list.yaml
fix is part of same PR here: https://github.com/Trax-air/swagger-parser/pull/39/commits/e373881e26dc61e986fc07020093769e9b01b0cf
in cases where there are multiple options for the type field and those options are specified as a list, get_example_from_prop_spec() throws a TypeError exception like so: https://travis-ci.org/Trax-air/swagger-parser/jobs/214411452#L951
Test case added in https://github.com/Trax-air/swagger-parser/pull/39 an example of this issue is in file: tests/type_list.yaml
fix is part of same PR here: https://github.com/Trax-air/swagger-parser/pull/39/commits/e373881e26dc61e986fc07020093769e9b01b0cf