William Cheng ca85ecb283
[Ruby][Faraday] Various improvements (#3520)
* update ruby faraday oas v2 samples

* skip some default tests in faraday

* add ruby faraday oas v3 client

* add tests, fix url

* add tests to CI

* fix file upload

* undo changes to ruby-client-petstore.sh

* test faraday first

* combine gemspec tempaltes

* test ruby faraday in drone.io

* use smaller image

* update bundler

* use official ruby image

* skip bundler installation

* skip autotest

* install make

* use different image

* skip ruby tests in drone.io
2019-08-02 07:00:29 +08:00

3.3 KiB

Petstore::XmlItem

Properties

Name Type Description Notes
attribute_string String [optional]
attribute_number Float [optional]
attribute_integer Integer [optional]
attribute_boolean Boolean [optional]
wrapped_array Array<Integer> [optional]
name_string String [optional]
name_number Float [optional]
name_integer Integer [optional]
name_boolean Boolean [optional]
name_array Array<Integer> [optional]
name_wrapped_array Array<Integer> [optional]
prefix_string String [optional]
prefix_number Float [optional]
prefix_integer Integer [optional]
prefix_boolean Boolean [optional]
prefix_array Array<Integer> [optional]
prefix_wrapped_array Array<Integer> [optional]
namespace_string String [optional]
namespace_number Float [optional]
namespace_integer Integer [optional]
namespace_boolean Boolean [optional]
namespace_array Array<Integer> [optional]
namespace_wrapped_array Array<Integer> [optional]
prefix_ns_string String [optional]
prefix_ns_number Float [optional]
prefix_ns_integer Integer [optional]
prefix_ns_boolean Boolean [optional]
prefix_ns_array Array<Integer> [optional]
prefix_ns_wrapped_array Array<Integer> [optional]

Code Sample

require 'Petstore'

instance = Petstore::XmlItem.new(attribute_string: string,
                                 attribute_number: 1.234,
                                 attribute_integer: -2,
                                 attribute_boolean: true,
                                 wrapped_array: null,
                                 name_string: string,
                                 name_number: 1.234,
                                 name_integer: -2,
                                 name_boolean: true,
                                 name_array: null,
                                 name_wrapped_array: null,
                                 prefix_string: string,
                                 prefix_number: 1.234,
                                 prefix_integer: -2,
                                 prefix_boolean: true,
                                 prefix_array: null,
                                 prefix_wrapped_array: null,
                                 namespace_string: string,
                                 namespace_number: 1.234,
                                 namespace_integer: -2,
                                 namespace_boolean: true,
                                 namespace_array: null,
                                 namespace_wrapped_array: null,
                                 prefix_ns_string: string,
                                 prefix_ns_number: 1.234,
                                 prefix_ns_integer: -2,
                                 prefix_ns_boolean: true,
                                 prefix_ns_array: null,
                                 prefix_ns_wrapped_array: null)