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
751 B
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)