Releases: survivorbat/go-scheyaml
Releases · survivorbat/go-scheyaml
v1.1.0
v1.0.0
- Add handling of
patternProperties
in a schema - Change signatures to always have an error return argument, which might be returned on broken regular expressions
v0.1.0
Removed the JSONSchema struct in favor of using an existing library, changed interfaces as well.
v0.0.6
- Fix override values of
nil
getting output as<nil>
instead ofnull
- Add support for local
$ref
statements, but not remote urls
v0.0.5
- Add line limit to description docstrings
- Rename Minimal to RequiredOnly
v0.0.4
Add Minimal()
that limits the output to required
property that lack a default value.
v0.0.3
Create a special type for the Type
property of the JSONSchema
object.
Improve handling of unspecified default values for these types:
var typeDefaultValues = map[PropType]string{
TypeString: "",
TypeInteger: "0",
TypeNumber: "0",
TypeBoolean: "false",
}
v0.0.2
- Export
JSONSchema
object - Export
Config
object - Add
WithTODOComment
andWithOverrideValues
to allow output customisation - Add
NewConfig
method - Make
JSONSchema
safely (un)marshallable
v0.0.1
Add lower-level SchemaToNode method
v0.0.0
Initial release