class Apipie::Params::Descriptor::Undef

special type of descriptor: we say that it's not specified

Public Class Methods

build(argument, options, block) click to toggle source
# File lib/apipie/params/descriptor.rb, line 294
def self.build(argument, options, block)
  if argument == :undef
    self.new(options)
  end
end

Public Instance Methods

json_schema() click to toggle source
# File lib/apipie/params/descriptor.rb, line 300
def json_schema
  super.merge('type' => 'any')
end