510 Commits

Author SHA1 Message Date
Danil
8fad5a4025 Remove documentation from route builder 2018-10-05 15:14:36 +05:00
Danil
8692c1245e Pr fixes 2018-10-05 10:36:48 +05:00
Guilhem N
67ff6bd1e1
Merge pull request #1403 from goetas/boolean-enums
Add boolean enums support to forms
2018-10-04 20:36:41 +02:00
Guilhem N
6c257256b3
Merge pull request #1405 from piotrantosik/choicevalidator
Fix choice annotation with callback method name without class
2018-10-04 20:24:07 +02:00
Guilhem N
452e3d483d
Merge pull request #1411 from magnetik/swagger-ui-update
Update swagger ui
2018-10-04 20:20:31 +02:00
Baptiste Lafontaine
70442dde60 Update swagger ui 2018-10-02 16:54:00 +02:00
Guilhem N
bf54244052
Merge pull request #1409 from paillechat/feature/load_responses_from_refs
Add ability to use response objects which defined in configuration
2018-10-02 16:38:20 +02:00
Ilia Burtsev
346235de97 Add ability to use response objects which defined in configuration 2018-10-02 17:02:17 +07:00
Piotr Antosik
a9d6b3fd46
Fix choice annotation with callback method name without class 2018-09-26 16:51:43 +02:00
Danil
77f4091805 Fix code style 2018-09-25 16:44:59 +05:00
Danil
f4edb17ffb Fix extension test 2018-09-25 16:42:56 +05:00
Asmir Mustafic
bf01a8e019
add boolean enums support to forms 2018-09-24 17:35:57 +02:00
Guilhem N
c805beb3f5
Merge pull request #1396 from scaytrase/bugfix/respect-property-name-for-constraints
[Bug] Respect property name for constraints
2018-09-17 21:17:08 +02:00
Pavel Batanov
4902627bad Make SymfonyConstraintAnnotationReaderTest use proper calls to reader 2018-09-11 14:00:51 +03:00
Pavel Batanov
995ade1c8d Respect property name for constraints 2018-09-11 13:42:50 +03:00
Guilhem N
99833189fd
Ignore Type::$nullable (#1391) 2018-08-30 01:10:36 +02:00
Guilhem N
0e72b64e3c
Respect the spec in the FosRestDescriber (#1390) 2018-08-30 00:41:53 +02:00
Guilhem N
fcb36d8e8d
AssertLength doesn't make the field required (#1389) 2018-08-30 00:32:11 +02:00
eaunitrust
f0b1eb7849 master: RepeatedType added (#1387)
* master: RepeatedType added

* Fix RepeatedType support
2018-08-30 00:16:19 +02:00
Rob Holmes
309f935763 Added support for Doctrine MongoDB ODM 'document' form type (#1377)
* Added support for Doctrine MongoDB ODM 'document' form type

* Simplify code
2018-08-29 23:14:19 +02:00
Guilhem Niot
63cee64e6b Merge branch 'goetas-serializer-nested-groups' 2018-08-26 22:59:34 +02:00
Asmir Mustafic
bd26696f8f respect jms serializer nested group exclusion 2018-08-26 22:58:35 +02:00
Guilhem N
31ae375ab5
Make sure alternative names use the exact names specified (#1384)
* Make sure alternative names use the exact name specified

* Document the feature

* Cs
2018-08-26 22:15:44 +02:00
Javier Spagnoletti
df9893428e [JMSModelDescriber] Allow to use free form objects from JMS serialization (#1368)
* [JMSModelDescriber] Allow to use free form objects from JMS serialization

* Remove unused variable

* Refactor `describeItem()`

* Add more tests

* early detect of free form objects

* Add test for array property without type

* Merge `findPropertyType()` and `registerPropertyType()` methods

* Update `registerPropertyType()` in order to set "object" as type for arrays with undefined item types

* Set "additionalProperties" definition for arrays without defined items

* Simplified `registerPropertyType()`

* Merged `registerPropertyType()` into `describeItem()`

* Fix comment

* Fix comment
2018-08-21 17:41:32 +02:00
Danil
e1654628a6 Fix default documentation 2018-08-14 15:09:29 +05:00
Danil
a9120e95bd default documentation 2018-08-14 12:30:38 +05:00
Guilhem N
82caa9a063
Merge pull request #1380 from Livda/patch-1
Fix path for template extension
2018-08-13 23:44:42 +02:00
Aurélien Fontaine
c98f43164e
Fix path for template extension 2018-08-13 09:05:06 +02:00
Guilhem N
619ae0d5ae
Support doctrine Collection (#1369) 2018-07-27 08:30:22 +02:00
bifidokk
6bce4e0a8a Fix cs 2018-07-27 09:59:45 +05:00
bifidokk
f63ab23fe5 Fix tests 2018-07-27 09:44:19 +05:00
Asmir Mustafic
09e6f30572 Jms serializer default groups should not generate new definitions when possible (#1367)
* if the group does not define per property exclusion, then remove possible obsolete property exclusions

* if the group is using only the default group, then is as not defining a group

* test that the user does not get a new alias just because another property pf the same object has some groups

* use strict comparison
2018-07-26 14:14:26 +02:00
imajim
6e04137ee6 CollectionType not working in example tab (#1360)
* CollectionType not working in example tab

Removed just line 179 and collectionType now working in example tab

* Fix comments
2018-07-26 14:04:33 +02:00
bifidokk
5a6145fac8 Add docs for areas 2018-07-26 10:16:10 +05:00
Asmir Mustafic
29f3042754 jms serializer groups can be nested (#1366) 2018-07-25 17:58:28 +02:00
Javier Spagnoletti
1063972c27 [JMSModelDescriber] Update JMSModelDescriber in order to iterate over nested array definitions (#1365) 2018-07-23 18:35:05 +02:00
David Buchmann
9ca68b426c
Merge pull request #1362 from nelmio/template-faq
complete example for template in faq
2018-07-17 09:47:26 +03:00
David Buchmann
ca118c0fcc
complete example for template in faq 2018-07-16 14:15:27 +02:00
Markus Poerschke
c771c684a8 Customizable template and remove Google Fonts (#1357)
* Allow to override certain parts of the template

* Twig template can be defined via config
* Blocks can be used to override/extend only parts of the template

* Fix spelling in documentation

* Fix extension configuration tree

* Fix unit tests by making constructor argument optional

* Add fonts block and split swagger initialization into own block

* Fix code style

* Remove Google fonts, remove configuration and add changelog entry

* Remove template argument from service definition

* Add correct path for overriding template

* Move re-add of Google Fonts to FAQ section in documentation.

* Remove unused class import
2018-07-16 09:45:18 +02:00
Asmir Mustafic
ab005c4129 Implement alternative naming system via configuration (#1312)
* implement alternative naming system via configuration

* use strict comparison

* test di configs

* rever

* test naming aliases are applied

* set "default" as default area

* test names are passed to generators

* cs formatting

* added extra check for built-int types

* cs

* added documentation about alternative names

* allow to create the same alias in two different areas

* document and test better aliasing strategy

* specify that the last matching rule is used

* Make last matching rule wins

* Fix documentation
2018-06-10 09:56:38 +02:00
Jerzy Lekowski
cf0857af64 Remove unused variable (#1340) 2018-06-07 20:27:21 +02:00
David Buchmann
662db568f8
Merge pull request #1336 from nelmio/GuilhemN-patch-1
Fixes tests
2018-06-04 07:59:11 +02:00
Guilhem N
abc3e71114
Fixes tests 2018-06-03 19:19:29 +02:00
Guilhem N
8db415afce
Merge SWG annotations in manually created @Operation (#1321)
* Merge SWG annotations in manually created `@Operation`

* failing test

* Fix tests
2018-06-02 13:48:44 +02:00
Guilhem N
dbfa4ed8bd
Put RequestParam annotations in body (#1328)
* Put RequestParam annotations in body

* Fix tests

* Cs
2018-06-01 16:50:50 +02:00
David Buchmann
8678a21fdd
Merge pull request #1331 from markuspoerschke/run-test-with-php72
Run CI pipeline with PHP 7.2
2018-05-28 15:15:02 +02:00
Markus Poerschke
072f189059 Update PHPUnit to 6.5 and allow newer version of PHPUnit Bridge 2018-05-28 13:58:42 +02:00
Markus Poerschke
bb1faba506 Run CI pipeline with PHP 7.2 2018-05-28 12:51:45 +02:00
Palluel-Lafleur Frédéric
c2f036c159 fix(SymfonyConstraintAnnotationReader): fixed enum guessing in Assert… (#1325)
* fix(SymfonyConstraintAnnotationReader): fixed enum guessing in Assert\Choicewhen callback parameter is used

* fix(SymfonyConstraints): turn double quotes in single quotes
2018-05-20 15:59:52 +02:00
Guilhem N
4954feb232
Merge pull request #1323 from maryo/entity_type_description_regression
FormModelDescriber entity form type regression
2018-05-15 13:33:36 +02:00