Skip to content

Instantly share code, notes, and snippets.

View alissonmbr's full-sized avatar

Alisson alissonmbr

  • Uberlândia, MG, Brazil
View GitHub Profile
@alissonmbr
alissonmbr / SwaggerConfig.java
Created September 17, 2019 22:12
SwaggerConfig Beca java
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;
import springfox.documentation.builders.PathSelectors;
import springfox.documentation.builders.RequestHandlerSelectors;
import springfox.documentation.spi.DocumentationType;
import springfox.documentation.spring.web.plugins.Docket;
import springfox.documentation.swagger2.annotations.EnableSwagger2;
@Configuration
@EnableSwagger2