class Apipie::ResponseDescriptionAdapter::PropDesc

A ResponseDescriptionAdapter::PropDesc object pretends to be an Apipie::Param in a ResponseDescription

To successfully masquerade as such, it needs to:

respond_to?('name') and/or ['name'] returning the name of the parameter
respond_to?('required') and/or ['required'] returning boolean
respond_to?('additional_properties') and/or ['additional_properties'] returning boolean
respond_to?('validator') and/or ['validator'] returning 'nil' (so type is 'string'), or an object that:
       1) describes a type.  currently type is inferred as follows:
             if validator.is_a? Apipie::Validator::EnumValidator -->  respond_to? 'values' (returns array).  Type is enum or boolean
             else: use v.expected_type().  This is expected to be the swagger type, or:
                 numeric ==> swagger type is 'number'
                 hash ==> swagger type is 'object' and validator should respond_to? 'params_ordered'
                 array ==> swagger type is array and validator (FUTURE) should indicate type of element