Files
sodalive-backend-spring-boot/docs/20261120_크리에이터관리자_댓글관리/openapi.yaml
T

671 lines
27 KiB
YAML

openapi: 3.1.0
info:
title: 크리에이터 관리자 댓글 관리 API
version: 1.0.0
description: >-
구현된 Creator Admin 댓글·FanTalk·커뮤니티·후원 관리 API. 응답은 ApiResponse wrapper를 따른다.
servers:
- url: /
description: 현재 호스트
security:
- bearerAuth: []
tags:
- name: ContentComments
description: 콘텐츠 댓글과 소유자 답글
- name: FanTalk
description: 기존 팬톡 기반 팬레터 및 소유자 답글
- name: Community
description: 커뮤니티 게시글과 댓글
- name: Donations
description: 후원 메시지 조회 및 숨김
paths:
/api/v2/creator-admin/comment-management/content/comments:
get:
tags: [ContentComments]
summary: 콘텐츠 댓글 목록
operationId: listCreatorContentComments
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/Size'
- $ref: '#/components/parameters/Order'
- $ref: '#/components/parameters/Visibility'
responses:
'200':
description: 콘텐츠 부모 댓글 페이지
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiResponse'
- properties:
data:
$ref: '#/components/schemas/ContentCommentPage'
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/content/{contentId}/comments/{commentId}:
parameters:
- $ref: '#/components/parameters/ContentId'
- $ref: '#/components/parameters/CommentId'
delete:
tags: [ContentComments]
summary: 콘텐츠 부모 댓글 soft delete
operationId: deleteCreatorContentComment
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/content/{contentId}/comments/{commentId}/replies:
parameters:
- $ref: '#/components/parameters/ContentId'
- $ref: '#/components/parameters/CommentId'
post:
tags: [ContentComments]
summary: 콘텐츠 댓글에 크리에이터 답글 등록
operationId: createCreatorContentCommentReply
requestBody: {$ref: '#/components/requestBodies/Reply'}
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'409': {$ref: '#/components/responses/Conflict'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/content/{contentId}/comments/{commentId}/replies/{replyId}:
parameters:
- $ref: '#/components/parameters/ContentId'
- $ref: '#/components/parameters/CommentId'
- $ref: '#/components/parameters/ReplyId'
put:
tags: [ContentComments]
summary: 콘텐츠 크리에이터 답글 수정
operationId: updateCreatorContentCommentReply
requestBody: {$ref: '#/components/requestBodies/Reply'}
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
delete:
tags: [ContentComments]
summary: 콘텐츠 크리에이터 답글 soft delete
operationId: deleteCreatorContentCommentReply
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/fantalks:
get:
tags: [FanTalk]
summary: FanTalk 기반 팬레터 목록
operationId: listCreatorFanTalks
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/Size'
- $ref: '#/components/parameters/Order'
responses:
'200':
description: FanTalk 페이지
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiResponse'
- properties:
data:
$ref: '#/components/schemas/FanTalkPage'
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/fantalks/{fanTalkId}:
parameters:
- $ref: '#/components/parameters/FanTalkId'
delete:
tags: [FanTalk]
summary: FanTalk 부모 글 soft delete
operationId: deleteCreatorFanTalk
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/fantalks/{fanTalkId}/replies:
parameters:
- $ref: '#/components/parameters/FanTalkId'
post:
tags: [FanTalk]
summary: FanTalk 크리에이터 답글 등록
operationId: createCreatorFanTalkReply
requestBody: {$ref: '#/components/requestBodies/Reply'}
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'409': {$ref: '#/components/responses/Conflict'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'415': {$ref: '#/components/responses/UnsupportedMediaType'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/fantalks/{fanTalkId}/replies/{replyId}:
parameters:
- $ref: '#/components/parameters/FanTalkId'
- $ref: '#/components/parameters/ReplyId'
put:
tags: [FanTalk]
summary: FanTalk 크리에이터 답글 수정
operationId: updateCreatorFanTalkReply
requestBody: {$ref: '#/components/requestBodies/Reply'}
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'415': {$ref: '#/components/responses/UnsupportedMediaType'}
'500': {$ref: '#/components/responses/InternalServerError'}
delete:
tags: [FanTalk]
summary: FanTalk 크리에이터 답글 soft delete
operationId: deleteCreatorFanTalkReply
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/community/posts:
get:
tags: [Community]
summary: 커뮤니티 게시글 목록
operationId: listCreatorCommunityPosts
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/Size'
- $ref: '#/components/parameters/Order'
responses:
'200':
description: 게시글 페이지
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiResponse'
- properties:
data:
$ref: '#/components/schemas/CommunityPostPage'
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/community/posts/{postId}:
parameters:
- $ref: '#/components/parameters/PostId'
get:
tags: [Community]
summary: 커뮤니티 게시글 상세
operationId: getCreatorCommunityPost
responses:
'200':
description: 게시글 상세
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiResponse'
- properties:
data:
$ref: '#/components/schemas/CommunityPost'
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/community/posts/{postId}/comments:
parameters:
- $ref: '#/components/parameters/PostId'
get:
tags: [Community]
summary: 커뮤니티 게시글 댓글 목록
operationId: listCreatorCommunityComments
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/Size'
- $ref: '#/components/parameters/Order'
- $ref: '#/components/parameters/Visibility'
responses:
'200':
description: 댓글 페이지
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiResponse'
- properties:
data:
$ref: '#/components/schemas/CommunityCommentPage'
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/community/posts/{postId}/comments/{commentId}:
parameters:
- $ref: '#/components/parameters/PostId'
- $ref: '#/components/parameters/CommentId'
delete:
tags: [Community]
summary: 커뮤니티 부모 댓글 soft delete
operationId: deleteCreatorCommunityComment
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/community/posts/{postId}/comments/{commentId}/replies:
parameters:
- $ref: '#/components/parameters/PostId'
- $ref: '#/components/parameters/CommentId'
post:
tags: [Community]
summary: 커뮤니티 댓글에 크리에이터 답글 등록
operationId: createCreatorCommunityReply
requestBody: {$ref: '#/components/requestBodies/Reply'}
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'409': {$ref: '#/components/responses/Conflict'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'415': {$ref: '#/components/responses/UnsupportedMediaType'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/community/posts/{postId}/comments/{commentId}/replies/{replyId}:
parameters:
- $ref: '#/components/parameters/PostId'
- $ref: '#/components/parameters/CommentId'
- $ref: '#/components/parameters/ReplyId'
put:
tags: [Community]
summary: 커뮤니티 크리에이터 답글 수정
operationId: updateCreatorCommunityReply
requestBody: {$ref: '#/components/requestBodies/Reply'}
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'415': {$ref: '#/components/responses/UnsupportedMediaType'}
'500': {$ref: '#/components/responses/InternalServerError'}
delete:
tags: [Community]
summary: 커뮤니티 크리에이터 답글 soft delete
operationId: deleteCreatorCommunityReply
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/donations:
get:
tags: [Donations]
summary: 채널 후원 메시지 목록
operationId: listCreatorDonations
parameters:
- $ref: '#/components/parameters/Page'
- $ref: '#/components/parameters/Size'
- $ref: '#/components/parameters/Order'
- $ref: '#/components/parameters/Visibility'
responses:
'200':
description: 후원 메시지 페이지
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiResponse'
- properties:
data:
$ref: '#/components/schemas/DonationPage'
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
/api/v2/creator-admin/comment-management/donations/{donationId}:
parameters:
- $ref: '#/components/parameters/DonationId'
delete:
tags: [Donations]
summary: 후원 메시지 숨김
operationId: hideCreatorDonation
responses:
'200': {$ref: '#/components/responses/NullSuccess'}
'400': {$ref: '#/components/responses/BadRequest'}
'401': {$ref: '#/components/responses/Unauthorized'}
'403': {$ref: '#/components/responses/Forbidden'}
'404': {$ref: '#/components/responses/NotFound'}
'406': {$ref: '#/components/responses/NotAcceptable'}
'500': {$ref: '#/components/responses/InternalServerError'}
components:
securitySchemes:
bearerAuth:
type: http
scheme: bearer
parameters:
Page:
name: page
in: query
required: false
description: 0-based page, 기본값 0
schema: {type: integer, minimum: 0, default: 0}
Size:
name: size
in: query
required: false
description: 페이지 크기, 기본값 10, 최대 100
schema: {type: integer, minimum: 1, maximum: 100, default: 10}
Order:
name: order
in: query
required: false
description: createdAt과 ID를 같은 방향으로 정렬
schema: {type: string, enum: [latest, oldest], default: latest}
Visibility:
name: visibility
in: query
required: false
description: 필터 적용 전 범위의 counts와 선택 필터 결과 totalCount를 반환
schema: {type: string, enum: [all, public, secret], default: all}
ContentId:
name: contentId
in: path
required: true
schema: {$ref: '#/components/schemas/PositiveId'}
CommentId:
name: commentId
in: path
required: true
schema: {$ref: '#/components/schemas/PositiveId'}
ReplyId:
name: replyId
in: path
required: true
schema: {$ref: '#/components/schemas/PositiveId'}
FanTalkId:
name: fanTalkId
in: path
required: true
schema: {$ref: '#/components/schemas/PositiveId'}
PostId:
name: postId
in: path
required: true
schema: {$ref: '#/components/schemas/PositiveId'}
DonationId:
name: donationId
in: path
required: true
schema: {$ref: '#/components/schemas/PositiveId'}
requestBodies:
Reply:
required: true
description: >-
JSON object with content only. Server trims outer whitespace, rejects blank text and content over
65,535 UTF-8 bytes; it does not truncate. No author, parent, active, or secret fields are accepted.
content:
application/json:
schema:
type: object
additionalProperties: false
required: [content]
properties:
content: {type: string, minLength: 1}
example: {content: 답변 내용}
responses:
NullSuccess:
description: 변경 성공. 목록을 재조회한다.
content:
application/json:
schema:
allOf:
- $ref: '#/components/schemas/ApiResponse'
- properties:
data: {type: 'null'}
BadRequest:
description: 잘못된 ID, query, JSON 또는 content 입력
content:
application/json:
schema: {$ref: '#/components/schemas/ErrorResponse'}
Unauthorized:
description: 인증 정보 누락 또는 유효하지 않음
content:
application/json:
schema: {$ref: '#/components/schemas/ErrorResponse'}
Forbidden:
description: 활성 CREATOR 역할 또는 자원 소유권 부족
content:
application/json:
schema: {$ref: '#/components/schemas/ErrorResponse'}
NotFound:
description: 자원 없음, 비활성 또는 서로 일치하지 않는 부모 관계
content:
application/json:
schema: {$ref: '#/components/schemas/ErrorResponse'}
Conflict:
description: 부모 비활성 또는 활성 크리에이터 답글이 이미 존재
content:
application/json:
schema: {$ref: '#/components/schemas/ErrorResponse'}
NotAcceptable:
description: 지원하지 않는 Accept 헤더
content:
application/json:
schema: {$ref: '#/components/schemas/ErrorResponse'}
UnsupportedMediaType:
description: 지원하지 않는 Content-Type
content:
application/json:
schema: {$ref: '#/components/schemas/ErrorResponse'}
InternalServerError:
description: 처리되지 않은 서버 오류
content:
application/json:
schema: {$ref: '#/components/schemas/ErrorResponse'}
schemas:
PositiveId:
type: integer
format: int64
minimum: 1
description: Long JSON number. JavaScript callers must preserve values beyond Number.MAX_SAFE_INTEGER.
ApiResponse:
type: object
required: [success, message, data]
properties:
success: {type: boolean}
message: {type: [string, 'null']}
data: {}
errorProperty: {type: [string, 'null']}
ErrorResponse:
type: object
required: [success, message, data]
properties:
success: {const: false}
message: {type: [string, 'null'], description: Localized message}
data: {type: 'null'}
errorProperty: {type: [string, 'null'], description: May be omitted or null; this API does not populate it}
NullSuccessResponse:
allOf:
- $ref: '#/components/schemas/ApiResponse'
- properties:
success: {const: true}
data: {type: 'null'}
Writer:
type: object
required: [memberId, nickname, profileImageUrl]
properties:
memberId: {$ref: '#/components/schemas/PositiveId'}
nickname: {type: string, description: Deleted-member prefix is removed}
profileImageUrl: {type: [string, 'null'], format: uri}
Reply:
type: object
required: [replyId, writer, content, createdAtUtc, isSecret]
properties:
replyId: {$ref: '#/components/schemas/PositiveId'}
writer: {$ref: '#/components/schemas/Writer'}
content: {type: string}
createdAtUtc: {type: string, format: date-time}
isSecret: {type: boolean}
Counts:
type: object
required: [all, public, secret]
properties:
all: {type: integer, format: int64}
public: {type: integer, format: int64}
secret: {type: integer, format: int64}
Page:
type: object
required: [items, totalCount, page, size, hasNext]
properties:
items: {type: array, items: {}}
totalCount: {type: integer, format: int64}
page: {type: integer, minimum: 0}
size: {type: integer, minimum: 1, maximum: 100}
hasNext: {type: boolean}
counts:
oneOf:
- {$ref: '#/components/schemas/Counts'}
- type: 'null'
description: Omitted for FanTalk and community post pages.
ContentComment:
type: object
required: [commentId, writer, content, createdAtUtc, isSecret, creatorReply, contentId, contentTitle, contentType, series]
properties:
commentId: {$ref: '#/components/schemas/PositiveId'}
writer: {$ref: '#/components/schemas/Writer'}
content: {type: string}
createdAtUtc: {type: string, format: date-time}
isSecret: {type: boolean}
creatorReply: {oneOf: [{$ref: '#/components/schemas/Reply'}, {type: 'null'}]}
contentId: {$ref: '#/components/schemas/PositiveId'}
contentTitle: {type: string}
contentType: {type: string, enum: [AUDIO, SERIES, LIVE_REPLAY]}
series:
type: array
items:
type: object
required: [seriesId, title]
properties:
seriesId: {$ref: '#/components/schemas/PositiveId'}
title: {type: string}
FanTalk:
type: object
required: [fanTalkId, writer, content, createdAtUtc, creatorReply, isSecret]
properties:
fanTalkId: {$ref: '#/components/schemas/PositiveId'}
writer: {$ref: '#/components/schemas/Writer'}
content: {type: string}
createdAtUtc: {type: string, format: date-time}
creatorReply: {oneOf: [{$ref: '#/components/schemas/Reply'}, {type: 'null'}]}
isSecret: {type: boolean, const: false}
CommunityPost:
type: object
required: [postId, content, price, imageUrl, audioUrl, isFixed, isCommentAvailable, createdAtUtc, commentCount]
properties:
postId: {$ref: '#/components/schemas/PositiveId'}
content: {type: string, description: Post body. There is no title field.}
price: {type: integer}
imageUrl: {type: [string, 'null'], format: uri}
audioUrl: {type: [string, 'null'], format: uri, description: Existing signed URL helper is used}
isFixed: {type: boolean}
isCommentAvailable: {type: boolean}
createdAtUtc: {type: string, format: date-time}
commentCount: {type: integer, format: int64, description: Active parent comments only}
CommunityComment:
type: object
required: [commentId, writer, content, createdAtUtc, isSecret, creatorReply]
properties:
commentId: {$ref: '#/components/schemas/PositiveId'}
writer: {$ref: '#/components/schemas/Writer'}
content: {type: string}
createdAtUtc: {type: string, format: date-time}
isSecret: {type: boolean}
creatorReply: {oneOf: [{$ref: '#/components/schemas/Reply'}, {type: 'null'}]}
Donation:
type: object
required: [donationId, writer, content, can, isSecret, createdAtUtc]
properties:
donationId: {$ref: '#/components/schemas/PositiveId'}
writer: {$ref: '#/components/schemas/Writer'}
content: {type: [string, 'null']}
can: {type: integer}
isSecret: {type: boolean}
createdAtUtc: {type: string, format: date-time}
ContentCommentPage:
allOf:
- $ref: '#/components/schemas/Page'
- properties:
items: {type: array, items: {$ref: '#/components/schemas/ContentComment'}}
counts: {$ref: '#/components/schemas/Counts'}
FanTalkPage:
allOf:
- $ref: '#/components/schemas/Page'
- properties:
items: {type: array, items: {$ref: '#/components/schemas/FanTalk'}}
CommunityPostPage:
allOf:
- $ref: '#/components/schemas/Page'
- properties:
items: {type: array, items: {$ref: '#/components/schemas/CommunityPost'}}
CommunityCommentPage:
allOf:
- $ref: '#/components/schemas/Page'
- properties:
items: {type: array, items: {$ref: '#/components/schemas/CommunityComment'}}
counts: {$ref: '#/components/schemas/Counts'}
DonationPage:
allOf:
- $ref: '#/components/schemas/Page'
- properties:
items: {type: array, items: {$ref: '#/components/schemas/Donation'}}
counts: {$ref: '#/components/schemas/Counts'}