Skip to content

Commit f68ffa5

Browse files
Merge pull request #503 from snyk/feat/use-openapi-tags
feat: use openapi tags while generating docs
2 parents a50668e + a11dd88 commit f68ffa5

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tools/api-docs-generator/generator/reference_docs.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -230,9 +230,9 @@ func renderReferenceDocsPage(filePath, label, docsPath string, operation []opera
230230
}
231231
_, err = fmt.Fprintf(docsFile,
232232
`
233-
{%% swagger src="%s" path="%s" method="%s" %%}
233+
{%% openapi src="%s" path="%s" method="%s" %%}
234234
[%s](%s)
235-
{%% endswagger %%}
235+
{%% endopenapi %%}
236236
`,
237237
relativePathToSpec,
238238
op.pathURL,

0 commit comments

Comments
 (0)