Closed

Description
I have specified an array
as a an operation return type
for my operation, yet I seem to get this message in the when attempting to deserialize the server response.
Fatal error: Class 'array' not found in ~/Desktop/src/APIClient.php on line 199
However, according to the swagger-spec listed at the link below, array
should be a valid type
:
https://github.com/wordnik/swagger-spec/blob/master/versions/1.2.md
It seems that swagger-codegen is expecting this to be a user defined type, but according to the specification this is similar to a primitive type (at least that is how it reads).