[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
This commit is contained in:
William Cheng
2019-02-27 03:38:20 +08:00
committed by GitHub
parent 9695090d9b
commit 9e2a9e1515
157 changed files with 1867 additions and 512 deletions

View File

@@ -5,4 +5,12 @@ Name | Type | Description | Notes
------------ | ------------- | ------------- | -------------
**array_array_number** | **Array<Array<Float>>** | | [optional]
## Code Sample
```ruby
require 'Petstore'
instance = Petstore::ArrayOfArrayOfNumberOnly.new(array_array_number: null)
```