openapi-generator/samples
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
..
client [PHP] Fix date format serialization (#5754) 2017-06-05 00:47:56 +08:00
documentation/cwiki Remove Apache license from document generator (#4199) 2016-11-16 23:45:55 +08:00
dynamic-html Update samples for clojure + dynamic-html. (#5217) 2017-03-27 11:47:56 +08:00
html Fix #5653 so body parameter schema link matches model anchor (#5655) 2017-05-18 15:16:42 +08:00
html2 [htmlDocs2] inconsistent python method name between html2 and python generator (#5711) 2017-05-26 17:24:06 +08:00
html.md Add support for Markdown in -l html (#5144) 2017-03-23 15:15:01 +08:00
server [C++] Restbed Server Stub Code Generator (#5742) 2017-06-02 14:40:07 +08:00
server-generator Swagger Spec -> OpenAPI Spec 2015-12-30 14:52:15 -08:00
yaml Spelling fixes 2016-08-27 02:34:33 +03:00