migrate ruby samples to oas3 (#6414)

This commit is contained in:
William Cheng
2020-05-25 23:02:30 +08:00
committed by GitHub
parent f4897ea4a4
commit db4c4917e2
572 changed files with 1442 additions and 45622 deletions

View File

@@ -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)
```