SpringBoot集成swagger2/redis

步骤一、配置依赖

		
			io.springfox
			springfox-swagger2
			2.6.1
		

		
			io.springfox
			springfox-swagger-ui
			2.6.1
		
		
			org.springframework.boot
			spring-boot-starter-data-redis
		

步骤二、配置参数

  redis:
      host: localhost
      port: 6379
      password:
      pool:
        max-active: 8
        max-idle: 8
        min-idle: 0
        max-wait: 10000

你可能感兴趣的:(SpringBoot,SpringBoot开发实践,SpringBoot2.0.4,Swagger,Redis)