OpenAPI 3

[SpringBoot] OpenAPI 3.0 추가 구성 해보기! (swagger-ui)

# OpenAPI 3.0 example code - 3 (swagger-ui) https://hjho95.tistory.com/39 는 OpenAPI를 사용하기 위한 설정. https://hjho95.tistory.com/40 은 Annotation을 이용한 Document작성. https://hjho95.tistory.com/41 은 ApiResponse의 ref 구현. 이번에 쓸 내용은 @ApiResponse에 ref 는 뭔가 찾아보고,, 확인하고,,, 설정하고,,,근데 그냥 내가 해봄.. 구현한 내용이 올바르지 않은 구현 일수 있음... 도큐먼트를 찾아봐도 쉽게 설정할수 있는 샘플코드가 없으니 뭐ㅏ,,ㅠ # Refference document: https://springdoc.org example-..

스프링 부트 2023.01.15

[SpringBoot] OpenAPI 3.0 구성하기! (swagger-ui)

# OpenAPI 3.0 example code - 2 (swagger-ui) 이전 설정인 https://hjho95.tistory.com/39 에서 OpenAPI에 대한 pom.xml, application.yml, Configuration을 작성하여 기동해보는 걸 해보았다. 이번에는 Document 내에 들어가는 해당 API의 설명, 정의 등 작성해보는 시간이다. https://hjho95.tistory.com/39 는 OpenAPI를 사용하기 위한 설정. https://hjho95.tistory.com/40 은 Annotation을 이용한 Document작성. https://hjho95.tistory.com/41 은 ApiResponse의 ref 구현. # Refference document: ht..

스프링 부트 2023.01.14

[SpringBoot] OpenAPI 3.0 설정하기! (swagger-ui)

# OpenAPI 3.0 example code (swagger-ui) swagger가 3.0으로 업데이트 되면서 명칭도 바뀌고 어노테이션도 바뀌었다. 그래서 한번 해보는 OpenAPI 3.0 설정하기! https://hjho95.tistory.com/39 는 OpenAPI를 사용하기 위한 설정. https://hjho95.tistory.com/40 은 Annotation을 이용한 Document작성. https://hjho95.tistory.com/41 은 ApiResponse의 ref 구현. Unable to render this definition Error 해결 맨 밑에 있음. # Refference document: https://springdoc.org example-ui: http://158..

스프링 부트 2023.01.14