William Cheng
c50a775e0c
prepare 6.5.0 release ( #14749 )
2023-02-19 20:36:23 +08:00
William Cheng
93df0ff444
Prepare 6.4.0 release ( #14748 )
...
* prepare 6.4.0 release
* update samples
2023-02-19 18:53:20 +08:00
Beppe Catanese
68b944e6e6
Preserve order of securitySchemes ( #14536 )
...
* Remove alphabetical sort
* Update integration testing expectations
* Regenerate files
2023-02-10 22:20:19 +08:00
William Cheng
31a89e35cb
Prepare 6.4.0 ( #14582 )
...
* update to 6.4.0 snapshot
* update samples
* update doc
2023-02-01 22:44:40 +08:00
William Cheng
8f2676c5c2
Prepare v6.3.0 release ( #14580 )
...
* 6.3.0 release
* fix maven plugin test
* update samples
* update doc
* fix tests in windows
2023-02-01 20:52:29 +08:00
Dee Luo
444d411b5e
perf: \GuzzleHttp\json_encode is deprecated, use \GuzzleHttp\Utils::jsonEncode instead ( #14323 )
2022-12-27 16:58:44 +08:00
Mustansir Soni
a96777b6f4
[ #13998 ][Bug][PHP] Move isNullable section to the top of the setter function in templates ( #14005 )
...
* Move isNullable section to the top
* Manage extra lines
2022-11-21 14:18:36 +08:00
Nathan Baulch
9f1fa0e440
Fix another batch of spelling typos ( #13915 )
...
* Fix typos
* Remove repeated words
* Minor grammar fixes
2022-11-07 21:30:24 +08:00
Thomas Hansen
0d1e31324b
[PHP] Accept 0 as value for query parameters ( #13868 )
2022-11-02 14:08:21 +08:00
William Cheng
2947d147b4
Merge remote-tracking branch 'origin/master' into 6.3.x
2022-11-01 17:42:59 +08:00
William Cheng
b0ce532bdc
Prepare 6.2.1 release ( #13871 )
...
* prepare 6.2.1 release
* revert change
* fix maven plugin test
* update meta
2022-11-01 17:16:46 +08:00
Thomas Hansen
d6de9c19c8
[PHP] handle properly multiple accept headers ( #13844 )
...
* [PHP] handle properly multiple accept headers
* fixup! [PHP] handle properly multiple accept headers
2022-10-31 12:11:19 +08:00
Thomas Hansen
824b2aa5f3
[PHP] Allow selecting Content-Type ( #13769 )
...
* [PHP] allow selecting Content-Type
* [AUTOGENERATED] update samples
* [PHP] Fixed tests for HeaderSelector
* [PHP] revert Content-Type validation
* [AUTOGENERATED] update samples
2022-10-26 16:58:29 +08:00
Thomas Hansen
9c2757b4e1
[PHP] Reverted extra blank lines accidentally added by #13012 commit ( #13717 )
2022-10-17 22:36:19 +08:00
William Cheng
4d03c9272b
prepare 6.3.0 snapshot
2022-10-15 15:40:47 +08:00
Thomas Hansen
a37d18a7e4
[PHP] Bugfix: DateTime object on query ( #13583 )
...
* [PHP] BUGFIX: fix code breaking when query params contain a DateTime object
* [PHP] Autogenerated files
2022-10-07 00:45:33 +08:00
Thomas Hansen
efccc01911
[PHP] BUGFIX: model_generic: fix missing setOpenAPInullablesSetToNull method ( #13499 )
...
* [PHP] Bugfix - model_generic.mustache: missing setter for openAPINullabelsSetToNull (which is invoked in the property setters)
* [AUTOGENERATED] update samples
* [PHP] Added test for nullable fields
2022-09-26 17:20:51 +08:00
William Cheng
ac7ebf67dd
Prepare 6.2.1 ( #13517 )
...
* update to 6.2.1-SNAPSHOT
* update samples
* update doc
2022-09-25 00:10:30 +08:00
William Cheng
24f476a381
prepare 6.2.0 release ( #13514 )
...
* set release version to 6.2.0
* update samples
* comment out rust server test in travis
2022-09-24 21:44:42 +08:00
Linus Klöckner
6a7567e7cb
PHP: fix ranged status codes ( #13012 )
...
* PHP: fix ranged status codes
* PHP: update samples
2022-09-21 00:21:46 +08:00
James Gilliland
abe8c74a3a
Fix php generators treating double as a native type ( #13421 )
...
* Fix php generators treating double as a native type
Fixes #13335
* Remove double handling in enum
* Add missed double type removal
2022-09-15 17:16:19 +08:00
William Cheng
928070c57a
Prepare 6.1.1 SNAPSHOT version ( #13399 )
...
* prepare v6.1.1
* update samples
* update doc
2022-09-11 19:08:23 +08:00
William Cheng
43dbb5ff9c
6.1.0 release ( #13398 )
2022-09-11 17:16:07 +08:00
devhl-labs
7e4fa70067
Update allOf to not always be nullable ( #12861 )
...
* added nonNullableVars
* added return property to operation
* added return property to operation
* build samples
* added inner enum
* build samples
* allOf no longer always nullable
* added a comment
2022-08-16 00:47:51 +08:00
Thomas Hansen
1e3a39b460
[PHP] Add support for server variables in operations ( #12982 )
...
* [FEATURE] Support for server variables in operations
* [AUTOGENERATED] update samples
* [PHP] Added tests for server variables in operations
2022-08-04 00:15:51 +08:00
Thomas Hansen
7c7ac2f0d3
[PHP] double curly braces bugfix ( #12999 )
...
* [PHP] Small bugfix: fix punctual double curly bracket usage, to make it consistent with the code around
* [AUTOGENERATED] update samples
2022-07-24 09:18:48 +08:00
Thomas Hansen
c0ad6357df
[PHP] ObjectSerializerTest: add tests for ObjectSerializer::deserialize() associative arrays bugfix ( #12989 )
...
* [PHP] ObjectSerializerTest.php: code cleanup
* [PHP] ObjectSerializerTest.php: added tests for ::deserialize() associative arrays bugfix - related to PR #12849
2022-07-23 10:07:21 +08:00
William Cheng
c26e19cbc0
Revert "Add support for string response deserialization ( #12910 )"
...
This reverts commit b8524bee232a55e28693354ab543b91e3f65629a.
2022-07-21 12:58:46 +08:00
Emanuele Saccomandi
b8524bee23
Add support for string response deserialization ( #12910 )
...
* Add support for string response deserialization
* updated samples
* updated samples
* realigned to master
* fix: errors were not getting thrown
* updated samples
* fix: errors were not getting thrown
* updated samples
2022-07-21 12:45:50 +08:00
Thomas Hansen
e2b9f39b19
[PHP] ObjectSerializer::deserialize() associative arrays bugfix ( #12849 )
...
* [PHP] ObjectSerializer::deserialize(): fix bug with json_encode
* [AUTOGENERATED] update samples
2022-07-16 17:21:42 +08:00
Thomas Hansen
cd48db43b4
[PHP] Add support to nullable (based on #3493 ) ( #12794 )
...
* [PHP] Add support to nullable (based on PR 3493)
* [AUTOGENERATED] update samples
2022-07-12 00:00:39 +08:00
Thomas Hansen
1a44a5284a
[PHP] Fix message for InvalidArgumentException(), when failing to test pattern ( #12780 )
...
* [BUGFIX] model_generic.mustache: Display property name instead of its value, when throwing InvalidArgumentExeption() for values not respecting a given pattern
* [AUTOGENERATED] Generated files
2022-07-07 01:17:22 +08:00
William Cheng
6cae0fbb78
Merge remote-tracking branch 'origin/6.1.x'
2022-07-04 01:22:51 +08:00
William Cheng
9e412edb64
Prepare 6.0.1 release ( #12762 )
...
* update to v6.0.1
* update doc
* update samples
2022-07-03 23:36:46 +08:00
William Cheng
8f3dd48772
update samples, docs
2022-06-06 12:20:21 +08:00
Ion Bazan
5bd3694927
fix @implements annotations in PHP client ( #11908 )
2022-06-06 12:08:46 +08:00
William Cheng
5bd94b8fa0
prepare 6.1.x
2022-05-26 12:58:25 +08:00
William Cheng
36a9cf394d
update samples ( #12466 )
2022-05-26 12:13:59 +08:00
William Cheng
69f79fb789
Prepare 6.0.0 release ( #12463 )
...
* prepare 6.0.0 release
* update samples
* update meta codegen
2022-05-26 10:28:01 +08:00
Kuzma
45cbd5f7a7
[Php] Convert boolean value for query string (Configuration) ( #12385 )
...
* convert bool to query string format
* add variable
* update samples
* add test
2022-05-25 10:36:21 +08:00
Yuriy Belenko
023f4e760b
[php] Bump required PHP version to 7.4 ( #12359 )
...
* Bump minimal PHP version to 7.4
* Refresh samples
2022-05-15 17:28:31 +08:00
William Cheng
12cdacabbf
[Inline model resolver] better handling of inline responses and bug fixes ( #12353 )
...
* better handling of inline response schemas, bug fixes
* update samples
* add new files
* better code format
* remove unused ruby files
* fix java test
* remove unused js spec files
* remove inline_response_default_test.dart
* fix webclient tests
* fix spring tests
2022-05-13 10:17:59 +08:00
Yuriy Belenko
e639dad66a
[php] Add PSR-12 rule set ( #12302 )
...
* Upgrade PHPCS-Fixer to 3.5 version
This version requires PHP 7.4 or 8.0 which perfectly meets our supported
PHP right now.
* Rename config file to .php-cs-fixer.dist.php
This way it can be overwritten with local file(same name without "dist"
part). Also it's recommended filename from the package doc.
* Add PSR12 rule set to config
I've changed config file a bit to look like example from the doc.
Ref: https://github.com/FriendsOfPHP/PHP-CS-Fixer/blob/HEAD/doc/config.rst
* Ignore new cache format
* Remove blank line after class opening
* Set constants in models public
* Refresh samples
2022-05-10 00:34:38 +08:00
Kuzma
6b3abd9421
[Php] Exclude query params when they're not required ( #12120 )
...
* exclude query params when they are not required
* fix check on empty
* update samples
* fix
* add tests
* update test
* Fix style
I guess PHPCodeSniffer would find PSR12 violated but we use CS-Fixer
instead. Anyway, conditions should contain spaces between logical
operators for readability.
* Apply CS-Fixer changes to templates
* Refresh samples
* Add required param to docblock
Co-authored-by: Yuriy Belenko <yura-bely@mail.ru>
2022-04-25 18:16:00 +08:00
William Cheng
8e49875871
update samples, docs
2022-04-24 15:38:16 +08:00
adessoDpd
1602942292
[Wsdl] Adding cli-option for generating different versions of WSDL-files regarding Media type versioning (content negotiation) ( #12206 )
...
* add wsdl version generation
* add option to use specified operationId
* update samples
* update cli description
2022-04-24 15:29:09 +08:00
William Cheng
67b659f47e
update php samples
2022-04-20 14:06:34 +08:00
fengelniederhammer
8a83a34bb4
[php] make ObjectSerializer::toString actually return a string ( #12158 )
2022-04-20 14:02:09 +08:00
William Cheng
8330e16d66
Better inline model resolver to handle inline schema in array item ( #12104 )
...
* better support of inline schema in array item
* update tests
* update samples
* regenerate samples
* fix allof naming, remove files
* add files
* update samples
* update readme
* fix tests
* update samples
* update samples
* add new files
* update test spec
* add back tests
* remove unused files
* comment out python test
* update js test using own spec
* remove files
* remove unused files
* remove files
* remove unused files
* better handling of allOf with a single type
* comment out go test
* remove test_all_of_with_single_ref_single_ref_type.py
* fix inline resolver, uncomment go test
2022-04-20 10:28:15 +08:00
Peter Leibiger
478ed9b8ed
Add a sample of an enum model array in query params ( #12107 )
2022-04-12 13:53:51 +08:00