(out io.Writer)
| 12 | } |
| 13 | |
| 14 | func NewJSONSchemaWriter(out io.Writer) *JSONSchemaWriter { |
| 15 | return &JSONSchemaWriter{out: out} |
| 16 | } |
| 17 | |
| 18 | func (w *JSONSchemaWriter) WriteSchema(blocks []*configBlock) error { |
| 19 | schema := w.generateJSONSchema(blocks) |
no outgoing calls
no test coverage detected