springboot

    [Spring boot] swagger 기본 설정

    [Spring boot] swagger 기본 설정

    build.gradle dependencies에 다음 추가 dependencies { ... // swagger ui implementation 'io.springfox:springfox-boot-starter:3.0.0' implementation 'io.springfox:springfox-swagger-ui:3.0.0' } SwaggerConfig.java package com.example.simpleBoard; import org.springframework.context.annotation.Bean; import org.springframework.context.annotation.Configuration; import springfox.documentation.builders.ApiInfoBu..

    [Spring boot] mybatis 설정 sqlsession 관련 설정이 필요없는 이유

    http://mybatis.org/spring-boot-starter/mybatis-spring-boot-autoconfigure mybatis-spring-boot-autoconfigure – Introduction Introduction What is MyBatis-Spring-Boot-Starter? The MyBatis-Spring-Boot-Starter help you build quickly MyBatis applications on top of the Spring Boot. By using this module you will achieve: Build standalone applications Reduce the boilerplate to almost z mybatis.org 위 링크의 Q..