diff --git a/openapi/components/paths/groups.yaml b/openapi/components/paths/groups.yaml index 733b6d2b..5c01690d 100644 --- a/openapi/components/paths/groups.yaml +++ b/openapi/components/paths/groups.yaml @@ -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: @@ -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: diff --git a/openapi/components/responses/groups/GroupPostsResponse.yaml b/openapi/components/responses/groups/GroupPostsResponse.yaml new file mode 100644 index 00000000..6c22605a --- /dev/null +++ b/openapi/components/responses/groups/GroupPostsResponse.yaml @@ -0,0 +1,10 @@ +description: Returns a GroupPost Array. +content: + application/json: + schema: + type: object + properties: + posts: + type: array + items: + $ref: ../../schemas/GroupPost.yaml \ No newline at end of file