This website requires JavaScript.
Explore
Help
Sign In
mirrors
/
wallabag
Watch
1
Star
0
Fork
You've already forked wallabag
0
mirror of
https://github.com/wallabag/wallabag.git
synced
2024-11-27 03:21:01 +00:00
Code
Issues
Projects
Releases
Wiki
Activity
3a6c9c9cef
wallabag
/
app
/
config
/
routing_rest.yml
4 lines
100 B
YAML
Raw
Normal View
History
Unescape
Escape
routing for API, trying to respect #414
2015-01-29 15:56:58 +00: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 14:46:42 +00:00
type
:
rest
resource
:
"@WallabagApiBundle/Resources/config/routing_rest.yml"
Reference in a new issue
Copy permalink