mirror of
https://github.com/netbirdio/docs.git
synced 2026-08-29 11:11:28 +02:00
fix(api-template): repair Go brace and collapse summary whitespace (#735)
* fix(api-template): repair Go brace and collapse summary whitespace
The ApiTemplate accidentally emitted `{` instead of `}` for the closing
brace after the early-return error check in the Go example, leaving every
generated Go snippet syntactically invalid. The summary description was
also rendered raw, so multi-line OpenAPI descriptions broke the MDX
parser when the closing tag landed inside a JSX paragraph.
Fix the template at the source and regenerate the affected resource
pages so the API docs build cleanly again.
* chore: ignore generator tsbuildinfo
This commit is contained in:
1
.gitignore
vendored
1
.gitignore
vendored
@@ -27,6 +27,7 @@ package-lock.json
|
||||
/generator/openapi/
|
||||
/generator/openapi.yml
|
||||
/generator/expandOpenAPIRef
|
||||
/generator/tsconfig.tsbuildinfo
|
||||
|
||||
# LLM documentation (generated)
|
||||
/public/llms/
|
||||
|
||||
Reference in New Issue
Block a user