Skip to content

Commit 2773bb0

Browse files
Default all
1 parent edf7748 commit 2773bb0

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

internal/generator/generator.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ func (g *Generator) buildDocument() (*openapi3.T, error) {
250250
included := strings.Split(*g.config.Include, "|")
251251
ignored := strings.Split(*g.config.Ignore, "|")
252252

253-
files := make([]*protogen.File, 0)
253+
files := g.plugin.Files
254254

255255
if len(included) > 0 {
256256
files = filterIncludedFiles(g.plugin.Files, included)

0 commit comments

Comments
 (0)