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.
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
Petobject.Meanwhile, fields with type like
Dateneed to be deserialized (from string) correctly.Reference: the convert_to_type method in Ruby client.