27 Commits

Author SHA1 Message Date
Alexander
911aaae0fd Remove .{_format} from routes used for resource grouping 2012-08-10 11:38:01 +02:00
Evan Villemez
b9e8d61082 changed inputClass to input, refactored method and class names accordingly, fixed cs in several places 2012-07-23 15:44:37 -04:00
Evan Villemez
06e3a2256b added a ParserInterface, refactored how Parsers are registered in the ApiDocExtractor, changed formType to inputClass in ApiDocExtractor 2012-07-23 12:54:56 -04:00
William DURAND
cca97cf6af Refactoring
Move logic to extract data in the Extractor
Remove logic in the AbstractFormatter
Use ApiDoc class as data container
Update tests
Add test to prove the bug with FOSRestBundle annotations (\\d+ instead of \d+)
2012-07-20 01:32:16 +02:00
Jordi Boggiano
0868d39e9a Merge pull request #43 from willdurand/fix-13
Add support for FOSRest annotations. Fix #13
2012-07-18 03:29:41 -07:00
William DURAND
163d96a295 Add support for FOSRest annotations. Fix #13 2012-07-18 12:23:57 +02:00
William DURAND
6c3aeff227 Fix presentation of documentation 2012-07-13 15:53:24 +02:00
William DURAND
fce0f5d5a6 Fix extractor, markdown formatter, and tests 2012-07-13 15:31:53 +02:00
Samuel Gordalina
07e6a19dd4 Updated code to pass the tests 2012-07-13 15:31:53 +02:00
Samuel Gordalina
2b02733ee9 Added ability to extract inline documentation from docblock 2012-07-13 13:44:11 +01:00
Christophe Coevoet
e11ee357b5 Backported the bundle to support Symfony 2.0.x 2012-05-23 00:44:06 +02:00
Christophe Coevoet
04b075736f Applied some php-cs-fixer magic 2012-05-23 00:42:59 +02:00
Christophe Coevoet
84ad827c89 Fixed phpdoc 2012-05-23 00:20:50 +02:00
William DURAND
d1be0d5093 Added parsing of @param doc blocks. Fixes #8 2012-04-19 20:27:27 +02:00
William DURAND
8c0aa1d274 Added multilines support for description 2012-04-19 17:17:36 +02:00
William DURAND
33ff68b2e0 Fixed tests 2012-04-19 17:05:59 +02:00
William DURAND
c5891a59b9 Use action method description from docblock by default for description. Fixes #5 2012-04-19 16:23:55 +02:00
lsmith77
f0e84a96d7 also support services as controller in ApiDocExtractor::get() 2012-04-13 17:56:09 +02:00
lsmith77
6940174586 support controllers as services 2012-04-13 16:33:24 +02:00
William DURAND
2c1e100094 Added more tests for the Extractor 2012-04-13 15:01:00 +02:00
Jordi Boggiano
15d56360f3 Return early in case of wrong controller pattern 2012-04-13 14:12:41 +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
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