Commit graph

4 commits

Author SHA1 Message Date
831e91a45d
fix: improve spruce-docgen
Improve spruce-docgen by improving how additionalProperties is
unmarshalled. If the value is either true or false then
AdditionalProperties is set to the default schema value.

Update getType to return discovered maps.

Update refType to return UNKNOWN if the ref string is invalid.

Regenerated docs/schema.asciidoc
2023-08-18 15:13:17 +01:00
446691719f
small bit of refactoring; refType validate ref string 2023-08-18 14:21:36 +01:00
b92ab4e437
feat: add JSON schema and document generator
Add the schema for the CV JSON documentation and add an internal tool
called spruce-docgen that generates an AsciiDoc referencing the schema.
2023-08-17 21:51:53 +01:00
d0d03f48b7
chore: move main.go to cmd/spruce
In preparation for additional binaries that may or may
not appear.
2023-08-16 23:33:28 +01:00