56 Commits

Author SHA1 Message Date
Guilhem Niot
edf6b70175 Apply StyleCI fixes 2020-08-06 10:26:59 +02:00
Guilhem Niot
f420532121
Support using annotations only at the class level of controllers (#1668)
* Support using annotations only at the class level of controllers

* Fix dependencies

* Bump dependency
2020-07-11 17:53:09 +02:00
Guilhem Niot
be89b2be6c
Merge pull request #1619 from katin-dev/fix_preloader
Help opcache.preload to load Swagger annotation class
2020-05-01 21:30:45 +02:00
katin-dev
f450cd29fb Help php opcache.preload to load Swagger annotation class 2020-04-28 17:43:45 +03:00
Pierre Grimaud
3b6fbf936d Fix typos 2020-04-21 23:47:33 +02:00
Maxime Helias
aa1432f35c Use getReflectionMethod instead of getReflactionClassAndMethod 2019-11-21 18:14:59 +01:00
Guilhem N
258dd2f69f
Improve exceptions message (#1502) 2019-04-12 09:35:49 +02:00
Alexander Wenzel
f1bb40c6e4 Fix #1462 by allowing all supported implementations of NormalizerInterface in ApiPlatformDescriber
> add test
2019-01-11 16:54:58 +01:00
Ilia Burtsev
346235de97 Add ability to use response objects which defined in configuration 2018-10-02 17:02:17 +07:00
Guilhem N
8db415afce
Merge SWG annotations in manually created @Operation (#1321)
* Merge SWG annotations in manually created `@Operation`

* failing test

* Fix tests
2018-06-02 13:48:44 +02:00
Guilhem Niot
c1fb7abfb8 Support references to config parameters 2018-05-10 19:10:13 +02:00
Guilhem N
1680ba3481
Merge pull request #1294 from Hexanet/fix-link-unlink-methods
Ignore unsupported HTTP methods
2018-04-20 18:57:39 +02:00
Floran Brutel
de8704f643
Better log message for unsupported http method 2018-04-20 17:24:28 +02:00
Floran Brutel
22c6eb5958
Add log when there are no valid http methods 2018-04-20 10:43:00 +02:00
Floran Brutel
eb7e6b6803
Ignore path without valid methods 2018-04-19 09:51:52 +02:00
Baptiste Lafontaine
c90f2a11c1 Load class NelmioApiDocBundle annotations 2018-04-16 13:46:06 +02:00
Floran Brutel
7aa4c829b7
Ignore LINK and UNLINK methods 2018-04-12 16:09:22 +02:00
Javier Spagnoletti
3c9bde427e Respect invalid argument syntax used by PHP at ApiPlatformDescriber::__construct() 2018-03-17 10:51:50 -03:00
Guilhem Niot
444c4608ad Fix Api-Platform support 2018-03-17 14:17:29 +01: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
Dragos Protung
b4c3dcd6ae Added support for @Security annotations (#1201)
* Added support for `@Security` annotations

* Don't output empty tag and security if none defined
2018-01-25 21:11:34 +01:00
Guilhem Niot
a09c105955 Fix Api-Platform support 2018-01-04 18:08:14 +01:00
Guilhem Niot
eb77f3708c Cleanup 2018-01-04 11:34:23 +01:00
Jakub Cegielka
1f881517c7 Fix undefined variable in ApiPlatformDescriber 2017-12-31 20:05:14 +01:00
David Buchmann
75cf1201ed Apply fixes from StyleCI 2017-12-22 17:42:18 +00:00
Guilhem Niot
a4fe1f8078 Fix CS 2017-12-17 10:44:07 +01:00
tamcy
da1c1e66f8 iterator_count() should be used against EXSyst\Component\Swagger\Collections\Responses instead of count(). 2017-10-12 12:01:51 +08:00
Vladislav Kopaygorodsky
0baa677515 Reading form recursively down(nested form) (#1087)
* Added support for EntityType in FormModel Describer. Reading form recursively down. Modified formSupport test

* codestyle fixes
2017-09-20 07:18:58 +02: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
2422156f27 Fix 2017-06-02 21:30:31 +02:00
Guilhem Niot
18eec11ab0 Merge pull request #948 from nelmio/SWAGGERUI
[3.0] Add Swagger-ui support
2017-05-13 11:57:42 +00:00
Guilhem N
260a2689a6 Add Swagger-ui support 2017-05-13 13:55:13 +02:00
Guilhem Niot
ef4f587d33
Support @SWG\Tag 2017-03-17 19:45:46 +01:00
Guilhem Niot
12247cb56e
Add return types 2017-03-17 19:37:51 +01:00
Guilhem Niot
ebe2bdf4d6
Get ride of Swagger-Php parser 2017-03-16 19:52:18 +01:00
Guilhem N
b1d95d966d
[SwaggerPhp] Only parse controllers 2017-01-25 18:44:57 +01:00
Guilhem N
14ae741115
Add models support 2017-01-14 17:36:56 +01:00
Guilhem N
1a17a5f5da
Allow implicit operations with SwaggerPhp annotations 2017-01-08 12:12:43 +01:00
Guilhem N
c797269bef
Change the vendor to "Nelmio" 2016-12-29 12:09:26 +01:00
Guilhem N
f6f91562d9
Fix a type hint issue in RouteDescriber 2016-11-30 16:10:45 +01:00
Guilhem N
fd92284b83
Make most classes final 2016-11-30 15:05:57 +01:00
Guilhem N
9b82da1d85 Merge pull request #2 from EXSyst/FILTER_ROUTES
Allow to filter routes based on their path
2016-11-30 15:02:27 +01:00
Guilhem N
3364bf3af3
Allow to filter routes based on their path 2016-11-30 14:54:04 +01:00
Guilhem N
f810f6a94e
Add a note about an empty catch 2016-11-30 14:17:42 +01:00
Guilhem N
c6bbaecc54
Fix tests 2016-11-18 22:16:53 +01:00
Ener-Getick
ffda7801f6
Add FOSRestBundle support 2016-08-04 22:27:10 +02:00
Ener-Getick
02601125bd
Make the document generated valid 2016-08-01 19:58:57 +02:00
Ener-Getick
d1adffe41f
Improve php docs 2016-07-30 20:27:51 +02:00
Ener-Getick
6ff6f2b345
Fix CS 2016-07-30 20:04:03 +02:00