You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In order to fully support articles we need to implement a GET article comments for slug,
according to following OpenAPI Spec.
/articles/{slug}/comments:
get:
tags:
- Commentssummary: Get comments for an articledescription: Get the comments for an article. Auth is optionaloperationId: GetArticleCommentsparameters:
- name: slugin: pathdescription: Slug of the article that you want to get comments forrequired: trueschema:
type: stringresponses:
'200':
$ref: '#/components/responses/MultipleCommentsResponse''401':
$ref: '#/components/responses/Unauthorized''422':
$ref: '#/components/responses/GenericError'
Implement getCommentsForSlug in ArticlePersistence by adding the corresponding SQL to SqlDelight
Create articles.kt in routes if does not exist, implement the GET route using ArticlePersistence
Add test that verifies the behavior works
Please assign yourself to this ticket before starting, and if you run into any issues please raise a PR so I can provide help and support directly in the code.
Thank you in advance for your interest in the project! Happy hacktoberfest!
The text was updated successfully, but these errors were encountered:
In order to fully support articles we need to implement a GET article comments for slug,
according to following OpenAPI Spec.
getCommentsForSlug
inArticlePersistence
by adding the corresponding SQL to SqlDelightarticles.kt
in routes if does not exist, implement the GET route usingArticlePersistence
Please assign yourself to this ticket before starting, and if you run into any issues please raise a PR so I can provide help and support directly in the code.
Thank you in advance for your interest in the project! Happy hacktoberfest!
The text was updated successfully, but these errors were encountered: