Sha256: 9f15a14aa31367addf0e48fcc19f80aec03063edebdee0bca40be14339ab4d86

Contents?: true

Size: 317 Bytes

Versions: 20

Compression:

Stored size: 317 Bytes

Contents

require_relative "../util"

module Swagger
  class Schema
    class Parameters < Array
      class Validator
        def initialize(parameters)
          @parameters = parameters
        end

        def validate(data)
          @parameters.to_json_schema
          # validate
        end
      end
    end
  end
end

Version data entries

20 entries across 20 versions & 1 rubygems

Version Path
swagger-serializer-0.9.1 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.9.0 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.8.3 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.8.2 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.8.1 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.8.0 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.7.0 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.6.2 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.6.1 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.6.0 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.5.2 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.5.1 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.5.0 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.4.1 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.4.0 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.3.0 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.2.1 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.2.0 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.1.1 lib/swagger/schema/parameters/validator.rb
swagger-serializer-0.1.0 lib/swagger/schema/parameters/validator.rb