Notice
Recent Posts
Recent Comments
Link
일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
1 | ||||||
2 | 3 | 4 | 5 | 6 | 7 | 8 |
9 | 10 | 11 | 12 | 13 | 14 | 15 |
16 | 17 | 18 | 19 | 20 | 21 | 22 |
23 | 24 | 25 | 26 | 27 | 28 | 29 |
30 | 31 |
Tags
- Flyway
- Spring Batch
- preventdefault
- UsernamePasswordAuthenticationFilter
- cloud native
- REACT
- stopPropogation
- OpenStack
- cheerio
- Filter
- Spring Security
- SpringBoot
- axios
- tasklet
- AuthenticatoinProvide
- Spring REST Docs
- T-OTP
- JavaScript
- gradle
- MSA
- SpringRESTDocs
- Reduxpender
- SWAGGER
- openapi3
- vue
- Pender
- vuejs
- Crawling
- MFA
- 리액트
Archives
- Today
- Total
목록openapi3 (1)
Miracle Morning, LHWN

# 앞서 만들어주었던 API 에 대한 테스트 코드를 작성한다. 아래와 같이 /api/user/{id} 요청에 대한 응답 명세를 작성해주고, 실행하면 generated-snippets 하위 폴더에 각 요청/응답에 대한 snippet 들이 생성된다. // test/java/com/spring/SpringRESTDocsPractice/UserApiDocumentation.java @RunWith(SpringRunner.class) @SpringBootTest public class UserApiDocumentation { @Rule public final JUnitRestDocumentation restDocumentation = new JUnitRestDocumentation(); @Autowired pr..
IT 기술/[JAVA] Spring Boot
2021. 5. 29. 11:44