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
api_prefix: "/api"# configure this to use a url prefix for your json api routes: e.g. /api/{type}
58
-
logger: "logger"# a service implementing the psr-3 log interface to log exceptions and debug messages
59
-
psr7_factory: "your_psr7_factory_service"# only required if you do not want to use a different for symfony request/response converting
60
-
http_foundation_factory: "your_http_foundation_factory_service"# only required if you do not want to use the default implementation shipped with "symfony/psr-http-message-bridge"
61
-
pagination:
62
-
limit: 10# limit have to be an integer bigger than 0; if not set 25 is the default
51
+
url_prefix: ''# configure this to use a url prefix for your json api routes: e.g. /api/{type}. only needed if a prefix is defined in your routing
52
+
route_name_prefix: 'enm.json_api'# Prefix of the route names in symfony (for exception handling). only needed if a nam prefix is defined in your routing
63
53
```
64
54
65
55
*****
@@ -95,7 +85,6 @@ If you use the predefined routing (without api prefix configuration), the follow
95
85
DELETE /{type}/{id}/relationship/{relationship}
96
86
97
87
*****
98
-
*****
99
88
100
89
## Request Handler
101
90
Each request handler can simply be registered via the service container (tag: `json_api_server.request_handler`):
@@ -104,64 +93,10 @@ Each request handler can simply be registered via the service container (tag: `j
0 commit comments