-
Notifications
You must be signed in to change notification settings - Fork 0
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Swagger 제거 및 Spring Rest docs 적용 #57
Merged
Merged
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
- 각 테스트 실행 전 데이터베이스 초기화 적용
- aws s3 의존성 제거
- Restdocs 적용을 위해 ControllerTestSupport 클래스에 AutoConfigureRestDocs 어노테이션 추가
- 게시글 등록, 전체 조회, 상세 조회, 검색에 대한 RestDocs 적용
- 본인의 프로필을 조회하는 API에 대한 테스트 코드 수정(put -> get) - ProfileController와 순서와 동일하도록 맞춤
- ProfileFixtures 에서 브루스 프로필에 대한 값 수정
Test Results486 tests ±0 486 ✅ ±0 3s ⏱️ ±0s Results for commit c46b4ac. ± Comparison against base commit e84424f. This pull request removes 10 and adds 10 tests. Note that renamed tests count towards both.
|
devFancy
changed the title
[feat] Swagger 제거 및 Spring Rest docs 적용
Swagger 제거 및 Spring Rest docs 적용
Feb 23, 2024
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
feature
,refactor
작업 내용
build.gradle
에 Spring RestDocs 관련 의존성 추가추가
build.gradle
에서 RestDocs에 대한 의존성 수정 및 순서에 대한 설명 추가 - 커밋(3a8433a)주의사항
실행 및 결과
실행
./gradlew asciidoctor
입력build.gradle
파일에서 asciidoctor 왼쪽에Run
버튼 클릭결과
index.html
파일 -> Chome 창을 열면 아래와 같이 API 문서가 나온다.