Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

SwaggerChecker falls back to a local load #88

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

Conversation

harrisj
Copy link

@harrisj harrisj commented Jul 7, 2016

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
Copy link
Author

harrisj commented Jul 7, 2016

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

@tmc
Copy link

tmc commented Nov 23, 2017

Can you re-run these test?

@philsturgeon
Copy link

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants