tools/linter/fetcher.rb
# Runs a block with a matching set of a DiscoveryProperty and Api::Type property
Runs a block with a matching set of a DiscoveryProperty and Api::Type property
Runs a block with a matching set of a DiscoveryProperty and Api :: Type property
def nested_properties_for_api(api)
      if api.is_a?(Api::Type::NestedObject)
        api.properties
      elsif api.is_a?(Api::Type::Array) && api.item_type.is_a?(Api::Type::NestedObject)
        api.item_type.properties
      else
        []
      end
    end
def nested_properties_for_api ( api ) if api . is_a? ( Api :: Type :: NestedObject ) api . properties elsif api . is_a? ( Api :: Type :: Array ) && api . item_type . is_a? ( Api :: Type :: NestedObject ) api . item_type . properties else [ ] end end
Runs a block with a matching set of a DiscoveryProperty and Api::Type property
Runs a block with a matching set of a DiscoveryProperty and Api :: Type property
api
<not_specific>