This commit is contained in:
2025-09-07 21:12:13 +08:00
parent ca3ea1900d
commit 6c1694ce6b

View File

@@ -51,7 +51,7 @@ func (md *markdown) Generate(plugin *protogen.Plugin) error {
// All other files are imported by the service proto.
for _, f := range plugin.Files {
if len(f.Services) == 0 {
return nil
continue
}
fname := f.GeneratedFilenamePrefix + ".md"