The data model generated for user looks like this:
require 'date'
module MobileDataAnywhere
class User
attr_accessor :devices
# Maximum of devices allowed for the current client
attr_accessor :number_of_devices_allowed
# Attribute type mapping.
def self.openapi_types
{
:'devices' => :'Object',
:'number_of_devices_allowed' => :'Object'
}
end
As a matter of fact, when the object is replaced manually to "Array", works perfectly.
I am working with an API and the datatype is created correctly for c#
I have tried for Ruby and Typescript-fetch and it is returning generic values.
I can't see what I am doing wrong for Ruby or Typescript.
The data model generated for user looks like this:
As a matter of fact, when the object is replaced manually to "Array", works perfectly.