forked from loafle/openapi-generator-original
[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:
@@ -8,4 +8,15 @@ Name | Type | Description | Notes
|
||||
**direct_map** | **Hash<String, BOOLEAN>** | | [optional]
|
||||
**indirect_map** | **Hash<String, BOOLEAN>** | | [optional]
|
||||
|
||||
## Code Sample
|
||||
|
||||
```ruby
|
||||
require 'Petstore'
|
||||
|
||||
instance = Petstore::MapTest.new(map_map_of_string: null,
|
||||
map_of_enum_string: null,
|
||||
direct_map: null,
|
||||
indirect_map: null)
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user