21 Commits

Author SHA1 Message Date
Guilhem Niot
363fd26f7c Merge branch '3.x' 2020-12-10 22:28:55 +01:00
Guilhem Niot
90f835f1ef
Allow to not document form types fields (#1752)
* Allow the usage of `@SWG\Definition` on form types

* Allow to not document form types fields

* Reduce the number of changes
2020-12-02 15:38:38 +01:00
Paweł Mikołajczuk
14e4eedbad Merge pull request #1522 from ahilles107/port/options_support_in_model
Port/options support in model
2019-06-01 15:31:09 +02:00
neFAST
92790b1d28 FIX #1428 Make sure FormInterfaceConfig has a 'documentation' option … (#1429)
* FIX #1428 Make sure FormInterfaceConfig has a 'documentation' option before getting it

FIX #1428

* adding SubmitType to Tests

* Update UserType.php

* Update UserType.php

* Update FunctionalTest.php

* Update FunctionalTest.php

* removed check to see how unit test handles this

* Add test back

* Cs
2019-03-07 08:48:56 +01:00
Asmir Mustafic
bf01a8e019
add boolean enums support to forms 2018-09-24 17:35:57 +02:00
Guilhem N
0e72b64e3c
Respect the spec in the FosRestDescriber (#1390) 2018-08-30 00:41:53 +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
Marek Štípek
22ec4fb83b Fixing FormModelDescriber entity form type description regression 2018-05-13 20:36:53 +02:00
Marek Štípek
b4ba46f9c2 Support for extended builtin form types 2018-05-10 01:01:26 +02:00
Asmir Mustafic
af30c6ac0e
handle form collection with type introspection 2018-04-27 12:43:42 +02:00
Guilhem N
37efa7228b
Add a documentation form extension (#1234)
* Adding format and example extensions. Getting child type better for collections

Fixing copyrights

Fixing style issues

Fixing style issues

Fixing style issues

* Adding DocumentationExtension

* Adding error for invalid properties

* Reverting switch

* Missing entity break

* Removing unecessary doc

* Removing unecessary method

* Style change

* Adding break for number, integer, and text types

* Extracts the documentation form extension
2018-02-19 10:56:51 +01:00
fredrocheron
72010c1d98 FormModelDescriber: set type to array with correct example for multiple choices form. (#1212)
* FormModelDescriber: set type to array with correct example for multiple choices form.

* Remove arrays examples and add test for multiple ChoiceType form

* Use of "items" for multiple ChoiceType form.
Detect "choices" type to determine property or items type.
Remove unused variable declaration.
2018-02-03 12:52:43 +01:00
Christian Schiffler
6f9ed9bba9 Add integer support to FormModelDescriber 2017-12-19 00:22:26 +01:00
Guilhem Niot
a4fe1f8078 Fix CS 2017-12-17 10:44:07 +01:00
Marcin Szepczyński
bff1b3ba0a Add support for boolean type for CheckboxType (#1123)
* Add support for boolean type for CheckboxType

* add functional tests to checkbox form type as boolean
2017-12-15 16:58:40 +01:00
kopaygorodsky
27402d7bb6 added support of collection type + example in forms 2017-11-11 13:33:41 +02:00
kopaygorodsky
b405b33ea2 codestyle fixes 2017-09-15 21:43:20 +03:00
kopaygorodsky
6e41a20e40 Added support for EntityType in FormModel Describer. Reading form recursively down. Modified formSupport test 2017-09-15 20:31:51 +03:00
Guilhem Niot
c7367d6644 Add a controller exposing the documentation in json 2017-06-26 11:32:23 +02:00
Guilhem Niot
8eb084908d Add forms support 2017-06-24 19:54:48 +02:00