fix : 오류 발생시 json으로 값 전달 및 Swagger 문서 수정

This commit is contained in:
2025-07-26 15:22:09 +09:00
parent 02580926b7
commit c44bca1466
3 changed files with 83 additions and 8 deletions

View File

@@ -6,7 +6,7 @@
* @OA\Info(
* version="1.0.0",
* title="SAM API Documentation",
* description="SAM(Semi-Automatics Management) API 입니다.",
* description="===============================<br><strong>[공통 에러 응답 포맷]</strong><br>400: 필수 파라미터 누락<br>401: 인증 실패<br>403: 권한 없음<br>404: 존재하지 않는 URI 또는 데이터<br>405: 허용되지 않는 메서드<br>500: 서버 에러<br><br><strong>모든 에러 응답 예시:</strong><br>{<br>&nbsp;&nbsp;&quot;success&quot;: false,<br>&nbsp;&nbsp;&quot;message&quot;: &quot;에러 메시지&quot;,<br>&nbsp;&nbsp;&quot;data&quot;: null<br>}<br>===============================",
* @OA\Contact(
* email="shine1324@gmail.com"
* )