Open fMads opened 6 years ago
When data structure defines array of object, deserializing doesn't work as the nested data may be an array instead of stdclass.
2.3
/path: post: parameters: - in: body required: true name: objectName schema: type: object properties: arrayInObject: type: array minItems: 1 items: $ref: '#/definitions/SomeObject'
Cast data to stdclass, if data is array, when deserializing data
This is not fixed
Description
When data structure defines array of object, deserializing doesn't work as the nested data may be an array instead of stdclass.
Swagger-codegen version
2.3
Swagger declaration file content or url
Suggest a fix/enhancement
Cast data to stdclass, if data is array, when deserializing data