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 profiles we need to implement a DELETE unfollow profile by username,
according to following OpenAPI Spec.
/profiles/{username}/follow:
delete:
tags:
- Profilesummary: Unfollow a userdescription: Unfollow a user by usernameoperationId: UnfollowUserByUsernameparameters:
- name: usernamein: pathdescription: Username of the profile you want to unfollowrequired: trueschema:
type: stringresponses:
'200':
$ref: '#/components/responses/ProfileResponse''401':
$ref: '#/components/responses/Unauthorized''422':
$ref: '#/components/responses/GenericError'security:
- Token: []
Add missing domain objects such as Profile domain object if it doesn't exist & ProfileResponse.
Add unfollowProfile operation to UserPersistence using FollowingQueries
Create profile.kt in routes if does not exist, or add delete operation there.
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 profiles we need to implement a DELETE unfollow profile by username,
according to following OpenAPI Spec.
Profile
domain object if it doesn't exist &ProfileResponse
.unfollowProfile
operation toUserPersistence
usingFollowingQueries
profile.kt
inroutes
if does not exist, or adddelete
operation there.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: