946 Commits

Author SHA1 Message Date
Jordi Boggiano
ef46170998 Use proper request properties 2012-04-13 15:21:43 +02:00
William DURAND
45bbb09d02 Added tests for the ApiDoc annotation 2012-04-13 15:20:45 +02:00
William DURAND
4ecf03ce8a Added more tests 2012-04-13 15:01:00 +02:00
William DURAND
2c1e100094 Added more tests for the Extractor 2012-04-13 15:01:00 +02:00
Jordi Boggiano
9eedb8e643 Add travis config 2012-04-13 14:57:17 +02:00
Jordi Boggiano
0111ca4f2c Add gitignore 2012-04-13 14:57:10 +02:00
Jordi Boggiano
1e1a35aed5 Allow running tests without surrounding framework 2012-04-13 14:55:41 +02:00
Jordi Boggiano
ef40b1c3c2 Add dependencies 2012-04-13 14:55:40 +02:00
William DURAND
af48be4fc4 Added more tests 2012-04-13 14:27:51 +02:00
William DURAND
37bf987688 Moved test classes to better locations 2012-04-13 14:22:07 +02:00
William DURAND
6d8796f9c6 Fixed tests 2012-04-13 14:20:12 +02:00
Jordi Boggiano
12f65fed4f Fallback to text when no type is present 2012-04-13 14:13:15 +02:00
Jordi Boggiano
15d56360f3 Return early in case of wrong controller pattern 2012-04-13 14:12:41 +02:00
Jordi Boggiano
2791512139 Add basic tests 2012-04-13 14:12:40 +02:00
William DURAND
4c984c2ca9 Fixed regression 2012-04-13 14:00:13 +02:00
William DURAND
3aec03f6c7 Fixed issue if you add an array in a filter attribute 2012-04-13 12:51:09 +02:00
William DURAND
1e178669b7 Fixed regression in UI 2012-04-13 12:29:00 +02:00
William DURAND
4a72fffbab Improved user experience 2012-04-13 12:23:46 +02:00
William DURAND
8b018e6de5 Added a way to comment each field of a Form Type 2012-04-13 12:17:11 +02:00
William DURAND
f24ab9715e Fixed README 2012-04-13 11:31:03 +02:00
William DURAND
a51d25b94f Used Twig instead of plain PHP in the HtmlFormatter. Fixes #1 2012-04-13 11:25:53 +02:00
Jordi Boggiano
a74520057a Add license 2012-04-13 11:03:05 +02:00
Jordi Boggiano
e2af9b3fc4 Sort equal routes by HTTP method 2012-04-13 10:48:25 +02:00
Jordi Boggiano
8426a3a70e Allow users to configure the api doc URL 2012-04-13 10:42:31 +02:00
Jordi Boggiano
3eb1f456d0 README tweaks 2012-04-13 10:40:05 +02:00
William DURAND
ad5aa7c0f1 Fixed incorrect namespaces 2012-04-13 10:05:32 +02:00
William DURAND
d7f6d665f6 Added a config parameter to set the API name in the HTML documentation 2012-04-12 20:34:19 +02:00
William DURAND
d2285787a5 Allowed to generate a static HTML version of the documentation 2012-04-12 20:10:23 +02:00
William DURAND
687f702791 typo 2012-04-12 20:01:44 +02:00
William DURAND
20fd6b753a Used boolean to set the parameter 2012-04-12 20:00:26 +02:00
William DURAND
9eab1452c5 Updated documentation
Added a screenshot to show parameters
2012-04-12 19:53:54 +02:00
William DURAND
869b8ddae9 Added screenshots 2012-04-12 19:38:19 +02:00
William DURAND
8574982b7b Fixed rendering 2012-04-12 19:17:03 +02:00
William DURAND
c4dbda2b6f Updated README 2012-04-12 19:10:16 +02:00
William DURAND
5bd05379ec Fixed naming 2012-04-12 19:10:16 +02:00
Jordi Boggiano
b122efb777 Add composer file 2012-04-12 18:58:15 +02:00
William DURAND
461c716238 Renamed missing classes 2012-04-12 18:40:20 +02:00
William DURAND
7e15b8f369 Added README 2012-04-12 18:38:13 +02:00
William DURAND
f172e74db7 Renamed the bundle 2012-04-12 18:37:42 +02:00
William DURAND
6285ecebb0 [ApiBundle] Added more comments 2012-04-12 17:48:21 +02:00
William DURAND
bfaa0c6adf Added a way to group API methods by 'resource' name 2012-04-12 17:24:38 +02:00
William DURAND
c4c7d14354 [ApiBundle] Added a controller to get a complete documentation
* Added an Extractor to get the documentation from all annotated
controllers
* Refactored some parts (command, event listener, ...)
2012-04-12 12:50:20 +02:00
William DURAND
72b8976006 [ApiBundle] Refactored formatters to handle both one object, and a collection 2012-04-12 12:49:43 +02:00
William DURAND
6fc0d8619e Added a command line to dump the whole documentation in markdown or json 2012-04-12 01:42:52 +02:00
William DURAND
aa9504a80c Refactored formatters 2012-04-12 01:28:56 +02:00
William DURAND
0dc8883e09 Introduced ApiBundle 2012-04-11 20:00:21 +02:00