From 6e0e6fb7a10040a0989c5d8c8936b529dc9cf7ab Mon Sep 17 00:00:00 2001 From: "akihito.nakano" Date: Sun, 8 Apr 2018 12:32:14 +0900 Subject: [PATCH] Update samples bin/openapi3/php-petstore.sh --- .../client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php | 3 +++ 1 file changed, 3 insertions(+) diff --git a/samples/openapi3/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php b/samples/openapi3/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php index 306cf69eefb..e73dbd6fab9 100644 --- a/samples/openapi3/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php +++ b/samples/openapi3/client/petstore/php/SwaggerClient-php/lib/Api/FakeApi.php @@ -1929,6 +1929,9 @@ class FakeApi $queryParams['enum_query_integer'] = ObjectSerializer::toQueryValue($enum_query_integer); } // header params + if (is_array($enum_header_string_array)) { + $enum_header_string_array = ObjectSerializer::serializeCollection($enum_header_string_array, 'csv'); + } if ($enum_header_string_array !== null) { $headerParams['enum_header_string_array'] = ObjectSerializer::toHeaderValue($enum_header_string_array); }