Guilhem N
785a09fd49
Merge pull request #1145 from discordier/hotfix/override-values-correctly
...
[3.0] Pass real property to swagger annotation reader
2017-12-17 09:54:02 +01:00
Christian Schiffler
8da1ac0296
Pass real property to swagger annotation reader
...
The type invariation (changing from the real property to the sub items
definition) causes the swagger annotations to end up on the created
`Items` entry.
This changes the behaviour to update the real property entry with the
swagger annotation.
Additionally this ensures that "description", "title" and "example" are
only updated on `Schema` instances.
2017-12-15 17:39:18 +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
Hidde Boomsma
36e47f5bbf
Remove beta warning from README.md
...
I noticed you released v3.0.0 🎉 . Thnx for the great work!
2017-12-12 07:53:27 +01:00
Kori
29ec20bda1
Fix exception when attempting to read swagger annotation for virtual property ( #1136 )
...
* Fix exception when attempting to read swagger annotation for virtual property
* drop jms 1.0, add stopwatch for dependency
2017-12-09 14:31:56 +01:00
Yi Ping
d4bf23bcfb
Fix complex groups for jms serializer
2017-12-08 10:38:49 +08:00
Myroslav
01f691c456
support swagger property annotation to extend description properties of model ( #1125 )
...
* support swagger property annotation to descripe properties of model
* support swagger property annotation to descripe properties of model
* fix issues from PR review
* rename method
* remove redundant annotations and revert changes into composer.json
* fix issues from PR comments
* use symfony 3 for default tests
* revert chages
* use symfony 3 for default tests
* revert changes in travis config
2017-12-03 19:30:44 +01:00
Guilhem N
8a023a1897
Update travis config ( #1117 )
2017-11-27 14:40:22 +01:00
Guilhem Niot
2b15539cc3
Merge pull request #1126 from kopaygorodsky/feature/form-collection-type
...
Feature/form collection type
2017-11-11 12:53:22 +01:00
kopaygorodsky
8521fdc7ea
added break
2017-11-11 13:43:42 +02:00
kopaygorodsky
27402d7bb6
added support of collection type + example in forms
2017-11-11 13:33:41 +02:00
kopaygorodsky
d0a6dffa11
Merge branch 'master' of github.com:nelmio/NelmioApiDocBundle
2017-11-11 13:23:05 +02:00
Guilhem Niot
337dd7b609
Merge pull request #1099 from nelmio/tests
...
Fix tests
2017-10-22 17:36:16 +02:00
Guilhem Niot
9f2436dce3
fix tests
2017-10-22 11:48:33 +02:00
Guilhem Niot
3e98b9fe97
Merge pull request #1104 from tamcy/master
...
PHP 7.2 compatibility fix
2017-10-12 07:15:04 +02:00
tamcy
da1c1e66f8
iterator_count() should be used against EXSyst\Component\Swagger\Collections\Responses instead of count().
2017-10-12 12:01:51 +08:00
Tarmo Leppänen
87f40feefc
Support for PHP 7.2 ( #1094 )
...
* Support for PHP 7.2
* Update composer.json
2017-09-27 20:29:54 +02:00
Jasper Ras
d6913dc78f
fix: map route requirements to parameter pattern instead of format ( #1081 )
2017-09-24 00:57:06 +02:00
Vladislav Kopaygorodsky
0baa677515
Reading form recursively down(nested form) ( #1087 )
...
* Added support for EntityType in FormModel Describer. Reading form recursively down. Modified formSupport test
* codestyle fixes
2017-09-20 07:18:58 +02:00
Piotr Antosik
bc91e9d686
Update UPGRADE-3.0.md
2017-09-18 14:32:19 +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
Wesley Lancel
3adf8c3d97
Fix type for float / double for JMS models ( #1077 )
...
* Fix type for float / double for JMS models
* Set format for number type
2017-09-09 20:40:21 +02:00
Guilhem Niot
1bbfea649b
Merge pull request #1076 from Nyholm/patch-1
...
Syntax update
2017-08-31 12:01:05 +02:00
Guilhem Niot
e78ee9bda5
Merge pull request #1074 from nelmio/twig
...
Remove SwaggerUI controller when TwigBundle is not registered
2017-08-28 21:33:51 +02:00
Guilhem Niot
63585bc5d3
Merge pull request #1073 from nelmio/ref
...
Fix the invalid reference notice
2017-08-28 21:32:17 +02:00
Tobias Nyholm
585baa2477
Syntax update
...
`~7.0|~7.1` is the same as `~7.0`. I think you mean to do `7.0.*|7.1.*` since PHP does not do Semver.
2017-08-28 20:42:50 +02:00
Guilhem Niot
44422d86a0
Remove SwaggerUI controller when TwigBundle is not registered
2017-08-27 17:58:59 +02:00
Guilhem Niot
2fcce922d7
Fix the invalid reference notice
2017-08-27 17:41:42 +02:00
Guilhem Niot
2b95b1bd0f
Merge pull request #1049 from HaraldVelner/master
...
Add missing svg definitions for icons
2017-08-23 23:21:46 +02:00
Guilhem Niot
9d6064aebb
Merge pull request #1067 from Prezent/fix-constraint-param
...
Fix fatal error when using a Constraint as requirement
2017-08-23 23:14:10 +02:00
Guilhem Niot
026ee2ada1
Merge pull request #1061 from discordier/feature/root-key-configuration-merge
...
[3.0] Allow configuration to be split on root key level.
2017-08-23 23:09:43 +02:00
Sander Marechal
b61820eb4b
Fix fatal error when using a Constraint as requirement
2017-08-10 12:16:50 +02:00
Christian Schiffler
5c12ff19de
Allow configuration to be split on root key level.
...
We now allow to split the configuration on multiple files, each
containing one of the various root keys of the "documentation" entry.
This means, you may now split "documentation/*" out to own yml files and
import them.
NOTE: this only allows splitting of entries being a direct child of the
documentation entry, so splitting i.e. the info key over multiple files
will not work.
2017-08-08 19:43:01 +02:00
Harald Velner
287cecda39
Add svg icons definitions to index.html.twig
2017-08-07 13:49:38 +02:00
Guilhem Niot
e4009b4f64
Merge pull request #1050 from nelmio/collection
...
Execute the CollectionModelDescriber earlier
2017-08-04 10:36:46 +02:00
Guilhem Niot
eeeab29ec9
Execute the CollectionModelDescriber earlier
2017-08-01 22:13:01 +02:00
Harald Velner
bce6fd8c83
Add missing svg definitions for icons
2017-07-31 12:42:05 +02:00
Guilhem Niot
bb14c85179
Merge pull request #1035 from nelmio/basepath
...
Use request base url
2017-07-25 11:26:14 +02:00
Guilhem Niot
ad4079020d
Merge pull request #1042 from nelmio/swagger
...
Bump exsyst/swagger version
2017-07-25 10:54:54 +02:00
Guilhem Niot
9d86a81f2c
Bump exsyst/swagger version
2017-07-25 10:45:34 +02:00
Guilhem Niot
05bf7b54c0
Merge pull request #1028 from nelmio/datetime
...
Add DateTime support
2017-07-25 10:40:06 +02:00
Guilhem Niot
1fb8371e80
Add DateTime support
2017-07-25 10:31:23 +02:00
Guilhem Niot
fe7ce1aab1
Merge pull request #1024 from nelmio/jms
...
Add JMS serializer support
2017-07-25 10:17:50 +02:00
Guilhem Niot
b8479d02e1
Add JMS serializer support
2017-07-25 10:09:41 +02:00
Guilhem Niot
a7641db83f
Merge pull request #1041 from nelmio/tests
...
Fix tests
2017-07-25 10:08:59 +02:00
Guilhem Niot
6db64c4e8c
Fix tests
2017-07-25 10:02:32 +02:00
Guilhem Niot
7e46cc8899
Merge pull request #1034 from nelmio/GuilhemN-patch-1
...
[FosRestDescriber] Don't override parameter type if already specified
2017-07-11 18:41:54 +01:00
Guilhem Niot
261830f1f9
Merge pull request #1031 from ToGo101/bugfix/NoOverridesIfAlreadySet
...
Bugfix/no overrides if already set
2017-07-11 18:41:10 +01:00
goyt
69169b0457
since a path variable must be required, change back
2017-07-05 23:41:25 +02:00