UserName:
  get:
    tags:
      - chatInfo
    summary: Gets the name, and nickname of the player associated with that uuid
    operationId: getName
    parameters:
      - name: uuid
        in: path
        required: true
        schema:
          type: string
          format: uuid
    responses:
      "200":
        description: The player's name and nickname
        content:
          application/json:
            schema:
              $ref: "#/components/schemas/PlayerName"
      "404":
        description: Player not found

PartyName:
  get:
    tags:
      - chatInfo
    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:
              $ref: "#/components/schemas/PartyName"
      "400":
        description: Invalid ID
      "404":
        description: Party not found
components:
  schemas:
    PlayerName:
      type: object
      required:
        - name
      properties:
        name:
          type: string
        nickname:
          type: string
    PartyName:
      type: object
      required:
        - name
      properties:
        name:
          type: string
