Closed acmiyaguchi closed 5 years ago
This fixes #19.
This PR adds a few things to the ast module:
Clone
Union::collapse
Tag::infer_name
Into<ast::Tag> for jsonschema::Tag
From<jsonschema::Tag> for ast::Tag
into
This fixes #19.
This PR adds a few things to the ast module:
Clone
for most of the structsUnion::collapse
method which flattens union typesTag::infer_name
method for adding missing names to objectsInto<ast::Tag> for jsonschema::Tag
toFrom<jsonschema::Tag> for ast::Tag
, which givesinto
for free.