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 GET profile by username,
according to following OpenAPI Spec.
/profiles/{username}:
get:
tags:
- Profilesummary: Get a profiledescription: Get a profile of a user of the system. Auth is optionaloperationId: GetProfileByUsernameparameters:
- name: usernamein: pathdescription: Username of the profile to getrequired: trueschema:
type: stringresponses:
'200':
$ref: '#/components/responses/ProfileResponse''401':
$ref: '#/components/responses/Unauthorized''422':
$ref: '#/components/responses/GenericError'
Create profile.kt in routes if does not exist, or add get 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:
I've dabbled with Ktor, but I'm mainly focused on the Android side of Kotlin development.
Looking to dabble back into Ktor with some FP elements, can I take this one?
In order to fully support profiles we need to implement a GET profile by username,
according to following OpenAPI Spec.
Profile
domain object if it doesn't exist.sqldelight
selectProfile
operation toUserPersistence
profile.kt
inroutes
if does not exist, or addget
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: