/rooms/{roomId}/token:
    post:
        operationId: generateRoomMemberToken
        summary: Generate room member token
        description: >
            Generates a token for a user to access an OpenVidu Meet room and its resources.
        tags:
            - Internal API - Rooms
        security:
            - accessTokenHeader: []
        parameters:
            - $ref: '../../components/parameters/room-id-path.yaml'
        requestBody:
            $ref: '../../components/requestBodies/internal/room-member-token-request.yaml'
        responses:
            '200':
                $ref: '../../components/responses/internal/success-generate-room-member-token.yaml'
            '400':
                $ref: '../../components/responses/internal/error-invalid-room-secret.yaml'
            '401':
                $ref: '../../components/responses/unauthorized-error.yaml'
            '403':
                $ref: '../../components/responses/forbidden-error.yaml'
            '404':
                $ref: '../../components/responses/internal/error-room-participant-not-found.yaml'
            '409':
                $ref: '../../components/responses/internal/error-room-closed.yaml'
            '422':
                $ref: '../../components/responses/validation-error.yaml'
            '500':
                $ref: '../../components/responses/internal-server-error.yaml'
