38 Commits

Author SHA1 Message Date
Filip Benčo
78664ef9ec
OpenApi 3 Support (#1623)
* Initial pass for OA3 upgrade

* Fix Util Tests

* Fix first batch of Unit Tests. Up to Model

* Another batch of fixed tests

* Update annotations

* Convert Model & Property Describers

* Update tests, Fix RouteDescribers, FIx additional bugs

* Another batch of updates

* Another batch of fixed Functional Tests

* Fix FunctionalTest tests

* Fix Bazinga Tests

* FIx FOS Rest

* Fix JMS TEsts & describers

* Fix all Tests

* Fix few stuff from own CR

* CS Fixes

* CS Fixes 2

* CS Fixes 3

* CS Fixes 4

* Remove collection bug

* Updates after first CRs

* CS

* Drop support for SF3

* Update the docs

* Add an upgrade guide

* misc doc fixes

* Configurable media types

* Code Style Fixes

* Don't use ::$ref for @Response and @RequestBody

* Fix upgrading guide

* Fix OA case

Co-authored-by: Filip Benčo <filip.benco@websupport.sk>
Co-authored-by: Guilhem Niot <guilhem.niot@gmail.com>
Co-authored-by: Mantis Development <mantis@users.noreply.github.com>
2020-05-28 13:19:11 +02:00
smoench
6f7c1fa870
remove FOSRest on symfony 5 test runs as FOSRest does not support symfony 5 yet 2019-12-20 10:52:36 +01:00
Maxime Helias
3888d6b976 Fix build travis 2019-11-20 12:15:00 +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
babaorum
dcfa5e23e5 add a way to filter areas on route by annotation 2019-02-05 22:43:18 +01:00
Ilia Burtsev
346235de97 Add ability to use response objects which defined in configuration 2018-10-02 17:02:17 +07: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 Niot
c1fb7abfb8 Support references to config parameters 2018-05-10 19:10:13 +02:00
Floran Brutel
22c6eb5958
Add log when there are no valid http methods 2018-04-20 10:43:00 +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
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
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
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