Skip to content
This repository was archived by the owner on Dec 10, 2019. It is now read-only.

Point to user-configable swagger spec location #49

Merged
merged 1 commit into from
Mar 19, 2018

Conversation

jisantuc
Copy link
Contributor

@jisantuc jisantuc commented Mar 1, 2018

Overview

This PR makes it so users can point to a specific swagger spec if they need to, otherwise it just points
to master on the raster-foundry/raster-foundry-api-spec repo. Once we have a release of that, it
can point to a specific release.

Testing

  • add a print to either the load_url or load_file branch of the api client initialization
  • start an ipython session with no special environment variables
  • create a client
  • verify that your print either did or didn't happen
  • call .projects on the client you created and verify it works
  • start an ipython session with RF_API_SPEC_PATH set to rasterfoundry/spec.yml
  • create a client
  • verify that your print either did or didn't happen
  • call .projects on the client you created and verify it works

Closes #48

@jisantuc jisantuc requested a review from alkamin March 1, 2018 19:14
@jisantuc jisantuc merged commit efc943c into develop Mar 19, 2018
@jisantuc jisantuc deleted the feature/js/pull-spec-on-init branch March 19, 2018 19:35
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Development

Successfully merging this pull request may close these issues.

3 participants