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

1.6 KiB

Petstore::NullableClass

Properties

Name Type Description Notes
integer_prop Integer [optional]
number_prop Float [optional]
boolean_prop Boolean [optional]
string_prop String [optional]
date_prop Date [optional]
datetime_prop DateTime [optional]
array_nullable_prop Array<Object> [optional]
array_and_items_nullable_prop Array<Object> [optional]
array_items_nullable Array<Object> [optional]
object_nullable_prop Hash<String, Object> [optional]
object_and_items_nullable_prop Hash<String, Object> [optional]
object_items_nullable Hash<String, Object> [optional]

Code Sample

require 'Petstore'

instance = Petstore::NullableClass.new(integer_prop: null,
                                 number_prop: null,
                                 boolean_prop: null,
                                 string_prop: null,
                                 date_prop: null,
                                 datetime_prop: null,
                                 array_nullable_prop: null,
                                 array_and_items_nullable_prop: null,
                                 array_items_nullable: null,
                                 object_nullable_prop: null,
                                 object_and_items_nullable_prop: null,
                                 object_items_nullable: null)