H1-1. Conclusion

Swagger : Specification (Documentation) 용도

Postman : APIs Testing Tool 용도

H1-2. Why?

H2-1. 목적성의 차이

https://www.frugaltesting.com/blog/postman-vs-swagger-the-key-differences-you-should-know#:~:text=and Swagger is essential

Difference between Swagger and Postman lies in their purposeSwagger focuses on API documentation and design, while Postman is built for API testing and collaboration.

즉, Swagger는 문서화의 초점을 맞추고, Postman은 API Testing에 초점이 맞춰져있다.

개발자들이 애용하는 커뮤니티 Reddit에서의 반응 또한 위와 일치하는 것을 확인할 수 있습니다.

https://www.reddit.com/r/explainlikeimfive/comments/mtwi2r/eli5_software_development_what_is_the_difference/

Stack Overflow 에서도 역시 같은 의견을 보이고 있습니다.

https://stackoverflow.com/questions/30989965/restful-api-testbed-with-swagger#:~:text=As the other answers have,testing out of the box

간단한 Swagger API 호출용도로는 괜찮은데, 이거만으로는 커버가 안되는 경우들이 상당히 많습니다.

가령, Postman에서는 API 요청하고 Cookie가 어떻게 오고, 그 안에 토큰이 어떻게 들어있는지, 쿠키 만료시간은 어떤지 등 상세하게 확인해볼 수 있지만 Swagger로는 한계가 있습니다.