validate arguments type
# File lib/apipie/params/descriptor.rb, line 95 def self.build(type, options, block) self.new(options) if type == ::String end
# File lib/apipie/params/descriptor.rb, line 99 def description "Must be a string" end
# File lib/apipie/params/descriptor.rb, line 103 def json_schema super.merge('type' => 'string') end