Closed mtherieau closed 7 years ago
in cases where an array items field references a simple type definition then _example_from_array_spec() throws an AttributeError exception like so:
https://travis-ci.org/Trax-air/swagger-parser/jobs/214411452#L756
Test case added in: https://github.com/Trax-air/swagger-parser/pull/39 an example of this issue is in file: tests/array_ref_simple.yaml
fix is part of same PR here: https://github.com/Trax-air/swagger-parser/pull/39/commits/e52a7f83b85b7eed2e5f4e85b6e05082f0ee1468
in cases where an array items field references a simple type definition then _example_from_array_spec() throws an AttributeError exception like so:
https://travis-ci.org/Trax-air/swagger-parser/jobs/214411452#L756
Test case added in: https://github.com/Trax-air/swagger-parser/pull/39 an example of this issue is in file: tests/array_ref_simple.yaml
fix is part of same PR here: https://github.com/Trax-air/swagger-parser/pull/39/commits/e52a7f83b85b7eed2e5f4e85b6e05082f0ee1468