You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Looks like the swagger blueprint doesn't get correct URLs. Running an example when URL_ROUTE = '/trendlines' results in this URL being generated:
http://localhost:5000/api/v1/metric
Expected:
http://localhost:5000/trendlines/api/v1/metric
Preliminary investigation shows that setting url_prefix on the route definitions results in those URLs including /trendlines, but then the DispatcherMiddleware steps in and adds another:
The API demo pages don't work.
Related to #162.
Looks like the swagger blueprint doesn't get correct URLs. Running an example when
URL_ROUTE = '/trendlines'
results in this URL being generated:Expected:
Preliminary investigation shows that setting
url_prefix
on the route definitions results in those URLs including/trendlines
, but then the DispatcherMiddleware steps in and adds another:So perhaps I should nix the DispatcherMiddleware... it does seem to simply cause problems...
Note: All the above was run using
tests/docker-compose.yml
The text was updated successfully, but these errors were encountered: