gdsc-kaist / board-of-audit-and-inspection-system

KAIST board of audit and inspection system backend
https://dev-bai.gdsckaist.com/api-docs
0 stars 2 forks source link

유저 생성 API 에서 swagger 문서 버그 #9

Closed sjuuun closed 11 months ago

sjuuun commented 11 months ago

Describe the bug

유저 생성 API 설명에서 request body 정보가 부족합니다. organization_body 필드도 필요한데 request body 에 포함되어 있지 않습니다.

To Reproduce

swagger 문서에 접속해서, POST /users 를 확인한다.

Expected behavior

다음과 같은 request body 가 있어야 할 것 같다.

{
  "email": "xxx@yyy",
  "organization_name": "xxx"
}

Screenshots

If applicable, add screenshots to help explain your problem.

image

Additional context

유저를 생성하는 과정에서 swagger 로 시도해봤는데 생성이 안되어서 알게되었습니다.