10 Commits

Author SHA1 Message Date
Guilhem Niot
fd45120d5c
Catch more precise exception in DocumentationController (#2027)
* Catch more precise exception in DocumentationController

* cs

* Fix tests
2022-09-03 13:18:46 +02:00
Zdeněk Drahoš
181f4b2763 Keep server_url from Request only in RenderOpenApi 2021-07-29 12:11:10 +02:00
Zdeněk Drahoš
1f29be85f4 Use json renderer in controller 2021-07-29 12:01:54 +02: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
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
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