diff --git a/docparse/jsonschema.go b/docparse/jsonschema.go index 5819c3d..aff0799 100644 --- a/docparse/jsonschema.go +++ b/docparse/jsonschema.go @@ -66,6 +66,7 @@ func structToSchema(prog *Program, name, tagName string, ref Reference) (*Schema continue } if name == "" { + fmt.Fprintf(os.Stderr, "empty `%s` tag for %s. tags value: %s\n", tagName, schema.Title, p.KindField.Tag.Value) name = p.Name }