Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix group posts api #441

Merged
merged 1 commit into from
Mar 4, 2025
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions openapi/components/paths/groups.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -657,7 +657,7 @@ paths:
get:
summary: Get posts from a Group
description: Get posts from a Group
operationId: getGroupPost
operationId: getGroupPosts
tags:
- groups
parameters:
Expand All @@ -670,7 +670,7 @@ paths:
description: See public posts only.
responses:
'200':
$ref: ../responses/groups/GroupPostResponse.yaml
$ref: ../responses/groups/GroupPostsResponse.yaml
'401':
$ref: ../responses/MissingCredentialsError.yaml
security:
Expand Down
10 changes: 10 additions & 0 deletions openapi/components/responses/groups/GroupPostsResponse.yaml
Original file line number Diff line number Diff line change
@@ -0,0 +1,10 @@
description: Returns a GroupPost Array.
content:
application/json:
schema:
type: object
properties:
posts:
type: array
items:
$ref: ../../schemas/GroupPost.yaml