File tree Expand file tree Collapse file tree 2 files changed +5
-1
lines changed
src/main/kotlin/com/back/koreaTravelGuide Expand file tree Collapse file tree 2 files changed +5
-1
lines changed Original file line number Diff line number Diff line change @@ -63,7 +63,10 @@ class SecurityConfig(
6363
6464 authorizeHttpRequests {
6565 authorize(" /h2-console/**" , permitAll)
66- authorize(" /swagger-ui/**" , " /v3/api-docs/**" , permitAll)
66+ authorize(" /swagger-ui.html" , permitAll)
67+ authorize(" /swagger-ui/**" , permitAll)
68+ authorize(" /api-docs/**" , permitAll)
69+ authorize(" /webjars/swagger-ui/**" , permitAll)
6770 authorize(" /api/auth/**" , permitAll)
6871 authorize(" /actuator/health" , permitAll)
6972 authorize(" /weather/test1" , permitAll)
Original file line number Diff line number Diff line change @@ -37,6 +37,7 @@ class User(
3737 @Enumerated(EnumType .STRING )
3838 @Column(nullable = false )
3939 var role : UserRole = UserRole .USER ,
40+ @Enumerated(EnumType .STRING )
4041 @Column
4142 var location : Region ? = null ,
4243 @Column(columnDefinition = " TEXT" )
You can’t perform that action at this time.
0 commit comments