Guilhem Niot
2295f68b89
Add support of inline path parameters ( #1973 )
...
* Add support of inline path parameters
* Fix CS
2022-03-28 14:37:14 +02:00
Jack Cutting
9545a0ce52
Allow security policies to be removed using the Security annotation by passing it a name of null.
2022-01-26 17:33:35 +00:00
Guilhem Niot
411cb4c27d
Do not use open api version from api-platform
2022-01-10 16:50:49 +01:00
Alex Kalineskou
cc97b0ba45
Add support for php attributes ( #1932 )
...
* Add support for php attributes
* Fix tests for php 8.1
* Simplify the annotations
* Revert the changes to the tests
* CS
* Test FOSRest parsing of attributes
* CS
* typo
* CS
* Test fetchArticle php 8.1 attributes
* Fix namespaces
Co-authored-by: Guilhem Niot <guilhem@gniot.fr>
2021-12-21 16:16:14 +01:00
Alexey Alshenetsky
14383f4ee5
Add support for zircore/swagger-php 4.0 ( #1916 )
...
* add zircore/swagger-php v4 to composer.json
* fix incompatibilities
* add compatibility with 3.2
* Apply fixes from StyleCI
* mark SetsContextTrait as internal
* Bump php version
Co-authored-by: Alexey <alshenestky@icloud.com>
Co-authored-by: Alexey Alshenetsky <alshenetsky@users.noreply.github.com>
Co-authored-by: Guilhem Niot <guilhem@gniot.fr>
2021-12-11 14:39:04 +01:00
Vladislav
d59dbbd859
Issue 1848 operation id by route name ( #1907 )
...
* Fix #1885 update psr/log and psr/container
* Issue #1848 operation id by route name
Co-authored-by: Vlad Gaiduk <uahaiduk@gmail.com>
2021-11-22 20:18:16 +01:00
Paul des Garets
eeb0b4efba
Support oauth2 scopes in Security annotation
2021-01-26 19:08:53 +01:00
Guilhem Niot
42365c71cc
Fix a regression about manual paths in operation no longer being taken into account
2020-12-27 19:14:14 +01:00
Guilhem Niot
23fdbf0412
Merge branch '3.x'
2020-08-06 10:29:17 +02:00
Guilhem Niot
edf6b70175
Apply StyleCI fixes
2020-08-06 10:26:59 +02:00
Guilhem Niot
d167685f42
Merge remote-tracking branch 'origin/3.x' into HEAD
2020-07-11 18:12:14 +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
7d9573ddf6
Move the OpenApi processing to ApiDocGenerator ( #1671 )
...
* Move the OpenApi processing to ApiDocGenerator
* Temporary fix for https://github.com/zircote/swagger-php/pull/791
* Stop using the ModelRegistry in OpenApiPhpDescriber
2020-07-06 19:50:34 +02:00
Guilhem Niot
fb84e36fdf
Fix #1628 : annotations construction is context dependant ( #1632 )
...
* Fix #1628 : since annotations construction is context dependant, we cannot use the cached annotations reader
* CS
* Small improvement
* cs
2020-05-29 21:52:06 +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 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