acikyazilimagi / acikyazilimagi/afetlojistik-backend

Confusing typing of controller return type and swagger at user.controller

Open
#184 0 comments 0 reactions 1 assignee Claimed by @CllDMR View on GitHub
Dominant language
TypeScript
Stars
11
Forks
0
PR merge metrics
No merged PRs in 30d

Description

[Burada](https://github.com/acikkaynak/afetlojistik-backend/blob/e0aa6e88631adae93c3384606642ce3303ccccd0/src/user/user.controller.ts#L33-L34) ve [burada](https://github.com/acikkaynak/afetlojistik-backend/blob/e0aa6e88631adae93c3384606642ce3303ccccd0/src/user/user.controller.ts#L49-L52) swagger için sağlanan `@ApiResponse` içerisindeki type ile function'ların return type'ları birbirinden farklı. Bunu düzeltmek için function'ının return type'ını swagger tarafına aktarmak yeterli olacaktır.

Contributor guide

No contributing guide indexed for this repository

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.