forked from loafle/openapi-generator-original
migrate ruby samples to oas3 (#6414)
This commit is contained in:
@@ -4,34 +4,16 @@
|
||||
|
||||
Name | Type | Description | Notes
|
||||
------------ | ------------- | ------------- | -------------
|
||||
**map_string** | **Hash<String, String>** | | [optional]
|
||||
**map_number** | **Hash<String, Float>** | | [optional]
|
||||
**map_integer** | **Hash<String, Integer>** | | [optional]
|
||||
**map_boolean** | **Hash<String, Boolean>** | | [optional]
|
||||
**map_array_integer** | **Hash<String, Array<Integer>>** | | [optional]
|
||||
**map_array_anytype** | **Hash<String, Array<Object>>** | | [optional]
|
||||
**map_map_string** | **Hash<String, Hash<String, String>>** | | [optional]
|
||||
**map_map_anytype** | **Hash<String, Hash<String, Object>>** | | [optional]
|
||||
**anytype_1** | **Object** | | [optional]
|
||||
**anytype_2** | **Object** | | [optional]
|
||||
**anytype_3** | **Object** | | [optional]
|
||||
**map_property** | **Hash<String, String>** | | [optional]
|
||||
**map_of_map_property** | **Hash<String, Hash<String, String>>** | | [optional]
|
||||
|
||||
## Code Sample
|
||||
|
||||
```ruby
|
||||
require 'Petstore'
|
||||
|
||||
instance = Petstore::AdditionalPropertiesClass.new(map_string: null,
|
||||
map_number: null,
|
||||
map_integer: null,
|
||||
map_boolean: null,
|
||||
map_array_integer: null,
|
||||
map_array_anytype: null,
|
||||
map_map_string: null,
|
||||
map_map_anytype: null,
|
||||
anytype_1: null,
|
||||
anytype_2: null,
|
||||
anytype_3: null)
|
||||
instance = Petstore::AdditionalPropertiesClass.new(map_property: null,
|
||||
map_of_map_property: null)
|
||||
```
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user