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

Offers a api_doc_root when creating the adapter #30

Open
elyezer opened this issue Aug 4, 2015 · 1 comment
Open

Offers a api_doc_root when creating the adapter #30

elyezer opened this issue Aug 4, 2015 · 1 comment

Comments

@elyezer
Copy link

elyezer commented Aug 4, 2015

By specifying a api_doc_root you don't have to repeat the entire base urls for every resource and should make easier to define the resource mapping.

@filipeximenes
Copy link
Contributor

Sounds like a good idea.

This should be wrapped in a method just like the api_root is:

def get_api_root(self, api_params):
        return self.api_root

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

No branches or pull requests

2 participants