mirror of
https://github.com/vxcontrol/pentagi.git
synced 2026-07-21 08:15:23 -04:00
[PR #140] [MERGED] fix: add missing closing quote in GetUser swagger annotation #186
Reference in New Issue
Block a user
Delete Branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
📋 Pull Request Information
Original PR: https://github.com/vxcontrol/pentagi/pull/140
Author: @mason5052
Created: 2/23/2026
Status: ✅ Merged
Merged: 2/23/2026
Merged by: @asdek
Base:
feature/project_improvements← Head:fix/swagger-missing-quote📝 Commits (1)
545a6b1fix: add missing closing quote in GetUser swagger annotation📊 Changes
1 file changed (+1 additions, -1 deletions)
View changed files
📝
backend/pkg/server/services/users.go(+1 -1)📄 Description
Description of the Change
Problem
The
@Failure 403swagger comment forGetUseris missing the closing double-quote on its description string:This causes malformed Swagger/OpenAPI documentation output.
Solution
Add the missing closing quote:
Type of Change
Areas Affected
Testing and Verification
Test Steps
swag init— no longer produces a malformed annotation warning for this lineSecurity Considerations
No security implications. Comment-only change.
Checklist
Code Quality
go fmtandgo vet(for Go code)Security
Compatibility
🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.