Skip to content

Commit 67a1024

Browse files
committed
Change Directory
1 parent 1b81a41 commit 67a1024

19 files changed

+80
-0
lines changed

.idea/.gitignore

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/TIL.iml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/aws.xml

Lines changed: 17 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/jpa-buddy.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/misc.xml

Lines changed: 9 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/modules.xml

Lines changed: 8 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

.idea/vcs.xml

Lines changed: 6 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.
File renamed without changes.
Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,17 @@
1+
# Spring REST Docs vs Swagger
2+
## Spring REST Docs
3+
* 장점
4+
* 테스트 기반 API 명세서 자동화이기 때문에, `테스트 코드를 통과한 검증된 API 문서`(검증이 되지 않을 경우, Test Failed)
5+
* main 소스 코드의 가독성을 해치지 않는다.
6+
* 단점
7+
* `적용이 어렵다` (러닝커브가 높다)
8+
* 반드시 TDD를 적용해야 하고, `명세화 하고 싶은 모든 API의 테스트 코드를 작성`해야 한다. (테스트가 선행되지 않으면 작성할 수 없다)
9+
10+
## Swagger
11+
* 장점
12+
* 몇 개의 어노테이션 만으로 API 문서를 작성할 수 있디. (비교적 `난이도가 낮다`)
13+
* Swagger 에서 제공하는 `웹페이지에서 API 테스트가 가능`하다.
14+
* 단점
15+
* main 소스 코드의 가독성을 해친다.
16+
* 어노테이션에 의해서 동작하기 때문에, 올바르지 않는 정보가 제공될 수 있다.
17+
File renamed without changes.

0 commit comments

Comments
 (0)