zallek / swagger-diff

Compute the diff between two swagger API specifications.
https://zallek.github.io/swagger-diff/
58 stars 30 forks source link

fix for loading specs from file #8

Closed astampoulis closed 8 years ago

astampoulis commented 8 years ago

Loading a spec from a file currently fails with Incorrect spec. This line seems wrong (config is undefined), and fixes that issue.

@zallek

zallek commented 8 years ago

what a same, thx and eslint didn't report it because it's in a typeof ... I'll add some integration tests to prevent these big regressions, sry :(

zallek commented 8 years ago

Fixed in 0.3.1

astampoulis commented 8 years ago

Thanks!