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
Copy file name to clipboardExpand all lines: README.md
+7Lines changed: 7 additions & 0 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -11,6 +11,13 @@ Integration of JSON API with Symfony 2 (FOSRestBundle)
11
11
12
12
If you want to experiment with this implementation, you can just enable this bundle in your `AppKernel` and everything should work directly. Try to serialize some annotated php classes and check it out!
13
13
14
+
### Configuration reference
15
+
```yml
16
+
mango_json_api:
17
+
show_version_info: true # default
18
+
base_uri: /api # default
19
+
```
20
+
14
21
## Annotations
15
22
### @Resource
16
23
This will define your class as a JSON-API resource, and you can optionally set it's type name.
0 commit comments