Skip to content

Commit

Permalink
feat: swagger-ui 의존성 추가
Browse files Browse the repository at this point in the history
  • Loading branch information
huhdy32 committed Jan 15, 2025
1 parent 7b17287 commit 5e55ebd
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 0 deletions.
2 changes: 2 additions & 0 deletions build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -82,6 +82,8 @@ dependencies {
//객체 간 매핑 처리
implementation 'org.modelmapper:modelmapper:3.1.0'


implementation 'org.springdoc:springdoc-openapi-starter-webmvc-ui:2.0.4'
}

tasks.named('test') {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -53,6 +53,7 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
exceptionHandling.authenticationEntryPoint(new FailedAuthenticationEntryPoint()))
.authorizeHttpRequests(authorize -> authorize
.requestMatchers("/oauth2/**", "/api/v1/**").permitAll()
.requestMatchers("/swagger-ui/**", "/v3/api-docs/**", "/webjars/**", "/swagger-resources/**", "/swagger-ui.html", "/actuator/**").permitAll()
.anyRequest().authenticated()
)
.oauth2Login(oauth2 -> oauth2
Expand Down

0 comments on commit 5e55ebd

Please sign in to comment.