22 Commits

Author SHA1 Message Date
Pavel Stejskal
a4c4ffcf3b
Fix incorrect media types (#1712) 2020-09-01 16:42:55 +02:00
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
Guilhem Niot
b88793267e Use FOSRest *Param::$key when defined 2020-02-21 10:42:13 +01:00
Serhii Polishchuk
74fcffdc37 Fixed names and multi for array query params (#1509) 2019-04-23 21:12:44 +02:00
Guilhem N
a3800fb29a
Fix CS 2019-04-20 13:21:54 +02:00
Guilhem N
90293e171f
Fix map support of FOSRestBundle 2019-04-20 13:18:00 +02:00
Guilhem N
0e72b64e3c
Respect the spec in the FosRestDescriber (#1390) 2018-08-30 00:41:53 +02:00
Jerzy Lekowski
cf0857af64 Remove unused variable (#1340) 2018-06-07 20:27:21 +02:00
Guilhem N
dbfa4ed8bd
Put RequestParam annotations in body (#1328)
* Put RequestParam annotations in body

* Fix tests

* Cs
2018-06-01 16:50:50 +02:00
Zarko Stankovic
e83856ad9a Refactored code to achieve the logic we want for pattern and format. 2018-03-23 19:46:54 +01: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
Sander Marechal
b61820eb4b Fix fatal error when using a Constraint as requirement 2017-08-10 12:16:50 +02:00
Guilhem Niot
98980fa680 [FosRestDescriber] Don't override parameter type if already specified 2017-07-05 14:28:48 +02:00
Baptiste Lafontaine
c9c5042186 Handle FOSRestBundle QueryParam required QueryParams 2017-03-20 10:44:29 +01:00
Guilhem N
c797269bef
Change the vendor to "Nelmio" 2016-12-29 12:09:26 +01:00
Baptiste Lafontaine
fd6d9ac7a7 Fix usage of FOS QueryParam::getKey() that is protected since 1.8 2016-11-30 16:06:20 +01:00
Guilhem N
fd92284b83
Make most classes final 2016-11-30 15:05:57 +01:00
Ener-Getick
8c71270c66
Update the extension 2016-08-04 22:36:20 +02:00
Ener-Getick
cbd0b453ce
Register the FOSRestDescriber 2016-08-04 22:34:46 +02:00
Ener-Getick
243680c73c
Fix CS 2016-08-04 22:30:44 +02:00
Ener-Getick
ffda7801f6
Add FOSRestBundle support 2016-08-04 22:27:10 +02:00