Guilhem Niot
76c6f05023
Use stable version of FOSRestBundle
2020-12-16 21:31:45 +01:00
Guilhem Niot
a9e8db4af0
Fix the tests ( #1761 )
...
* Bump phpunit-bridge
* Bump many dependencies
2020-12-10 23:00:21 +01:00
Guilhem Niot
85978ad800
Fix github actions
2020-12-10 22:40:50 +01:00
Guilhem Niot
18c040b1c4
Add master branch to git actions workflow
2020-12-10 22:32:53 +01:00
Guilhem Niot
909a7934b4
Merge branch '3.x'
2020-12-10 22:31:55 +01:00
Guilhem Niot
0a3785fd26
Fix cs
2020-12-10 22:30:50 +01:00
Guilhem Niot
363fd26f7c
Merge branch '3.x'
2020-12-10 22:28:55 +01:00
Guilhem Niot
6d995a6e03
Add php 8 support ( #1745 )
...
* Add php 8 support
* Ignore platform reqs
* Change php constraint
* Use vendor/bin/simple-phpunit directly
* Remove willdurand/hateoas-bundle when testing php8
* Merge 3.x
* Move to github actions
* Fix the tests
* Change ./phpunit permissions
* Update deprecations policy
2020-12-10 21:59:36 +01:00
Guilhem Niot
67b28f1f7f
Allow the usage of @SWG\Definition
on form types ( #1751 )
2020-12-02 15:39:15 +01:00
Guilhem Niot
90f835f1ef
Allow to not document form types fields ( #1752 )
...
* Allow the usage of `@SWG\Definition` on form types
* Allow to not document form types fields
* Reduce the number of changes
2020-12-02 15:38:38 +01:00
Guilhem Niot
f60724e90a
Merge pull request #1747 from nelmio/arrayitemserror
...
Improve error when the items type of an array is not specified
2020-11-28 18:34:49 +01:00
Guilhem Niot
a01fd1e4f0
Fix error
2020-11-28 16:11:05 +01:00
Guilhem Niot
68bf1670f3
Fix CS
2020-11-20 17:10:21 +01:00
Guilhem Niot
0912c85a0d
Improve error when the items type of an array is not specified
2020-11-20 17:06:56 +01:00
Guilhem Niot
e9914097f7
Merge pull request #1740 from nelmio/refparams
...
Fix the detection of references in the RouteMetadataDescriber
2020-11-03 10:32:13 +01:00
Guilhem Niot
412eff9805
Test the support of QueryParam::$map
2020-11-03 10:29:37 +01:00
Guilhem Niot
dd8d3c00b6
Merge pull request #1735 from maxperrimond/fos-query-param-map
...
Fix Fos rest query param with map
2020-11-03 10:10:02 +01:00
Guilhem Niot
1279c82d43
Merge pull request #1737 from magnetik/override-init-swagger
...
Allow to pass options to the constructor of SwaggerUIBundle
2020-11-03 10:04:54 +01:00
Baptiste Lafontaine
cc5bc47a0b
Add documentation
2020-11-02 11:21:34 +01:00
Guilhem Niot
e1700ba4b5
Fix the detection of references in the RouteMetadataDescriber
2020-11-01 11:41:49 +01:00
Guilhem Niot
8c0dcf5605
Improve error about property type
2020-11-01 11:32:13 +01:00
Baptiste Lafontaine
cbab00939f
Allow to pass options to the constructor of SwaggerUIBundle
2020-10-23 15:04:00 +02:00
Maxime Perrimond
fafd243f55
Fix Fos rest query param with map
2020-10-22 11:30:34 +02:00
Guilhem Niot
00e4b53802
Merge pull request #1727 from lucassabreu/add-utf8-charset
...
(feat): add utf-8 charset to response
2020-10-04 09:48:59 +02: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
2f8416618d
Merge branch '3.x'
2020-09-29 12:31:37 +02:00
Alex Kalineskou
290df23dc0
Fix property_exists for SymfonyConstraintAnnotationReader
2020-09-29 12:30:21 +02:00
Guilhem Niot
efc179897b
Merge pull request #1723 from akalineskou/master
...
Fix property_exists for SymfonyConstraintAnnotationReader
2020-09-29 12:24:28 +02:00
Guilhem Niot
f6edaf8816
Merge pull request #1722 from phansys/git_attributes
...
Exclude development files from dist package
2020-09-29 12:23:19 +02:00
Alex Kalineskou
3f6afe54cd
Fix property_exists for SymfonyConstraintAnnotationReader
2020-09-28 22:45:24 +03:00
Javier Spagnoletti
e8ce0960a2
Exclude development files from dist package
2020-09-28 10:36:17 -03:00
Guilhem Niot
4436c468f1
Fix the tests broken by zircote/swagger-php
2020-09-27 22:20:04 +02:00
Guilhem Niot
416d1f2d2a
Merge branch '3.x'
2020-09-20 20:38:43 +02:00
Guilhem Niot
6faec06321
Fix the tests ( #1720 )
...
* Fix the tests
* Add a comment
* fix the tests
* cs
2020-09-20 20:38:26 +02:00
Guilhem Niot
318fa82cc0
Merge pull request #1718 from rishirajpurohit/enhancement/make-RouteDescriberTrait-public
...
Remove the @internal tag to avoid deprecations on symfony 5.1 (#1673 )
2020-09-20 20:16:29 +02:00
Rishiraj Purohit
b579dbe3dc
remove internal tag to avoid deprecation warnings
2020-09-20 12:53:27 +02:00
Guilhem Niot
edd6857b51
Revert "Adapt https://github.com/nelmio/NelmioApiDocBundle/pull/1711 to 3.x"
...
This reverts commit ab8c44f520a656ab6e6e32957fcc5b4cf0895d83.
2020-09-09 08:55:41 +02:00
Guilhem Niot
865527b85b
Merge branch '3.x'
2020-09-09 08:55:20 +02:00
Guilhem Niot
ab8c44f520
Adapt https://github.com/nelmio/NelmioApiDocBundle/pull/1711 to 3.x
2020-09-09 08:52:15 +02:00
Alex Kalineskou
0da1909cb9
Add support for allowNull for Assert\NotBlank
2020-09-09 08:45:53 +02:00
Guilhem Niot
c1903db109
Fix the JMSModelDescriber
2020-09-09 08:38:25 +02:00
Paul Dugas
429d809f41
Ignore ReflectionException for "magic" JMS\Accessor methods ( #1715 )
...
* Update JMSModelDescriber.php
Ignore ReflectionException thrown when getter or setter from JMS\ Accessor are "magic" methods.
* Add tests to avoid future regressions
* CS
Co-authored-by: Guilhem Niot <guilhem.niot@gmail.com>
2020-09-09 08:38:08 +02:00
Guilhem Niot
5b6983e179
Fix the JMSModelDescriber
2020-09-09 08:35:01 +02:00
Paul Dugas
fcb52246b2
Ignore ReflectionException for "magic" JMS\Accessor methods ( #1715 )
...
* Update JMSModelDescriber.php
Ignore ReflectionException thrown when getter or setter from JMS\ Accessor are "magic" methods.
* Add tests to avoid future regressions
* CS
Co-authored-by: Guilhem Niot <guilhem.niot@gmail.com>
2020-09-09 08:27:47 +02:00
Pavel Stejskal
a4c4ffcf3b
Fix incorrect media types ( #1712 )
2020-09-01 16:42:55 +02:00
Guilhem Niot
5b6f128bd0
Update @OA\Parameter
usage example ( #1706 )
2020-08-26 22:30:16 +02:00
vadim2991
5dce5fe1bc
correction an invalid yaml in the documentation ( #1703 )
2020-08-21 22:39:40 +02:00
Guilhem Niot
d9f1611f72
Release version 3.7
2020-08-12 11:06:17 +02:00
Guilhem Niot
878c436698
Merge branch 3.x
2020-08-12 10:50:21 +02:00
Adir Kuhn
71f0cfddcb
Supports reflection for routes configured in PHP files. ( #1701 )
...
By default the PHP configuration routes returns an array with the controller name and method, since the reflection class was typed for string only this was causing an exception when the user was not using YAML or XML configuration.
This changes removes the string type hint from the method and checks if it's an array or string to do the reflection.
Co-authored-by: Adir Kuhn <adir@123inkt.nl>
2020-08-11 16:46:05 +02:00