[PR #705] [MERGED] fix(docs): improve swagger output by setting swaggertype and enums #870

Closed
opened 2025-11-01 21:06:00 -05:00 by GiteaMirror · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/go-vikunja/vikunja/pull/705
Author: @capriolo
Created: 4/25/2025
Status: Merged
Merged: 5/13/2025
Merged by: @kolaente

Base: mainHead: main


📝 Commits (3)

  • 0948560 fix(docs): improve swagger output by setting swaggertype and enums
  • 5bda12a docs: add reminder to update enums when modifying ProjectView
  • 69014d6 fix(docs): undo swaggertype for project_view.filter

📊 Changes

1 file changed (+10 additions, -2 deletions)

View changed files

📝 pkg/models/project_view.go (+10 -2)

📄 Description

Added swaggertype:"string" and enums tags to fields in ProjectView to ensure correct type representation in Swagger docs.

Affected fields:

  • ViewKind
  • Filter
  • BucketConfigurationMode

🔄 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/705 **Author:** [@capriolo](https://github.com/capriolo) **Created:** 4/25/2025 **Status:** ✅ Merged **Merged:** 5/13/2025 **Merged by:** [@kolaente](https://github.com/kolaente) **Base:** `main` ← **Head:** `main` --- ### 📝 Commits (3) - [`0948560`](https://github.com/go-vikunja/vikunja/commit/0948560bc22252dad6befedeeb3e8de546e46e9a) fix(docs): improve swagger output by setting swaggertype and enums - [`5bda12a`](https://github.com/go-vikunja/vikunja/commit/5bda12a6dd0c8386761dadfd557dc698f8a8e607) docs: add reminder to update enums when modifying ProjectView - [`69014d6`](https://github.com/go-vikunja/vikunja/commit/69014d62d81b918f13ce7e768c7e722bd9329076) fix(docs): undo swaggertype for project_view.filter ### 📊 Changes **1 file changed** (+10 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `pkg/models/project_view.go` (+10 -2) </details> ### 📄 Description Added `swaggertype:"string"` and `enums` tags to fields in ProjectView to ensure correct type representation in Swagger docs. Affected fields: - ViewKind - Filter - BucketConfigurationMode --- <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 2025-11-01 21:06:00 -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#870