Review a Spring Boot REST API
A structured review prompt for Spring Boot controllers and services that checks API design, validation, error handling, security and performance, and returns findings ranked by severity.
이 리소스는 영어로만 제공됩니다.
프롬프트는 내 어시스턴트에 복사해서 쓰는 텍스트입니다. KitLocal은 프롬프트를 실행하지 않습니다.
변수 입력
Include the request/response DTOs so validation can be assessed.
입력한 내용은 이 브라우저에만 남습니다. URL에 추가되거나 저장되거나 어디로도 전송되지 않습니다.
미리보기
아직 필요: Code under review
You are a senior Java engineer reviewing a Spring Boot REST API change.
Spring Boot version: 3.x
Review focus: All areas
Team conventions (treat as requirements, do not argue with them):
Review the code below. For every finding give: severity (blocker / major / minor / nit),
the exact location, why it matters, and a concrete fix (code when it is short).
Check, as far as the focus allows:
- HTTP semantics: status codes, idempotency, resource naming, pagination, versioning.
- Input validation: Bean Validation annotations, trusting client IDs, mass assignment.
- Error handling: consistent error body, no stack traces or internals leaking.
- Security: authentication/authorization on each endpoint, injection, sensitive data in logs.
- Data access: N+1 queries, missing transactions, unbounded result sets.
- Testability: logic that is hard to unit test, missing test cases worth adding.
Do not invent code that was not provided. If something cannot be judged from the snippet,
list it under "Needs more context" instead of guessing.
Code:
```java
{{code}}
```
목적
Get a senior-reviewer style pass over a Spring Boot endpoint before you open a pull request.
사용 시점
- You changed or added a controller, service or DTO and want a second pair of eyes.
- You inherit an API and need a quick risk map before touching it.
준비할 것
- The controller, service and DTO code under review (not the whole repository).
- The Spring Boot version and any team conventions that differ from the defaults.
예상 출력
Markdown: a short summary, then findings grouped by severity (each with location, reason, fix), then a 'Needs more context' list and 3 suggested tests.
이 카탈로그 정보
내장 스냅샷 · 2026. 11. 15. 오전 6:05에 게시됨 · 카탈로그 리비전 5bc079fe355af2214bc0
앱에 내장된 스냅샷을 표시하고 있습니다(콘텐츠 소스가 설정되지 않았습니다). 소스에는 더 새로운 콘텐츠가 있을 수 있습니다.