We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
localhost:8080/docs/search?search=테스트
{ "success": "true", "response": [ { "docsId": 3, "docsName": "테스트해보겠습니다.", "docsLocation": null, "docsContent": null, "createdBy": "admin" "createdAt": "2023-07-27T07:37:45.876031", "docsCategory": "CAFE" } ], "error": null }
{ "success" : false, "response" : null, "error": { "message":"요청결과가 존재하지 않습니다.", "status":404 } }
The text was updated successfully, but these errors were encountered:
검색 결과를 넘겨줄때는 effective java에도 나오지만 Empty List를 주는게 더 적절합니다. 예외 메시지로 not_found를 주면 프론트 입장에서 그 예외처리하는 로직을 추가로 짜야하거든요!
Sorry, something went wrong.
좋은 피드백 감사합니다👍 제 생각에도 초반설계 미스같다는 생각이 듭니다! 이 부분은 이슈로 옮기도록 하겠습니다
No branches or pull requests
API SPEC
Request
Response
Success
Fail
404 NOT_FOUND
The text was updated successfully, but these errors were encountered: