[PR #1026] [MERGED] feat: allow disabling swagger ui and disable it by default #935

Closed
opened 2026-02-25 23:35:56 +03:00 by kerem · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-shiori/shiori/pull/1026
Author: @fmartingr
Created: 12/11/2024
Status: Merged
Merged: 12/11/2024
Merged by: @fmartingr

Base: masterHead: feat/swagger-route-config


📝 Commits (3)

  • 819b4df feat: allow disabling swagger ui and disable by default
  • 8471d0c chore: Add codecov configuration to disable GitHub PR annotations
  • d84a169 Merge branch 'master' into feat/swagger-route-config

📊 Changes

3 files changed (+14 additions, -8 deletions)

View changed files

codecov.yml (+2 -0)
📝 internal/config/config.go (+8 -7)
📝 internal/http/server.go (+4 -1)

📄 Description

Adds a new variable to enable the Swagger UI SHIORI_HTTP_SERVE_SWAGGER.

Swagger UI is now disabled by default.

Closes #1025


🔄 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-shiori/shiori/pull/1026 **Author:** [@fmartingr](https://github.com/fmartingr) **Created:** 12/11/2024 **Status:** ✅ Merged **Merged:** 12/11/2024 **Merged by:** [@fmartingr](https://github.com/fmartingr) **Base:** `master` ← **Head:** `feat/swagger-route-config` --- ### 📝 Commits (3) - [`819b4df`](https://github.com/go-shiori/shiori/commit/819b4df6e47eee1276a095469e4147f12bb4db3b) feat: allow disabling swagger ui and disable by default - [`8471d0c`](https://github.com/go-shiori/shiori/commit/8471d0cf86bb59984af44e795812720d0fa2953a) chore: Add codecov configuration to disable GitHub PR annotations - [`d84a169`](https://github.com/go-shiori/shiori/commit/d84a169b2185790e3dd3ec2a766a6be57449d7b9) Merge branch 'master' into feat/swagger-route-config ### 📊 Changes **3 files changed** (+14 additions, -8 deletions) <details> <summary>View changed files</summary> ➕ `codecov.yml` (+2 -0) 📝 `internal/config/config.go` (+8 -7) 📝 `internal/http/server.go` (+4 -1) </details> ### 📄 Description Adds a new variable to enable the Swagger UI `SHIORI_HTTP_SERVE_SWAGGER`. Swagger UI is now disabled by default. Closes #1025 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
kerem 2026-02-25 23:35:56 +03:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
starred/shiori#935
No description provided.