From c28ea950c0742bbed5f33657137b8163783e103a Mon Sep 17 00:00:00 2001 From: smallchill Date: Mon, 15 Apr 2019 13:56:10 +0800 Subject: [PATCH] =?UTF-8?q?:zap:=20swagger=E6=89=AB=E6=8F=8Foauth2?= =?UTF-8?q?=E6=8E=A5=E5=8F=A3?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../auth/config/BladeResourceServerConfiguration.java | 2 +- blade-auth/src/main/resources/application.yml | 2 ++ .../java/org/springblade/flowable/engine/mapper/FlowMapper.xml | 2 +- pom.xml | 2 +- 4 files changed, 5 insertions(+), 3 deletions(-) create mode 100644 blade-auth/src/main/resources/application.yml diff --git a/blade-auth/src/main/java/org/springblade/auth/config/BladeResourceServerConfiguration.java b/blade-auth/src/main/java/org/springblade/auth/config/BladeResourceServerConfiguration.java index da2d9dc8..f9d6c14b 100644 --- a/blade-auth/src/main/java/org/springblade/auth/config/BladeResourceServerConfiguration.java +++ b/blade-auth/src/main/java/org/springblade/auth/config/BladeResourceServerConfiguration.java @@ -47,7 +47,7 @@ public class BladeResourceServerConfiguration extends ResourceServerConfigurerAd .successHandler(appLoginInSuccessHandler) .and() .authorizeRequests() - .antMatchers("/actuator/**", "/token/**", "/mobile/**").permitAll() + .antMatchers("/actuator/**", "/token/**", "/mobile/**", "/v2/api-docs", "/v2/api-docs-ext").permitAll() .anyRequest().authenticated().and() .csrf().disable(); } diff --git a/blade-auth/src/main/resources/application.yml b/blade-auth/src/main/resources/application.yml new file mode 100644 index 00000000..50780b25 --- /dev/null +++ b/blade-auth/src/main/resources/application.yml @@ -0,0 +1,2 @@ +swagger: + base-package: org.springblade,org.springframework.security.oauth2.provider.endpoint diff --git a/blade-service/blade-flow/src/main/java/org/springblade/flowable/engine/mapper/FlowMapper.xml b/blade-service/blade-flow/src/main/java/org/springblade/flowable/engine/mapper/FlowMapper.xml index fb332e62..3f57b5b2 100644 --- a/blade-service/blade-flow/src/main/java/org/springblade/flowable/engine/mapper/FlowMapper.xml +++ b/blade-service/blade-flow/src/main/java/org/springblade/flowable/engine/mapper/FlowMapper.xml @@ -47,7 +47,7 @@ diff --git a/pom.xml b/pom.xml index c4e4cf15..a2b54665 100644 --- a/pom.xml +++ b/pom.xml @@ -15,7 +15,7 @@ 1.8 2.9.2 1.5.21 - 1.9.1 + 1.9.2 3.1.0 4.0.1 1.6.0