37 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
bfcbf59caf Allow Symfony 5 2019-11-29 13:59:27 +01:00
Maxime Helias
3888d6b976 Fix build travis 2019-11-20 12:15:00 +01:00
Asmir Mustafic
eb255010a0 Support typed embedded relation with willdurand/hateoas 3.0 (#1510)
* allow typed embedded relation with hateoas 3.0

* symfony/framework-bundle 4.2.7 is broken

https://github.com/symfony/symfony/pull/31156

* internal public methods
2019-05-02 10:02:16 +02:00
Asmir Mustafic
65e940f7f8
use jms serialization groups detection 2019-04-17 22:05:30 +02:00
Asmir Mustafic
d6ea99420e Allow model describers on jms custom types (#1495)
* allow model describers on jms custom types

* add fallback describer

* test custom type def

* remove object_fallback describer from the container when jms is not active
2019-04-16 12:13:33 +02:00
Guilhem N
23b179a481
Fix the test suite (broken due to an update in Api-Platform) (#1498) 2019-04-10 21:07:34 +02:00
Guilhem Niot
76f25393c5 Fix alternative names issue 2018-11-04 12:24:45 +01:00
Guilhem N
cd40d556cb
Merge pull request #1404 from bifidokk/area-docs
Separated documentation for areas
2018-10-06 14:44:53 +02:00
Guilhem Niot
97b722f97d Last fixes 2018-10-06 14:42:47 +02:00
Ilia Burtsev
346235de97 Add ability to use response objects which defined in configuration 2018-10-02 17:02:17 +07:00
Danil
a9120e95bd default documentation 2018-08-14 12:30:38 +05:00
bifidokk
6bce4e0a8a Fix cs 2018-07-27 09:59:45 +05:00
bifidokk
f63ab23fe5 Fix tests 2018-07-27 09:44:19 +05: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
Baptiste Lafontaine
c90f2a11c1 Load class NelmioApiDocBundle annotations 2018-04-16 13:46:06 +02:00
Javier Spagnoletti
ec851ca65c Allow to filter routes by host (#1121) 2018-03-17 10:37:54 -03: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
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
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
91e8af5406 Fix docs when using FOSRestBundle format listener 2017-06-20 20:49:50 +02:00
Guilhem Niot
9c0db1ea51 Fix symfony 4 support 2017-06-14 14:22:46 +02:00
Guilhem N
260a2689a6 Add Swagger-ui support 2017-05-13 13:55:13 +02: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
c797269bef
Change the vendor to "Nelmio" 2016-12-29 12:09:26 +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
170249b369
Add ApiPlatform support 2016-07-29 10:22:40 +02:00
Ener-Getick
684eb375ae
Fix cs 2016-07-15 00:04:07 +02:00
Ener-Getick
42a2aefb41
Transform in a bundle 2016-07-12 00:33:55 +02:00