01. WebSocket 이벤트 문서화 #81
Closed
davidpro08
started this conversation in
ADR
Replies: 0 comments
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
요약
Swagger로 나타낼 수 없는 WebSocket API를 Async Api 사용해서 나타내고 문서화
💡날짜: 2026-01-05 / 상태: 보관
맥락
결정
3가지 방법 중 Async API를 사용하는 것이 가장 좋다고 결론 내림
Swagger에는 Rest API만 볼 수 있도록 하고 Websocket API는 Async API로 확인하기
트러블 슈팅
Async API
1.4.0버전에서 내부 의존성으로html-template를 의존함. 근데 여기서 react 예전 버전을 참조하고 있어서 버전 오류가 남.Async API에서 react를 참조할 때 현재 프로젝트 버전
19.2.0을 참조하도록 override함package.json결과
Pros
Cons
규정 준수
참고
Beta Was this translation helpful? Give feedback.
All reactions