private/apigen: Remove trailing space in doc generator

Remove a trailing space that the doc generator was adding.

Change-Id: I5c24478f79726afbaa5c6772d569b35cafe7c288
This commit is contained in:
Ivan Fraixedes 2023-11-17 11:51:07 +01:00 committed by Storj Robot
parent ed67ce33bb
commit bcde51138d

View File

@ -35,7 +35,7 @@ func (api *API) generateDocumentation() string {
wf := func(format string, args ...any) { _, _ = fmt.Fprintf(&doc, format, args...) } wf := func(format string, args ...any) { _, _ = fmt.Fprintf(&doc, format, args...) }
wf("# API Docs\n\n") wf("# API Docs\n\n")
wf("**Description:** %s\n\n", api.Description) wf("**Description:**%s\n\n", api.Description)
wf("**Version:** `%s`\n\n", api.Version) wf("**Version:** `%s`\n\n", api.Version)
wf("<h2 id='list-of-endpoints'>List of Endpoints</h2>\n\n") wf("<h2 id='list-of-endpoints'>List of Endpoints</h2>\n\n")