536 Commits

Author SHA1 Message Date
William Durand
8e41122ca7 Merge pull request #268 from konradpodgorski/feature/optionalRequirementsFields
Optional requirements fields: requirement, dataType and description
2013-11-14 01:41:14 -08:00
William DURAND
d7fd929379 Fix CS 2.3.2 2013-11-14 10:33:57 +01:00
William Durand
f94d6403f5 Merge pull request #277 from adriensamson/sandbox-host
Add support for host in sandbox
2013-11-14 00:25:50 -08:00
Adrien SAMSON
f71ba12d48 Add support for host in sandbox 2013-11-13 17:04:49 +01:00
William Durand
8728e825ea Merge pull request #270 from sroze/patch-1
Support "callback" on Choice Validator
2013-11-06 17:53:53 -08:00
Samuel ROZE
f02a6729eb Support "callback" on Choice Validator 2013-11-06 15:25:10 +01:00
Konrad Podgórski
4a831c3a20 Requirements fields: requirement, dataType and description can be optional 2013-10-30 16:38:32 +01:00
Jordi Boggiano
769b435cf3 Test suite cleanups 2013-10-29 14:41:13 +01:00
Jordi Boggiano
ecc4fb9897 Keep order of loaders, fixes #265 build 2013-10-29 14:41:03 +01:00
Jordi Boggiano
6c2fd53edc Update travis config 2013-10-29 14:40:30 +01:00
Jordi Boggiano
7336197536 Merge remote-tracking branch 'Tobion/optional_form' 2013-10-29 14:02:30 +01:00
Tobias Schultze
deaf69dc87 add missing dependencies 2013-10-29 09:54:57 +01:00
Tobias Schultze
09e82fa6d3 make form and validation extractors optional 2013-10-28 19:12:43 +01:00
David de Boer
fbe9488963 Add support for embedded forms 2013-10-23 15:45:30 +02:00
William Durand
bef7da0ef9 Merge pull request #218 from konradpodgorski/feature/extendedAnnotation
Option to set requirements and parameters directly from ApiDoc annotation
2013-10-15 15:39:44 -07:00
Konrad Podgórski
74d30d9e39 Option to set requirements and parameters directly from ApiDoc annotation
Sometimes required parameters are not used through routing but still they are mandatory. I wanted to have API with

resource.json?foo=bar&something=else

format, that was possible through QueryParam annotation or requirements in routing BUT!

There was no way to set dataType or description

This PR solves problem for me.

Side note: if you want to declare e.g. _format requirement through Annotation or any other param that is used in url ({foo} format) then it won't work. Because Bundle still overrides requirements and parameters after the constuctor in ApiDoc is called. This might be solved in separate PR by adding check if given requirements or parameters was already defined.
2013-10-15 15:28:54 +02:00
Jordi Boggiano
22cd63f9bd Merge pull request #258 from fdubost/master
Allow to named resources
2013-10-11 09:47:55 -07:00
Mauro Foti
018860205c [FIX] Issue 259 2013-10-11 18:29:10 +02:00
Florent DUBOST
f16aa64cf0 more readable 2013-10-11 16:40:26 +02:00
Florent DUBOST
8f6ac59c97 Adding test for named resource 2013-10-11 16:18:02 +02:00
Florent DUBOST
56fdd4e64c Adding possibilty to name resource 2013-10-11 15:44:31 +02:00
William Durand
7317c7aa81 Merge pull request #255 from adrienbrault/form-type-name
Can now specifiy form name
2013-10-09 16:18:34 -07:00
Adrien Brault
083ae3aef1 Can now specifiy form name
If you create you forms using FormFactoryInterface::createNamed, then you should now be able to tell the ApiDocBundle the correct form prefix.
2013-10-08 12:09:46 -07:00
Axel Anceau
ebbbebfab6 Showing default values in sandbox
When a parameter "default" is set for a filter, or a parameter, the field will be fill with this value.
2013-10-03 14:17:48 +02:00
Dominik Liebler
7ba7ea4036 changed XSD elements to attributes 2013-09-23 13:46:32 +02:00
Dominik Liebler
7f8a4d4b59 added XML namespace and XSD 2013-09-21 23:35:53 +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
William Durand
9dc3f10828 Merge pull request #240 from kbsali/ids
Make it possible to refer to methods through a URI
2013-09-11 05:13:05 -07:00
Kevin Saliou
23bc2b6f47 make api method headers anchor links so a speicif method can be refered to through its unique id 2013-09-06 13:42:19 +02:00
William Durand
f690529fc6 Merge pull request #233 from ckdarby/patch-2
Fixing border to not be applied to children
2013-08-29 16:16:09 -07:00
Cory
912906578a Fixing border to not be applied to children 2013-08-29 12:00:18 -04:00
William Durand
a2dc56d6e5 Merge pull request #230 from eillarra/patch-1
Not all "strict" params should be "Requirements" in the documentation, closes #229
2013-08-18 13:44:37 -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
William Durand
6455a8669d Merge pull request #228 from vincentchalamon/master
Fix #226
2013-08-16 17:10:44 -07:00
Vincent CHALAMON
a1517543e8 Enable PHPDoc @link feature 2013-08-16 19:18:05 +02:00
Vincent CHALAMON
4fb050175a fix #226 2013-08-16 17:02:18 +02:00
William Durand
96b40b8a8c Merge pull request #210 from jhallbachner/validation2
Added Support for Validation Component (refactored)
2013-08-13 03:28:09 -07:00
Jordi Boggiano
475ecf349b Speed up toggling 2013-08-07 12:56:32 +02:00
Jordi Boggiano
d9607477ba Merge pull request #219 from jsampedro77/header-auth
Adds custom header Authentication method
2013-07-31 03:28:43 -07:00
Jordi Boggiano
44ec2c257b Merge pull request #222 from Bladrak/improvedFormRendering
Increased input field width for sandbox forms to improve readability wit...
2013-07-31 03:27:14 -07:00
Hugo Briand
c90bd7cce4 Increased input field width for sandbox forms to improve readability with long keys 2013-07-31 10:38:09 +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
William Durand
3b6223feb2 Merge pull request #220 from qpleple/patch-1
Clarify config snippet
2013-07-23 03:03:30 -07:00
Quentin Pleplé
e3f1f55d27 Clarify config snippet 2013-07-22 12:54:08 -07:00
jsampedro
7f2cff2ac5 Adds custom header Authentication method 2013-07-19 10:05:57 +02:00
Jordi Boggiano
a8957a5915 Merge pull request #216 from lioshi/master
Add missed border-top's pane for sandbox form
2.3.1
2013-07-12 02:15:36 -07:00
lioshi
112f027b20 Add missed border-top pane for Sandbox form 2013-07-12 10:23:13 +02:00
William Durand
9e02563860 Merge pull request #205 from fterrier/escape-input
html encode the url when it is written to the page
2013-07-08 00:43:16 -07:00
Jordi Boggiano
2a87244869 Fix build 2013-07-05 00:27:42 +02:00
Jordi Boggiano
65c52577d8 Merge pull request #212 from stof/patch-1
Fixed the branch alias for master
2013-07-04 04:22:18 -07:00