Gijs Blanken
65df3c22b9
Rewrite the PHP Laravel generator ( #20526 )
...
* remove legacy laravel generator
* initial setup of my vision for the laravel generator
* update the php laravel samples
* update php laravel docs
* moved api validation into controller and handle edge cases presented by sample generation
* updated samples
* added php-laravel to github workflow php8 and removed php7 workflow as it only contained old laravel
* preemptive work to support union types as soon as php serde supports them
* updated samples
* update templates in accordance to samples output
* fix pipelines and update samples
* correct serde version
* fixed phpunit execution and updated samples
* added named routes
* remove
* readd samples
---------
Co-authored-by: gijs.blanken@futureof.finance <gijs.blanken@finly.nl>
Co-authored-by: William Cheng <wing328hk@gmail.com>
2025-02-17 21:50:13 +08:00
Julian Vennen
a68ad56ea9
[php-*] Explicitly declare nullable parameters ( #20524 )
...
* [php-nextgen] Explicitly declare nullable parameters explicitly
* Fix some deprecation warnings in other php generators
* [php-nextgen] Fix PHP 8.4 deprecation warnings with nullable/optional array parameters
2025-01-23 18:06:15 +08:00
William Cheng
1fa07bf46c
Prepare 7.12.0 ( #20512 )
...
* Revert "v7.11.0 release (#20508 )"
This reverts commit a7240eeefeedeefe7fc80ef22747dfc67e126324.
* prepare 7.12.0 snapshot version
* update samples
* update readme
2025-01-21 00:10:09 +08:00
Julian Vennen
3d2ff493e6
Use conditional access for enumref query params ( #20418 )
2025-01-09 13:22:43 +08:00
Julian Vennen
eceef28850
[PHP][php-nextgen] Improve method parameter typing ( #20361 )
...
* Fix #20354 - Nullable mixed type is not allowed
* Add parameter types for request and asyncWithHttpInfo functions
2024-12-21 15:53:51 +08:00
Julian Vennen
e87c4ea6c0
[PHP][php-nextgen] Fix usage of enums in parameters ( #20294 )
2024-12-16 19:19:24 +08:00
William Cheng
654f62ce3c
Prepare 7.11.0 ( #20130 )
...
* Revert "prepare 7.10.0 release (#20128 )"
This reverts commit 12dfe8fe74a1515d1e69e00df9abe4128aa44160.
* update to 7.11.0-SNAPSHOT, update samples
* update docs
2024-11-18 20:15:29 +08:00
Julian Vennen
6bd3d53eee
[PHP/Dart/Python] Correctly escape strings in single quotes ( Fixes #17582 ) ( #19529 )
...
* [PHP/Dart/Python] Correctly escape strings in single quotes (Fixes #17582 )
* Move escapeTextInSingleQuotes method to DefaultCodegen, add docblock
2024-11-09 16:50:12 +08:00
William Cheng
e2c458b9ea
Prepare 7.10.0 ( #19809 )
...
* Revert "prepare 7.9.0 release (#19808 )"
This reverts commit 4145000dfebe7a9edea4555c8515383da7602458.
* prepare 7.10.0 snapshot
* update doc
* update samples
2024-10-08 11:21:54 +08:00
kruegge82
5902af4e75
in case of defined status codes > 299 switch will have no effect. issue 7788 ( #19483 )
...
* in case of defined status codes > 299 switch will have no effect. As described in issue 7788
so we get only an error if statusCode is not defined AND not between 200 and 299
https://github.com/OpenAPITools/openapi-generator/issues/7788
* in case of defined status codes > 299 switch will have no effect. As described in issue 7788
so we get only an error if statusCode is not defined AND not between 200 and 299
https://github.com/OpenAPITools/openapi-generator/issues/7788
2024-10-07 16:01:36 +08:00
Imants Horsts
5e7cf1cfdd
By default should use static configuration class instance, otherwise new instance is created every time ( #19775 )
2024-10-05 14:57:08 +08:00
Julian Vennen
78f2f7010f
[PHP] Add missing qualifier for enum parameters ( #19567 )
2024-09-23 16:17:52 +08:00
Julian Vennen
a5384d42b4
[PHP] Remove NUMBER_ prefix from enum vars if a name is provided, show enum descriptions ( #19555 )
...
* Remove NUMBER_ prefix from enum vars if a name is provided, show enum descriptions
* Update php model tests
2024-09-16 17:23:11 +08:00
Sobhan Sharifi
0643f526af
Fix ObjectSerializer::isEmptyValue to not consider "0" as "" ( #19472 )
2024-09-02 16:03:36 +08:00
William Cheng
91da2fd240
Prepare 7.9.0 snapshot ( #19386 )
...
* Revert "v7.8.0 release (#19385 )"
This reverts commit 6bdc452f92d49dcac7ac21dfe8751c8cc4267b98.
* update samples for v7.9.0-snapshot
2024-08-19 16:14:51 +08:00
William Cheng
4b493358a8
update php samples
2024-08-07 18:09:11 +08:00
Emilien Escalle
7f551bb9a0
feat(php-nextgen-client): add support for streaming ( #19192 )
...
Signed-off-by: Emilien Escalle <emilien.escalle@escemi.com>
2024-07-31 17:32:10 +08:00