124 Commits

Author SHA1 Message Date
William DURAND
d7fd929379 Fix CS 2013-11-14 10:33:57 +01:00
Florent DUBOST
f16aa64cf0 more readable 2013-10-11 16:40:26 +02:00
Florent DUBOST
56fdd4e64c Adding possibilty to name resource 2013-10-11 15:44:31 +02:00
William Durand
c2d36d9ef0 Merge pull request #221 from kmfk/documentation-in-handler
Modify the `documentation` property inside annotation handlers
2013-09-12 01:51:49 -07:00
Vincent CHALAMON
a1517543e8 Enable PHPDoc @link feature 2013-08-16 19:18:05 +02:00
keith kirk
f67dfb05db adds the ability to modify the documentation property inside custom extractor handlers 2013-07-25 13:47:54 -07:00
Josh Hall-Bachner
54a6ad566d Updated postParse logic to utilize an interface and to avoid unnecessary "supports" checks.
Expanded documentation on new classes and methods.
2013-07-02 21:57:09 -07:00
Josh Hall-Bachner
23f64b84f6 Fixed multi-level validation nesting.
Removed "class" parameters from results after processed.

Updated README.
2013-06-30 23:46:43 -07:00
Josh Hall-Bachner
5e1549a29d Built parse-merging into the ApiDocExtractor.
Wired up a "post-parse" pass to allow recursive parsing across multiple parsers.
2013-06-30 23:46:41 -07:00
Pierre-Yves LEBECQ
13efea8975 Added support for the jms version annotations in formatters 2013-05-12 14:54:01 +02:00
fieg
06271f824a added support for JMS Serializer GroupsExclusionStrategy 2013-05-12 14:29:36 +02:00
William Durand
5567f74692 Merge pull request #179 from lightglitch/fix-178
Fix parameter name boundary in regex
2013-05-06 01:00:51 -07:00
Jordi Boggiano
255d42830d Allow sf2.3, fix scope issue 2013-05-03 16:26:16 +02:00
William Durand
08eebf0fa0 Merge pull request #177 from fvilpoix/annotation_handlers
Moving annotation extraction into tagged Handlers
2013-04-17 15:21:31 -07:00
Mario Franco
b31ca81d9e Merge branch 'deprecated' 2013-04-16 16:40:34 +01:00
Mario Franco
bb9fd6d756 Added support for deprecated phpdoc tag 2013-04-16 16:19:19 +01:00
Mario Franco
32840bfe75 Fix parameter name boundary in regex 2013-04-16 16:16:30 +01:00
fvilpoix
76b85938c6 implementing all stof comments :) 2013-04-16 16:00:46 +02:00
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