Sha256: e365570e8d995ecce3a64dfe3599bb7a3ec937999e55e1c2451845167cab745d

Contents?: true

Size: 209 Bytes

Versions: 8

Compression:

Stored size: 209 Bytes

Contents

module Finitio
  class SeqType

    def to_json_schema(*args, &bl)
      {
        type: "array",
        items: elm_type.to_json_schema(*args, &bl)
      }
    end

  end # class SeqType
end # module Finitio

Version data entries

8 entries across 8 versions & 1 rubygems

Version Path
finitio-0.12.0 lib/finitio/json_schema/seq_type.rb
finitio-0.11.4 lib/finitio/json_schema/seq_type.rb
finitio-0.11.3 lib/finitio/json_schema/seq_type.rb
finitio-0.11.2 lib/finitio/json_schema/seq_type.rb
finitio-0.11.1 lib/finitio/json_schema/seq_type.rb
finitio-0.10.0 lib/finitio/json_schema/seq_type.rb
finitio-0.9.1 lib/finitio/json_schema/seq_type.rb
finitio-0.9.0 lib/finitio/json_schema/seq_type.rb