11 Commits

Author SHA1 Message Date
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
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