Skip to content

class 'array' not found #189

Closed
Closed
@ghost

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).

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions