File tree Expand file tree Collapse file tree 2 files changed +7
-8
lines changed
src/main/kotlin/noweekend/core/api/config Expand file tree Collapse file tree 2 files changed +7
-8
lines changed Original file line number Diff line number Diff line change @@ -15,10 +15,9 @@ dependencies {
15
15
16
16
testImplementation(project(" :noweekend-tests:api-docs" ))
17
17
18
- implementation(" org.springdoc:springdoc-openapi-starter-webmvc-ui:2.2 .0" ) {
18
+ implementation(" org.springdoc:springdoc-openapi-starter-webmvc-ui:2.7 .0" ) {
19
19
exclude(group = " io.swagger.core.v3" , module = " swagger-annotations" )
20
20
}
21
- implementation(" io.swagger.core.v3:swagger-annotations:2.2.15" )
22
21
}
23
22
24
23
tasks.named<BootJar >(" bootJar" ) {
Original file line number Diff line number Diff line change @@ -26,9 +26,8 @@ class SecurityConfig {
26
26
fun permitDenyPathsOnDevelopment () = mapOf (
27
27
" permit" to arrayOf(
28
28
" /health" ,
29
- " /api-docs/**" ,
30
29
" /swagger-ui/**" ,
31
- " /favicon.ico " ,
30
+ " /v3/api-docs/** " ,
32
31
),
33
32
" deny" to arrayOf(),
34
33
)
@@ -38,12 +37,13 @@ class SecurityConfig {
38
37
fun permitDenyPathsOnProduction () = mapOf (
39
38
" permit" to arrayOf(
40
39
" /health" ,
41
- ),
42
- " deny" to arrayOf(
43
- " /api-docs/**" ,
44
40
" /swagger-ui/**" ,
45
- " /favicon.ico " ,
41
+ " /v3/api-docs/** " ,
46
42
),
43
+ // "deny" to arrayOf(
44
+ // "/api-docs/**",
45
+ // "/swagger-ui/**",
46
+ // ),
47
47
)
48
48
49
49
@Bean
You can’t perform that action at this time.
0 commit comments