Logo
Explore Help
Sign In
pierre/wallabag
1
0
Fork 0
You've already forked wallabag
forked from wallabag/wallabag
Code Issues Pull Requests Packages Projects Releases 1 Wiki Activity
Files
b1e92f8c14d3d506f2bfab628ba8ed95de0e8b51
wallabag/app/config/routing_rest.yml

4 lines
100 B
YAML
Raw Normal View History

routing for API, trying to respect #414
2015-01-29 16:56:58 +01:00
Rest_Wallabag:
ApiDoc & Route annotation were conflicted The generated error was “Unable to guess how to get a Doctrine instance from the request information.”. I haven’t checked deeper in Doctrine (I know it was coming from the DoctrineParamConverter). Anyway, I check for FosRest possiblity to add extra format without allowing them for every route (like it was done in the first place). I finally found a way but it then seems all request goes to the FormatListener of FosRest so I needed to add a custom rules to match all request to be sure we don’t get a 406 error from FosRest. Should be ok now …
2016-10-15 16:46:42 +02:00
type : rest
resource: "@WallabagApiBundle/Resources/config/routing_rest.yml"
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.24.0 Page: 56ms Template: 4ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API