lib/apia/api.rb
# Validate all objects in the API and return details of any issues encountered
#
# @return [Apia::ManifestErrors]
Validate all objects in the API and return details of any issues encountered
Validate all objects in the API and return details of any issues encountered
def validate_all
        errors = ManifestErrors.new
        objects.each do |object|
          next unless object.respond_to?(:definition)
          object.definition.validate(errors)
        end
        errors
      end
def validate_all errors = ManifestErrors . new objects . each do | object | next unless object . respond_to? ( :definition ) object . definition . validate ( errors ) end errors end
Validate all objects in the API and return details of any issues encountered
Validate all objects in the API and return details of any issues encountered
None
Apia::ManifestErrors