Skip to content
This repository has been archived by the owner on Dec 8, 2023. It is now read-only.

Implement route_prefix for Flask adapter #18

Open
soundofjw opened this issue Sep 4, 2015 · 1 comment
Open

Implement route_prefix for Flask adapter #18

soundofjw opened this issue Sep 4, 2015 · 1 comment

Comments

@soundofjw
Copy link

Currently, if an endpoint has a route URI of /space/endpoint, there is no way of setting a common prefix such as /api/space/endpoint.

This is exemplified on GAE by having contradicting .yaml route that differs from the endpoint URI.

@rknLA
Copy link
Contributor

rknLA commented Sep 9, 2015

This is handled by the route_prefix when you bind pale to an adapter.

The example app test case shows an example of this, and you can also have a look at the lines that make this happen for webapp2 and for flask...

Well... the flask one isn't implemented yet.. :X

@rknLA rknLA changed the title URI prefixes Implement route_prefix for Flask adapter Sep 9, 2015
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

No branches or pull requests

2 participants