swagger-api/swagger-ui — pull request #782 by earldouglas (2014-12-18 01:12:48+00:00)
Title: Add YAML spec parsing support

This adds support for parsing Swagger 2.0 YAML spec files by including [js-yaml](https://www.npmjs.com/package/js-yaml), and modifying *swagger-client.js* slightly to try parsing a spec as YAML after it fails to parse as JSON.