patch:
  summary: Update a Comment
  description: Update the content of an existing comment.
  operationId: updateComment
  parameters:
    - $ref: '../../openapi.yaml#/components/parameters/Id'
    - $ref: '../../openapi.yaml#/components/parameters/Meta'
  requestBody:
    content:
      application/json:
        schema:
          type: object
          properties:
            comment:
              type: string
              example: My updated comment
  responses:
    '200':
      content:
        application/json:
          schema:
            type: object
            properties:
              data:
                $ref: '../../openapi.yaml#/components/schemas/Activity'
      description: Successful request
    '401':
      $ref: '../../openapi.yaml#/components/responses/UnauthorizedError'
    '404':
      $ref: '../../openapi.yaml#/components/responses/NotFoundError'
  tags:
    - Activity
delete:
  summary: Delete a Comment
  description: Delete an existing comment. Deleted comments can not be retrieved.
  operationId: deleteComment
  parameters:
    - $ref: '../../openapi.yaml#/components/parameters/Id'
  responses:
    '203':
      description: Deleted successfully
    '401':
      $ref: '../../openapi.yaml#/components/responses/UnauthorizedError'
    '404':
      $ref: '../../openapi.yaml#/components/responses/NotFoundError'
  tags:
    - Activity
