Sha256: 0b7ccbc9221fba65880c78a2f355876272de1840e5f969cfa0ccff2ce2e7b8ec
Contents?: true
Size: 619 Bytes
Versions: 27
Compression:
Stored size: 619 Bytes
Contents
require_relative "schema/json_schema" require_relative "schema/xsd_schema" require_relative "schema/relaxng_schema" require_relative "schema/yaml_schema" module Lutaml module Model module Schema def self.to_json(klass, options = {}) JsonSchema.generate(klass, options) end def self.to_xsd(klass, options = {}) XsdSchema.generate(klass, options) end def self.to_relaxng(klass, options = {}) RelaxngSchema.generate(klass, options) end def self.to_yaml(klass, options = {}) YamlSchema.generate(klass, options) end end end end
Version data entries
27 entries across 27 versions & 1 rubygems