apigee-127 / swagger-node-runner

The heart of Swagger-Node
MIT License
102 stars 123 forks source link

injected dependencies test shouldn't pass #90

Closed agalazis closed 7 years ago

agalazis commented 7 years ago

The test below shouldn't pass: https://github.com/theganyo/swagger-node-runner/blob/833c3b1cb4fe7fdf130552c084b724f70edfc4ea/test/index.js#L114

It's clear in the source code that you are trying to load the from swagger config rather than node-runner one (the problem with that approach is if add it to swagger configuration it won't pass validation )

agalazis commented 7 years ago

sorry my fault it actually passes to swagger property afterwards