203 Commits

Author SHA1 Message Date
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
kopaygorodsky
27402d7bb6 added support of collection type + example in forms 2017-11-11 13:33:41 +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
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
Guilhem Niot
bb14c85179 Merge pull request #1035 from nelmio/basepath
Use request base url
2017-07-25 11:26:14 +02:00
Guilhem Niot
1fb8371e80 Add DateTime support 2017-07-25 10:31:23 +02:00
Guilhem Niot
b8479d02e1 Add JMS serializer support 2017-07-25 10:09:41 +02:00
Guilhem Niot
0b05a23625 Use request base url 2017-07-05 15:43:15 +02: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
Guilhem Niot
6776d7880e Merge pull request #1015 from nelmio/fosrest
Fix docs when using FOSRestBundle format listener
2017-06-22 20:29:28 +00:00
Guilhem Niot
91e8af5406 Fix docs when using FOSRestBundle format listener 2017-06-20 20:49:50 +02:00
Guilhem Niot
d1761826ab Merge pull request #1010 from nelmio/groups
Add groups support
2017-06-14 12:26:52 +00:00
Guilhem Niot
9c0db1ea51 Fix symfony 4 support 2017-06-14 14:22:46 +02:00
Guilhem Niot
de40660341 Add groups support 2017-06-13 13:34:26 +02:00
Benjamin GAREL
245cf4e9c9 Change the behavior of path_patterns filter to use OR instead of AND 2017-06-07 13:55:32 +02:00
Guilhem Niot
2422156f27 Fix 2017-06-02 21:30:31 +02:00
Guilhem Niot
a65b7c4074 Use phpunit 6 2017-05-31 19:36:17 +02:00
Guilhem Niot
87a42ab52d fix cs 2017-05-31 18:35:02 +02:00
Guilhem Niot
18eec11ab0 Merge pull request #948 from nelmio/SWAGGERUI
[3.0] Add Swagger-ui support
2017-05-13 11:57:42 +00:00
Guilhem N
260a2689a6 Add Swagger-ui support 2017-05-13 13:55:13 +02:00
Guilhem Niot
ef4f587d33
Support @SWG\Tag 2017-03-17 19:45:46 +01:00
Guilhem Niot
ebe2bdf4d6
Get ride of Swagger-Php parser 2017-03-16 19:52:18 +01:00
Guilhem N
cde91cc38c Merge branch 'dev' into CONFIG 2017-02-07 19:14:35 +01:00
Guilhem N
0f2cb3fde2
Add a config option to configure the base of the documentation 2017-01-25 18:53:19 +01:00
Guilhem N
b1d95d966d
[SwaggerPhp] Only parse controllers 2017-01-25 18:44:57 +01:00
Baptiste Lafontaine
92c108839c Make source folder configurable 2017-01-19 09:43:44 +01:00
Guilhem N
14ae741115
Add models support 2017-01-14 17:36:56 +01:00
Guilhem N
a098f3f4e9
Remove the @ApiDoc annotation 2017-01-09 12:21:53 +01:00
Guilhem N
1a17a5f5da
Allow implicit operations with SwaggerPhp annotations 2017-01-08 12:12:43 +01:00
Guilhem N
c797269bef
Change the vendor to "Nelmio" 2016-12-29 12:09:26 +01:00
Guilhem N
25eb57e8a3 Merge pull request #5 from EXSyst/FORMAT
Fix _format path parameter removal
2016-12-03 20:58:16 +01:00
Guilhem N
9efcc24cdd
Use PHP-CS-FIXER 2.0 2016-12-01 18:16:02 +01:00
Guilhem N
e221047351
Fix CS 2016-12-01 17:25:53 +01:00
Guilhem N
32dbbade38
Fix _format path parameter removal 2016-12-01 17:19:33 +01:00
Guilhem N
ab3dec1125
Test .{_format} removal 2016-11-30 16:52:13 +01:00
Guilhem N
da6527060f
Test FOSRestBundle support 2016-11-30 16:21:03 +01:00
Guilhem N
f6f91562d9
Fix a type hint issue in RouteDescriber 2016-11-30 16:10:45 +01:00
Guilhem N
3364bf3af3
Allow to filter routes based on their path 2016-11-30 14:54:04 +01:00
Guilhem N
c6bbaecc54
Fix tests 2016-11-18 22:16:53 +01:00
Ener-Getick
ffda7801f6
Add FOSRestBundle support 2016-08-04 22:27:10 +02:00
Ener-Getick
7a7f78a53f
Fix CS 2016-08-01 20:00:18 +02:00
Ener-Getick
02601125bd
Make the document generated valid 2016-08-01 19:58:57 +02:00
Ener-Getick
c37d615071
Update dependencies 2016-07-29 18:40:56 +02:00
Ener-Getick
170249b369
Add ApiPlatform support 2016-07-29 10:22:40 +02:00
Ener-Getick
71f4458085
Use ener-getick/swagger 2016-07-28 10:20:59 +02:00
Ener-Getick
684eb375ae
Fix cs 2016-07-15 00:04:07 +02:00