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 DELETE article comments for slug with comment id,
according to following OpenAPI Spec.
/articles/{slug}/comments/{id}:
delete:
tags:
- Commentssummary: Delete a comment for an articledescription: Delete a comment for an article. Auth is requiredoperationId: DeleteArticleCommentparameters:
- name: slugin: pathdescription: Slug of the article that you want to delete a comment forrequired: trueschema:
type: string
- name: idin: pathdescription: ID of the comment you want to deleterequired: trueschema:
type: integerresponses:
'200':
$ref: '#/components/responses/EmptyOkResponse''401':
$ref: '#/components/responses/Unauthorized''422':
$ref: '#/components/responses/GenericError'security:
- Token: []
Create articles.kt in routes if does not exist, implement the DELETE 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 DELETE article comments for slug with comment id,
according to following OpenAPI Spec.
articles.kt
in routes if does not exist, implement the DELETE 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: