openapi-generator/samples/client/petstore/ruby/docs/AdditionalPropertiesClass.md
William Cheng 4effa739eb
Add AnyType support to Java generators (#6246)
* add anytype support to java

* fix test

* fix primitive type

* update tests

* update samples
2020-05-11 15:27:03 +08:00

1.5 KiB

Petstore::AdditionalPropertiesClass

Properties

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]

Code Sample

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)