def expects(&block)
      builder = ExpectationBuilder.new
      builder.instance_eval(&block)
      parameter_validations.concat builder.parameter_validations
      parameters_to_filter.concat builder.parameters_to_filter
    end
def expects(&block)
      builder = ExpectationBuilder.new
      builder.instance_eval(&block)
      parameter_validations.concat builder.parameter_validations
      parameters_to_filter.concat builder.parameters_to_filter
    end
Defines the input parameters expected for this API action.

 @example
   expects do
     string :query
     integer :per_page, :optional => true, :default => 10
   end

 See the {Apidiesel::Dsl::ExpectationBuilder ExpectationBuilder} instance methods
 for more information on what to use within `expect`.

 @macro [attach] expects
   @yield [Apidiesel::Dsl::ExpectationBuilder]