Spring Security放开swagger-ui.html资源路径过滤

			.antMatchers("/swagger-ui.html").permitAll() // 任意访问
			.antMatchers("/swagger-resources/**").permitAll()
			.antMatchers("/webjars/**").permitAll()
			.antMatchers("/v2/**").permitAll()
			.antMatchers("/api/**").permitAll()
原文地址:https://www.cnblogs.com/javakfz/p/13938235.html