Skip to content

Commit

Permalink
Update generator.go
Browse files Browse the repository at this point in the history
Fix problem created by my incorrect merge.
  • Loading branch information
timburks committed Mar 24, 2023
1 parent a2f5a43 commit f77b5ad
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cmd/protoc-gen-openapi/generator/generator.go
Original file line number Diff line number Diff line change
Expand Up @@ -755,7 +755,7 @@ func (g *OpenAPIv3Generator) addPathsToDocumentV3(d *v3.Document, services []*pr
}

if annotationsCount > 0 {
comment := g.filterCommentString(service.Comments.Leading, false)
comment := g.filterCommentString(service.Comments.Leading)
d.Tags = append(d.Tags, &v3.Tag{Name: tagName, Description: comment})
}
}
Expand Down

0 comments on commit f77b5ad

Please sign in to comment.