Skip to content

[JavaScript] Need to support deserialization of array of models #1951

@xhh

Description

@xhh

Taking Petstore's findPetsByStatus as an example, the response content (an array of plain JavaScript object) needs to be deserialized into an array of the Pet object.
Meanwhile, fields with type like Date need to be deserialized (from string) correctly.

Reference: the convert_to_type method in Ruby client.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions