Sha256: a185d2b6b689c1ae34428b4a5560f240d2403114bf8d7e4517f297dd90dfaab9
Contents?: true
Size: 648 Bytes
Versions: 4
Compression:
Stored size: 648 Bytes
Contents
# lib/lutaml/model/schema.rb 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
4 entries across 4 versions & 1 rubygems
Version | Path |
---|---|
lutaml-model-0.3.1 | lib/lutaml/model/schema.rb |
lutaml-model-0.3.0 | lib/lutaml/model/schema.rb |
lutaml-model-0.2.1 | lib/lutaml/model/schema.rb |
lutaml-model-0.1.0 | lib/lutaml/model/schema.rb |