136 Commits

Author SHA1 Message Date
Piotr Antosik
3fdbfbed1c select used parsers 2013-12-28 18:41:59 +01:00
William DURAND
c3097c7439 cs 2013-12-11 01:59:59 +01:00
Marc J. Schmidt
ead8174192 Outsourced the parsing of the classic phpDoc into a extra handler.
This makes it possible to overwrite route-requirements/description through a own handler.
Otherwise it's impossible e.g. to overwrite a `@param string $page` annotation via a own handler.
2013-12-11 01:40:16 +01:00
Samuel ROZE
95e8c9d200 Fix typo
$route parameter of ApiDocExtractor::get is a string. Passing a Route object throw an error.
2013-11-21 15:05:45 +01:00
Samuel ROZE
184a364fa4 Merge output parameters 2013-11-16 17:29:23 +01:00
William DURAND
87328e27f5 Merge pull request #206 from dothiv/master
Show authorized roles in key icon tooltip
2013-11-14 11:17:06 +01:00
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
Eneko Illarramendi
fef656cd13 Not all "strict" params should be "Requirements" in the documentation
View https://github.com/nelmio/NelmioApiDocBundle/issues/229
2013-08-18 22:33:04 +02: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
Nils Wisiol
f764773c89 authenticationRoles can be set to appear in the tooltip of the key icon for API calls that require authentication. 2013-06-24 14:27:22 +02: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
marapper
80b5162c83 Add @QueryParam default support 2013-05-06 10:04:13 +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
Dave Keen
22508bf058 Update JmsSecurityExtraHandler.php
Having a JmsSecurity @PreAuthorize annotation should also count as setting a method as requiring authentication.
2013-04-29 12:10:42 +03: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
fvilpoix
3e04cbfdf1 [ExtractorHandler] code cleaning 2013-04-17 14:24:45 +02:00
fvilpoix
7f79ddc065 [ExtractorHandler] cleaning code 2013-04-17 13:41:28 +02: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