713 Commits

Author SHA1 Message Date
William Durand
2ceea4871a Merge pull request #274 from sroze/patch-2
Add support of `All` constraint
2013-11-18 02:06:15 -08:00
Samuel ROZE
1112cca784 Add support of All constraint 2013-11-18 10:24:56 +01:00
William Durand
6c01424a95 Merge pull request #272 from sroze/patch-1
Merge output parameters
2013-11-17 09:28:45 -08:00
Samuel ROZE
184a364fa4 Merge output parameters 2013-11-16 17:29:23 +01:00
William Durand
eaee55e44a Merge pull request #279 from nord-ua/patch-1
Typo fix
2013-11-15 02:31:53 -08:00
Сергей Рябенко
aae9af23c2 Typo fix 2013-11-15 13:29:32 +03:00
William DURAND
4ff018b111 Fix composer again 2.4.2 2013-11-14 17:01:56 +01:00
William DURAND
fb75ceb318 update branch-alias 2.4.1 2013-11-14 16:28:08 +01:00
William DURAND
28e192290c Fix composer 2.4.0 2013-11-14 16:25:39 +01:00
William DURAND
e59ae1e1ef Fix tests for Symfony2 2.1 2013-11-14 14:20:51 +01:00
William DURAND
a2d8629f68 Composer minimum stability is not 'dev' anymore 2013-11-14 13:31:38 +01:00
William DURAND
3ce5dca429 Fix a failing test 2013-11-14 13:26:10 +01:00
William DURAND
88d56cb445 Fix travis-ci config 2013-11-14 12:09:06 +01:00
William DURAND
4edc91ea46 Add a note about PR desc in CONTRIBUTING file 2013-11-14 12:07:19 +01:00
William DURAND
e9439de94e Move doc to its own folder 2013-11-14 11:43:09 +01:00
William DURAND
e7b7c87113 Update README, move LICENSE to meta folder 2013-11-14 11:39:29 +01:00
William DURAND
291f2e8efc Add CONTRIBUTING file 2013-11-14 11:35:51 +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
7fdcd65286 Add not blank format validation
All credits go to @spolischook

See: https://github.com/nelmio/NelmioApiDocBundle/pull/234

Closes #234
2013-11-14 11:12:58 +01:00
William DURAND
32183f2618 Better travis-ci config 2013-11-14 11:09:27 +01:00
William DURAND
46275a51be Merge PR #235 2013-11-14 11:05:12 +01:00
Martin Westergaard Lassen
83315fcc80 Set format according to Date, DateTime and Time annotations 2013-11-14 11:05:05 +01:00
William DURAND
be130a2d10 Fix incompatibility with Symfony2 2.1
All credits go to @restyler

See: https://github.com/nelmio/NelmioApiDocBundle/pull/237

Closes: #231
Replaces: #237
2013-11-14 11:00:44 +01:00
William Durand
f91a0868a8 Merge pull request #247 from domnikl/xsd
add XML namespace and XSD
2013-11-14 01:51:01 -08:00
William Durand
7ac9c1c1b6 Merge pull request #251 from Peekmo/patch-1
Showing default values in sandbox
2013-11-14 01:50:29 -08:00
William Durand
357d1ff967 Merge pull request #262 from skler/issue-259-2
[FIX] Issue 259
2013-11-14 01:47:29 -08:00
William Durand
29965ec7bb Merge pull request #264 from driebit/embedded-forms
Add support for embedded forms
2013-11-14 01:42:43 -08:00
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