We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent c80a2d5 commit 5224861Copy full SHA for 5224861
1 file changed
linktreeclone-backend/src/main/java/br/com/linktreeclone/config/SecurityConfig.java
@@ -38,6 +38,9 @@ public SecurityFilterChain securityFilterChain(HttpSecurity http) throws Excepti
38
"/auth/login",
39
"/status"
40
).permitAll()
41
+ .requestMatchers("/swagger-ui.html").permitAll()
42
+ .requestMatchers("/swagger-ui/**").permitAll()
43
+ .requestMatchers("/v3/api-docs/**").permitAll()
44
.requestMatchers(HttpMethod.GET, "/{username}").permitAll()
45
.anyRequest().authenticated()
46
)
0 commit comments