Arne Jørgensen
|
d5b3cc0534
|
[PHP] Fix date format serialization (#5754)
* [PHP] Honor Swagger/OpenAPI 'date' format
Per spec
(https://github.com/OAI/OpenAPI-Specification/blob/master/versions/2.0.md#data-types),
DateTime instances defined as 'date' datatype need to be serialized as
defined by full-date - RFC3339, which has the format:
full-date = date-fullyear "-" date-month "-" date-mday
ref:
https://xml2rfc.tools.ietf.org/public/rfc/html/rfc3339.html#anchor14
see #5531
fixes #5607
* [PHP] Add `date` and `date-time` serializer tests
See #5531
See #5607
* [PHP] Improve codestyle of generated code
* [PHP] Regenerate PHP Petstore sample
* [PHP] Regenerate PHP Security sample
|
2017-06-05 00:47:56 +08:00 |
|
Vincent Giersch
|
aef98f464e
|
fix(php): should not check enum value if not unspecified and optional (broken since #4886) (#5357)
Signed-off-by: Vincent Giersch <vincent@giersch.fr>
|
2017-04-10 23:21:14 +08:00 |
|
baartosz
|
d21e156071
|
[PHP] error when deserializing enums #4032 (#4886)
* fixed enum template; added enum handling to ObjectSerializer
* regenerated templates
* improved InvalidArgumentException message
* regenerated sample client
* added value check of OuterEnum during sanitization
* regenerated samples
|
2017-03-08 19:08:42 +08:00 |
|
Robert Biehl
|
1ea9865a44
|
[PHP] Fix discriminator handling (#4246)
* [PHP] Fix discriminator handling
* [PHP] Fix discriminator handling (Update examples)
|
2016-11-25 16:12:41 +08:00 |
|
wing328
|
90512e6326
|
Remove Apache license from API client generators (#4197)
* remove php apache license
* remove apache license from C#
* remove apache license in objc code
* remove license from swift 3 code
* remove apache license from perl code
* remove license from scala code
* remove license from ts, go, android, cpp, scala
* remove license from java api client
* restore clojure petstore files
* remove license from travis file
* clean up apache-related terms in php, ruby, python mustache tempaltes
* remove license from JS API cilent
|
2016-11-16 21:44:49 +08:00 |
|
Dalibor Karlović
|
70fa2fb78e
|
[PHP] Better PSR2 compatibility (#3863)
* feature(php-cs-fixer) add php-cs-fixer support
* feature(php-cs-fixer) tweak Mustache templates to fit PSR2
* feature(php-cs-fixer) bin/php-petstore.sh output
|
2016-09-27 08:23:44 +08:00 |
|
Ville Skyttä
|
91b7494e3e
|
Spelling fixes
|
2016-09-06 14:45:04 +03:00 |
|
Kim Sondrup
|
1539986984
|
[PHP] Corrected PHPDoc type declarations (#3710)
* [PHP] Corrected PHPDoc type declarations
* Update petstore PHP
|
2016-09-03 16:06:07 +08:00 |
|
wing328
|
da45cb7ff5
|
remove unnecessary changes for php codegen
|
2016-08-31 16:38:30 +08:00 |
|
Arne Jørgensen
|
4008054209
|
[PHP] Regenerate petstore samples
|
2016-08-05 11:25:49 +02:00 |
|
wing328
|
0b8acb5b0c
|
set allowablevalues of inner enum's allowablevalues
|
2016-08-03 01:35:58 +08:00 |
|
Arne Jørgensen
|
0f8e1f8105
|
[PHP] Client properties validation #3457 (#3480)
* [PHP] Avoid validation of unset, optional parameters
Fixes #3457.
* [PHP] Regenerate petstore samples
|
2016-08-01 15:24:47 +08:00 |
|
wing328
|
9489f7d3eb
|
clear import mapping for gnereators that do not use it
|
2016-07-26 14:40:29 +08:00 |
|
Arne Jørgensen
|
a4ec29000a
|
[PHP] Regenerate petstore samples
|
2016-06-30 07:12:28 +02:00 |
|
wing328
|
74239c422b
|
add enum class support, merged test cases for php
|
2016-06-26 17:41:29 +08:00 |
|
Arne Jørgensen
|
e41019fb2b
|
[PHP] Regenerate petstore sample
|
2016-05-26 00:13:45 +02:00 |
|
Mikolaj Przybysz
|
6aa821d76d
|
Rebuild php petstore sample client
|
2016-05-24 15:03:25 +02:00 |
|
wing328
|
c6f03806df
|
Replaced {{mediaType}} with {{{mediaType}} to keep the original media
|
2016-05-20 17:48:47 +08:00 |
|
Arne Jørgensen
|
1f02fd281f
|
[PHP] Regenerate petstore sample
|
2016-05-14 13:45:41 +02:00 |
|
wing328
|
0b7d0c34af
|
add debug switch to print out downloaded file info
|
2016-05-14 17:11:48 +08:00 |
|
wing328
|
f1d75f46cf
|
fix #2688
|
2016-04-23 16:49:52 +08:00 |
|
Arne Jørgensen
|
ecfb71a0df
|
[PHP] Regenerated petstore sample
|
2016-04-19 21:32:11 +02:00 |
|
wing328
|
44a4219e3e
|
fix swift mapping with int and number
|
2016-04-11 19:37:56 +08:00 |
|
Arne Jørgensen
|
747f6ba0bb
|
Regenerate PHP petstore sample
|
2016-04-09 21:05:45 +02:00 |
|
wing328
|
02ac7d93c5
|
minor php code improvement
|
2016-04-09 17:59:28 +08:00 |
|
wing328
|
20f1e97df3
|
fix typo in readme
|
2016-03-30 20:58:18 +08:00 |
|
Arne Jørgensen
|
da518d55d2
|
Regenerate PHP petstore sample
|
2016-03-28 11:30:27 +02:00 |
|
wing328
|
95cd8b73a6
|
update sample code, update test case
|
2016-03-19 16:03:36 +08:00 |
|
Arne Jørgensen
|
aa61204ede
|
Regenerate PHP petstore sample
|
2016-03-18 00:52:12 +01:00 |
|
wing328
|
4b5a0a4872
|
beter handling of model name starting with number
|
2016-03-16 23:10:59 +08:00 |
|
Arne Jørgensen
|
55ef72d47e
|
Regenerate PHP petstore sample
|
2016-03-16 13:08:09 +01:00 |
|
wing328
|
c101c1204e
|
add php documentation
|
2016-03-16 16:14:04 +08:00 |
|
wing328
|
b5c0f17a02
|
update php to handle object type and add more test case
|
2016-03-05 14:25:01 +08:00 |
|
Elijah Miller
|
74536af3b9
|
Map binary to string in PHP since ByteArray is no longer in use.
|
2016-03-03 11:01:13 -05:00 |
|
Elijah Miller
|
6698c532e6
|
Keep PHP binary responses as strings for easier manipulation.
|
2016-03-03 11:01:13 -05:00 |
|
wing328
|
f8b82e14fe
|
use logger.info to display command line result
|
2016-01-28 11:25:11 +08:00 |
|
wing328
|
dcd2c00fe6
|
fix empty object serialization issue
|
2016-01-18 21:42:24 +08:00 |
|
wing328
|
9fd4f39c8c
|
update tostring to use sanitizeforserialization
|
2016-01-18 21:27:29 +08:00 |
|
wing328
|
f54185c66d
|
add binary support for php response
|
2016-01-15 11:43:02 +08:00 |
|
wing328
|
eebf743fad
|
better filename handling in objectseralizer (php)
|
2016-01-11 16:16:49 +08:00 |
|
wing328
|
a7ff6e22ab
|
update php sample before runnning CI tests
|
2016-01-08 14:07:05 +08:00 |
|
wing328
|
61e6cbef66
|
fix httpHeader (remove s)
|
2016-01-08 10:37:48 +08:00 |
|
Ron
|
3a2ad9e2e4
|
Happy new year!
|
2016-01-06 16:04:16 -08:00 |
|
wing328
|
9ab27cd848
|
update reserved words for php and ruby to include local variable names
in api methods
|
2016-01-06 23:58:58 +08:00 |
|
Arne Jørgensen
|
1292fe4dfd
|
Regenerated PHP petstore sample.
|
2016-01-03 22:59:15 +01:00 |
|
wing328
|
11d6bb9a95
|
php remove duplicated type mapping
|
2015-12-29 15:00:56 +08:00 |
|
Arne Jørgensen
|
84c35bd0cb
|
Regenerated PHP petstore sample.
|
2015-12-27 15:29:08 +01:00 |
|
wing328
|
340e60002e
|
more style change for php client
|
2015-12-07 00:52:30 +08:00 |
|
wing328
|
b282d4fbea
|
add http_parse_headers, update test case
|
2015-12-06 23:58:25 +08:00 |
|
wing328
|
e11a3d468e
|
update auth for php to skip empty apikey/username,password
|
2015-11-22 18:35:45 +08:00 |
|