Comment From: hendisantika

 @Bean
    public SecurityFilterChain configure(HttpSecurity http) throws Exception {
        http.authorizeHttpRequests()
        .requestMatchers("/api-docs/**").permitAll();
        return http.build();
    }

It is deprecated.

  /** @deprecated */
    @Deprecated(
        since = "6.1",
        forRemoval = true
    )

How do we fix it?

Thanks

Comment From: snicoll

@hendisantika this is the wrong place to look for support. Spring Security is a separate project, see https://docs.spring.io/spring-security/reference/migration/index.html

Comment From: hendisantika

OK then.