Add party name retrieval: implemented PartyMapper for database queries, updated ChatService with new getPartyName method, and extended /chat/party/{id}/name API endpoint.

This commit is contained in:
2026-08-01 20:03:49 +02:00
parent 8931bdc30d
commit 79a62e9ce9
5 changed files with 61 additions and 2 deletions
+24
View File
@@ -68,6 +68,30 @@ paths:
$ref: "#/components/schemas/PlayerName"
"404":
description: Player not found
/chat/party/{id}/name:
get:
tags:
- chat
summary: Gets the name, of the party based on the id
operationId: getPartyName
parameters:
- name: id
in: path
required: true
schema:
type: string
responses:
"200":
description: The party name
content:
application/json:
schema:
type: string
"400":
description: Invalid ID
"404":
description: Party not found
components:
schemas:
PlayerName: