43 Commits

Author SHA1 Message Date
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 Niot
c1fb7abfb8 Support references to config parameters 2018-05-10 19:10:13 +02:00
Asmir Mustafic
4253ff6b67 Merge pull request #1277 from goetas/bazinga-hateoas
Add basic BazingaHateoasBundle support
2018-05-05 14:49:17 +02:00
Guilhem N
1680ba3481
Merge pull request #1294 from Hexanet/fix-link-unlink-methods
Ignore unsupported HTTP methods
2018-04-20 18:57:39 +02:00
Floran Brutel
22c6eb5958
Add log when there are no valid http methods 2018-04-20 10:43:00 +02:00
Baptiste Lafontaine
c90f2a11c1 Load class NelmioApiDocBundle annotations 2018-04-16 13:46:06 +02:00
Guilhem N
6263ed8479
Merge pull request #1243 from ManInTheBox/proper-fos-rest-describer-pattern-setting
Fix #1239: FosRestDescriber properly configures Parameter#pattern property
2018-03-24 09:37:54 +01:00
Zarko Stankovic
e83856ad9a Refactored code to achieve the logic we want for pattern and format. 2018-03-23 19:46:54 +01:00
Guilhem Niot
9bf00b5196 Support @Model through ref 2018-03-22 18:37:29 +01:00
Javier Spagnoletti
ec851ca65c Allow to filter routes by host (#1121) 2018-03-17 10:37:54 -03:00
Zarko Stankovic
5a1dfa6ead Added support for "format" field for Constraint objects. 2018-03-15 19:09:51 +01:00
Zarko Stankovic
499886deab Fix #1239: FosRestDescriber properly configures Parameter#pattern property.
Minor bugfix that configures `Parameter#pattern` property instead of `Parameter#format`.
Tests provided that prove this implementation works as expected.
2018-02-27 15:42:40 +01:00
Guilhem N
296c63d21c
Support references to config definitions (#1232)
* Support references to config definitions

* Add type hint

* Add a test
2018-02-19 10:49:52 +01:00
Martijn van Kempen
c72085a507 Added test for the Symfony constraints (#1213)
* Added test for the Symfony constraints

* Added missing ,

* Removed whiteline

* Moved test from JMS to FunctionTest

* Style ci changes

* Removed unused code

* Removed use
2018-02-05 18:39:58 +01:00
Dragos Protung
b4c3dcd6ae Added support for @Security annotations (#1201)
* Added support for `@Security` annotations

* Don't output empty tag and security if none defined
2018-01-25 21:11:34 +01:00
Guilhem N
393a6c061e
Add areas support (#1169)
* Add areas support

* Document the Areas feature

* Allow to expose swagger area as JSON

* Fixes

* last fixes
2018-01-05 13:08:02 +01:00
Guilhem Niot
eb77f3708c Cleanup 2018-01-04 11:34:23 +01:00
Guilhem N
48107de67d
Merge branch 'master' into complex_groups 2017-12-21 17:17:36 +01:00
Guilhem Niot
a4fe1f8078 Fix CS 2017-12-17 10:44:07 +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
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
Guilhem Niot
b8479d02e1 Add JMS serializer support 2017-07-25 10:09:41 +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
d1761826ab Merge pull request #1010 from nelmio/groups
Add groups support
2017-06-14 12:26:52 +00:00
Guilhem Niot
de40660341 Add groups support 2017-06-13 13:34:26 +02:00
Guilhem Niot
2422156f27 Fix 2017-06-02 21:30:31 +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
b1d95d966d
[SwaggerPhp] Only parse controllers 2017-01-25 18:44:57 +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
e221047351
Fix CS 2016-12-01 17:25:53 +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
3364bf3af3
Allow to filter routes based on their path 2016-11-30 14:54:04 +01:00
Ener-Getick
02601125bd
Make the document generated valid 2016-08-01 19:58:57 +02:00
Ener-Getick
6770e9e809
Fix CS 2016-07-14 23:52:01 +02:00
Ener-Getick
3490b01d1d
Add php docs support 2016-07-13 23:05:14 +02:00
Ener-Getick
42a2aefb41
Transform in a bundle 2016-07-12 00:33:55 +02:00