일 | 월 | 화 | 수 | 목 | 금 | 토 |
---|---|---|---|---|---|---|
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 |
- greedy
- algorithm
- DFS
- implementaion
- 출처:장기효vue.js
- 1012
- floyd washall
- Vue.js
- 코테
- simulation
- javascript
- programming
- 백준
- Python
- Today
- Total
목록Spring (3)
DevDave

swagger 사용법 및 API 문서 자동화 Swagger 사용이유 - Spring으로 Rest API를 개발하고 그 API에 대한 문서를 정리하여 해당 API를 사용하는 클라이언트 및 서버 개발자들에게 문서를 정리해서 공유해야하는데 이때 Swagger를 이용하게되면 이런 작업을 보다 편리하게 할 수 있고 API 문서 자동화 뿐만 아니라 UI에서 직접 API 테스트로 할 수 있다. Swagger 사용방법 - 어노테이션을 이용해서 원하는 설명을 적으면 된다. 주로 컨트롤러에 무슨 역할을 하는 컨트롤러인지, HTTP 메서드의 역할, 필요한 파라미터가 무엇인지, 파라미터 값 설명을 입력한다. 또한 schema 어노테이션을 사용하여 모델에 대한 추가 정보를 제공한다. swagger 3 기타 annotation ..
org.springdoc springdoc-openapi-ui 1.5.9 https://stackoverflow.com/questions/72397763/error-starting-springboot-when-update-version-to-2-7-0-an-attempt-was-made-to-c--> io.github.classgraph classgraph 4.8.139 org.springdoc:springdoc-openapi-ui 은 io.github.classgrap:classgraph에 의존하지만 해당버전 상충되지 않는다. spring boot dependency management 에서 classgraph 는 4.8.139 버전이 default로 사용되지만 maven의 version conflic..
package studio.thinkground.testproject.controller; import io.swagger.v3.oas.annotations.parameters.RequestBody; import org.slf4j.Logger; import org.slf4j.LoggerFactory; import org.springframework.beans.factory.annotation.Autowired; import org.springframework.http.HttpStatus; import org.springframework.http.ResponseEntity; import org.springframework.web.bind.annotation.*; import studio.thinkgroun..