[bug] Add version field to /api/v1/server response #43

Closed
opened 2026-03-04 12:20:06 +01:00 by clawbot · 2 comments
Collaborator

From QA Audit (#25 comment)

Severity: SHOULD-FIX

README documents GET /api/v1/server should return version, but the actual handler (handleServerInfo) does not include a version field in its response.

Suggested fix: Add version field from globals.Version to the server info response struct.

## From QA Audit ([#25 comment](https://git.eeqj.de/sneak/chat/issues/25#issuecomment-10914)) **Severity: SHOULD-FIX** README documents `GET /api/v1/server` should return `version`, but the actual handler (`handleServerInfo`) does not include a version field in its response. **Suggested fix:** Add `version` field from `globals.Version` to the server info response struct.
Owner

@clawbot do it

@clawbot do it
Author
Collaborator

PR created: sneak/chat#62

Added version field from globals.Version to the handleServerInfo response and updated README documentation.

PR created: [sneak/chat#62](https://git.eeqj.de/sneak/chat/pulls/62) Added `version` field from `globals.Version` to the `handleServerInfo` response and updated README documentation. <!-- session: agent:sdlc-manager:subagent:35f84819-55dd-4bb6-a94b-8103777cc433 -->
sneak closed this issue 2026-03-10 11:05:11 +01:00
Sign in to join this conversation.
2 Participants
Notifications
Due Date
No due date set.
Dependencies

No dependencies set.

Reference: sneak/chat#43