Files
openapi-generator/samples/openapi3/client/petstore/ruby/docs/Pet.md
William Cheng 9e2a9e1515 [Ruby] various improvements (#2226)
* add to_s in api error class

* rename variable to align with code sample

* fix initalize, better validation

* update petstore samples

* add code sample for model

* add auto-generated travis file

* improve error message

* add travis file

* uncomment to_s
2019-02-27 03:38:20 +08:00

751 B

Petstore::Pet

Properties

Name Type Description Notes
id Integer [optional]
category Category [optional]
name String
photo_urls Array<String>
tags Array<Tag> [optional]
status String pet status in the store [optional]

Code Sample

require 'Petstore'

instance = Petstore::Pet.new(id: null,
                                 category: null,
                                 name: doggie,
                                 photo_urls: null,
                                 tags: null,
                                 status: null)