• Image placeholder
  • 홈 페이지
  • 블로그 센터
  • 범주
Image placeholder

API문서

NestJS - 2 Swagger로 API 문서 작성하기

이번에는 API문서를 보여주는 툴인 Swagger를 Nest에 적용시켜보고자한다. Nest 공식 문서에 가면 swagger 세팅 법까지 전부 나와있는데, 그걸 우선 똑같이 쓴다. 후에 프로젝트의 main.ts에 들어가 swagger를 사용하겠다고 선언을 해주면 된다. title, description, version은 추후에 확인할 수 있으니 보고 수정하면 된다. 이것이 url에서 endpo...

NestJSAPI문서expressSwaggerAPI문서

© 2022 intrepidgeeks.com

Privacy Policy Contact US Sitemap
🍪 This website uses cookies to ensure you get the best experience on our website. Learn more