Akihito Nakano
809e1f4c93
[PHP] Cleanup tests ( #7333 )
...
* Regenerate test/UserApiTest.php
The same implementation as testLoginUser() is in tests/UserApiTest.php
* Delete test/Client/ObjectSerializerTest.php
The same implementation is in tests/ObjectSerializerTest.php
* Update Petstore sample
- bin/php-petstore.sh
- bin/security/php-petstore.sh
2018-01-14 17:47:08 +08:00
wing328
f0c40d4c7c
update php security petstore sample
2017-07-02 15:10:17 +08:00
wing328
87bbbc1a1b
Merge remote-tracking branch 'origin/master' into 230_merge_master
2017-06-05 23:27:11 +08:00
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
baartosz
d7202a7c76
[php] 2.3 - fix form params json encoding ( #5701 )
...
* fixed tests expectations not compatible with phpunit 4
* added test and endpoint definition, updated template
* regenerated sample
* regenerated security sample
2017-06-05 00:36:40 +08:00