Files
openapi-generator/samples/client/petstore/ruby/docs/User.md
Julien Feltesse 522faf835a [ruby] fix oneOf handling (#5706)
* [ruby] fix oneOf handling

* use previous ruby configs due to issue #4690

* check for oneOf model in base_object

* validate the attributes in partial_oneof_module
2020-11-23 22:43:34 +08:00

704 B

Petstore::User

Properties

Name Type Description Notes
id Integer [optional]
username String [optional]
first_name String [optional]
last_name String [optional]
email String [optional]
password String [optional]
phone String [optional]
user_status Integer User Status [optional]

Code Sample

require 'petstore'

instance = Petstore::User.new(
  id: null,
  username: null,
  first_name: null,
  last_name: null,
  email: null,
  password: null,
  phone: null,
  user_status: null
)