docs(common): 공통 응답 봉투 + healthz 설명 보강

- gmodel: ErrorInfo(success/code/desc) + Res_WebPacketProtocol(result/msg)
  에 description 추가 → 모든 Res_* 응답의 공통 봉투가 Swagger 에 채워짐.
- router: /healthz 에 summary/description 추가(유일하게 설명 없던 오퍼레이션).

Co-Authored-By: Claude Fable 5 <noreply@anthropic.com>
This commit is contained in:
민헌andClaude Fable 5 committed 2026-07-07 15:15:07 +09:00
1 parent 70104404eb
commit be2865a4b2
2 files changed
+11 -6

No files matched your search

+6 -1
View File
@@ -50,7 +50,12 @@ async def log_time(request: Request, call_next):
return response
@app.get(path="/healthz", responses={404: {"description": "Not found"}})
@app.get(
path="/healthz",
summary="헬스체크",
description="서버 기동 시각(API_SERVER_START_TIME)을 반환하는 헬스체크 엔드포인트.",
responses={404: {"description": "Not found"}},
)
async def healthz():
return API_SERVER_START_TIME