19 Commits

Author SHA1 Message Date
Zdeněk Drahoš
5124f07ece Enable dumping html docs with cdn and offline assets 2021-06-27 09:24:35 +02:00
Zdeněk Drahoš
4ebee933c4 Extract rendering docs from command and controller 2021-06-27 08:41:33 +02:00
Saleh Saeed
774057a91a
Revert DocumentationController name 2021-02-08 22:54:21 +01:00
Saleh Saeed
2b387e80f2 Fix styleci 2021-02-01 23:34:02 +01:00
Saleh Saeed
46ef005787 Add Yaml Documentation
Fixes #1613
2021-02-01 23:29:53 +01:00
Guilhem Niot
363fd26f7c Merge branch '3.x' 2020-12-10 22:28:55 +01:00
Lucas dos Santos Abreu
b022f6b219 (feat): add utf-8 charset to response
`swagger-ui-bundle` is very sensible to encoding changes because of the
RegExp performed.

ensuring UTF-8 on the response prevents end-user config to break it.

the annotations already needs to be UTF-8 compatible to generate the
JSON, so it should not break users applications.
2020-10-02 14:04:16 -03:00
Guilhem Niot
d558560f61
Remove deprecated features (#1640)
* Remove deprecated features

* Fix cs
2020-05-31 18:18:29 +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
Piotr Antosik
dc1f11a46f
Allow Twig 3 2019-11-21 08:53:58 +01:00
Guilhem N
258dd2f69f
Improve exceptions message (#1502) 2019-04-12 09:35:49 +02:00
Ayrton Ricardo
253e71a46e Provide default host to generated .json documentation (#1492)
* Add default host to the current request host to keep the same behaviour as js does

* Add host to test case

* Revert deleted code

* Revert not needed update on expected result
2019-04-10 20:55:04 +02: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
David Buchmann
75cf1201ed Apply fixes from StyleCI 2017-12-22 17:42:18 +00: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
91e8af5406 Fix docs when using FOSRestBundle format listener 2017-06-20 20:49:50 +02:00
Guilhem Niot
39eda091c1 Update Swagger-ui 2017-06-02 21:37:33 +02:00
Guilhem N
260a2689a6 Add Swagger-ui support 2017-05-13 13:55:13 +02:00