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

Allow imports to be specified as org, api and version #699

Open
gheine opened this issue Oct 25, 2017 · 1 comment
Open

Allow imports to be specified as org, api and version #699

gheine opened this issue Oct 25, 2017 · 1 comment

Comments

@gheine
Copy link
Contributor

gheine commented Oct 25, 2017

Currently imports require a uri pointing to the imported service.json, which binds the import to a particular instance of apibuilder (eg. app.apibuilder.io). Would be nice to be able to specify imports as a tuple of organization, api and version and resolve the import from the "local" apibuilder instance.

@mbryzek
Copy link
Collaborator

mbryzek commented Oct 26, 2017

makes sense - and internally we just parse the URL anyway to pull out the org/app/version. I think the change is probably small - mainly to change import url validation to accept any host

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

No branches or pull requests

2 participants