1005 Commits

Author SHA1 Message Date
Toni Van de Voorde
e0fb5c3afe Support multiple descriptions for a Status Code 2013-02-18 21:07:59 +01:00
Jordi Boggiano
986e1a6174 Fix dev requirements 2013-02-15 13:41:09 +01:00
Jordi Boggiano
9797a16b4c Clarify dependencies to avoid using 2.1+ of this bundle with older jms serializer bundle 2013-02-15 13:33:37 +01:00
Jordi Boggiano
b3d917c9f4 Do not require sf2.2 2013-02-15 13:33:05 +01:00
Jordi Boggiano
f162311a16 CS fix 2013-02-15 13:32:51 +01:00
Jordi Boggiano
efb4bb29dd Merge remote-tracking branch 'stewe/jms_serlializer_1_0_upgrade' 2013-02-15 13:16:59 +01:00
Jordi Boggiano
e3a8fc6df0 Update for latest FOSRestBundle 2013-02-15 11:37:02 +01:00
Stefano Sala
5213b7db71 Fixed version of rest-bundle
Removed check of type string
2013-02-15 10:48:29 +01:00
Stefano Sala
5acf1adced Just fixed some docblock 2013-02-15 09:24:09 +01:00
drgomesp
b4792d1cd5 Changed conditional to work with default value as null 2013-02-14 14:16:54 -02:00
drgomesp
1f6b7b4788 Set the default section to null and added conditional back 2013-02-14 13:52:20 -02:00
drgomesp
301abdc1e7 Removed composer.phar file 2013-02-14 13:43:05 -02:00
drgomesp
3aa6544159 Removed useless conditional 2013-02-14 13:42:23 -02:00
drgomesp
8314471be1 Fixed JMSSerializerBundle version for BC 2013-02-14 13:42:04 -02:00
drgomesp
397b1b9f90 Changed version of JMSSerializerBundle from 0.9.x to 1.0.x 2013-02-14 10:37:21 -02:00
drgomesp
ad4eae7dd7 #25 Added handling of sections on the processCollection method of the AbstractFormatter 2013-02-13 17:08:35 -02:00
drgomesp
b7aa5dca72 #25 Added section property to the ApiDoc class 2013-02-13 17:08:00 -02:00
Stefano Sala
07bb37ac76 Finish upgrade to jms serializer 1.0
Updated deprecated MinLength assertion to Length
Updated array of object parsing
Handled deprecated calls because of using
AbstractType (not sure if it is the best way, though)
2013-02-11 14:42:17 +01:00
Adrien SAMSON
89276b09b7 Add support for collection type in FormType Parser 2013-01-18 15:21:51 +01:00
Greg Holland
826fd35841 update doc to reflect new accept header config param 2013-01-08 16:45:51 -08:00
Greg Holland
62b30fdb87 Fix spacing & indentation 2013-01-08 16:38:52 -08:00
fvilpoix
066da73b05 change icon for authentication parameter 2013-01-03 09:52:49 +01:00
fvilpoix
fdc814e264 Set automaticly the Authentication params when JMS Secure annotation is set 2012-12-27 10:18:15 +01:00
fvilpoix
0aa1619c5f adding 'authentication' attribute 2012-12-26 12:23:28 +01:00
fvilpoix
c1ee7c6705 #80 - unrecognized parameters type from form are defaultly set to 'string' 2012-12-26 11:21:30 +01:00
Boy Baukema
fe76b6df67 Fixed infinite recursion on JMS Types that reference themselves or their parents. 2012-12-20 10:12:50 +01:00
Greg Holland
fef40329a4 Add a config option for a default sandbox accept header 2012-12-11 17:59:03 -08:00
Jordi Boggiano
c946fbcf4f Add glyphicons attribution 2012-12-11 10:42:04 +01:00
William Durand
3eccca509b Merge pull request #116 from baldurrensch/issue-115
Added padlock icon for secure routes (#115)
2012-12-10 11:24:36 -08: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
Lukas Kahwe Smith
befeeb3e3f JMSSerializerBundle 1.0 compatibility 2012-12-04 10:27:33 +01:00
Jordi Boggiano
63c19758aa Merge pull request #105 from dalanhurst/master
Fix for JMSSerializerBundle @Type change
2012-11-27 01:50:20 -08:00
Doug Hurst
dad48bba3b Removed IntelliJ stuff from gitignore 2012-11-26 15:41:54 -06:00
Doug Hurst
b42db62be2 #102 - Doh, PHP is not Python 2012-11-26 12:37:44 -06:00
Doug Hurst
035ebfc965 #102 - Fix for JMS @Type change 2012-11-26 12:27:27 -06:00
Jordi Boggiano
5610c032ae Merge pull request #101 from willdurand/fix
Improve doc, update README, "return" param becomes "output" to be more consistent
2012-11-20 06:24:41 -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
Jordi Boggiano
588e69ffd7 Merge pull request #100 from alex88/patch-1
Exception handling on unsupported fields types
2012-11-19 02:23:22 -08:00
Alessandro Tagliapietra
2acf49e9ee Added TODO comment to the workaround 2012-11-19 11:15:28 +01:00
Alessandro Tagliapietra
b3d628a31b Exception handling on unsupported fields types
Since the entity (and maybe others) form field type breaks the doc generations, I've added a try{} catch{} exception handler when you try to a compatible field type in the formParser().

It's a workaround for issue https://github.com/nelmio/NelmioApiDocBundle/issues/94.

Later we can add a better support for other types of fields.
2012-11-19 11:09:26 +01:00
Jordi Boggiano
f1e28bb7bb Merge pull request #98 from willdurand/fix
Fixes
2012-11-17 09:26:40 -08:00
William DURAND
b31d439dac Fix tests 2012-11-17 18:09:38 +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
William DURAND
84c82f3b94 Allow HtmlFormatter to be overrided 2012-11-17 17:41:12 +01:00
William DURAND
47112613e8 Refactor formatter, avoid code duplication 2012-11-17 17:41:12 +01:00
William Durand
aee8108413 Merge pull request #97 from FlorianLB/request-param-annotation
RequestParam annotation create a parameter item
2012-11-17 06:07:34 -08: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
74f0778908 Merge pull request #93 from baldurrensch/status_codes
Added status codes
2.0.1
2012-11-13 08:07:33 -08:00