fvilpoix
63b0f8e4da
Moving annotation extraction into tagged Handlers
2013-04-12 17:43:27 +02:00
Patryk Kala
3b6e9da91a
Ability to mark function as deprecated
2013-03-31 20:35:46 +02:00
William Durand
d6491e77bc
Merge pull request #157 from fdubost/feature-cache
...
Add cache annotation extractor
2013-03-31 11:09:43 -07:00
Benjamin Bender
11a56251a4
Remove extra braces
2013-03-27 23:21:04 +01:00
Benjamin Bender
fd17706118
Cleanup docbook
2013-03-27 23:19:16 +01:00
Benjamin Bender
28b7fa7d0e
Fixes typehint for Route
2013-03-27 22:28:26 +01:00
Benjamin Bender
8d771a925f
Fix for #163 . Makes Reflection on Route-objects more robust.
2013-03-27 19:36:42 +01:00
Jordi Boggiano
905ac99eb5
Fix handling of symfony 2.1 nested routes, fixes #163
2013-03-27 16:27:25 +01:00
Florent DUBOST
5ec931185f
Merge branch 'master' of https://github.com/nelmio/NelmioApiDocBundle into feature-cache
2013-03-27 15:46:28 +01:00
Florent DUBOST
53b2537aef
Add cache annotation extractor
2013-03-26 11:49:12 +01:00
Benjamin Bender
c5e12e3c4f
Fix typo
2013-03-26 08:57:49 +01:00
Benjamin Bender
89aec4bfd3
Add a little bit more flexibility to ApiDocExtractor
2013-03-22 14:05:14 +01:00
William DURAND
43b8f89845
Merge pull request #123 from fvilpoix/authentication_attribute
...
adding 'authentication' attribute
2013-03-16 18:22:28 +01:00
Jordi Boggiano
e3a8fc6df0
Update for latest FOSRestBundle
2013-02-15 11:37:02 +01:00
fvilpoix
fdc814e264
Set automaticly the Authentication params when JMS Secure annotation is set
2012-12-27 10:18:15 +01:00
Baldur Rensch
ef5cbd9b73
Added padlock icon for secure routes
...
This fixes #115
- Added an https property to the annotation
- Added glyphicon padlock icon
- Updated Templates
- Updated Unit tests
2012-12-10 10:21:04 -08:00
William DURAND
923043cb2a
Improve doc, update README, "return" param becomes "output" to be more
...
consistent
2012-11-19 18:21:12 +01:00
William DURAND
1d72183856
Fix CS
2012-11-17 17:53:45 +01:00
William DURAND
2f62db82a9
'type' becomes 'dataType' for consistency purpose
2012-11-17 17:41:12 +01:00
FlorianLB
e4e9f62230
CS fix
2012-11-16 12:14:46 +01:00
FlorianLB
6b66edbcda
RequestParam annotation create a parameter item
2012-11-14 23:59:06 +01:00
William Durand
e1a58fd7f7
Merge pull request #75 from evillemez/param_descriptions
...
implemented param descriptions with JmsMetadataParser
2012-09-10 04:08:11 -07:00
Damien Alexandre
d2757b6c50
Add a getRoutes method and change property privacy
...
Overwriting this class for route filtering is not possible / easy
at the moment. This commit allow to use our own getRoutes method.
2012-09-06 18:45:12 +03:00
Evan Villemez
8c3466f6ed
abstracted docblock comment extraction, implemented in JmsMetadataParser to get parameter descriptions
2012-08-31 14:57:42 -04:00
Evan Villemez
504d5125f9
finished up, tests passing, fixed cs
2012-08-27 13:25:03 -04:00
Evan Villemez
2902ac3cbb
working on apidoc return property
2012-08-27 12:56:19 -04:00
Christophe Coevoet
5f0d36f3d8
Fixed the ApiDocExtractor for a change in Symfony 2.1
...
Side note: the new code would also work for the Symfony 2.0 Routing
component, and in a more efficient way by avoiding to compile each route 3
times.
2012-08-24 18:42:54 +02:00
William Durand
594c2faf26
Merge pull request #61 from evillemez/jms_parser
...
Implemented JmsMetadataParser
2012-08-23 06:19:33 -07:00
Alexander
911aaae0fd
Remove .{_format} from routes used for resource grouping
2012-08-10 11:38:01 +02:00
Evan Villemez
b71bc8bf3f
started on implementing JmsMetadataParser and tests
2012-08-07 17:50:58 -04: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