Versions in this module Expand all Collapse all v0 v0.8.0 Mar 4, 2025 Changes in this version + var HeaderOffset int + func RenderDocumentation(r Renderer, objects map[string]jsonschema.Schema, ...) (string, error) + type AsciiDocRenderer struct + func (AsciiDocRenderer) TableFooter() string + func (AsciiDocRenderer) TableHeader() string + func (a *AsciiDocRenderer) Header(title string, level int) string + func (a *AsciiDocRenderer) PropertyHeader(title string, level int) string + func (a *AsciiDocRenderer) PropertyRow(parent, name string, schema jsonschema.Schema, maxDepth bool) string + func (a *AsciiDocRenderer) TextParagraph(text string) string + type MarkdownRenderer struct + func (MarkdownRenderer) TableFooter() string + func (MarkdownRenderer) TableHeader() string + func (MarkdownRenderer) TextParagraph(text string) string + func (m *MarkdownRenderer) Header(title string, level int) string + func (m *MarkdownRenderer) PropertyHeader(title string, level int) string + func (m *MarkdownRenderer) PropertyRow(parent, name string, schema jsonschema.Schema, maxDepth bool) string + type Renderer interface + Header func(string, int) string + PropertyHeader func(string, int) string + PropertyRow func(string, string, jsonschema.Schema, bool) string + TableFooter func() string + TableHeader func() string + TextParagraph func(string) string + func NewAsciidocRenderer(flatOutput string) Renderer + func NewMarkdownRenderer(flatOutput string) Renderer