Skip to content

Commit

Permalink
feat : security path permit
Browse files Browse the repository at this point in the history
  • Loading branch information
hyunw9 committed Feb 4, 2024
1 parent 17977ee commit 19267f8
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@ public ResponseCustom<List<ReservationIdUserRes>> getReservationWithDate(
@Operation(summary = "해당 경험 선물에 생성된 예약 조회 ", description = "경험 ID로 검색")
@ApiResponses(value = {
@ApiResponse(responseCode = "200", description = "예약 정보 조회 성공", content = {
@Content(mediaType = "application/json", array = @ArraySchema(schema = @Schema(implementation = ReservationResponse.class)))}),
@Content(mediaType = "application/json", array = @ArraySchema(schema = @Schema(implementation = ReservationIdUserRes.class)))}),
@ApiResponse(responseCode = "400", description = "예약 정보 조회 실패", content = {
@Content(mediaType = "application/json", schema = @Schema(implementation = ErrorResponse.class))}),

Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,7 +83,7 @@ public SecurityFilterChain filterChain(HttpSecurity http) throws Exception {
.authorizeHttpRequests(authorize -> authorize
.requestMatchers("/", "/error", "/favicon.ico", "/**/*.png", "/**/*.gif", "/**/*.svg", "/**/*.jpg", "/**/*.html", "/**/*.css", "/**/*.js")
.permitAll()
.requestMatchers("/management/**")
.requestMatchers("/management/**","/graph/**")
.permitAll()
.requestMatchers("/swagger", "/swagger-ui.html", "/swagger-ui/**", "/api-docs", "/api-docs/**", "/v3/api-docs/**")
.permitAll()
Expand Down

0 comments on commit 19267f8

Please sign in to comment.