Sha256: 59ef704fec73a62f1da952fbeb185023a0aa812ce3a892e7c983163b92cac36c

Contents?: true

Size: 330 Bytes

Versions: 2

Compression:

Stored size: 330 Bytes

Contents

module Finitio
  class ProxyType

    def to_json_schema(*args, &bl)
      # ProxyType is supposed to be used only for recursive types.
      # We don't have support for references yet, so let just
      # generate an object here in the mean time.
      { type: "object" }
    end

  end # module ProxyType
end # module UnionType

Version data entries

2 entries across 2 versions & 1 rubygems

Version Path
finitio-0.12.0 lib/finitio/json_schema/proxy_type.rb
finitio-0.11.4 lib/finitio/json_schema/proxy_type.rb