fastapi response_model 사용 시 validation error

fastapi에서 response_model을 지정하여 return 하는 경우 아래와 같은 에러가 발생할 수 있다. pydantic.error_wrappers.ValidationError: 1 validation error for BaseResponseOut[List[~UserListOut]] response -> data -> 0 -> created_at 이러한 경우 response model의 type이…

0 Comments