westfieldlabs / apivore

Tests your rails API against its Swagger description of end-points, models, and query parameters.
Apache License 2.0
213 stars 66 forks source link

SwaggerChecker falls back to a local load #88

Open harrisj opened 8 years ago

harrisj commented 8 years ago

Fixes #87

I wanted to be able to load the Swagger file without it necessarily being reachable from Rails integration testing, so I added this fallback. A better approach might be to have a pluggable loader that allows the user to specify the loading mechanism. I would love to be able to use Apivore in some command-line scripts that aren't related to testing (ie, generating documentation), so removing an automatic dependence on the Rails environment is a good start.

harrisj commented 8 years ago

It looks like Travis is having some setup issues with the older versions of Ruby

tmc commented 6 years ago

Can you re-run these test?

philsturgeon commented 6 years ago

@tmc you can merge #116 or #118 to get this change.