forked from loafle/openapi-generator-original
* 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
376 B
376 B
Petstore::Animal
Properties
| Name | Type | Description | Notes |
|---|---|---|---|
| class_name | String | ||
| color | String | [optional] [default to 'red'] |
Code Sample
require 'Petstore'
instance = Petstore::Animal.new(class_name: null,
color: null)