[PR #2465] [CLOSED] fix(api): Use embed fs to embed the redoc template html #8288

Closed
opened 2026-04-20 18:07:59 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/2465
Author: @mdrkrg
Created: 3/24/2026
Status: Closed

Base: mainHead: fix/embed-redoc-template


📝 Commits (2)

  • a7050cf fix(api): Use embed fs to embed the redoc template html
  • 91e60cd Merge branch 'main' into fix/embed-redoc-template

📊 Changes

2 files changed (+1831 additions, -1828 deletions)

View changed files

📝 pkg/routes/api/v1/docs.go (+4 -1828)
pkg/routes/api/v1/templates/redoc.html (+1827 -0)

📄 Description

Cleanup the code a little bit? There are to much escapes to "`".

Have no idea where to put the templates.


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/go-vikunja/vikunja/pull/2465 **Author:** [@mdrkrg](https://github.com/mdrkrg) **Created:** 3/24/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `fix/embed-redoc-template` --- ### 📝 Commits (2) - [`a7050cf`](https://github.com/go-vikunja/vikunja/commit/a7050cfda31a555208050bf667e588fac9f166d6) fix(api): Use embed fs to embed the redoc template html - [`91e60cd`](https://github.com/go-vikunja/vikunja/commit/91e60cd38944294f2e362547df715cc1c34aae67) Merge branch 'main' into fix/embed-redoc-template ### 📊 Changes **2 files changed** (+1831 additions, -1828 deletions) <details> <summary>View changed files</summary> 📝 `pkg/routes/api/v1/docs.go` (+4 -1828) ➕ `pkg/routes/api/v1/templates/redoc.html` (+1827 -0) </details> ### 📄 Description Cleanup the code a little bit? There are to much escapes to "\`". Have no idea where to put the templates. --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
GiteaMirror added the pull-request label 2026-04-20 18:07:59 -05:00
Sign in to join this conversation.
1 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: github-starred/vikunja#8288